| 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 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 'remoting_version.gypi', | 7 'remoting_version.gypi', |
| 8 'remoting_webapp_files.gypi', | 8 'remoting_webapp_files.gypi', |
| 9 ], | 9 ], |
| 10 | 10 |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 }, | 251 }, |
| 252 }], | 252 }], |
| 253 ['run_jscompile != 0', { | 253 ['run_jscompile != 0', { |
| 254 'actions': [ | 254 'actions': [ |
| 255 { | 255 { |
| 256 'action_name': 'Verify >(ar_app_name) main.html', | 256 'action_name': 'Verify >(ar_app_name) main.html', |
| 257 'variables': { | 257 'variables': { |
| 258 'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_main_jscompile.st
amp', | 258 'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_main_jscompile.st
amp', |
| 259 }, | 259 }, |
| 260 'inputs': [ | 260 'inputs': [ |
| 261 'tools/jscompile.py', | |
| 262 '<@(ar_main_js_files)', | 261 '<@(ar_main_js_files)', |
| 263 '<@(remoting_webapp_js_proto_files)', | 262 '<@(remoting_webapp_js_proto_files)', |
| 264 # Include zip as input so that this action is run after the build. | 263 # Include zip as input so that this action is run after the build. |
| 265 '<(zip_path)', | 264 '<(zip_path)', |
| 266 ], | 265 ], |
| 267 'outputs': [ | 266 'outputs': [ |
| 268 '<(success_stamp)', | 267 '<(success_stamp)', |
| 269 ], | 268 ], |
| 270 'action': [ | 269 'action': [ |
| 271 'python', 'tools/jscompile.py', | 270 'python', '../third_party/closure_compiler/checker.py', |
| 271 '--strict', |
| 272 '--no-single-file', |
| 273 '--success-stamp', '<(success_stamp)', |
| 272 '<@(ar_main_js_files)', | 274 '<@(ar_main_js_files)', |
| 273 '<@(remoting_webapp_js_proto_files)', | 275 '<@(remoting_webapp_js_proto_files)', |
| 274 '--success-stamp', | |
| 275 '<(success_stamp)' | |
| 276 ], | 276 ], |
| 277 }, | 277 }, |
| 278 { | 278 { |
| 279 'action_name': 'Verify >(ar_app_name) background.js', | 279 'action_name': 'Verify >(ar_app_name) background.js', |
| 280 'variables': { | 280 'variables': { |
| 281 'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_background_jscomp
ile.stamp', | 281 'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_background_jscomp
ile.stamp', |
| 282 }, | 282 }, |
| 283 'inputs': [ | 283 'inputs': [ |
| 284 'tools/jscompile.py', | |
| 285 '<@(ar_background_js_files)', | 284 '<@(ar_background_js_files)', |
| 286 '<@(remoting_webapp_js_proto_files)', | 285 '<@(remoting_webapp_js_proto_files)', |
| 287 # Include zip as input so that this action is run after the build. | 286 # Include zip as input so that this action is run after the build. |
| 288 '<(zip_path)', | 287 '<(zip_path)', |
| 289 ], | 288 ], |
| 290 'outputs': [ | 289 'outputs': [ |
| 291 '<(success_stamp)', | 290 '<(success_stamp)', |
| 292 ], | 291 ], |
| 293 'action': [ | 292 'action': [ |
| 294 'python', 'tools/jscompile.py', | 293 'python', '../third_party/closure_compiler/checker.py', |
| 294 '--strict', |
| 295 '--no-single-file', |
| 296 '--success-stamp', '<(success_stamp)', |
| 295 '<@(ar_background_js_files)', | 297 '<@(ar_background_js_files)', |
| 296 '<@(remoting_webapp_js_proto_files)', | 298 '<@(remoting_webapp_js_proto_files)', |
| 297 '--success-stamp', | |
| 298 '<(success_stamp)' | |
| 299 ], | 299 ], |
| 300 }, | 300 }, |
| 301 ], # actions | 301 ], # actions |
| 302 }], | 302 }], |
| 303 ], # conditions | 303 ], # conditions |
| 304 }, # target_defaults | 304 }, # target_defaults |
| 305 } | 305 } |
| OLD | NEW |