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

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: Remove need for secondary javascript script by parsing the ast in python. 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 cf87f75cc0d45123e842cb09cd1c17149cfaea14..bdb5271794edd00d74c2fb9d17bf0e89244d1a4c 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -2292,6 +2292,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',
@@ -2556,6 +2557,24 @@
'../content/renderer/render_widget_browsertest.h',
'../content/renderer/v8_value_converter_browsertest.cc',
],
+ 'actions': [
+ {
+ 'action_name': 'js2webui',
+ 'variables': {
+ 'js2webui': '../tools/js2webui.py',
+ },
+ 'inputs': [
+ '<(js2webui)',
+ '<!@(python <(js2webui) -i)',
+ ],
+ 'outputs': [
+ '<!@(python <(js2webui) -o)',
+ ],
+ 'action': [
+ 'python', '<(js2webui)', '-p', '<(PRODUCT_DIR)',
+ ],
+ },
+ ],
'conditions': [
['chromeos==0', {
'sources/': [

Powered by Google App Engine
This is Rietveld 408576698