| 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 } |
| 11 | 11 |
| 12 component("base") { | 12 component("base") { |
| 13 output_name = "ui_base" | 13 output_name = "ui_base" |
| 14 sources = [ | 14 sources = [ |
| 15 "accelerators/accelerator.cc", | 15 "accelerators/accelerator.cc", |
| 16 "accelerators/accelerator.h", | 16 "accelerators/accelerator.h", |
| 17 "accelerators/accelerator_history.cc", | 17 "accelerators/accelerator_history.cc", |
| 18 "accelerators/accelerator_history.h", | 18 "accelerators/accelerator_history.h", |
| 19 "accelerators/accelerator_manager.cc", | 19 "accelerators/accelerator_manager.cc", |
| 20 "accelerators/accelerator_manager.h", | 20 "accelerators/accelerator_manager.h", |
| 21 "accelerators/platform_accelerator.h", | 21 "accelerators/platform_accelerator.h", |
| 22 "ui_base_export.h", | |
| 23 ] | 22 ] |
| 24 | 23 |
| 25 defines = [ "UI_BASE_IMPLEMENTATION" ] | 24 defines = [ "UI_BASE_IMPLEMENTATION" ] |
| 26 | 25 |
| 27 public_deps = [ | 26 public_deps = [ |
| 28 "//base", | 27 "//base", |
| 29 "//skia", | 28 "//skia", |
| 30 "//ui/events", | 29 "//ui/events", |
| 31 "//ui/events/platform", | 30 "//ui/events/platform", |
| 32 "//ui/events:events_base", | 31 "//ui/events:events_base", |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 if (use_x11) { | 80 if (use_x11) { |
| 82 #'all_dependent_settings': { | 81 #'all_dependent_settings': { |
| 83 #'ldflags': [ | 82 #'ldflags': [ |
| 84 #'-L<(PRODUCT_DIR)', | 83 #'-L<(PRODUCT_DIR)', |
| 85 #], | 84 #], |
| 86 #}, | 85 #}, |
| 87 configs += [ "//build/config/linux:x11" ] | 86 configs += [ "//build/config/linux:x11" ] |
| 88 } | 87 } |
| 89 | 88 |
| 90 if (is_android) { | 89 if (is_android) { |
| 91 deps += [ ":ui_base_jni_headers" ] | 90 deps += [ |
| 91 ":ui_base_jni_headers", |
| 92 "//cc", |
| 93 ] |
| 92 | 94 |
| 93 libs += [ "jnigraphics" ] | 95 libs += [ "jnigraphics" ] |
| 94 } | 96 } |
| 95 | 97 |
| 96 if (is_android && is_android_webview_build) { | 98 if (is_android && is_android_webview_build) { |
| 97 deps += [ | 99 deps += [ |
| 98 #TODO(GYP): port this component to GN. | 100 #TODO(GYP): port this component to GN. |
| 99 #"//ui/android:ui_java", | 101 #"//ui/android:ui_java", |
| 100 ] | 102 ] |
| 101 } | 103 } |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 "//chromeos", | 196 "//chromeos", |
| 195 "//ui/aura:test_support", | 197 "//ui/aura:test_support", |
| 196 "//ui/events:gesture_detection", | 198 "//ui/events:gesture_detection", |
| 197 "//ui/chromeos:ui_chromeos", | 199 "//ui/chromeos:ui_chromeos", |
| 198 ] | 200 ] |
| 199 } | 201 } |
| 200 } | 202 } |
| 201 } | 203 } |
| 202 } | 204 } |
| 203 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). | 205 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). |
| OLD | NEW |