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

Unified Diff: ui/base/BUILD.gn

Issue 305513003: Add ppapi, improve Windows GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « skia/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index 18b7bd136e777b81455efaac9f96604dc63c524a..bd29f554059f824a4deafa52d222c7da6c14d7ea 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -251,12 +251,6 @@ component("ui_base") {
"window_open_disposition.cc",
"window_open_disposition.h",
"work_area_watcher_observer.h",
- "x/selection_owner.cc",
- "x/selection_owner.h",
- "x/selection_requestor.cc",
- "x/selection_requestor.h",
- "x/selection_utils.cc",
- "x/selection_utils.h",
"x/x11_menu_list.cc",
"x/x11_menu_list.h",
"x/x11_util.cc",
@@ -294,6 +288,17 @@ component("ui_base") {
]
}
+ if (use_x11 && use_aura) {
+ sources += [
+ "x/selection_owner.cc",
+ "x/selection_owner.h",
+ "x/selection_requestor.cc",
+ "x/selection_requestor.h",
+ "x/selection_utils.cc",
+ "x/selection_utils.h",
+ ]
+ }
+
if (use_aura) {
deps += [
"//ui/events",
@@ -303,12 +308,6 @@ component("ui_base") {
"cursor/cursor.cc",
"cursor/cursor.h",
"dragdrop/drag_utils_aura.cc",
- "x/selection_owner.cc",
- "x/selection_owner.h",
- "x/selection_requestor.cc",
- "x/selection_requestor.h",
- "x/selection_utils.cc",
- "x/selection_utils.h",
]
}
if (!use_x11) {
@@ -319,6 +318,12 @@ component("ui_base") {
]
}
+ if (!use_ozone) {
+ sources -= [
+ "touch/touch_device_ozone.cc",
+ ]
+ }
+
if (!use_aura || !is_linux) {
sources -= [
"resource/resource_bundle_auralinux.cc",
« no previous file with comments | « skia/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698