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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 2314353002: MacViews: Fix mac_views_browser build linker errors. (Closed)
Patch Set: Fix if statement. Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/BUILD.gn
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index 4334640268a7f7f79f1eb271f48efae9cebe504a..d9d105284b794247fb563a6a49db2ad88b71d798 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -1544,7 +1544,7 @@ split_static_library("ui") {
]
}
}
- if (!is_mac) {
+ if (!is_mac || mac_views_browser) {
sources += [
# This test header is included because it contains forward declarations
# needed for "friend" statements for use in tests.
@@ -1826,6 +1826,7 @@ split_static_library("ui") {
"views/website_settings/chooser_bubble_ui_view.h",
"views/website_settings/permission_prompt_impl_views.cc",
]
+
if (use_aura) {
deps += [
"//services/ui/public/cpp",
@@ -1839,7 +1840,9 @@ split_static_library("ui") {
"views/tabs/window_finder_mus.h",
]
}
- deps += [ "//ui/views/mus" ]
+ if (!mac_views_browser) {
+ deps += [ "//ui/views/mus" ]
+ }
}
if (use_ash) {
sources += [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698