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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 1491773002: MD Downloads: add a JS unit test for search term splitting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-dl-data
Patch Set: Created 5 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 'chrome_unit_tests_sources': [ 6 'chrome_unit_tests_sources': [
7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this 7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this
8 # dependency is needed to make commit bots run unit_tests on 8 # dependency is needed to make commit bots run unit_tests on
9 # histograms.xml changes. 9 # histograms.xml changes.
10 '../tools/metrics/histograms/histograms.xml', 10 '../tools/metrics/histograms/histograms.xml',
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 'browser/media/webrtc_rtp_dump_writer_unittest.cc', 1086 'browser/media/webrtc_rtp_dump_writer_unittest.cc',
1087 'renderer/media/chrome_webrtc_log_message_delegate_unittest.cc', 1087 'renderer/media/chrome_webrtc_log_message_delegate_unittest.cc',
1088 ], 1088 ],
1089 'chrome_unit_tests_js_sources': [ 1089 'chrome_unit_tests_js_sources': [
1090 'browser/resources/google_now/background.js', 1090 'browser/resources/google_now/background.js',
1091 'browser/resources/google_now/background_test_util.js', 1091 'browser/resources/google_now/background_test_util.js',
1092 'browser/resources/google_now/cards.js', 1092 'browser/resources/google_now/cards.js',
1093 'browser/resources/google_now/common_test_util.js', 1093 'browser/resources/google_now/common_test_util.js',
1094 'browser/resources/google_now/utility.js', 1094 'browser/resources/google_now/utility.js',
1095 'browser/resources/google_now/utility_test_util.js', 1095 'browser/resources/google_now/utility_test_util.js',
1096 'browser/resources/md_downloads/action_service.js',
1096 'browser/resources/print_preview/data/measurement_system.js', 1097 'browser/resources/print_preview/data/measurement_system.js',
1097 'browser/resources/print_preview/print_preview_utils.js', 1098 'browser/resources/print_preview/print_preview_utils.js',
1098 'renderer/resources/extensions/notifications_custom_bindings.js', 1099 'renderer/resources/extensions/notifications_custom_bindings.js',
1099 'renderer/resources/extensions/notifications_test_util.js', 1100 'renderer/resources/extensions/notifications_test_util.js',
1100 '../ui/webui/resources/js/cr.js', 1101 '../ui/webui/resources/js/cr.js',
1101 ], 1102 ],
1102 'chrome_unit_tests_gtestjs_sources': [ 1103 'chrome_unit_tests_gtestjs_sources': [
1103 'browser/resources/google_now/background_unittest.gtestjs', 1104 'browser/resources/google_now/background_unittest.gtestjs',
1104 'browser/resources/google_now/cards_unittest.gtestjs', 1105 'browser/resources/google_now/cards_unittest.gtestjs',
1105 'browser/resources/google_now/utility_unittest.gtestjs', 1106 'browser/resources/google_now/utility_unittest.gtestjs',
1107 'browser/resources/md_downloads/action_service_unittest.gtestjs',
1106 'browser/resources/print_preview/data/measurement_system_unittest.gtestjs' , 1108 'browser/resources/print_preview/data/measurement_system_unittest.gtestjs' ,
1107 'browser/resources/print_preview/print_preview_utils_unittest.gtestjs', 1109 'browser/resources/print_preview/print_preview_utils_unittest.gtestjs',
1108 'renderer/resources/extensions/notifications_custom_bindings.gtestjs', 1110 'renderer/resources/extensions/notifications_custom_bindings.gtestjs',
1109 'test/data/unit/framework_unittest.gtestjs', 1111 'test/data/unit/framework_unittest.gtestjs',
1110 ], 1112 ],
1111 'chrome_unit_tests_chromeos_sources': [ 1113 'chrome_unit_tests_chromeos_sources': [
1112 # TODO(lukasza): Move Drive tests outside of CrOS (crbug.com/498951). 1114 # TODO(lukasza): Move Drive tests outside of CrOS (crbug.com/498951).
1113 '../components/drive/change_list_loader_unittest.cc', 1115 '../components/drive/change_list_loader_unittest.cc',
1114 '../components/drive/change_list_processor_unittest.cc', 1116 '../components/drive/change_list_processor_unittest.cc',
1115 '../components/drive/directory_loader_unittest.cc', 1117 '../components/drive/directory_loader_unittest.cc',
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2222 'VCLinkerTool': { 2224 'VCLinkerTool': {
2223 'conditions': [ 2225 'conditions': [
2224 ['incremental_chrome_dll==1', { 2226 ['incremental_chrome_dll==1', {
2225 'UseLibraryDependencyInputs': "true", 2227 'UseLibraryDependencyInputs': "true",
2226 }], 2228 }],
2227 ], 2229 ],
2228 }, 2230 },
2229 }, 2231 },
2230 'sources': [ 2232 'sources': [
2231 '<@(chrome_unit_tests_sources)', 2233 '<@(chrome_unit_tests_sources)',
2232 '<@(chrome_unit_tests_js_sources)',
2233 '<@(chrome_unit_tests_gtestjs_sources)',
2234 ], 2234 ],
2235 'conditions': [ 2235 'conditions': [
2236 ['OS!="ios"', { 2236 ['OS!="ios"', {
2237 'dependencies': [ 2237 'dependencies': [
2238 '../components/components.gyp:autofill_content_test_support', 2238 '../components/components.gyp:autofill_content_test_support',
2239 '../components/components.gyp:component_metrics_proto', 2239 '../components/components.gyp:component_metrics_proto',
2240 '../components/components.gyp:data_reduction_proxy_test_support', 2240 '../components/components.gyp:data_reduction_proxy_test_support',
2241 '../components/components.gyp:data_use_measurement_core', 2241 '../components/components.gyp:data_use_measurement_core',
2242 '../components/components.gyp:safe_json_test_support', 2242 '../components/components.gyp:safe_json_test_support',
2243 '../components/components.gyp:webdata_services_test_support', 2243 '../components/components.gyp:webdata_services_test_support',
2244 '../components/components_strings.gyp:components_strings', 2244 '../components/components_strings.gyp:components_strings',
2245 '../content/app/resources/content_resources.gyp:content_resources', 2245 '../content/app/resources/content_resources.gyp:content_resources',
2246 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', 2246 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
2247 '../gpu/gpu.gyp:gpu_unittest_utils', 2247 '../gpu/gpu.gyp:gpu_unittest_utils',
2248 '../media/media.gyp:media_test_support', 2248 '../media/media.gyp:media_test_support',
2249 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', 2249 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
2250 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 2250 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2251 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' , 2251 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' ,
2252 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', 2252 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
2253 '../third_party/webrtc/modules/modules.gyp:desktop_capture', 2253 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
2254 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j son_schema_compiler_tests', 2254 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j son_schema_compiler_tests',
2255 '../ui/gl/gl.gyp:gl', 2255 '../ui/gl/gl.gyp:gl',
2256 '../ui/gl/gl.gyp:gl_test_support', 2256 '../ui/gl/gl.gyp:gl_test_support',
2257 '../v8/tools/gyp/v8.gyp:v8',
2258 ],
2259 # TODO(scr): Use this in browser_tests too.
2260 'includes': [
2261 'js_unittest_rules.gypi',
2262 ], 2257 ],
2263 'include_dirs': [ 2258 'include_dirs': [
2264 '<(SHARED_INTERMEDIATE_DIR)/chrome', 2259 '<(SHARED_INTERMEDIATE_DIR)/chrome',
2265 ], 2260 ],
2266 }, { # OS=="ios" 2261 }, { # OS=="ios"
2267 'dependencies': [ 2262 'dependencies': [
2268 '../third_party/ocmock/ocmock.gyp:ocmock', 2263 '../third_party/ocmock/ocmock.gyp:ocmock',
2269 ], 2264 ],
2270 'sources/': [ 2265 'sources/': [
2271 # Exclude everything but iOS-specific files. 2266 # Exclude everything but iOS-specific files.
(...skipping 23 matching lines...) Expand all
2295 '../testing/android/native_test.gyp:native_test_native_code', 2290 '../testing/android/native_test.gyp:native_test_native_code',
2296 '../components/components.gyp:gcm_driver', 2291 '../components/components.gyp:gcm_driver',
2297 ], 2292 ],
2298 }, { # Not Android. 2293 }, { # Not Android.
2299 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], 2294 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ],
2300 'sources!': [ 2295 'sources!': [
2301 'browser/download/download_request_infobar_delegate_unittest.cc', 2296 'browser/download/download_request_infobar_delegate_unittest.cc',
2302 ], 2297 ],
2303 }], 2298 }],
2304 ['OS!="android" and OS!="ios"', { 2299 ['OS!="android" and OS!="ios"', {
2305 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], 2300 'dependencies': [
2301 '../v8/tools/gyp/v8.gyp:v8',
2302 ],
2303 # TODO(scr): Use this in browser_tests too.
dpapad 2015/12/03 01:19:41 Is this TODO relevant anymore?
Dan Beam 2015/12/11 08:17:22 Done.
2304 'includes': [
2305 'js_unittest_rules.gypi',
2306 ],
2307 'include_dirs': [
2308 '<(SHARED_INTERMEDIATE_DIR)/chrome',
2309 ],
2310 'sources': [
2311 '<@(chrome_unit_tests_non_mobile_sources)',
2312 '<@(chrome_unit_tests_js_sources)',
2313 '<@(chrome_unit_tests_gtestjs_sources)',
2314 ],
2306 }], 2315 }],
2307 ['chromeos==1', { 2316 ['chromeos==1', {
2308 'sources!': [ 2317 'sources!': [
2309 'browser/signin/chrome_signin_status_metrics_provider_delegate_unitt est.cc', 2318 'browser/signin/chrome_signin_status_metrics_provider_delegate_unitt est.cc',
2310 ], 2319 ],
2311 }], 2320 }],
2312 ['enable_background==1', { 2321 ['enable_background==1', {
2313 'sources': [ '<@(chrome_unit_tests_background_sources)' ], 2322 'sources': [ '<@(chrome_unit_tests_background_sources)' ],
2314 }], 2323 }],
2315 ['enable_spellcheck==1', { 2324 ['enable_spellcheck==1', {
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
2991 'dependencies': [ 3000 'dependencies': [
2992 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 3001 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2993 ], 3002 ],
2994 }], 3003 }],
2995 ], 3004 ],
2996 }, 3005 },
2997 ], 3006 ],
2998 }], 3007 }],
2999 ], # 'conditions' 3008 ], # 'conditions'
3000 } 3009 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698