Index: chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn |
diff --git a/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn b/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6ec24f7f1528a30b5a47bcbb28e50a45309ac630 |
--- /dev/null |
+++ b/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn |
@@ -0,0 +1,22 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/android/rules.gni") |
+ |
+android_library("canary_lib") { |
+ dex_path = "$target_gen_dir/canary.dex" |
+ java_files = [ "src/org/chromium/webapk/shell_apk/test/canary/Canary.java" ] |
+} |
+ |
+# dex asset added to dex_optimizer_apk in order to test creating ClassLoader |
+# from .dex in remote APK. |
+android_assets("canary_dex_asset") { |
+ sources = [ |
+ "$target_gen_dir/canary.dex", |
+ ] |
+ disable_compression = true |
+ deps = [ |
+ ":canary_lib", |
+ ] |
+} |