Sasha Smundak | df848ac | 2019-02-08 15:13:25 -0800 | [diff] [blame] | 1 | // Copyright (C) 2015 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. |
Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 14 | package { |
| 15 | // See: http://go/android-license-faq |
| 16 | // A large-scale-change added 'default_applicable_licenses' to import |
| 17 | // all of the 'license_kinds' from "frameworks_base_license" |
| 18 | // to get the below license kinds: |
| 19 | // SPDX-license-identifier-Apache-2.0 |
| 20 | default_applicable_licenses: ["frameworks_base_license"], |
| 21 | } |
| 22 | |
Sasha Smundak | df848ac | 2019-02-08 15:13:25 -0800 | [diff] [blame] | 23 | android_app { |
| 24 | name: "StatementService", |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame^] | 25 | // Removed because Errorprone doesn't work with Kotlin, can fix up in the future |
| 26 | // defaults: ["platform_app_defaults"], |
| 27 | srcs: [ |
| 28 | "src/**/*.java", |
| 29 | "src/**/*.kt", |
| 30 | ], |
Sasha Smundak | df848ac | 2019-02-08 15:13:25 -0800 | [diff] [blame] | 31 | optimize: { |
| 32 | proguard_flags_files: ["proguard.flags"], |
| 33 | }, |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame^] | 34 | target_sdk_version: "29", |
Sasha Smundak | df848ac | 2019-02-08 15:13:25 -0800 | [diff] [blame] | 35 | platform_apis: true, |
| 36 | privileged: true, |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame^] | 37 | certificate: "platform", |
Sasha Smundak | df848ac | 2019-02-08 15:13:25 -0800 | [diff] [blame] | 38 | static_libs: [ |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame^] | 39 | "androidx.appcompat_appcompat", |
| 40 | "androidx.collection_collection-ktx", |
| 41 | "androidx.work_work-runtime", |
| 42 | "androidx.work_work-runtime-ktx", |
| 43 | "kotlinx-coroutines-android", |
Sasha Smundak | df848ac | 2019-02-08 15:13:25 -0800 | [diff] [blame] | 44 | ], |
| 45 | } |