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

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

Issue 2106243003: Added gvr-android-sdk to third_party/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to 0.9.0 Created 4 years, 4 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
« no previous file with comments | « DEPS ('k') | third_party/gvr-android-sdk/LICENSE » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/android/rules.gni")
6
7 android_aar_prebuilt("gvr_common_java") {
8 aar_path = "src/ndk-beta/lib/common_library.aar"
9 jar_excluded_patterns = [ "*/protobuf/*" ]
10 }
11
12 android_aar_prebuilt("gvr_base_java") {
13 aar_path = "src/libraries/base/base.aar"
14 }
15
16 android_aar_prebuilt("gvr_controller_java") {
17 aar_path = "src/libraries/controller/controller.aar"
18 }
19
20 source_set("libgvr") {
21 deps = [
22 ":libgvr_shared_library",
23 ]
24 libs = [ "$root_out_dir/libgvr.so" ]
25 }
26
27 copy("libgvr_shared_library") {
28 if (target_cpu == "arm") {
29 sources = [
30 "src/ndk-beta/lib/android_arm/libgvr.so",
31 ]
32 } else if (target_cpu == "arm64") {
33 sources = [
34 "src/ndk-beta/lib/android_arm64/libgvr.so",
35 ]
36 } else if (target_cpu == "x86") {
37 sources = [
38 "src/ndk-beta/lib/android_x86/libgvr.so",
39 ]
40 } else if (target_cpu == "x64") {
41 sources = [
42 "src/ndk-beta/lib/android_x86_64/libgvr.so",
43 ]
44 }
45 outputs = [
46 "${root_out_dir}/libgvr.so",
47 ]
48 }
49
50 config("libgvr_config") {
51 include_dirs = [ "src/ndk-beta/include/" ]
52 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/gvr-android-sdk/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698