OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 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. |
| 4 |
| 5 { |
| 6 'rules': [ |
| 7 { |
| 8 'rule_name': 'copyjs', |
| 9 'extension': 'js', |
| 10 'msvs_external_rule': 1, |
| 11 'inputs': [ |
| 12 '<(DEPTH)/build/cp.py', |
| 13 ], |
| 14 'outputs': [ |
| 15 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT
).<(_extension)', |
| 16 ], |
| 17 'action': [ |
| 18 'python', |
| 19 '<@(_inputs)', |
| 20 '<(RULE_INPUT_PATH)', |
| 21 '<@(_outputs)', |
| 22 ], |
| 23 }, |
| 24 { |
| 25 'rule_name': 'js2unit', |
| 26 'extension': 'gtestjs', |
| 27 'msvs_external_rule': 1, |
| 28 'inputs': [ |
| 29 '<(gypv8sh)', |
| 30 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 31 '<(mock_js)', |
| 32 '<(test_api_js)', |
| 33 '<(js2gtest)', |
| 34 ], |
| 35 'outputs': [ |
| 36 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen
.cc', |
| 37 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT
).<(_extension)', |
| 38 ], |
| 39 'process_outputs_as_sources': 1, |
| 40 'action': [ |
| 41 'python', |
| 42 '<@(_inputs)', |
| 43 'unit', |
| 44 '<(RULE_INPUT_PATH)', |
| 45 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)', |
| 46 '<@(_outputs)', |
| 47 ], |
| 48 }, |
| 49 ], |
| 50 } |
OLD | NEW |