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',
27 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
31 'action_name': 'Verify remoting webapp',
33 '<@(remoting_webapp_crd_js_files)',
34 '<@(remoting_webapp_js_proto_files)',
40 'python', '../third_party/closure_compiler/checker.py',
43 '--success-stamp', '<(success_stamp)',
44 '<@(remoting_webapp_crd_js_files)',
45 '<@(remoting_webapp_js_proto_files)',
49 'action_name': 'Verify remoting webapp with browsertests',
51 '<@(remoting_webapp_crd_js_files)',
52 '<@(remoting_webapp_browsertest_all_js_files)',
53 '<@(remoting_webapp_browsertest_js_proto_files)',
56 '<(success_stamp_bt)',
59 'python', '../third_party/closure_compiler/checker.py',
62 '--success-stamp', '<(success_stamp_bt)',
63 '<@(remoting_webapp_crd_js_files)',
64 '<@(remoting_webapp_browsertest_all_js_files)',
65 '<@(remoting_webapp_browsertest_js_proto_files)',
69 'action_name': 'Verify remoting webapp unittests',
71 '<@(remoting_webapp_crd_js_files)',
72 '<@(remoting_webapp_unittest_all_js_files)',
73 '<@(remoting_webapp_unittest_js_proto_files)',
76 '<(success_stamp_ut)',
79 'python', '../third_party/closure_compiler/checker.py',
82 '--success-stamp', '<(success_stamp_ut)',
83 '<@(remoting_webapp_crd_js_files)',
84 '<@(remoting_webapp_unittest_all_js_files)',
85 '<@(remoting_webapp_unittest_js_proto_files)',
93 'action_name': 'Build Remoting locales listfile',
95 '<(remoting_localize_path)',
98 '<(dr_webapp_locales_listfile)',
101 'python', '<(remoting_localize_path)',
103 '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
104 '--locales_listfile',
105 '<(dr_webapp_locales_listfile)',
106 '<@(remoting_locales)',
110 'action_name': 'Build Remoting WebApp',
112 'webapp/build-webapp.py',
113 'webapp/crd/manifest.json.jinja2',
114 '<(chrome_version_path)',
115 '<(remoting_version_path)',
116 '<(dr_webapp_locales_listfile)',
117 '<@(generated_html_files)',
118 '<@(remoting_webapp_crd_files)',
119 '<@(remoting_webapp_locale_files)',
127 'python', 'webapp/build-webapp.py',
132 'webapp/crd/manifest.json.jinja2',
134 '<@(generated_html_files)',
135 '<@(remoting_webapp_crd_files)',
137 '--locales_listfile',
138 '<(dr_webapp_locales_listfile)',