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

Side by Side Diff: ui/base/BUILD.gn

Issue 815983003: Unified touch_device_aurax11 and touch_device_ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified the gyp rule. Created 5 years, 11 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
« no previous file with comments | « no previous file | ui/base/touch/touch_device_aurax11.cc » ('j') | ui/base/ui_base.gyp » ('J')
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 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 "win/window_event_target.h", 272 "win/window_event_target.h",
273 "window_open_disposition.cc", 273 "window_open_disposition.cc",
274 "window_open_disposition.h", 274 "window_open_disposition.h",
275 "work_area_watcher_observer.h", 275 "work_area_watcher_observer.h",
276 ] 276 ]
277 277
278 if (is_win) { 278 if (is_win) {
279 sources += [ "touch/touch_device_win.cc" ] 279 sources += [ "touch/touch_device_win.cc" ]
280 } else if (is_android) { 280 } else if (is_android) {
281 sources += [ "touch/touch_device_android.cc" ] 281 sources += [ "touch/touch_device_android.cc" ]
282 } else if (use_ozone) { 282 } else if (is_linux || use_ozone || (use_aura && use_x11)) {
sadrul 2015/01/20 18:44:07 Just 'is_linux' should be sufficient (use_ozone is
mustaq 2015/01/21 17:07:35 Done.
283 sources += [ "touch/touch_device_ozone.cc" ] 283 sources += [ "touch/touch_device_linux.cc" ]
284 } else if (use_aura && use_x11) {
285 sources += [ "touch/touch_device_aurax11.cc" ]
286 } else { 284 } else {
287 # Empty implementation for all other cases. 285 # Empty implementation for all other cases.
288 sources += [ "touch/touch_device.cc" ] 286 sources += [ "touch/touch_device.cc" ]
289 } 287 }
290 288
291 defines = [ "UI_BASE_IMPLEMENTATION" ] 289 defines = [ "UI_BASE_IMPLEMENTATION" ]
292 290
293 public_deps = [ 291 public_deps = [
294 "//base", 292 "//base",
295 "//skia", 293 "//skia",
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 # TODO(GYP) Mac (ui_base_tests_bundle) 911 # TODO(GYP) Mac (ui_base_tests_bundle)
914 if (is_android) { 912 if (is_android) {
915 unittest_apk("ui_base_unittests_apk") { 913 unittest_apk("ui_base_unittests_apk") {
916 unittests_dep = ":ui_base_unittests" 914 unittests_dep = ":ui_base_unittests"
917 deps = [ 915 deps = [
918 ":ui_base_unittests", 916 ":ui_base_unittests",
919 "//chrome:resources", 917 "//chrome:resources",
920 ] 918 ]
921 } 919 }
922 } 920 }
OLDNEW
« no previous file with comments | « no previous file | ui/base/touch/touch_device_aurax11.cc » ('j') | ui/base/ui_base.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698