Index: chrome/chrome_tests.gypi |
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi |
index 2f9ef004c1d051958bb6cce3885e272adb73a4d3..fcf7efc3b0e3dccbe5f76a147d4ad2ac98c4eeb5 100644 |
--- a/chrome/chrome_tests.gypi |
+++ b/chrome/chrome_tests.gypi |
@@ -2288,6 +2288,7 @@ |
'../third_party/icu/icu.gyp:icui18n', |
'../third_party/icu/icu.gyp:icuuc', |
'../v8/tools/gyp/v8.gyp:v8', |
+ '../v8/tools/gyp/v8.gyp:v8_shell', |
'../webkit/webkit.gyp:test_shell_test_support', |
# Runtime dependencies |
'../third_party/mesa/mesa.gyp:osmesa', |
@@ -2552,6 +2553,26 @@ |
'../content/renderer/render_widget_browsertest.h', |
'../content/renderer/v8_value_converter_browsertest.cc', |
], |
+ 'actions': [ |
+ { |
+ 'action_name': 'js2webui', |
+ 'variables': { |
+ 'gypv8sh': '../tools/gypv8sh.py', |
+ 'js2webui': 'browser/ui/webui/javascript2webui.js', |
+ }, |
+ 'inputs': [ |
+ '<(gypv8sh)', |
+ '<(js2webui)', |
+ '<!@(python <(gypv8sh) -i)', |
+ ], |
+ 'outputs': [ |
+ '<!@(python <(gypv8sh) -o)', |
+ ], |
+ 'action': [ |
+ 'python', '<(gypv8sh)', '-p', '<(PRODUCT_DIR)', '<(js2webui)', |
+ ], |
+ }, |
+ ], |
'conditions': [ |
['chromeos==0', { |
'sources/': [ |