Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Unified Diff: ios/web/js_compile.gypi

Issue 788253002: Upstream injected JavaScript for the iOS web layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+}

Powered by Google App Engine
This is Rietveld 408576698