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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 } | 295 } |
296 | 296 |
297 if (use_aura) { | 297 if (use_aura) { |
298 deps += [ | 298 deps += [ |
299 "//ui/events", | 299 "//ui/events", |
300 ] | 300 ] |
301 } else { | 301 } else { |
302 sources -= [ | 302 sources -= [ |
303 "cursor/cursor.cc", | 303 "cursor/cursor.cc", |
304 "cursor/cursor.h", | 304 "cursor/cursor.h", |
| 305 "dragdrop/drag_utils_aura.cc", |
305 "x/selection_owner.cc", | 306 "x/selection_owner.cc", |
306 "x/selection_owner.h", | 307 "x/selection_owner.h", |
307 "x/selection_requestor.cc", | 308 "x/selection_requestor.cc", |
308 "x/selection_requestor.h", | 309 "x/selection_requestor.h", |
309 "x/selection_utils.cc", | 310 "x/selection_utils.cc", |
310 "x/selection_utils.h", | 311 "x/selection_utils.h", |
311 ] | 312 ] |
312 } | 313 } |
| 314 if (!use_x11) { |
| 315 sources -= [ |
| 316 "x/x11_util.cc", |
| 317 "x/x11_util.h", |
| 318 "x/x11_util_internal.h", |
| 319 ] |
| 320 } |
313 | 321 |
314 if (!use_aura || !is_linux) { | 322 if (!use_aura || !is_linux) { |
315 sources -= [ | 323 sources -= [ |
316 "resource/resource_bundle_auralinux.cc", | 324 "resource/resource_bundle_auralinux.cc", |
317 ] | 325 ] |
318 } | 326 } |
319 | 327 |
320 if (use_aura && is_win) { | 328 if (use_aura && is_win) { |
321 sources -= [ | 329 sources -= [ |
322 "dragdrop/drag_utils_aura.cc", | 330 "dragdrop/drag_utils_aura.cc", |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", | 547 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", |
540 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", | 548 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", |
541 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", | 549 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", |
542 "../android/java/src/org/chromium/ui/base/TouchDevice.java", | 550 "../android/java/src/org/chromium/ui/base/TouchDevice.java", |
543 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", | 551 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", |
544 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", | 552 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", |
545 ] | 553 ] |
546 jni_package = "base" | 554 jni_package = "base" |
547 } | 555 } |
548 } | 556 } |
OLD | NEW |