OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 assert(is_android) | 8 assert(is_android) |
9 | 9 |
10 component("android") { | 10 component("android") { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 android_resources("ui_java_resources") { | 124 android_resources("ui_java_resources") { |
125 custom_package = "org.chromium.ui" | 125 custom_package = "org.chromium.ui" |
126 resource_dirs = [ "java/res" ] | 126 resource_dirs = [ "java/res" ] |
127 deps = [ | 127 deps = [ |
128 ":ui_strings_grd", | 128 ":ui_strings_grd", |
129 ] | 129 ] |
130 } | 130 } |
131 | 131 |
132 android_library("ui_java") { | 132 android_library("ui_java") { |
133 DEPRECATED_java_in_dir = "java/src" | 133 java_files = [ |
| 134 "java/src/org/chromium/ui/ColorPickerAdvanced.java", |
| 135 "java/src/org/chromium/ui/ColorPickerAdvancedComponent.java", |
| 136 "java/src/org/chromium/ui/ColorPickerDialog.java", |
| 137 "java/src/org/chromium/ui/ColorPickerMoreButton.java", |
| 138 "java/src/org/chromium/ui/ColorPickerSimple.java", |
| 139 "java/src/org/chromium/ui/ColorSuggestion.java", |
| 140 "java/src/org/chromium/ui/ColorSuggestionListAdapter.java", |
| 141 "java/src/org/chromium/ui/DropdownAdapter.java", |
| 142 "java/src/org/chromium/ui/DropdownDividerDrawable.java", |
| 143 "java/src/org/chromium/ui/DropdownItem.java", |
| 144 "java/src/org/chromium/ui/DropdownPopupWindow.java", |
| 145 "java/src/org/chromium/ui/OnColorChangedListener.java", |
| 146 "java/src/org/chromium/ui/UiUtils.java", |
| 147 "java/src/org/chromium/ui/VSyncMonitor.java", |
| 148 "java/src/org/chromium/ui/autofill/AutofillDelegate.java", |
| 149 "java/src/org/chromium/ui/autofill/AutofillKeyboardAccessory.java", |
| 150 "java/src/org/chromium/ui/autofill/AutofillPopup.java", |
| 151 "java/src/org/chromium/ui/autofill/AutofillSuggestion.java", |
| 152 "java/src/org/chromium/ui/base/ActivityWindowAndroid.java", |
| 153 "java/src/org/chromium/ui/base/AndroidPermissionDelegate.java", |
| 154 "java/src/org/chromium/ui/base/Clipboard.java", |
| 155 "java/src/org/chromium/ui/base/DeviceFormFactor.java", |
| 156 "java/src/org/chromium/ui/base/LocalizationUtils.java", |
| 157 "java/src/org/chromium/ui/base/ResourceBundle.java", |
| 158 "java/src/org/chromium/ui/base/SelectFileDialog.java", |
| 159 "java/src/org/chromium/ui/base/TouchDevice.java", |
| 160 "java/src/org/chromium/ui/base/ViewAndroidDelegate.java", |
| 161 "java/src/org/chromium/ui/base/WindowAndroid.java", |
| 162 "java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 163 "java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 164 "java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 165 "java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 166 "java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java", |
| 167 "java/src/org/chromium/ui/interpolators/BakedBezierInterpolator.java", |
| 168 "java/src/org/chromium/ui/picker/ChromeDatePickerDialog.java", |
| 169 "java/src/org/chromium/ui/picker/DateDialogNormalizer.java", |
| 170 "java/src/org/chromium/ui/picker/DateTimePickerDialog.java", |
| 171 "java/src/org/chromium/ui/picker/DateTimeSuggestion.java", |
| 172 "java/src/org/chromium/ui/picker/DateTimeSuggestionListAdapter.java", |
| 173 "java/src/org/chromium/ui/picker/InputDialogContainer.java", |
| 174 "java/src/org/chromium/ui/picker/MonthPicker.java", |
| 175 "java/src/org/chromium/ui/picker/MonthPickerDialog.java", |
| 176 "java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java", |
| 177 "java/src/org/chromium/ui/picker/TwoFieldDatePicker.java", |
| 178 "java/src/org/chromium/ui/picker/TwoFieldDatePickerDialog.java", |
| 179 "java/src/org/chromium/ui/picker/WeekPicker.java", |
| 180 "java/src/org/chromium/ui/picker/WeekPickerDialog.java", |
| 181 "java/src/org/chromium/ui/resources/LayoutResource.java", |
| 182 "java/src/org/chromium/ui/resources/Resource.java", |
| 183 "java/src/org/chromium/ui/resources/ResourceLoader.java", |
| 184 "java/src/org/chromium/ui/resources/ResourceManager.java", |
| 185 "java/src/org/chromium/ui/resources/async/AsyncPreloadResourceLoader.java", |
| 186 "java/src/org/chromium/ui/resources/dynamics/BitmapDynamicResource.java", |
| 187 "java/src/org/chromium/ui/resources/dynamics/DynamicResource.java", |
| 188 "java/src/org/chromium/ui/resources/dynamics/DynamicResourceLoader.java", |
| 189 "java/src/org/chromium/ui/resources/dynamics/ViewResourceAdapter.java", |
| 190 "java/src/org/chromium/ui/resources/dynamics/ViewResourceInflater.java", |
| 191 "java/src/org/chromium/ui/resources/sprites/CrushedSpriteResource.java", |
| 192 "java/src/org/chromium/ui/resources/sprites/CrushedSpriteResourceLoader.java
", |
| 193 "java/src/org/chromium/ui/resources/statics/NinePatchData.java", |
| 194 "java/src/org/chromium/ui/resources/statics/StaticResource.java", |
| 195 "java/src/org/chromium/ui/resources/statics/StaticResourceLoader.java", |
| 196 "java/src/org/chromium/ui/resources/system/SystemResourceLoader.java", |
| 197 "java/src/org/chromium/ui/text/SpanApplier.java", |
| 198 "java/src/org/chromium/ui/widget/ButtonCompat.java", |
| 199 "java/src/org/chromium/ui/widget/TextViewWithClickableSpans.java", |
| 200 "java/src/org/chromium/ui/widget/Toast.java", |
| 201 ] |
134 deps = [ | 202 deps = [ |
135 ":ui_java_resources", | 203 ":ui_java_resources", |
136 "//base:base_java", | 204 "//base:base_java", |
137 ] | 205 ] |
138 srcjar_deps = [ ":java_enums_srcjar" ] | 206 srcjar_deps = [ ":java_enums_srcjar" ] |
139 } | 207 } |
140 | 208 |
141 android_library("ui_javatests") { | 209 android_library("ui_javatests") { |
142 DEPRECATED_java_in_dir = "javatests/src" | 210 java_files = [ |
| 211 "javatests/src/org/chromium/ui/picker/DateTimePickerDialogTest.java", |
| 212 "javatests/src/org/chromium/ui/resources/sprites/CrushedSpriteResourceTest.j
ava", |
| 213 ] |
143 testonly = true | 214 testonly = true |
144 deps = [ | 215 deps = [ |
145 ":ui_java", | 216 ":ui_java", |
146 ":ui_java_resources", | 217 ":ui_java_resources", |
147 "//base:base_java", | 218 "//base:base_java", |
148 "//base:base_java_test_support", | 219 "//base:base_java_test_support", |
149 ] | 220 ] |
150 } | 221 } |
151 | 222 |
152 # GYP: //ui/android/ui_android.gyp:ui_junit_tests | 223 # GYP: //ui/android/ui_android.gyp:ui_junit_tests |
(...skipping 24 matching lines...) Expand all Loading... |
177 "//cc", | 248 "//cc", |
178 "//cc:test_support", | 249 "//cc:test_support", |
179 "//skia", | 250 "//skia", |
180 "//testing/gmock", | 251 "//testing/gmock", |
181 "//testing/gtest", | 252 "//testing/gtest", |
182 "//ui/base", | 253 "//ui/base", |
183 "//ui/gfx", | 254 "//ui/gfx", |
184 "//ui/resources:ui_test_pak", | 255 "//ui/resources:ui_test_pak", |
185 ] | 256 ] |
186 } | 257 } |
OLD | NEW |