OLD | NEW |
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 "win/window_event_target.h", | 269 "win/window_event_target.h", |
270 "window_open_disposition.cc", | 270 "window_open_disposition.cc", |
271 "window_open_disposition.h", | 271 "window_open_disposition.h", |
272 "work_area_watcher_observer.h", | 272 "work_area_watcher_observer.h", |
273 ] | 273 ] |
274 | 274 |
275 if (is_win) { | 275 if (is_win) { |
276 sources += [ "touch/touch_device_win.cc" ] | 276 sources += [ "touch/touch_device_win.cc" ] |
277 } else if (is_android) { | 277 } else if (is_android) { |
278 sources += [ "touch/touch_device_android.cc" ] | 278 sources += [ "touch/touch_device_android.cc" ] |
279 } else if (use_ozone) { | 279 } else if (use_ozone || (use_aura && use_x11)) { |
280 sources += [ "touch/touch_device_ozone.cc" ] | 280 sources += [ "touch/touch_device_linux.cc" ] |
281 } else if (use_aura && use_x11) { | |
282 sources += [ "touch/touch_device_aurax11.cc" ] | |
283 } else { | 281 } else { |
284 # Empty implementation for all other cases. | 282 # Empty implementation for all other cases. |
285 sources += [ "touch/touch_device.cc" ] | 283 sources += [ "touch/touch_device.cc" ] |
286 } | 284 } |
287 | 285 |
288 defines = [ "UI_BASE_IMPLEMENTATION" ] | 286 defines = [ "UI_BASE_IMPLEMENTATION" ] |
289 | 287 |
290 public_deps = [ | 288 public_deps = [ |
291 "//base", | 289 "//base", |
292 "//skia", | 290 "//skia", |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 if (is_chromeos) { | 897 if (is_chromeos) { |
900 sources -= [ | 898 sources -= [ |
901 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", | 899 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", |
902 "x/selection_requestor_unittest.cc", | 900 "x/selection_requestor_unittest.cc", |
903 ] | 901 ] |
904 deps += [ "//chromeos" ] | 902 deps += [ "//chromeos" ] |
905 } | 903 } |
906 } | 904 } |
907 } | 905 } |
908 # TODO(GYP) Mac (ui_base_tests_bundle) and Android (ui_base_unittests_apk). | 906 # TODO(GYP) Mac (ui_base_tests_bundle) and Android (ui_base_unittests_apk). |
OLD | NEW |