| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 # | 4 # |
| 5 # File included in remoting_webapp_* targets in remoting_client.gypi | 5 # File included in remoting_webapp_* targets in remoting_client.gypi |
| 6 | 6 |
| 7 { | 7 { |
| 8 'type': 'none', | 8 'type': 'none', |
| 9 'variables': { | 9 'variables': { |
| 10 'extra_files%': [], | 10 'extra_files%': [], |
| 11 'generated_html_files': [ | 11 'generated_html_files': [ |
| 12 '<(SHARED_INTERMEDIATE_DIR)/main.html', | 12 '<(SHARED_INTERMEDIATE_DIR)/main.html', |
| 13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', | 13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', |
| 14 '<(SHARED_INTERMEDIATE_DIR)/background.html', | 14 '<(SHARED_INTERMEDIATE_DIR)/background.html', |
| 15 ], | 15 ], |
| 16 }, | 16 }, |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 'remoting_resources', | 18 'remoting_resources', |
| 19 'remoting_webapp_html', | 19 'remoting_webapp_html', |
| 20 ], | 20 ], |
| 21 'conditions': [ | 21 'conditions': [ |
| 22 ['run_jscompile != 0', { | 22 ['run_jscompile != 0', { |
| 23 'variables': { | 23 'variables': { |
| 24 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp', | 24 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp', |
| 25 }, | 25 }, |
| 26 'actions': [ | 26 'actions': [ |
| 27 { | 27 { |
| 28 'action_name': 'Verify remoting webapp', | 28 'action_name': 'Verify remoting webapp', |
| 29 'inputs': [ | 29 'inputs': [ |
| 30 '<@(remoting_webapp_all_js_files)', | 30 '<@(remoting_webapp_crd_js_files)', |
| 31 '<@(remoting_webapp_js_proto_files)', | 31 '<@(remoting_webapp_js_proto_files)', |
| 32 ], | 32 ], |
| 33 'outputs': [ | 33 'outputs': [ |
| 34 '<(success_stamp)', | 34 '<(success_stamp)', |
| 35 ], | 35 ], |
| 36 'action': [ | 36 'action': [ |
| 37 'python', 'tools/jscompile.py', | 37 'python', 'tools/jscompile.py', |
| 38 '<@(remoting_webapp_all_js_files)', | 38 '<@(remoting_webapp_crd_js_files)', |
| 39 '<@(remoting_webapp_js_proto_files)', | 39 '<@(remoting_webapp_js_proto_files)', |
| 40 '--success-stamp', '<(success_stamp)' | 40 '--success-stamp', '<(success_stamp)' |
| 41 ], | 41 ], |
| 42 }, | 42 }, |
| 43 ], # actions | 43 ], # actions |
| 44 }], | 44 }], |
| 45 ], | 45 ], |
| 46 'actions': [ | 46 'actions': [ |
| 47 { | 47 { |
| 48 'action_name': 'Build Remoting WebApp', | 48 'action_name': 'Build Remoting WebApp', |
| 49 'inputs': [ | 49 'inputs': [ |
| 50 'webapp/build-webapp.py', | 50 'webapp/build-webapp.py', |
| 51 'webapp/crd/manifest.json.jinja2', | 51 'webapp/crd/manifest.json.jinja2', |
| 52 '<(chrome_version_path)', | 52 '<(chrome_version_path)', |
| 53 '<(remoting_version_path)', | 53 '<(remoting_version_path)', |
| 54 '<@(generated_html_files)', | 54 '<@(generated_html_files)', |
| 55 '<@(remoting_webapp_files)', | 55 '<@(remoting_webapp_crd_files)', |
| 56 '<@(remoting_webapp_locale_files)', | 56 '<@(remoting_webapp_locale_files)', |
| 57 '<@(extra_files)', | 57 '<@(extra_files)', |
| 58 ], | 58 ], |
| 59 'outputs': [ | 59 'outputs': [ |
| 60 '<(output_dir)', | 60 '<(output_dir)', |
| 61 '<(zip_path)', | 61 '<(zip_path)', |
| 62 ], | 62 ], |
| 63 'action': [ | 63 'action': [ |
| 64 'python', 'webapp/build-webapp.py', | 64 'python', 'webapp/build-webapp.py', |
| 65 '<(buildtype)', | 65 '<(buildtype)', |
| 66 '<(version_full)', | 66 '<(version_full)', |
| 67 '<(output_dir)', | 67 '<(output_dir)', |
| 68 '<(zip_path)', | 68 '<(zip_path)', |
| 69 'webapp/crd/manifest.json.jinja2', | 69 'webapp/crd/manifest.json.jinja2', |
| 70 '<(webapp_type)', | 70 '<(webapp_type)', |
| 71 '<@(generated_html_files)', | 71 '<@(generated_html_files)', |
| 72 '<@(remoting_webapp_files)', | 72 '<@(remoting_webapp_crd_files)', |
| 73 '<@(extra_files)', | 73 '<@(extra_files)', |
| 74 '--locales', '<@(remoting_webapp_locale_files)', | 74 '--locales', '<@(remoting_webapp_locale_files)', |
| 75 ], | 75 ], |
| 76 }, | 76 }, |
| 77 ], | 77 ], |
| 78 } | 78 } |
| OLD | NEW |