| 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 | 7 |
| 7 assert(is_android) | 8 assert(is_android) |
| 8 | 9 |
| 9 component("android") { | 10 component("android") { |
| 10 output_name = "ui_android" | 11 output_name = "ui_android" |
| 11 sources = [ | 12 sources = [ |
| 12 "resources/resource_manager.cc", | 13 "resources/resource_manager.cc", |
| 13 "resources/resource_manager.h", | 14 "resources/resource_manager.h", |
| 14 "resources/resource_manager_impl.cc", | 15 "resources/resource_manager_impl.cc", |
| 15 "resources/resource_manager_impl.h", | 16 "resources/resource_manager_impl.h", |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 sources = [ | 147 sources = [ |
| 147 "resources/resource_manager_impl_unittest.cc", | 148 "resources/resource_manager_impl_unittest.cc", |
| 148 "run_all_unittests.cc", | 149 "run_all_unittests.cc", |
| 149 ] | 150 ] |
| 150 deps = [ | 151 deps = [ |
| 151 ":android", | 152 ":android", |
| 152 "//base", | 153 "//base", |
| 153 "//base/test:test_support", | 154 "//base/test:test_support", |
| 154 "//cc", | 155 "//cc", |
| 155 "//skia", | 156 "//skia", |
| 156 "//testing/android:native_test_native_code", | |
| 157 "//testing/gtest", | 157 "//testing/gtest", |
| 158 "//ui/base", | 158 "//ui/base", |
| 159 "//ui/gfx", | 159 "//ui/gfx", |
| 160 "//ui/resources:ui_test_pak", | 160 "//ui/resources:ui_test_pak", |
| 161 ] | 161 ] |
| 162 apk_deps = [ ":ui_java" ] |
| 162 } | 163 } |
| 163 | |
| 164 unittest_apk("ui_android_unittests_apk") { | |
| 165 deps = [ | |
| 166 ":ui_android_unittests", | |
| 167 ":ui_java", | |
| 168 ] | |
| 169 unittests_dep = ":ui_android_unittests" | |
| 170 } | |
| OLD | NEW |