Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: remoting/android/remoting_apk_tmpl.gni

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osmesa on non-android Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//remoting/remoting_options.gni") 6 import("//remoting/remoting_options.gni")
7 7
8 template("remoting_apk_tmpl") { 8 template("remoting_apk_tmpl") {
9 android_apk(target_name) { 9 android_apk(target_name) {
10 forward_variables_from(invoker, "*") 10 forward_variables_from(invoker, "*")
11 11
12 android_manifest = "$root_gen_dir/remoting/android/AndroidManifest.xml" 12 android_manifest = "$root_gen_dir/remoting/android/AndroidManifest.xml"
13 native_libs = [ "libremoting_client_jni.so" ] 13 shared_libraries = [ "//remoting/android:remoting_client_jni" ]
14 14
15 deps += [ 15 deps += [ "//remoting/android:remoting_apk_manifest" ]
16 "//remoting/android:remoting_apk_manifest",
17 "//remoting/android:remoting_client_jni",
18 ]
19 16
20 if (remoting_enable_cardboard && current_cpu == "arm") { 17 if (remoting_enable_cardboard && current_cpu == "arm") {
21 deps += [ "//remoting/android:remoting_cardboard_extract_native_lib" ] 18 deps += [ "//remoting/android:remoting_cardboard_extract_native_lib" ]
22 loadable_modules = [ "$root_out_dir/libvrtoolkit.so" ] 19 loadable_modules = [ "$root_out_dir/libvrtoolkit.so" ]
23 } 20 }
24 } 21 }
25 } 22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698