| 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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 "touch/touch_editing_controller.cc", | 634 "touch/touch_editing_controller.cc", |
| 635 "ui_base_types.cc", | 635 "ui_base_types.cc", |
| 636 ] | 636 ] |
| 637 | 637 |
| 638 deps += [ ":ui_base_jni_headers" ] | 638 deps += [ ":ui_base_jni_headers" ] |
| 639 | 639 |
| 640 libs += [ "jnigraphics" ] | 640 libs += [ "jnigraphics" ] |
| 641 } | 641 } |
| 642 | 642 |
| 643 if (is_android && is_android_webview_build) { | 643 if (is_android && is_android_webview_build) { |
| 644 deps += [ | 644 deps += [ "//ui/android:ui_java" ] |
| 645 #TODO(GYP): port this component to GN. | |
| 646 #"//ui/android:ui_java", | |
| 647 ] | |
| 648 } | 645 } |
| 649 | 646 |
| 650 if (is_android && !use_aura) { | 647 if (is_android && !use_aura) { |
| 651 sources -= [ "cursor/cursor_android.cc" ] | 648 sources -= [ "cursor/cursor_android.cc" ] |
| 652 } | 649 } |
| 653 | 650 |
| 654 # Aura clipboard. | 651 # Aura clipboard. |
| 655 if (use_aura) { | 652 if (use_aura) { |
| 656 if (use_x11) { | 653 if (use_x11) { |
| 657 sources += [ "clipboard/clipboard_aurax11.cc" ] | 654 sources += [ "clipboard/clipboard_aurax11.cc" ] |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 if (is_chromeos) { | 899 if (is_chromeos) { |
| 903 sources -= [ | 900 sources -= [ |
| 904 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", | 901 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", |
| 905 "x/selection_requestor_unittest.cc", | 902 "x/selection_requestor_unittest.cc", |
| 906 ] | 903 ] |
| 907 deps += [ "//chromeos" ] | 904 deps += [ "//chromeos" ] |
| 908 } | 905 } |
| 909 } | 906 } |
| 910 } | 907 } |
| 911 # TODO(GYP) Mac (ui_base_tests_bundle) and Android (ui_base_unittests_apk). | 908 # TODO(GYP) Mac (ui_base_tests_bundle) and Android (ui_base_unittests_apk). |
| OLD | NEW |