| # 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/rules.gni") |
| |
| template("remoting_apk_tmpl") { |
| android_apk(target_name) { |
| forward_variables_from(invoker, "*") |
| |
| android_manifest = "$root_gen_dir/remoting/android/AndroidManifest.xml" |
| native_libs = [ "libremoting_client_jni.so" ] |
| |
| deps += [ |
| "//remoting/android:remoting_apk_manifest", |
| "//remoting/android:remoting_client_jni", |
| ] |
| |
| if (target_cpu == "arm") { |
| deps += [ "//remoting/android:remoting_cardboard_extract_native_lib" ] |
| loadable_modules = [ "$root_out_dir/libvrtoolkit.so" ] |
| } |
| } |
| } |