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", |
Colin Cross | d7647c1 | 2018-07-10 14:24:31 -0700 | [diff] [blame] | 29 | installable: true, |
Dan Willemsen | 4888b1f | 2018-05-09 20:30:33 -0700 | [diff] [blame] | 30 | owner: "google", |
| 31 | required: [ |
| 32 | "libdvr_loader", |
| 33 | "libdvr", |
| 34 | ], |
| 35 | srcs: ["java/**/*.java"], |
| 36 | } |
| 37 | |
| 38 | prebuilt_etc_xml { |
| 39 | name: "com.google.vr.platform.xml", |
| 40 | src: "com.google.vr.platform.xml", |
| 41 | } |