summaryrefslogtreecommitdiff
path: root/remoting/remoting_webapp_compile.gypi
blob: ba6184f2271f0458f59c98bfe8a60d9b297004b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# File in charge of Closure compiling remoting's webapp.

{
  'targets': [
    {
      'target_name': 'verify_remoting_webapp',
      'inputs': [
        'remoting_webapp_compile.gypi',
        'remoting_webapp_files.gypi',
      ],
      'variables': {
        'source_files': [
          '<@(remoting_webapp_crd_js_files)',
          '<@(remoting_webapp_js_proto_files)',
        ],
        'externs': ['<@(remoting_webapp_js_externs_files)'],
        'out_file': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
      },
      'includes': ['compile_js.gypi'],
    },
    {
      'target_name': 'verify_remoting_webapp_with_browsertests',
      'inputs': [
        'remoting_webapp_compile.gypi',
        'remoting_webapp_files.gypi',
      ],
      'variables': {
        'source_files': [
          '<@(remoting_webapp_crd_js_files)',
          '<@(remoting_webapp_browsertest_all_js_files)',
          '<@(remoting_webapp_browsertest_js_proto_files)',
        ],
        'externs': ['<@(remoting_webapp_js_externs_files)'],
        'out_file': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
      },
      'includes': ['compile_js.gypi'],
    },
    {
      'target_name': 'verify_remoting_webapp_unittests',
      'inputs': [
        'remoting_webapp_compile.gypi',
        'remoting_webapp_files.gypi',
      ],
      'variables': {
        'source_files': [
          '<@(remoting_webapp_crd_js_files)',
          '<@(remoting_webapp_unittests_all_js_files)',
          '<@(remoting_webapp_unittests_js_proto_files)',
        ],
        'externs': ['<@(remoting_webapp_js_externs_files)'],
        'out_file': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
      },
      'includes': ['compile_js.gypi'],
    },
  ],
  'includes': ['remoting_webapp_files.gypi'],
}