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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi

Issue 320753002: Support javascript gtests in an extension background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lint Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 '../../../../js_unittest_vars.gypi', 7 '../../../../js_unittest_vars.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'chromevox_test_deps_js_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/re sources/chromeos/chromevox/test_deps.js', 10 'chromevox_test_deps_js_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/re sources/chromeos/chromevox/test_deps.js',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 '--deps_js', '<(chromevox_test_deps_js_file)', 64 '--deps_js', '<(chromevox_test_deps_js_file)',
65 '<(mock_js)', 65 '<(mock_js)',
66 '<(test_api_js)', 66 '<(test_api_js)',
67 '<(js2gtest)', 67 '<(js2gtest)',
68 'webui', 68 'webui',
69 '<(RULE_INPUT_PATH)', 69 '<(RULE_INPUT_PATH)',
70 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).js', 70 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).js',
71 '<@(_outputs)', 71 '<@(_outputs)',
72 ], 72 ],
73 }, 73 },
74 {
75 # A JavaScript test that runs in the ChromeVox background page's
76 # isolate.
77 'rule_name': 'js2extension',
78 'extension': 'extjs',
79 'msvs_external_rule': 1,
80 'inputs': [
81 '<(gypv8sh)',
82 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
83 '<(mock_js)',
84 '<(test_api_js)',
85 '<(js2gtest)',
86 'testing/chromevox_unittest_base.js',
87 ],
88 'outputs': [
89 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ',
90 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).extjs',
91 ],
92 'process_outputs_as_sources': 1,
93 'action': [
94 'python',
95 '<(gypv8sh)',
96 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
97 '<(mock_js)',
98 '<(test_api_js)',
99 '<(js2gtest)',
100 'extension',
101 '<(RULE_INPUT_PATH)',
102 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).extjs',
103 '<@(_outputs)',
104 ],
105 },
74 ], 106 ],
75 'sources': [ 107 'sources': [
76 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.cc', 108 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.cc',
77 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.h', 109 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.h',
78 '<(DEPTH)/chrome/test/base/browser_tests_main.cc', 110 '<(DEPTH)/chrome/test/base/browser_tests_main.cc',
111 '<(DEPTH)/chrome/test/base/extension_load_waiter_one_shot.cc',
112 '<(DEPTH)/chrome/test/base/extension_load_waiter_one_shot.h',
113 '<(DEPTH)/chrome/test/base/extension_js_browser_test.cc',
114 '<(DEPTH)/chrome/test/base/extension_js_browser_test.h',
115 '<(DEPTH)/chrome/test/base/javascript_browser_test.cc',
116 '<(DEPTH)/chrome/test/base/javascript_browser_test.h',
79 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc', 117 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc',
80 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h', 118 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h',
81 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc', 119 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc',
82 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h', 120 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h',
121 '<(DEPTH)/chrome/browser/extensions/browsertest_util.cc',
122 '<(DEPTH)/chrome/browser/extensions/browsertest_util.h',
83 123
84 'common/aria_util_test.js', 124 'common/aria_util_test.js',
85 'common/cursor_selection_test.js', 125 'common/cursor_selection_test.js',
86 'common/editable_text_area_shadow_test.js', 126 'common/editable_text_area_shadow_test.js',
87 'common/key_sequence_test.js', 127 'common/key_sequence_test.js',
88 'common/math_semantic_tree_test.js', 128 'common/math_semantic_tree_test.js',
89 'common/selection_util_test.js', 129 'common/selection_util_test.js',
130
131 '../chromevox2/cvox2/background/background.extjs',
90 ], 132 ],
91 }, # target chromevox_tests 133 }, # target chromevox_tests
92 { 134 {
93 'target_name': 'chromevox_test_deps_js', 135 'target_name': 'chromevox_test_deps_js',
94 'type': 'none', 136 'type': 'none',
95 'actions': [ 137 'actions': [
96 { 138 {
97 'action_name': 'deps_js', 139 'action_name': 'deps_js',
98 'message': 'Generate <(_target_name)', 140 'message': 'Generate <(_target_name)',
99 'variables': { 141 'variables': {
(...skipping 17 matching lines...) Expand all
117 '-w', '<(DEPTH)/<(closure_dir):<(closure_dir)', 159 '-w', '<(DEPTH)/<(closure_dir):<(closure_dir)',
118 '-w', ':chrome/browser/resources/chromeos/chromevox', 160 '-w', ':chrome/browser/resources/chromeos/chromevox',
119 '-o', '<(chromevox_test_deps_js_file)', 161 '-o', '<(chromevox_test_deps_js_file)',
120 '<@(js_files)', 162 '<@(js_files)',
121 ], 163 ],
122 }, 164 },
123 ], 165 ],
124 }, 166 },
125 ], 167 ],
126 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698