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 | 6 |
7 android_aidl("dex_optimizer_service_aidl") { | 7 android_aidl("dex_optimizer_service_aidl") { |
8 interface_file = | 8 interface_file = |
9 "src/org/chromium/webapk/shell_apk/test/dex_optimizer/common.aidl" | 9 "src/org/chromium/webapk/shell_apk/test/dex_optimizer/common.aidl" |
10 sources = [ | 10 sources = [ |
11 "src/org/chromium/webapk/shell_apk/test/dex_optimizer/IDexOptimizerService.a
idl", | 11 "src/org/chromium/webapk/shell_apk/test/dex_optimizer/IDexOptimizerService.a
idl", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 android_apk("dex_optimizer_apk") { | 15 android_apk("dex_optimizer_apk") { |
| 16 # Used as an additional_apk in test scripts. |
| 17 never_incremental = true |
16 android_manifest = "AndroidManifest.xml" | 18 android_manifest = "AndroidManifest.xml" |
17 apk_name = "DexOptimizer" | 19 apk_name = "DexOptimizer" |
18 chromium_code = false | 20 chromium_code = false |
19 java_files = [ "src/org/chromium/webapk/shell_apk/test/dex_optimizer/DexOptimi
zerServiceImpl.java" ] | 21 java_files = [ "src/org/chromium/webapk/shell_apk/test/dex_optimizer/DexOptimi
zerServiceImpl.java" ] |
20 deps = [ | 22 deps = [ |
21 "//base:base_java", | 23 "//base:base_java", |
22 "//chrome/android/webapk/libs/client:client_java", | 24 "//chrome/android/webapk/libs/client:client_java", |
23 "//chrome/android/webapk/shell_apk/javatests/canary_lib:canary_dex2_assets", | 25 "//chrome/android/webapk/shell_apk/javatests/canary_lib:canary_dex2_assets", |
24 "//chrome/android/webapk/shell_apk/javatests/canary_lib:canary_dex_assets", | 26 "//chrome/android/webapk/shell_apk/javatests/canary_lib:canary_dex_assets", |
25 ] | 27 ] |
26 srcjar_deps = [ ":dex_optimizer_service_aidl" ] | 28 srcjar_deps = [ ":dex_optimizer_service_aidl" ] |
27 } | 29 } |
OLD | NEW |