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)/background.html',
13 '<(SHARED_INTERMEDIATE_DIR)/main.html',
14 '<(SHARED_INTERMEDIATE_DIR)/message_window.html',
15 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
17 'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
21 'remoting_webapp_html',
24 ['run_jscompile != 0', {
26 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
27 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
28 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
32 'action_name': 'Verify remoting webapp',
34 '<@(remoting_webapp_crd_js_files)',
35 '<@(remoting_webapp_js_proto_files)',
41 'python', '../third_party/closure_compiler/checker.py',
44 '--success-stamp', '<(success_stamp)',
45 '<@(remoting_webapp_crd_js_files)',
46 '<@(remoting_webapp_js_proto_files)',
50 'action_name': 'Verify remoting webapp with browsertests',
52 '<@(remoting_webapp_crd_js_files)',
53 '<@(remoting_webapp_browsertest_all_js_files)',
54 '<@(remoting_webapp_browsertest_js_proto_files)',
57 '<(success_stamp_bt)',
60 'python', '../third_party/closure_compiler/checker.py',
63 '--success-stamp', '<(success_stamp_bt)',
64 '<@(remoting_webapp_crd_js_files)',
65 '<@(remoting_webapp_browsertest_all_js_files)',
66 '<@(remoting_webapp_browsertest_js_proto_files)',
70 'action_name': 'Verify remoting webapp unittests',
72 '<@(remoting_webapp_crd_js_files)',
73 '<@(remoting_webapp_unittest_all_js_files)',
74 '<@(remoting_webapp_unittest_js_proto_files)',
77 '<(success_stamp_ut)',
80 'python', '../third_party/closure_compiler/checker.py',
83 '--success-stamp', '<(success_stamp_ut)',
84 '<@(remoting_webapp_crd_js_files)',
85 '<@(remoting_webapp_unittest_all_js_files)',
86 '<@(remoting_webapp_unittest_js_proto_files)',
94 'action_name': 'Build Remoting locales listfile',
96 '<(remoting_localize_path)',
99 '<(dr_webapp_locales_listfile)',
102 'python', '<(remoting_localize_path)',
104 '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
105 '--locales_listfile',
106 '<(dr_webapp_locales_listfile)',
107 '<@(remoting_locales)',
111 'action_name': 'Build Remoting WebApp',
113 'webapp/build-webapp.py',
114 'webapp/crd/manifest.json.jinja2',
115 '<(chrome_version_path)',
116 '<(remoting_version_path)',
117 '<(dr_webapp_locales_listfile)',
118 '<@(generated_html_files)',
119 '<@(remoting_webapp_crd_files)',
120 '<@(remoting_webapp_locale_files)',
128 'python', 'webapp/build-webapp.py',
133 'webapp/crd/manifest.json.jinja2',
135 '<@(generated_html_files)',
136 '<@(remoting_webapp_crd_files)',
138 '--locales_listfile',
139 '<(dr_webapp_locales_listfile)',