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

Unified Diff: chrome/chrome_tests_unit.gypi

Issue 1313383006: Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT Created 5 years, 3 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_browser_ui.gypi ('k') | chrome/common/chrome_switches.h » ('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 4af3ba9d16a6593cd9f7a618ae375084d71ce501..1ad027cc1954e29d10180fd6d462657205db0556 100644
--- a/chrome/chrome_tests_unit.gypi
+++ b/chrome/chrome_tests_unit.gypi
@@ -163,7 +163,6 @@
'browser/password_manager/password_store_proxy_mac_unittest.cc',
'browser/password_manager/password_store_win_unittest.cc',
'browser/password_manager/password_store_x_unittest.cc',
- 'browser/password_manager/save_password_infobar_delegate_unittest.cc',
'browser/password_manager/simple_password_store_mac_unittest.cc',
'browser/permissions/permission_context_base_unittest.cc',
'browser/permissions/permission_manager_unittest.cc',
@@ -558,6 +557,9 @@
'../tools/json_schema_compiler/test/objects_unittest.cc',
'../tools/json_schema_compiler/test/simple_api_unittest.cc',
],
+ 'chrome_unit_tests_mac_android_sources': [
+ 'browser/password_manager/save_password_infobar_delegate_unittest.cc',
+ ],
'chrome_unit_tests_spellchecker_sources': [
'browser/spellchecker/feedback_sender_unittest.cc',
'browser/spellchecker/feedback_unittest.cc',
@@ -2527,6 +2529,9 @@
# other things like the ui and startup tests. *shrug*
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
}],
+ ['OS=="mac" or OS=="android"', {
+ 'sources': [ '<@(chrome_unit_tests_mac_android_sources)' ],
+ }],
['OS!="mac" and OS!="ios"', {
'dependencies': [
'../third_party/hunspell/hunspell.gyp:hunspell',
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698