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

Unified Diff: chrome/chrome_tests.gypi

Issue 8515016: WebUI test framework: fix Mock4JS verification, allow chrome.send passthrough. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Put method definitions in same order as declarations, include gmock since it's used. Created 9 years, 1 month 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 6639c68862c4f0e7bdee6897a6a5efacddecda4b..2b41d8ac35e9ed05a57af3510225df403867918e 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -6,7 +6,6 @@
# Variables for js2gtest rules
'gypv8sh': '../tools/gypv8sh.py',
'js2gtest': 'test/base/js2gtest.js',
- 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest',
'mock_js': 'third_party/mock4js/mock4js.js',
'test_api_js': 'test/data/webui/test_api.js',
@@ -2011,7 +2010,7 @@
'<(js2gtest)',
],
'outputs': [
- '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).cc',
+ '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
'<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)',
],
'process_outputs_as_sources': 1,
@@ -2668,6 +2667,10 @@
'test/data/webui/async_gen.js',
'test/data/webui/certificate_viewer_dialog_test.js',
'test/data/webui/certificate_viewer_ui_test-inl.h',
+ 'test/data/webui/chrome_send_browsertest.cc',
+ 'test/data/webui/chrome_send_browsertest.h',
+ 'test/data/webui/chrome_send_browsertest.js',
+ 'test/data/webui/mock4js_browsertest.js',
'test/data/webui/ntp4.js',
'test/data/webui/print_preview.js',
# TODO(craig): Rename this and run from base_unittests when the test
@@ -2708,7 +2711,7 @@
'<(js2gtest)',
],
'outputs': [
- '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).cc',
+ '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
'<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
],
'process_outputs_as_sources': 1,
« no previous file with comments | « no previous file | chrome/test/data/webui/chrome_send_browsertest.h » ('j') | chrome/test/data/webui/chrome_send_browsertest.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698