| 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") { |
| 11 output_name = "ui_android" | 11 output_name = "ui_android" |
| 12 sources = [ | 12 sources = [ |
| 13 "resources/resource_manager.cc", | 13 "resources/resource_manager.cc", |
| 14 "resources/resource_manager.h", | 14 "resources/resource_manager.h", |
| 15 "resources/resource_manager_impl.cc", | 15 "resources/resource_manager_impl.cc", |
| 16 "resources/resource_manager_impl.h", | 16 "resources/resource_manager_impl.h", |
| 17 "resources/ui_resource_android.cc", | |
| 18 "resources/ui_resource_android.h", | |
| 19 "resources/ui_resource_client_android.h", | |
| 20 "resources/ui_resource_provider.cc", | |
| 21 "resources/ui_resource_provider.h", | 17 "resources/ui_resource_provider.h", |
| 22 "ui_android_export.h", | 18 "ui_android_export.h", |
| 23 "ui_android_jni_registrar.cc", | 19 "ui_android_jni_registrar.cc", |
| 24 "ui_android_jni_registrar.h", | 20 "ui_android_jni_registrar.h", |
| 25 "view_android.cc", | 21 "view_android.cc", |
| 26 "view_android.h", | 22 "view_android.h", |
| 27 "window_android.cc", | 23 "window_android.cc", |
| 28 "window_android.h", | 24 "window_android.h", |
| 29 "window_android_compositor.h", | 25 "window_android_compositor.h", |
| 30 "window_android_observer.h", | 26 "window_android_observer.h", |
| 31 ] | 27 ] |
| 32 | 28 |
| 33 defines = [ "UI_ANDROID_IMPLEMENTATION" ] | 29 defines = [ "UI_ANDROID_IMPLEMENTATION" ] |
| 34 | 30 |
| 35 deps = [ | 31 deps = [ |
| 36 "//base", | 32 "//base", |
| 37 "//cc", | 33 "//cc", |
| 38 "//skia", | 34 "//skia", |
| 35 "//testing/gmock", |
| 39 "//ui/gfx", | 36 "//ui/gfx", |
| 40 "//ui/gfx/geometry", | 37 "//ui/gfx/geometry", |
| 41 ":ui_android_jni_headers", | 38 ":ui_android_jni_headers", |
| 42 ] | 39 ] |
| 43 } | 40 } |
| 44 | 41 |
| 45 generate_jni("ui_android_jni_headers") { | 42 generate_jni("ui_android_jni_headers") { |
| 46 sources = [ | 43 sources = [ |
| 47 "java/src/org/chromium/ui/base/WindowAndroid.java", | 44 "java/src/org/chromium/ui/base/WindowAndroid.java", |
| 48 "java/src/org/chromium/ui/resources/ResourceManager.java", | 45 "java/src/org/chromium/ui/resources/ResourceManager.java", |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 "//base/test:test_support", | 158 "//base/test:test_support", |
| 162 "//cc", | 159 "//cc", |
| 163 "//skia", | 160 "//skia", |
| 164 "//testing/gtest", | 161 "//testing/gtest", |
| 165 "//ui/base", | 162 "//ui/base", |
| 166 "//ui/gfx", | 163 "//ui/gfx", |
| 167 "//ui/resources:ui_test_pak", | 164 "//ui/resources:ui_test_pak", |
| 168 ] | 165 ] |
| 169 apk_deps = [ ":ui_java" ] | 166 apk_deps = [ ":ui_java" ] |
| 170 } | 167 } |
| OLD | NEW |