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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 static_library("dom4_keycode_converter") { 7 static_library("dom4_keycode_converter") {
8 sources = [ 8 sources = [
9 "keycodes/dom4/keycode_converter.cc", 9 "keycodes/dom4/keycode_converter.cc",
10 "keycodes/dom4/keycode_converter.h", 10 "keycodes/dom4/keycode_converter.h",
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 "gesture_detection/filtered_gesture_provider.cc", 179 "gesture_detection/filtered_gesture_provider.cc",
180 "gesture_detection/filtered_gesture_provider.h", 180 "gesture_detection/filtered_gesture_provider.h",
181 "gesture_detection/gesture_detection_export.h", 181 "gesture_detection/gesture_detection_export.h",
182 "gesture_detection/gesture_detector.cc", 182 "gesture_detection/gesture_detector.cc",
183 "gesture_detection/gesture_detector.h", 183 "gesture_detection/gesture_detector.h",
184 "gesture_detection/gesture_event_data.cc", 184 "gesture_detection/gesture_event_data.cc",
185 "gesture_detection/gesture_event_data.h", 185 "gesture_detection/gesture_event_data.h",
186 "gesture_detection/gesture_event_data_packet.cc", 186 "gesture_detection/gesture_event_data_packet.cc",
187 "gesture_detection/gesture_event_data_packet.h", 187 "gesture_detection/gesture_event_data_packet.h",
188 "gesture_detection/gesture_config_helper.h", 188 "gesture_detection/gesture_config_helper.h",
189 "gesture_detection/gesture_config_helper_aura.cc",
190 "gesture_detection/gesture_config_helper_android.cc",
191 "gesture_detection/gesture_provider.cc", 189 "gesture_detection/gesture_provider.cc",
192 "gesture_detection/gesture_provider.h", 190 "gesture_detection/gesture_provider.h",
193 "gesture_detection/motion_event.h", 191 "gesture_detection/motion_event.h",
194 "gesture_detection/scale_gesture_detector.cc", 192 "gesture_detection/scale_gesture_detector.cc",
195 "gesture_detection/scale_gesture_detector.h", 193 "gesture_detection/scale_gesture_detector.h",
196 "gesture_detection/snap_scroll_controller.cc", 194 "gesture_detection/snap_scroll_controller.cc",
197 "gesture_detection/snap_scroll_controller.h", 195 "gesture_detection/snap_scroll_controller.h",
198 "gesture_detection/touch_disposition_gesture_filter.cc", 196 "gesture_detection/touch_disposition_gesture_filter.cc",
199 "gesture_detection/touch_disposition_gesture_filter.h", 197 "gesture_detection/touch_disposition_gesture_filter.h",
200 "gesture_detection/velocity_tracker_state.cc", 198 "gesture_detection/velocity_tracker_state.cc",
201 "gesture_detection/velocity_tracker_state.h", 199 "gesture_detection/velocity_tracker_state.h",
202 "gesture_detection/velocity_tracker.cc", 200 "gesture_detection/velocity_tracker.cc",
203 "gesture_detection/velocity_tracker.h", 201 "gesture_detection/velocity_tracker.h",
204 ] 202 ]
205 203
206 deps = [ 204 deps = [
207 ":events_base", 205 ":events_base",
208 "//base", 206 "//base",
209 "//ui/gfx", 207 "//ui/gfx",
210 "//ui/gfx/geometry", 208 "//ui/gfx/geometry",
211 ] 209 ]
212 210
213 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 211 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
214 212
215 if (use_aura) { 213 if (use_aura) {
216 deps += [ ":events" ] 214 deps += [ ":events" ]
217 } 215 }
218 216
219 if (!use_aura && !is_android) { 217 if (is_android) {
220 sources -= [ "gesture_detection/gesture_config_helper_aura.cc" ] 218 sources += [ "gesture_detection/gesture_config_helper_android.cc" ]
219 } else if (use_aura) {
220 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ]
221 } else {
222 sources += [ "gesture_detection/gesture_config_helper.cc" ]
221 } 223 }
222 } 224 }
223 225
224 source_set("events_test_support") { 226 source_set("events_test_support") {
225 sources = [ 227 sources = [
226 "test/cocoa_test_event_utils.h", 228 "test/cocoa_test_event_utils.h",
227 "test/cocoa_test_event_utils.mm", 229 "test/cocoa_test_event_utils.mm",
228 "test/events_test_utils.cc", 230 "test/events_test_utils.cc",
229 "test/events_test_utils.h", 231 "test/events_test_utils.h",
230 "test/events_test_utils_x11.cc", 232 "test/events_test_utils_x11.cc",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 ":events_base", 302 ":events_base",
301 ":events_test_support", 303 ":events_test_support",
302 ":gesture_detection", 304 ":gesture_detection",
303 "//base", 305 "//base",
304 "//base/test:run_all_unittests", 306 "//base/test:run_all_unittests",
305 "//skia", 307 "//skia",
306 "//testing/gtest", 308 "//testing/gtest",
307 "//ui/gfx:gfx_test_support", 309 "//ui/gfx:gfx_test_support",
308 ] 310 ]
309 } 311 }
OLDNEW
« 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