Colin Cross | 7cc65e9 | 2020-01-07 13:24:22 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | java_plugin { |
| 18 | name: "car-androidx-room-compiler", |
| 19 | static_libs: [ |
| 20 | "car-androidx-annotation-nodeps", |
| 21 | "car-androidx-room-common-nodeps", |
| 22 | "car-androidx-room-compiler-nodeps", |
| 23 | "car-androidx-room-migration-nodeps", |
| 24 | "car-androidx-room-compiler-tools-common-m2-deps", |
| 25 | "guava", |
| 26 | "kotlin-stdlib", |
| 27 | ], |
| 28 | processor_class: "androidx.room.RoomProcessor", |
| 29 | } |
| 30 | |
| 31 | android_library_import { |
| 32 | name: "car-androidx-room-runtime-nodeps", |
| 33 | aars: ["androidx.room/room-runtime-2.0.0-alpha1.aar"], |
| 34 | sdk_version: "current", |
| 35 | } |
| 36 | |
| 37 | java_import { |
| 38 | name: "car-androidx-room-common-nodeps", |
| 39 | jars: ["androidx.room/room-common-2.0.0-alpha1.jar"], |
| 40 | host_supported: true, |
| 41 | } |
| 42 | |
| 43 | java_import_host { |
| 44 | name: "car-androidx-room-compiler-nodeps", |
| 45 | jars: ["androidx.room/room-compiler-2.0.0-alpha1.jar"], |
| 46 | } |
| 47 | |
| 48 | java_import_host { |
| 49 | name: "car-androidx-room-migration-nodeps", |
| 50 | jars: ["androidx.room/room-migration-2.0.0-alpha1.jar"], |
| 51 | } |
| 52 | |
| 53 | java_import_host { |
| 54 | name: "car-androidx-annotation-nodeps", |
| 55 | jars: ["annotation-1.0.0-alpha1.jar"], |
| 56 | } |