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

Unified Diff: ui/events/BUILD.gn

Issue 297793004: Work on the Android 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 | « ui/base/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/BUILD.gn
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
index 8c6d3d4c6fb79ba79ffad1a43c0bacfa523858ae..d5ce1dbada4d51a68ae41d5afe9f3e0ebe988a7d 100644
--- a/ui/events/BUILD.gn
+++ b/ui/events/BUILD.gn
@@ -186,8 +186,6 @@ component("gesture_detection") {
"gesture_detection/gesture_event_data_packet.cc",
"gesture_detection/gesture_event_data_packet.h",
"gesture_detection/gesture_config_helper.h",
- "gesture_detection/gesture_config_helper_aura.cc",
- "gesture_detection/gesture_config_helper_android.cc",
"gesture_detection/gesture_provider.cc",
"gesture_detection/gesture_provider.h",
"gesture_detection/motion_event.h",
@@ -216,8 +214,12 @@ component("gesture_detection") {
deps += [ ":events" ]
}
- if (!use_aura && !is_android) {
- sources -= [ "gesture_detection/gesture_config_helper_aura.cc" ]
+ if (is_android) {
+ sources += [ "gesture_detection/gesture_config_helper_android.cc" ]
+ } else if (use_aura) {
+ sources += [ "gesture_detection/gesture_config_helper_aura.cc" ]
+ } else {
+ sources += [ "gesture_detection/gesture_config_helper.cc" ]
}
}
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698