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

Unified Diff: chrome/chrome_tests.gypi

Issue 7087014: Support automatic javascript test registry in gtest when creating WebUI tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment to WebUIBrowserTestPass and use optparse.exit instead of exit. Created 9 years, 6 months 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: chrome/chrome_tests.gypi
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 9eae66607604a97157f84318b7b0d536b6b76c03..9fa8b9a03546ef7e741a28506edfcd0aca214816 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -2269,6 +2269,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',
# Runtime dependencies
'../third_party/mesa/mesa.gyp:osmesa',
'../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:copy_TestNetscapePlugIn',
@@ -2529,6 +2530,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/': [

Powered by Google App Engine
This is Rietveld 408576698