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("webapk_service_aidl") { | 7 android_aidl("webapk_service_aidl") { |
8 import_include = "src/org/chromium/webapk/lib/runtime_library" | 8 import_include = "src/org/chromium/webapk/lib/runtime_library" |
9 interface_file = "src/org/chromium/webapk/lib/runtime_library/common.aidl" | 9 interface_file = "src/org/chromium/webapk/lib/runtime_library/common.aidl" |
10 sources = [ | 10 sources = [ |
11 "src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl", | 11 "src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 android_library("runtime_library") { | 15 android_library("runtime_library") { |
| 16 dex_path = "$target_gen_dir/web_apk.dex" |
16 java_files = | 17 java_files = |
17 [ "src/org/chromium/webapk/lib/runtime_library/WebApkServiceImpl.java" ] | 18 [ "src/org/chromium/webapk/lib/runtime_library/WebApkServiceImpl.java" ] |
18 srcjar_deps = [ ":webapk_service_aidl" ] | 19 srcjar_deps = [ ":webapk_service_aidl" ] |
19 } | 20 } |
| 21 |
| 22 android_assets("runtime_library_assets") { |
| 23 sources = [ |
| 24 "$target_gen_dir/web_apk.dex", |
| 25 ] |
| 26 disable_compression = true |
| 27 |
| 28 deps = [ |
| 29 ":runtime_library", |
| 30 ] |
| 31 } |
OLD | NEW |