OLD | NEW |
---|---|
(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 source_set("libgvr") { | |
8 deps = [ | |
9 ":libgvr_shared_library", | |
10 ] | |
11 libs = [ "$root_out_dir/libgvr.so" ] | |
12 } | |
13 | |
14 copy("libgvr_shared_library") { | |
15 if (target_cpu == "arm") { | |
16 sources = [ | |
17 "src/ndk-beta/lib/android_arm/libgvr.so", | |
Nico
2016/06/30 20:17:24
Is the SDK open-source? If so, can we compile it i
| |
18 ] | |
19 } else if (target_cpu == "arm64") { | |
20 sources = [ | |
21 "src/ndk-beta/lib/android_arm64/libgvr.so", | |
22 ] | |
23 } else if (target_cpu == "x86") { | |
24 sources = [ | |
25 "src/ndk-beta/lib/android_x86/libgvr.so", | |
26 ] | |
27 } else if (target_cpu == "x64") { | |
28 sources = [ | |
29 "src/ndk-beta/lib/android_x86_64/libgvr.so", | |
30 ] | |
31 } | |
32 outputs = [ | |
33 "${root_out_dir}/libgvr.so", | |
34 ] | |
35 } | |
36 | |
37 config("libgvr_config") { | |
38 include_dirs = [ "src/ndk-beta/include/" ] | |
39 } | |
OLD | NEW |