Dan Willemsen | 4888b1f | 2018-05-09 20:30:33 -0700 | [diff] [blame] | 1 | // Copyright (C) 2017 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // Library to perform dlopen on the actual shared library. |
| 16 | cc_library_shared { |
| 17 | name: "libdvr_loader", |
| 18 | owner: "google", |
| 19 | srcs: ["dvr_library_loader.cpp"], |
| 20 | cflags: [ |
| 21 | "-Wall", |
| 22 | "-Werror", |
| 23 | ], |
| 24 | } |
| 25 | |
| 26 | // Java platform library for vr stuff. |
| 27 | java_library { |
| 28 | name: "com.google.vr.platform", |
| 29 | owner: "google", |
| 30 | required: [ |
| 31 | "libdvr_loader", |
| 32 | "libdvr", |
| 33 | ], |
| 34 | srcs: ["java/**/*.java"], |
| 35 | } |
| 36 | |
| 37 | prebuilt_etc_xml { |
| 38 | name: "com.google.vr.platform.xml", |
| 39 | src: "com.google.vr.platform.xml", |
| 40 | } |