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

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: cleanup gn files 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 ['configuration_policy==1', { 345 ['configuration_policy==1', {
346 'dependencies': [ 346 'dependencies': [
347 '../components/components.gyp:policy_component_test_support', 347 '../components/components.gyp:policy_component_test_support',
348 '../components/components.gyp:policy_test_support', 348 '../components/components.gyp:policy_test_support',
349 ], 349 ],
350 'export_dependent_settings': [ 350 'export_dependent_settings': [
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 }], 354 }],
355 ['safe_browsing!=1', { 355 ['safe_browsing==0 or safe_browsing==2', {
356 'sources/': [ 356 'sources/': [
357 ['exclude', '^browser/extensions/blacklist_unittest.cc'], 357 ['exclude', '^browser/extensions/blacklist_unittest.cc'],
358 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .cc'], 358 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .cc'],
359 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .h'], 359 ['exclude', '^browser/extensions/fake_safe_browsing_database_manager .h'],
360 ['exclude', '^browser/extensions/test_blacklist.cc'],
360 ], 361 ],
361 }], 362 }],
362 ['OS=="linux"', { 363 ['OS=="linux"', {
363 'dependencies': [ 364 'dependencies': [
364 '../build/linux/system.gyp:ssl', 365 '../build/linux/system.gyp:ssl',
365 ], 366 ],
366 }], 367 }],
367 ['enable_printing==1', { 368 ['enable_printing==1', {
368 'dependencies': [ 369 'dependencies': [
369 'service', 370 'service',
(...skipping 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after
2275 ['enable_web_speech==0', { 2276 ['enable_web_speech==0', {
2276 'sources/': [ 2277 'sources/': [
2277 ['exclude', '^browser/speech/'], 2278 ['exclude', '^browser/speech/'],
2278 ], 2279 ],
2279 }], 2280 }],
2280 ['notifications==0', { 2281 ['notifications==0', {
2281 'sources/': [ 2282 'sources/': [
2282 ['exclude', '^browser/notifications/'], 2283 ['exclude', '^browser/notifications/'],
2283 ], 2284 ],
2284 }], 2285 }],
2285 ['safe_browsing==1', {
2286 'defines': [
2287 'FULL_SAFE_BROWSING',
2288 ],
2289 }],
2290 # TODO(sgurun): enable tests for safe_browsing==2. 2286 # TODO(sgurun): enable tests for safe_browsing==2.
2291 ['safe_browsing!=1', { 2287 ['safe_browsing==0 or safe_browsing==2', {
2292 'sources/': [ 2288 'sources/': [
2293 ['exclude', '^browser/safe_browsing/'], 2289 ['exclude', '^browser/safe_browsing/'],
2294 ['exclude', '^renderer/safe_browsing/'], 2290 ['exclude', '^renderer/safe_browsing/'],
2295 ], 2291 ],
2296 }], 2292 }],
2297 ['enable_autofill_dialog!=1 or OS=="android"', { 2293 ['enable_autofill_dialog!=1 or OS=="android"', {
2298 'sources!': [ 2294 'sources!': [
2299 'browser/ui/autofill/account_chooser_model_unittest.cc', 2295 'browser/ui/autofill/account_chooser_model_unittest.cc',
2300 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc', 2296 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc',
2301 'browser/ui/autofill/autofill_dialog_controller_unittest.cc', 2297 'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
2923 'dependencies': [ 2919 'dependencies': [
2924 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2920 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2925 ], 2921 ],
2926 }], 2922 }],
2927 ], 2923 ],
2928 }, 2924 },
2929 ], 2925 ],
2930 }], 2926 }],
2931 ], # 'conditions' 2927 ], # 'conditions'
2932 } 2928 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698