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

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: Created 6 years, 5 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 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 ['configuration_policy==1', { 347 ['configuration_policy==1', {
348 'dependencies': [ 348 'dependencies': [
349 '../components/components.gyp:policy_component_test_support', 349 '../components/components.gyp:policy_component_test_support',
350 '../components/components.gyp:policy_test_support', 350 '../components/components.gyp:policy_test_support',
351 ], 351 ],
352 'export_dependent_settings': [ 352 'export_dependent_settings': [
353 '../components/components.gyp:policy_component_test_support', 353 '../components/components.gyp:policy_component_test_support',
354 '../components/components.gyp:policy_test_support', 354 '../components/components.gyp:policy_test_support',
355 ], 355 ],
356 }], 356 }],
357 ['safe_browsing!=1', { 357 ['safe_browsing==0 or safe_browsing==2', {
358 'sources/': [ 358 'sources/': [
359 ['exclude', '^browser/extensions/blacklist_unittest.cc'], 359 ['exclude', '^browser/extensions/blacklist_unittest.cc'],
360 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .cc'], 360 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .cc'],
361 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .h'], 361 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .h'],
362 ['exclude', '^browser/extensions/test_blacklist.cc'],
362 ], 363 ],
363 }], 364 }],
364 ['OS=="linux"', { 365 ['OS=="linux"', {
365 'dependencies': [ 366 'dependencies': [
366 '../build/linux/system.gyp:ssl', 367 '../build/linux/system.gyp:ssl',
367 ], 368 ],
368 }], 369 }],
369 ['enable_printing==1', { 370 ['enable_printing==1', {
370 'dependencies': [ 371 'dependencies': [
371 'service', 372 'service',
(...skipping 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 ['enable_web_speech==0', { 2278 ['enable_web_speech==0', {
2278 'sources/': [ 2279 'sources/': [
2279 ['exclude', '^browser/speech/'], 2280 ['exclude', '^browser/speech/'],
2280 ], 2281 ],
2281 }], 2282 }],
2282 ['notifications==0', { 2283 ['notifications==0', {
2283 'sources/': [ 2284 'sources/': [
2284 ['exclude', '^browser/notifications/'], 2285 ['exclude', '^browser/notifications/'],
2285 ], 2286 ],
2286 }], 2287 }],
2287 ['safe_browsing==1', {
2288 'defines': [
2289 'FULL_SAFE_BROWSING',
2290 ],
2291 }],
2292 # TODO(sgurun): enable tests for safe_browsing==2. 2288 # TODO(sgurun): enable tests for safe_browsing==2.
2293 ['safe_browsing!=1', { 2289 ['safe_browsing==0 or safe_browsing==2', {
2294 'sources/': [ 2290 'sources/': [
2295 ['exclude', '^browser/safe_browsing/'], 2291 ['exclude', '^browser/safe_browsing/'],
2296 ['exclude', '^renderer/safe_browsing/'], 2292 ['exclude', '^renderer/safe_browsing/'],
2297 ], 2293 ],
2298 }], 2294 }],
2299 ['enable_autofill_dialog!=1 or OS=="android"', { 2295 ['enable_autofill_dialog!=1 or OS=="android"', {
2300 'sources!': [ 2296 'sources!': [
2301 'browser/ui/autofill/account_chooser_model_unittest.cc', 2297 'browser/ui/autofill/account_chooser_model_unittest.cc',
2302 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc', 2298 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc',
2303 'browser/ui/autofill/autofill_dialog_controller_unittest.cc', 2299 'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
2918 'unit_tests.isolate', 2914 'unit_tests.isolate',
2919 ], 2915 ],
2920 'sources': [ 2916 'sources': [
2921 'unit_tests.isolate', 2917 'unit_tests.isolate',
2922 ], 2918 ],
2923 }, 2919 },
2924 ], 2920 ],
2925 }], 2921 }],
2926 ], # 'conditions' 2922 ], # 'conditions'
2927 } 2923 }
OLDNEW
« build/common.gypi ('K') | « chrome/chrome_tests.gypi ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698