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