| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//chrome/android/webapk/libs/runtime_library_version.gni") | 6 import("//chrome/android/webapk/libs/runtime_library_version.gni") |
| 7 | 7 |
| 8 # runtime_library_version.gni must be updated whenever the runtime library is | 8 # runtime_library_version.gni must be updated whenever the runtime library is |
| 9 # updated. The WebAPK re-extracts the runtime library from the Chrome APK when | 9 # updated. The WebAPK re-extracts the runtime library from the Chrome APK when |
| 10 # |runtime_library_version| is incremented. | 10 # |runtime_library_version| is incremented. |
| 11 | 11 |
| 12 # Whenever this constant is changed, WebApkUtils#getRuntimeDexName() must also | 12 # Whenever this constant is changed, WebApkUtils#getRuntimeDexName() must also |
| 13 # be changed. | 13 # be changed. |
| 14 runtime_library_dex_asset_name = "webapk$runtime_library_version.dex" | 14 runtime_library_dex_asset_name = "webapk$runtime_library_version.dex" |
| 15 | 15 |
| 16 android_aidl("webapk_service_aidl") { | 16 android_aidl("webapk_service_aidl") { |
| 17 import_include = "src/org/chromium/webapk/lib/runtime_library" | 17 import_include = [ "src/org/chromium/webapk/lib/runtime_library" ] |
| 18 interface_file = "src/org/chromium/webapk/lib/runtime_library/common.aidl" | 18 interface_file = "src/org/chromium/webapk/lib/runtime_library/common.aidl" |
| 19 sources = [ | 19 sources = [ |
| 20 "src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl", | 20 "src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl", |
| 21 ] | 21 ] |
| 22 } | 22 } |
| 23 | 23 |
| 24 # A standalone jar for the aidl's generated java files so that multiple places | 24 # A standalone jar for the aidl's generated java files so that multiple places |
| 25 # can depend on the aidl. | 25 # can depend on the aidl. |
| 26 android_library("webapk_service_aidl_java") { | 26 android_library("webapk_service_aidl_java") { |
| 27 srcjar_deps = [ ":webapk_service_aidl" ] | 27 srcjar_deps = [ ":webapk_service_aidl" ] |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 java_files = [ "javatests/src/org/chromium/webapk/lib/runtime_library/WebApkSe
rviceImplTest.java" ] | 63 java_files = [ "javatests/src/org/chromium/webapk/lib/runtime_library/WebApkSe
rviceImplTest.java" ] |
| 64 deps = [ | 64 deps = [ |
| 65 ":runtime_library_for_tests_java", | 65 ":runtime_library_for_tests_java", |
| 66 ":webapk_service_aidl_java", | 66 ":webapk_service_aidl_java", |
| 67 "//base:base_java_test_support", | 67 "//base:base_java_test_support", |
| 68 "//chrome/test/android:chrome_java_test_support", | 68 "//chrome/test/android:chrome_java_test_support", |
| 69 "//content/public/test/android:content_java_test_support", | 69 "//content/public/test/android:content_java_test_support", |
| 70 "//third_party/android_support_test_runner:runner_java", | 70 "//third_party/android_support_test_runner:runner_java", |
| 71 ] | 71 ] |
| 72 } | 72 } |
| OLD | NEW |