Index: sky/apk/rules.gni |
diff --git a/sky/apk/rules.gni b/sky/apk/rules.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..43eb5b2fd334b3ab83e718e96cccf14f6068d659 |
--- /dev/null |
+++ b/sky/apk/rules.gni |
@@ -0,0 +1,23 @@ |
+# Copyright 2015 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/config.gni") |
+import("//build/config/android/rules.gni") |
+ |
+template("sky_apk") { |
+ android_apk(target_name) { |
+ apk_name = invoker.apk_name |
+ android_manifest = invoker.android_manifest |
+ |
+ native_libs = [ "libsky_shell.so" ] |
+ asset_location = "$root_build_dir/sky_shell/assets" |
+ |
+ deps = [ |
+ "//base:base_java", |
+ "//sky/shell:assets", |
+ "//sky/shell:java", |
+ "//sky/shell:sky_shell", |
+ ] + invoker.deps |
+ } |
+} |