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

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: merge 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
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index e1f8f3a3939bc1fe698ae43e6f124680a418d565..034b0f07813edda33a2fbda56e40fdf7667e0e25 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) {

Powered by Google App Engine
This is Rietveld 408576698