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

Unified Diff: remoting/android/BUILD.gn

Issue 1635373002: [Reland] [Android] Set enable_remoting=true by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/features.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/BUILD.gn
diff --git a/remoting/android/BUILD.gn b/remoting/android/BUILD.gn
index 9653def81ef90dabc96eb2e708f16fc7bfcc531d..34f84f9e82b184a7fb509f319e99a90b4d8b6a3f 100644
--- a/remoting/android/BUILD.gn
+++ b/remoting/android/BUILD.gn
@@ -97,17 +97,19 @@ remoting_android_client_java_tmpl("remoting_android_client_java") {
remoting_google_play_services_library = google_play_services_library
}
-action("remoting_cardboard_extract_native_lib") {
- script = "//remoting/tools/extract_android_native_lib.py"
- sources = [
- "//third_party/cardboard-java/src/CardboardSample/libs/cardboard.jar",
- ]
- outputs = [
- "$root_out_dir/libvrtoolkit.so",
- ]
- args = [ android_app_abi ]
- args += rebase_path(sources, root_build_dir)
- args += rebase_path(outputs, root_build_dir)
+if (target_cpu == "arm") {
+ action("remoting_cardboard_extract_native_lib") {
+ script = "//remoting/tools/extract_android_native_lib.py"
+ sources = [
+ "//third_party/cardboard-java/src/CardboardSample/libs/cardboard.jar",
+ ]
+ outputs = [
+ "$root_out_dir/libvrtoolkit.so",
+ ]
+ args = [ android_app_abi ]
+ args += rebase_path(sources, root_build_dir)
+ args += rebase_path(outputs, root_build_dir)
+ }
}
remoting_apk_tmpl("remoting_apk") {
« no previous file with comments | « build/config/features.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698