OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//chrome/android/chrome_apk_version.gni") | |
7 | 6 |
8 if (!is_component_build) { | 7 if (!is_component_build) { |
9 template("remoting_apk_tmpl") { | 8 template("remoting_apk_tmpl") { |
10 android_apk(target_name) { | 9 android_apk(target_name) { |
11 forward_variables_from(invoker, "*") | 10 forward_variables_from(invoker, "*") |
12 | 11 |
13 version_name = chrome_apk_version_name | |
14 version_code = chrome_apk_version_code | |
15 android_manifest = "$root_gen_dir/remoting/android/AndroidManifest.xml" | 12 android_manifest = "$root_gen_dir/remoting/android/AndroidManifest.xml" |
16 native_libs = [ "libremoting_client_jni.so" ] | 13 native_libs = [ "libremoting_client_jni.so" ] |
17 | 14 |
18 deps += [ | 15 deps += [ |
19 "//remoting/android:remoting_apk_manifest", | 16 "//remoting/android:remoting_apk_manifest", |
20 "//remoting/android:remoting_client_jni", | 17 "//remoting/android:remoting_client_jni", |
21 ] | 18 ] |
22 | 19 |
23 if (target_cpu == "arm") { | 20 if (target_cpu == "arm") { |
24 deps += [ "//remoting/android:remoting_cardboard_extract_native_lib" ] | 21 deps += [ "//remoting/android:remoting_cardboard_extract_native_lib" ] |
25 native_libs += [ "libvrtoolkit.so" ] | 22 native_libs += [ "libvrtoolkit.so" ] |
26 } | 23 } |
27 } | 24 } |
28 } | 25 } |
29 } | 26 } |
OLD | NEW |