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

Side by Side Diff: third_party/gvr-android-sdk/BUILD.gn

Issue 2467873004: Linking arm and arm64 gvr static shim library (Closed)
Patch Set: Move DEPS to android Created 4 years, 1 month 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
« no previous file with comments | « device/vr/BUILD.gn ('k') | third_party/gvr-android-sdk/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 6
7 gvr_arch = current_cpu
8 if (gvr_arch == "x64") {
9 gvr_arch = "x86_64"
10 }
11
12 android_aar_prebuilt("gvr_common_java") { 7 android_aar_prebuilt("gvr_common_java") {
13 aar_path = "src/ndk/lib/common_library.aar" 8 aar_path = "common_library.aar"
14 proguard_configs = [ "src/proguard-gvr.txt" ] 9 proguard_configs = [ "src/proguard-gvr.txt" ]
15 ignore_manifest = true # Ignored because manifest merging is not supported (h ttp://crbug.com/643967) 10 ignore_manifest = true # Ignored because manifest merging is not supported (h ttp://crbug.com/643967)
16 ignore_native_libraries = true 11 ignore_native_libraries = true
17 } 12 }
18 13
19 android_aar_prebuilt("gvr_controller_java") { 14 android_aar_prebuilt("gvr_controller_java") {
20 aar_path = "src/libraries/controller/controller.aar" 15 aar_path = "src/libraries/controller/controller.aar"
21 } 16 }
22 17
23 source_set("libgvr") {
24 if (gvr_arch != "mipsel") {
25 data_deps = [
26 ":libgvr_copy",
27 ]
28 libs = [ "${root_out_dir}/libgvr.so" ]
29 }
30 }
31
32 if (gvr_arch != "mipsel") {
33 copy("libgvr_copy") {
34 sources = [
35 "src/ndk/lib/android_${gvr_arch}/libgvr.so",
36 ]
37 outputs = [
38 "${root_out_dir}/libgvr.so",
39 ]
40 }
41 }
42
43 config("libgvr_config") { 18 config("libgvr_config") {
44 include_dirs = [ "src/ndk/include/" ] 19 include_dirs = [ "src/ndk/include/" ]
45 } 20 }
OLDNEW
« no previous file with comments | « device/vr/BUILD.gn ('k') | third_party/gvr-android-sdk/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698