Chromium Code Reviews| Index: ios/web/js_compile.gypi |
| diff --git a/ios/web/js_compile.gypi b/ios/web/js_compile.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f967816d8a293672b3c86657d8a2d56bc212925d |
| --- /dev/null |
| +++ b/ios/web/js_compile.gypi |
| @@ -0,0 +1,27 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +{ |
| + 'conditions': [ |
| + ['compile_javascript==1', { |
| + #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
|
| + }, |
| + { # else |
| + 'rules': [ |
| + { |
| + 'rule_name': 'jscompilation', |
| + 'extension': 'js', |
| + 'outputs': [ |
| + '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', |
| + ], |
| + 'action': [ |
| + 'cp', |
| + '<(RULE_INPUT_PATH)', |
| + '<@(_outputs)', |
| + ], |
| + } |
| + ]} # rule_name: jscompilation |
| + ] # condition: compile_javascript |
| + ] # conditions |
| +} |