Tobias Thierer | 53f15f3 | 2019-08-18 15:19:45 +0100 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | java_library { |
| 16 | name: "mimemap", |
| 17 | visibility: [ |
| 18 | "//cts/tests/tests/mimemap:__subpackages__", |
| 19 | "//frameworks/base:__subpackages__", |
| 20 | ], |
| 21 | |
| 22 | srcs: [ |
| 23 | "java/android/content/type/MimeMapImpl.java", |
| 24 | ], |
| 25 | |
| 26 | java_resources: [ |
| 27 | ":debian.mime.types", |
| 28 | ":android.mime.types", |
| 29 | ], |
| 30 | |
| 31 | sdk_version: "core_platform", |
| 32 | } |
| 33 | |
| 34 | filegroup { |
| 35 | name: "android.mime.types", |
| 36 | visibility: [ |
| 37 | "//visibility:private", |
| 38 | ], |
| 39 | path: "java-res/", |
| 40 | srcs: [ |
| 41 | "java-res/android.mime.types", |
| 42 | ], |
| 43 | } |