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
11 'generated_html_files': [
12 '<(SHARED_INTERMEDIATE_DIR)/main.html',
13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
14 '<(SHARED_INTERMEDIATE_DIR)/background.html',
16 'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
20 'remoting_webapp_html',
23 ['run_jscompile != 0', {
25 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
26 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
30 'action_name': 'Verify remoting webapp',
32 '<@(remoting_webapp_crd_js_files)',
33 '<@(remoting_webapp_js_proto_files)',
39 'python', '../third_party/closure_compiler/checker.py',
42 '--success-stamp', '<(success_stamp)',
43 '<@(remoting_webapp_crd_js_files)',
44 '<@(remoting_webapp_js_proto_files)',
48 'action_name': 'Verify remoting webapp with browsertests',
50 '<@(remoting_webapp_crd_js_files)',
51 '<@(remoting_webapp_browsertest_all_js_files)',
52 '<@(remoting_webapp_js_proto_files)',
55 '<(success_stamp_bt)',
58 'python', '../third_party/closure_compiler/checker.py',
61 '--success-stamp', '<(success_stamp_bt)',
62 '<@(remoting_webapp_crd_js_files)',
63 '<@(remoting_webapp_browsertest_all_js_files)',
64 '<@(remoting_webapp_js_proto_files)',
72 'action_name': 'Build Remoting locales listfile',
74 '<(remoting_localize_path)',
77 '<(dr_webapp_locales_listfile)',
80 'python', '<(remoting_localize_path)',
82 '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
84 '<(dr_webapp_locales_listfile)',
85 '<@(remoting_locales)',
89 'action_name': 'Build Remoting WebApp',
91 'webapp/build-webapp.py',
92 'webapp/crd/manifest.json.jinja2',
93 '<(chrome_version_path)',
94 '<(remoting_version_path)',
95 '<(dr_webapp_locales_listfile)',
96 '<@(generated_html_files)',
97 '<@(remoting_webapp_crd_files)',
98 '<@(remoting_webapp_locale_files)',
106 'python', 'webapp/build-webapp.py',
111 'webapp/crd/manifest.json.jinja2',
113 '<@(generated_html_files)',
114 '<@(remoting_webapp_crd_files)',
116 '--locales_listfile',
117 '<(dr_webapp_locales_listfile)',