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

Unified Diff: ui/views/BUILD.gn

Issue 2304763002: Cleanup ui/views aura build configuration. (Closed)
Patch Set: Cleanup ui/views aura build configuration. 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: ui/views/BUILD.gn
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn
index 66e43bda4d7fb56df73304ba4d6a2fc0ce8c385e..b67332947552d885a847bb95268f9a718048f48c 100644
--- a/ui/views/BUILD.gn
+++ b/ui/views/BUILD.gn
@@ -553,10 +553,8 @@ component("views") {
"widget/desktop_aura/desktop_screen_position_client.h",
"widget/desktop_aura/desktop_window_tree_host.h",
]
- if (use_atk) {
+ if (use_x11) {
sources += [
- "accessibility/native_view_accessibility_auralinux.cc",
- "accessibility/native_view_accessibility_auralinux.h",
"widget/desktop_aura/desktop_drag_drop_client_aurax11.cc",
"widget/desktop_aura/desktop_drag_drop_client_aurax11.h",
"widget/desktop_aura/desktop_screen_x11.cc",
@@ -579,7 +577,13 @@ component("views") {
"widget/desktop_aura/x11_window_event_filter.cc",
"widget/desktop_aura/x11_window_event_filter.h",
]
- configs += [ "//build/config/linux/atk" ]
+ if (use_atk) {
+ sources += [
+ "accessibility/native_view_accessibility_auralinux.cc",
+ "accessibility/native_view_accessibility_auralinux.h",
+ ]
+ configs += [ "//build/config/linux/atk" ]
+ }
} else if (is_win) {
sources += [
"widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc",
« 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