Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 { | |
| 6 'conditions': [ | |
| 7 ['compile_javascript==1', { | |
| 8 #TODO(ios): Enable javascript compilation. | |
|
droger
2014/12/10 18:07:14
I did not upstream that part, because it requires
sdefresne
2014/12/10 18:29:11
Can you create a bug to add this dependency to thi
droger
2014/12/11 09:36:35
Do we really want to create individual bugs for up
| |
| 9 }, | |
| 10 { # else | |
| 11 'rules': [ | |
| 12 { | |
| 13 'rule_name': 'jscompilation', | |
| 14 'extension': 'js', | |
| 15 'outputs': [ | |
| 16 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', | |
| 17 ], | |
| 18 'action': [ | |
| 19 'cp', | |
| 20 '<(RULE_INPUT_PATH)', | |
| 21 '<@(_outputs)', | |
| 22 ], | |
| 23 } | |
| 24 ]} # rule_name: jscompilation | |
| 25 ] # condition: compile_javascript | |
| 26 ] # conditions | |
| 27 } | |
| OLD | NEW |