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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 8599010: Setup JS unittests for Chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload again to remove bogus files Created 9 years 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
« no previous file with comments | « chrome/chrome_installer_util.gypi ('k') | chrome/js_unittest_rules.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'variables' : { 5 'variables' : {
6 # Variables for js2gtest rules
7 'gypv8sh': '../tools/gypv8sh.py',
8 'js2gtest': 'test/base/js2gtest.js',
9 'mock_js': 'third_party/mock4js/mock4js.js',
10 'test_api_js': 'test/data/webui/test_api.js',
11
12 'pyautolib_sources': [ 6 'pyautolib_sources': [
13 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
14 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
15 'common/automation_constants.h', 9 'common/automation_constants.h',
16 'common/pref_names.cc', 10 'common/pref_names.cc',
17 'common/pref_names.h', 11 'common/pref_names.h',
18 'test/automation/browser_proxy.cc', 12 'test/automation/browser_proxy.cc',
19 'test/automation/browser_proxy.h', 13 'test/automation/browser_proxy.h',
20 'test/automation/tab_proxy.cc', 14 'test/automation/tab_proxy.cc',
21 'test/automation/tab_proxy.h', 15 'test/automation/tab_proxy.h',
22 ], 16 ],
23 'pyautolib_libraries': [ 17 'pyautolib_libraries': [
24 ], 18 ],
25 'conditions': [ 19 'conditions': [
26 ['asan==1', { 20 ['asan==1', {
27 'pyautolib_libraries': [ 21 'pyautolib_libraries': [
28 # Link in the libasan32.a because this binary will be loaded by 22 # Link in the libasan32.a because this binary will be loaded by
29 # Python that does not have libasan in. 23 # Python that does not have libasan in.
30 '-lasan32', 24 '-lasan32',
31 ] 25 ]
32 }], 26 }],
33 ], 27 ],
34 }, 28 },
29 'includes': [
30 'js_unittest_vars.gypi',
31 ],
35 'targets': [ 32 'targets': [
36 { 33 {
37 # This target contains mocks and test utilities that don't belong in 34 # This target contains mocks and test utilities that don't belong in
38 # production libraries but are used by more than one test executable. 35 # production libraries but are used by more than one test executable.
39 'target_name': 'test_support_common', 36 'target_name': 'test_support_common',
40 'type': 'static_library', 37 'type': 'static_library',
41 'dependencies': [ 38 'dependencies': [
42 'app/policy/cloud_policy_codegen.gyp:policy', 39 'app/policy/cloud_policy_codegen.gyp:policy',
43 'browser', 40 'browser',
44 'browser/sync/protocol/sync_proto.gyp:sync_proto', 41 'browser/sync/protocol/sync_proto.gyp:sync_proto',
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 '../ui/ui.gyp:ui_resources', 1170 '../ui/ui.gyp:ui_resources',
1174 '../ui/ui.gyp:ui_resources_standard', 1171 '../ui/ui.gyp:ui_resources_standard',
1175 '../ui/ui.gyp:ui_test_support', 1172 '../ui/ui.gyp:ui_test_support',
1176 '../v8/tools/gyp/v8.gyp:v8', 1173 '../v8/tools/gyp/v8.gyp:v8',
1177 'chrome_resources.gyp:chrome_resources', 1174 'chrome_resources.gyp:chrome_resources',
1178 'chrome_resources.gyp:chrome_strings', 1175 'chrome_resources.gyp:chrome_strings',
1179 ], 1176 ],
1180 'include_dirs': [ 1177 'include_dirs': [
1181 '..', 1178 '..',
1182 ], 1179 ],
1180 # TODO(scr): Use this in browser_tests too.
1181 'includes': [
1182 'js_unittest_rules.gypi',
1183 ],
1183 'defines': [ 1184 'defines': [
1184 'CLD_WINDOWS', 1185 'CLD_WINDOWS',
1185 ], 1186 ],
1186 'direct_dependent_settings': { 1187 'direct_dependent_settings': {
1187 'defines': [ 1188 'defines': [
1188 'CLD_WINDOWS', 1189 'CLD_WINDOWS',
1189 ], 1190 ],
1190 }, 1191 },
1191 'sources': [ 1192 'sources': [
1192 'app/breakpad_mac_stubs.mm', 1193 'app/breakpad_mac_stubs.mm',
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
2016 '../ui/views/test/views_test_base.h', 2017 '../ui/views/test/views_test_base.h',
2017 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', 2018 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc',
2018 '../webkit/fileapi/file_system_operation_write_unittest.cc', 2019 '../webkit/fileapi/file_system_operation_write_unittest.cc',
2019 '../webkit/fileapi/file_system_url_request_job_unittest.cc', 2020 '../webkit/fileapi/file_system_url_request_job_unittest.cc',
2020 '../webkit/fileapi/file_writer_delegate_unittest.cc', 2021 '../webkit/fileapi/file_writer_delegate_unittest.cc',
2021 '../webkit/fileapi/file_system_test_helper.cc', 2022 '../webkit/fileapi/file_system_test_helper.cc',
2022 '../webkit/fileapi/file_system_test_helper.h', 2023 '../webkit/fileapi/file_system_test_helper.h',
2023 '../webkit/quota/mock_storage_client.cc', 2024 '../webkit/quota/mock_storage_client.cc',
2024 '../webkit/quota/mock_storage_client.h', 2025 '../webkit/quota/mock_storage_client.h',
2025 ], 2026 ],
2026 'rules': [
2027 {
2028 'rule_name': 'copyjs',
2029 'extension': 'js',
2030 'msvs_external_rule': 1,
2031 'inputs': [
2032 '../build/cp.py',
2033 ],
2034 'outputs': [
2035 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).<(_extension)',
2036 ],
2037 'action': [
2038 'python',
2039 '<@(_inputs)',
2040 '<(RULE_INPUT_PATH)',
2041 '<@(_outputs)',
2042 ],
2043 },
2044 {
2045 'rule_name': 'js2unit',
2046 'extension': 'gtestjs',
2047 'msvs_external_rule': 1,
2048 'inputs': [
2049 '<(gypv8sh)',
2050 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
2051 '<(mock_js)',
2052 '<(test_api_js)',
2053 '<(js2gtest)',
2054 ],
2055 'outputs': [
2056 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT) -gen.cc',
2057 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).<(_extension)',
2058 ],
2059 'process_outputs_as_sources': 1,
2060 'action': [
2061 'python',
2062 '<@(_inputs)',
2063 'unit',
2064 '<(RULE_INPUT_PATH)',
2065 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)',
2066 '<@(_outputs)',
2067 ],
2068 },
2069 ],
2070 'conditions': [ 2027 'conditions': [
2071 ['target_arch!="arm"', { 2028 ['target_arch!="arm"', {
2072 'dependencies': [ 2029 'dependencies': [
2073 # build time dependency. 2030 # build time dependency.
2074 '../v8/tools/gyp/v8.gyp:v8_shell#host', 2031 '../v8/tools/gyp/v8.gyp:v8_shell#host',
2075 ], 2032 ],
2076 }], 2033 }],
2077 ['use_aura==1', { 2034 ['use_aura==1', {
2078 'dependencies': [ 2035 'dependencies': [
2079 '../ui/aura/aura.gyp:test_support_aura', 2036 '../ui/aura/aura.gyp:test_support_aura',
(...skipping 2246 matching lines...) Expand 10 before | Expand all | Expand 10 after
4326 # Use outputs of this action as inputs for the main target build. 4283 # Use outputs of this action as inputs for the main target build.
4327 # Seems as a misnomer but makes this happy on Linux (scons). 4284 # Seems as a misnomer but makes this happy on Linux (scons).
4328 'process_outputs_as_sources': 1, 4285 'process_outputs_as_sources': 1,
4329 }, 4286 },
4330 ], # 'actions' 4287 ], # 'actions'
4331 }, 4288 },
4332 ] 4289 ]
4333 }], # 'coverage!=0' 4290 }], # 'coverage!=0'
4334 ], # 'conditions' 4291 ], # 'conditions'
4335 } 4292 }
OLDNEW
« no previous file with comments | « chrome/chrome_installer_util.gypi ('k') | chrome/js_unittest_rules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698