OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/android/rules.gni") |
| 6 |
| 7 android_library("canary_lib") { |
| 8 dex_path = "$target_gen_dir/canary.dex" |
| 9 java_files = [ "src/org/chromium/webapk/shell_apk/test/canary/Canary.java" ] |
| 10 } |
| 11 |
| 12 # dex asset added to dex_optimizer_apk in order to test creating ClassLoader |
| 13 # from .dex in remote APK. |
| 14 android_assets("canary_dex_asset") { |
| 15 sources = [ |
| 16 "$target_gen_dir/canary.dex", |
| 17 ] |
| 18 disable_compression = true |
| 19 deps = [ |
| 20 ":canary_lib", |
| 21 ] |
| 22 } |
OLD | NEW |