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("//mojo/mojo_application_package.gni") | 5 import("//mojo/mojo_application_package.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
11 | 11 |
12 java_library_path = "$target_out_dir/java_library.dex.jar" | 12 java_library_path = "$target_out_dir/java_library.dex.jar" |
13 | 13 |
14 mojo_android_application("resource_provider") { | 14 mojo_android_application("resource_provider") { |
15 input_so = "$root_out_dir/lib.stripped/libresource_provider_lib.so" | 15 input_so = "$root_out_dir/lib.stripped/libresource_provider_lib.so" |
16 input_dex_jar = java_library_path | 16 input_dex_jar = java_library_path |
17 deps = [ | 17 deps = [ |
18 ":java_library", | 18 ":java_library", |
| 19 ":resource_provider_lib", |
19 ] | 20 ] |
20 } | 21 } |
21 | 22 |
22 shared_library("resource_provider_lib") { | 23 shared_library("resource_provider_lib") { |
23 sources = [ | 24 sources = [ |
24 "android/android_hooks.cc", | 25 "android/android_hooks.cc", |
25 "main.cc", | 26 "main.cc", |
26 ] | 27 ] |
27 | 28 |
28 deps = [ | 29 deps = [ |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "//base", | 130 "//base", |
130 "//base/test:test_config", | 131 "//base/test:test_config", |
131 "//components/resource_provider/public/cpp", | 132 "//components/resource_provider/public/cpp", |
132 "//components/resource_provider/public/interfaces", | 133 "//components/resource_provider/public/interfaces", |
133 "//mojo/application/public/cpp:test_support", | 134 "//mojo/application/public/cpp:test_support", |
134 "//mojo/platform_handle", | 135 "//mojo/platform_handle", |
135 ] | 136 ] |
136 | 137 |
137 data_deps = [ ":resource_provider" ] | 138 data_deps = [ ":resource_provider" ] |
138 } | 139 } |
OLD | NEW |