| 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 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 # The origin URL of minted apks, for example: "foo.com" | 8 # The origin URL of minted apks, for example: "foo.com" |
| 9 manifest_package_minting_origin = "template" | 9 manifest_package_minting_origin = "template" |
| 10 | 10 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 "$minting_common_dir/org/chromium/minting/lib/common/WebAPKConstants.java", | 96 "$minting_common_dir/org/chromium/minting/lib/common/WebAPKConstants.java", |
| 97 "$minting_common_dir/org/chromium/minting/lib/common/WebAPKUtils.java", | 97 "$minting_common_dir/org/chromium/minting/lib/common/WebAPKUtils.java", |
| 98 ] | 98 ] |
| 99 } | 99 } |
| 100 | 100 |
| 101 android_aidl("minting_service_aidl") { | 101 android_aidl("minting_service_aidl") { |
| 102 import_include = "$minting_runtime_library_dir/src/org/chromium/minting/libs/r
untime_library" | 102 import_include = "$minting_runtime_library_dir/src/org/chromium/minting/libs/r
untime_library" |
| 103 interface_file = "$minting_runtime_library_dir/src/org/chromium/minting/libs/r
untime_library/common.aidl" | 103 interface_file = "$minting_runtime_library_dir/src/org/chromium/minting/libs/r
untime_library/common.aidl" |
| 104 sources = [ | 104 sources = [ |
| 105 "$minting_runtime_library_dir/src/org/chromium/minting/libs/runtime_library/
IMintedApi.aidl", | 105 "$minting_runtime_library_dir/src/org/chromium/minting/libs/runtime_library/
IMintedApi.aidl", |
| 106 "$minting_runtime_library_dir/src/org/chromium/minting/libs/runtime_library/
IMintedApiCallback.aidl", | |
| 107 ] | 106 ] |
| 108 } | 107 } |
| 109 | 108 |
| 110 android_library("minting_runtime_library") { | 109 android_library("minting_runtime_library") { |
| 111 dex_path = "$target_gen_dir/$runtime_dex_asset_name" | 110 dex_path = "$target_gen_dir/$runtime_dex_asset_name" |
| 112 java_files = [ "$minting_runtime_library_dir/src/org/chromium/minting/libs/run
time_library/MintedServiceImpl.java" ] | 111 java_files = [ "$minting_runtime_library_dir/src/org/chromium/minting/libs/run
time_library/MintedServiceImpl.java" ] |
| 113 chromium_code = false | 112 chromium_code = false |
| 114 srcjar_deps = [ ":minting_service_aidl" ] | 113 srcjar_deps = [ ":minting_service_aidl" ] |
| 115 } | 114 } |
| 116 | 115 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 } | 166 } |
| 168 | 167 |
| 169 junit_binary("minting_runtime_library_junit_tests") { | 168 junit_binary("minting_runtime_library_junit_tests") { |
| 170 java_files = [ "$minting_runtime_library_junit_dir/src/org/chromium/minting/li
bs/runtime_library/MintedServiceImplTest.java" ] | 169 java_files = [ "$minting_runtime_library_junit_dir/src/org/chromium/minting/li
bs/runtime_library/MintedServiceImplTest.java" ] |
| 171 deps = [ | 170 deps = [ |
| 172 ":minting_runtime_library", | 171 ":minting_runtime_library", |
| 173 "//base:base_java", | 172 "//base:base_java", |
| 174 "//base:base_junit_test_support", | 173 "//base:base_junit_test_support", |
| 175 ] | 174 ] |
| 176 } | 175 } |
| OLD | NEW |