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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_tests_unit.gypi
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi
index 5a5ccd1bcb550c3e7c4f819b862380a4eae69cc8..16e9606707d9072e27f73cb170acc858ba5f3dbb 100644
--- a/chrome/chrome_tests_unit.gypi
+++ b/chrome/chrome_tests_unit.gypi
@@ -356,11 +356,12 @@
'../components/components.gyp:policy_test_support',
],
}],
- ['safe_browsing!=1', {
+ ['safe_browsing==0 or safe_browsing==2', {
'sources/': [
['exclude', '^browser/extensions/blacklist_unittest.cc'],
['exclude', '^browser/extensions/fake_safe_browsing_database_manager.cc'],
['exclude', '^browser/extensions/fake_safe_browsing_database_manager.h'],
+ ['exclude', '^browser/extensions/test_blacklist.cc'],
],
}],
['OS=="linux"', {
@@ -2271,13 +2272,8 @@
['exclude', '^browser/notifications/'],
],
}],
- ['safe_browsing==1', {
- 'defines': [
- 'FULL_SAFE_BROWSING',
- ],
- }],
# TODO(sgurun): enable tests for safe_browsing==2.
- ['safe_browsing!=1', {
+ ['safe_browsing==0 or safe_browsing==2', {
'sources/': [
['exclude', '^browser/safe_browsing/'],
['exclude', '^renderer/safe_browsing/'],
« 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