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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 | 57 |
58 if (is_android) { | 58 if (is_android) { |
59 deps += [ | 59 deps += [ |
60 ":ui_base_jni_headers", | 60 ":ui_base_jni_headers", |
61 "//cc", | 61 "//cc", |
62 ] | 62 ] |
63 | 63 |
64 libs += [ "jnigraphics" ] | 64 libs += [ "jnigraphics" ] |
65 } | 65 } |
66 | |
67 if (is_android && is_android_webview_build) { | |
68 deps += [ | |
69 #TODO(GYP): port this component to GN. | |
70 #"//ui/android:ui_java", | |
71 ] | |
72 } | |
73 } | 66 } |
74 | 67 |
75 if (is_android) { | 68 if (is_android) { |
76 generate_jni("ui_base_jni_headers") { | 69 generate_jni("ui_base_jni_headers") { |
77 sources = [ | 70 sources = [ |
78 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", | 71 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", |
79 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", | 72 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", |
80 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", | 73 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", |
81 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", | 74 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", |
82 ] | 75 ] |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 "//chromeos", | 133 "//chromeos", |
141 "//ui/aura:test_support", | 134 "//ui/aura:test_support", |
142 "//ui/events:gesture_detection", | 135 "//ui/events:gesture_detection", |
143 "//ui/chromeos:ui_chromeos", | 136 "//ui/chromeos:ui_chromeos", |
144 ] | 137 ] |
145 } | 138 } |
146 } | 139 } |
147 } | 140 } |
148 } | 141 } |
149 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). | 142 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). |
OLD | NEW |