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

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

Issue 872243004: Fix 'gn check' errors in //ui/* targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 10 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 | « ui/app_list/views/app_list_main_view_unittest.cc ('k') | ui/base/ui_base.gyp » ('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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
11 } 11 }
12 12
13 build_ime = !is_ios 13 build_ime = !is_ios
14 14
15 component("base") { 15 component("base") {
16 output_name = "ui_base" 16 output_name = "ui_base"
17 sources = [ 17 sources = [
18 "accelerators/accelerator.cc", 18 "accelerators/accelerator.cc",
19 "accelerators/accelerator.h", 19 "accelerators/accelerator.h",
20 "accelerators/accelerator_history.cc", 20 "accelerators/accelerator_history.cc",
21 "accelerators/accelerator_history.h", 21 "accelerators/accelerator_history.h",
22 "accelerators/accelerator_manager.cc", 22 "accelerators/accelerator_manager.cc",
23 "accelerators/accelerator_manager.h", 23 "accelerators/accelerator_manager.h",
24 "accelerators/menu_label_accelerator_util_linux.cc", 24 "accelerators/menu_label_accelerator_util_linux.cc",
25 "accelerators/menu_label_accelerator_util_linux.h", 25 "accelerators/menu_label_accelerator_util_linux.h",
26 "accelerators/platform_accelerator.h", 26 "accelerators/platform_accelerator.h",
27 "accelerators/platform_accelerator_cocoa.h", 27 "accelerators/platform_accelerator_cocoa.h",
28 "accelerators/platform_accelerator_cocoa.mm", 28 "accelerators/platform_accelerator_cocoa.mm",
29 "android/system_ui_resource_type.h",
30 "android/ui_base_jni_registrar.cc", 29 "android/ui_base_jni_registrar.cc",
31 "android/ui_base_jni_registrar.h", 30 "android/ui_base_jni_registrar.h",
32 "android/view_android.cc", 31 "android/view_android.cc",
33 "android/view_android.h", 32 "android/view_android.h",
34 "android/window_android.cc", 33 "android/window_android.cc",
35 "android/window_android.h", 34 "android/window_android.h",
36 "android/window_android_compositor.h", 35 "android/window_android_compositor.h",
37 "android/window_android_observer.h", 36 "android/window_android_observer.h",
38 "base_window.cc", 37 "base_window.cc",
39 "base_window.h", 38 "base_window.h",
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 "//skia", 299 "//skia",
301 "//ui/events/platform", 300 "//ui/events/platform",
302 "//ui/events:events_base", 301 "//ui/events:events_base",
303 "//ui/gfx", 302 "//ui/gfx",
304 "//ui/gfx/geometry", 303 "//ui/gfx/geometry",
305 ] 304 ]
306 deps = [ 305 deps = [
307 "//base/third_party/dynamic_annotations", 306 "//base/third_party/dynamic_annotations",
308 "//base:base_static", 307 "//base:base_static",
309 "//base:i18n", 308 "//base:i18n",
309 "//cc",
310 "//net", 310 "//net",
311 "//third_party/icu", 311 "//third_party/icu",
312 "//ui/events", 312 "//ui/events",
313 "//ui/events/devices", 313 "//ui/events/devices",
314 "//ui/resources", 314 "//ui/resources",
315 "//ui/strings", 315 "//ui/strings",
316 "//url", 316 "//url",
317 ] 317 ]
318 318
319 if (build_ime) { 319 if (build_ime) {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 if (!toolkit_views && !use_aura) { 418 if (!toolkit_views && !use_aura) {
419 sources -= [ 419 sources -= [
420 "ime/input_method_factory.cc", 420 "ime/input_method_factory.cc",
421 "ime/input_method_factory.h", 421 "ime/input_method_factory.h",
422 "ime/input_method_minimal.cc", 422 "ime/input_method_minimal.cc",
423 "ime/input_method_minimal.h", 423 "ime/input_method_minimal.h",
424 ] 424 ]
425 } 425 }
426 426
427 if (is_chromeos) { 427 if (is_chromeos) {
428 deps += [ "//chromeos" ] 428 deps += [
429 "//chromeos",
430 "//chromeos/ime:gencode",
431 ]
429 if (!use_ozone) { 432 if (!use_ozone) {
430 sources -= [ 433 sources -= [
431 "ime/chromeos/ime_keyboard_ozone.cc", 434 "ime/chromeos/ime_keyboard_ozone.cc",
432 "ime/chromeos/ime_keyboard_ozone.h", 435 "ime/chromeos/ime_keyboard_ozone.h",
433 ] 436 ]
434 } 437 }
435 if (!use_x11) { 438 if (!use_x11) {
436 sources -= [ 439 sources -= [
437 "ime/chromeos/ime_keyboard_x11.cc", 440 "ime/chromeos/ime_keyboard_x11.cc",
438 "ime/chromeos/ime_keyboard_x11.h", 441 "ime/chromeos/ime_keyboard_x11.h",
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 } 921 }
919 922
920 if (use_x11 && !is_chromeos) { 923 if (use_x11 && !is_chromeos) {
921 sources += [ 924 sources += [
922 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", 925 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc",
923 "x/selection_requestor_unittest.cc", 926 "x/selection_requestor_unittest.cc",
924 ] 927 ]
925 } 928 }
926 929
927 if (is_chromeos) { 930 if (is_chromeos) {
928 deps += [ "//chromeos" ] 931 deps += [
932 "//chromeos",
933 "//ui/events:dom4_keycode_converter",
934 ]
929 } 935 }
930 } 936 }
931 # TODO(GYP) Mac (ui_base_tests_bundle) 937 # TODO(GYP) Mac (ui_base_tests_bundle)
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_main_view_unittest.cc ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698