Implement GoogleURLTrackerFactory and GoogleURLTrackerClient on iOS
[chromium-blink-merge.git] / remoting / remoting_webapp.gypi
blob6151bf28ef54bc90d9dcadc715d8464b412b0fff
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # File included in remoting_webapp_* targets in remoting_client.gypi
8   'type': 'none',
9   'variables': {
10     'extra_files%': [],
11     'main_html_file%': '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html',
12     'generated_html_files': [
13       '<(SHARED_INTERMEDIATE_DIR)/remoting/background.html',
14       '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html',
15       '<(SHARED_INTERMEDIATE_DIR)/remoting/message_window.html',
16       '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html',
17     ],
18     'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
19   },
20   'dependencies': [
21     'remoting_resources',
22     'remoting_webapp_html',
23   ],
24   'conditions': [
25     ['run_jscompile != 0', {
26       'dependencies': ['remoting_webapp_compile.gypi:*'],
27     }],
28   ],
29   'actions': [
30     {
31       'action_name': 'Build Remoting locales listfile',
32       'inputs': [
33         '<(remoting_localize_path)',
34       ],
35       'outputs': [
36         '<(dr_webapp_locales_listfile)',
37       ],
38       'action': [
39         'python', '<(remoting_localize_path)',
40         '--locale_output',
41         '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
42         '--locales_listfile',
43         '<(dr_webapp_locales_listfile)',
44         '<@(remoting_locales)',
45       ],
46     },
47     {
48       'action_name': 'Build Remoting WebApp',
49       'inputs': [
50         'webapp/build-webapp.py',
51         'webapp/crd/manifest.json.jinja2',
52         '<(chrome_version_path)',
53         '<(remoting_version_path)',
54         '<(dr_webapp_locales_listfile)',
55         '<@(generated_html_files)',
56         '<(main_html_file)',
57         '<@(remoting_webapp_crd_files)',
58         '<@(remoting_webapp_locale_files)',
59         '<@(extra_files)',
60       ],
61       'outputs': [
62         '<(output_dir)',
63         '<(zip_path)',
64       ],
65       'action': [
66         'python', 'webapp/build-webapp.py',
67         '<(buildtype)',
68         '<(version_full)',
69         '<(output_dir)',
70         '<(zip_path)',
71         'webapp/crd/manifest.json.jinja2',
72         '<(webapp_type)',
73         '<@(generated_html_files)',
74         '<(main_html_file)',
75         '<@(remoting_webapp_crd_files)',
76         '<@(extra_files)',
77         '--locales_listfile',
78         '<(dr_webapp_locales_listfile)',
79         '--use_gcd',
80         '<(remoting_use_gcd)',
81       ],
82     },
83   ],