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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to satiate trybots Created 6 years, 4 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/BUILD.gn » ('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 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 'targets': [ 5 'targets': [
6 { 6 {
7 # This target contains mocks and test utilities that don't belong in 7 # This target contains mocks and test utilities that don't belong in
8 # production libraries but are used by more than one test executable. 8 # production libraries but are used by more than one test executable.
9 'target_name': 'test_support_common', 9 'target_name': 'test_support_common',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 ['configuration_policy==1', { 349 ['configuration_policy==1', {
350 'dependencies': [ 350 'dependencies': [
351 '../components/components.gyp:policy_component_test_support', 351 '../components/components.gyp:policy_component_test_support',
352 '../components/components.gyp:policy_test_support', 352 '../components/components.gyp:policy_test_support',
353 ], 353 ],
354 'export_dependent_settings': [ 354 'export_dependent_settings': [
355 '../components/components.gyp:policy_component_test_support', 355 '../components/components.gyp:policy_component_test_support',
356 '../components/components.gyp:policy_test_support', 356 '../components/components.gyp:policy_test_support',
357 ], 357 ],
358 }], 358 }],
359 ['safe_browsing!=1', { 359 ['safe_browsing==0 or safe_browsing==2', {
360 'sources/': [ 360 'sources/': [
361 ['exclude', '^browser/extensions/blacklist_unittest.cc'], 361 ['exclude', '^browser/extensions/blacklist_unittest.cc'],
362 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .cc'], 362 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .cc'],
363 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .h'], 363 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .h'],
364 ['exclude', '^browser/extensions/test_blacklist.cc'],
364 ], 365 ],
365 }], 366 }],
366 ['OS=="linux"', { 367 ['OS=="linux"', {
367 'dependencies': [ 368 'dependencies': [
368 '../build/linux/system.gyp:ssl', 369 '../build/linux/system.gyp:ssl',
369 ], 370 ],
370 }], 371 }],
371 ['enable_printing==1', { 372 ['enable_printing==1', {
372 'dependencies': [ 373 'dependencies': [
373 'service', 374 'service',
(...skipping 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after
2264 ['enable_web_speech==0', { 2265 ['enable_web_speech==0', {
2265 'sources/': [ 2266 'sources/': [
2266 ['exclude', '^browser/speech/'], 2267 ['exclude', '^browser/speech/'],
2267 ], 2268 ],
2268 }], 2269 }],
2269 ['notifications==0', { 2270 ['notifications==0', {
2270 'sources/': [ 2271 'sources/': [
2271 ['exclude', '^browser/notifications/'], 2272 ['exclude', '^browser/notifications/'],
2272 ], 2273 ],
2273 }], 2274 }],
2274 ['safe_browsing==1', {
2275 'defines': [
2276 'FULL_SAFE_BROWSING',
2277 ],
2278 }],
2279 # TODO(sgurun): enable tests for safe_browsing==2. 2275 # TODO(sgurun): enable tests for safe_browsing==2.
2280 ['safe_browsing!=1', { 2276 ['safe_browsing==0 or safe_browsing==2', {
2281 'sources/': [ 2277 'sources/': [
2282 ['exclude', '^browser/safe_browsing/'], 2278 ['exclude', '^browser/safe_browsing/'],
2283 ['exclude', '^renderer/safe_browsing/'], 2279 ['exclude', '^renderer/safe_browsing/'],
2284 ], 2280 ],
2285 }], 2281 }],
2286 ['enable_autofill_dialog!=1 or OS=="android"', { 2282 ['enable_autofill_dialog!=1 or OS=="android"', {
2287 'sources!': [ 2283 'sources!': [
2288 'browser/ui/autofill/account_chooser_model_unittest.cc', 2284 'browser/ui/autofill/account_chooser_model_unittest.cc',
2289 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc', 2285 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc',
2290 'browser/ui/autofill/autofill_dialog_controller_unittest.cc', 2286 'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
2915 'dependencies': [ 2911 'dependencies': [
2916 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2912 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2917 ], 2913 ],
2918 }], 2914 }],
2919 ], 2915 ],
2920 }, 2916 },
2921 ], 2917 ],
2922 }], 2918 }],
2923 ], # 'conditions' 2919 ], # 'conditions'
2924 } 2920 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698