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

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 pick up safe_browsing_resource_throttle_factory change. 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
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 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after
2263 ['enable_web_speech==0', { 2264 ['enable_web_speech==0', {
2264 'sources/': [ 2265 'sources/': [
2265 ['exclude', '^browser/speech/'], 2266 ['exclude', '^browser/speech/'],
2266 ], 2267 ],
2267 }], 2268 }],
2268 ['notifications==0', { 2269 ['notifications==0', {
2269 'sources/': [ 2270 'sources/': [
2270 ['exclude', '^browser/notifications/'], 2271 ['exclude', '^browser/notifications/'],
2271 ], 2272 ],
2272 }], 2273 }],
2273 ['safe_browsing==1', {
2274 'defines': [
2275 'FULL_SAFE_BROWSING',
2276 ],
2277 }],
2278 # TODO(sgurun): enable tests for safe_browsing==2. 2274 # TODO(sgurun): enable tests for safe_browsing==2.
2279 ['safe_browsing!=1', { 2275 ['safe_browsing==0 or safe_browsing==2', {
2280 'sources/': [ 2276 'sources/': [
2281 ['exclude', '^browser/safe_browsing/'], 2277 ['exclude', '^browser/safe_browsing/'],
2282 ['exclude', '^renderer/safe_browsing/'], 2278 ['exclude', '^renderer/safe_browsing/'],
2283 ], 2279 ],
2284 }], 2280 }],
2285 ['enable_autofill_dialog!=1 or OS=="android"', { 2281 ['enable_autofill_dialog!=1 or OS=="android"', {
2286 'sources!': [ 2282 'sources!': [
2287 'browser/ui/autofill/account_chooser_model_unittest.cc', 2283 'browser/ui/autofill/account_chooser_model_unittest.cc',
2288 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc', 2284 'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest .cc',
2289 'browser/ui/autofill/autofill_dialog_controller_unittest.cc', 2285 'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
2914 'dependencies': [ 2910 'dependencies': [
2915 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2911 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2916 ], 2912 ],
2917 }], 2913 }],
2918 ], 2914 ],
2919 }, 2915 },
2920 ], 2916 ],
2921 }], 2917 }],
2922 ], # 'conditions' 2918 ], # 'conditions'
2923 } 2919 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698