Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 1 | // Copyright (C) 2013 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 | |
Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: [ |
| 17 | "frameworks_base_packages_PrintSpooler_license", |
| 18 | ], |
| 19 | } |
| 20 | |
| 21 | // Added automatically by a large-scale-change |
| 22 | // See: http://go/android-license-faq |
| 23 | license { |
| 24 | name: "frameworks_base_packages_PrintSpooler_license", |
| 25 | visibility: [":__subpackages__"], |
| 26 | license_kinds: [ |
| 27 | "SPDX-license-identifier-Apache-2.0", |
| 28 | ], |
| 29 | license_text: [ |
| 30 | "NOTICE", |
| 31 | ], |
| 32 | } |
| 33 | |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 34 | android_app { |
| 35 | name: "PrintSpooler", |
Jeff Sharkey | d23b537 | 2020-10-23 14:30:42 -0600 | [diff] [blame] | 36 | defaults: ["platform_app_defaults"], |
Yuntao Xu | c9e617d | 2021-12-23 11:46:56 -0800 | [diff] [blame] | 37 | resource_dirs: [], |
| 38 | platform_apis: true, |
| 39 | jni_libs: ["libprintspooler_jni"], |
| 40 | static_libs: [ |
| 41 | "PrintSpoolerLib", |
| 42 | ], |
| 43 | } |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 44 | |
Yuntao Xu | c9e617d | 2021-12-23 11:46:56 -0800 | [diff] [blame] | 45 | android_library { |
| 46 | name: "PrintSpoolerLib", |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 47 | resource_dirs: ["res"], |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 48 | srcs: [ |
| 49 | "src/**/*.java", |
| 50 | "src/com/android/printspooler/renderer/IPdfRenderer.aidl", |
| 51 | "src/com/android/printspooler/renderer/IPdfEditor.aidl", |
| 52 | ], |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 53 | platform_apis: true, |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 54 | static_libs: [ |
| 55 | "android-support-v7-recyclerview", |
| 56 | "android-support-compat", |
| 57 | "android-support-media-compat", |
| 58 | "android-support-core-utils", |
| 59 | "android-support-core-ui", |
| 60 | "android-support-fragment", |
| 61 | "android-support-annotations", |
| 62 | ], |
Yuntao Xu | c9e617d | 2021-12-23 11:46:56 -0800 | [diff] [blame] | 63 | manifest: "AndroidManifest.xml", |
Colin Cross | 278a04a | 2018-10-03 14:43:43 -0700 | [diff] [blame] | 64 | } |