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

Unified Diff: chrome/common/BUILD.gn

Issue 1417673004: Make unit_tests compile in Mac GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mac
Patch Set: . Created 5 years, 2 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_unit.gypi ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index 97019946ded0b3feb11af9fb07f07db8d00bccde..42b1d8fe9420637dcf9ce65e18a4008f515ed686 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -139,9 +139,6 @@ static_library("common") {
"//extensions:extensions_resources",
"//extensions/strings",
"//media/cast:net",
-
- # This dependency is for a header used only by extensions code.
- "//ui/keyboard:keyboard_with_content",
]
if (is_chromeos) {
sources +=
@@ -149,6 +146,10 @@ static_library("common") {
".",
"//chrome")
}
+ if (use_aura) {
+ # This dependency is for a header used only by extensions code.
+ public_deps += [ "//ui/keyboard:keyboard_with_content" ]
+ }
}
if (is_win || is_mac) {
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698