blob: 0ae94d44061d5d601352a7f8469ae71df68ba906 [file] [log] [blame]
Tobias Thierer878c77b2019-08-18 15:19:45 +01001// 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
15java_library {
16 name: "mimemap",
17 visibility: [
18 "//cts/tests/tests/mimemap:__subpackages__",
19 "//frameworks/base:__subpackages__",
20 ],
21
22 srcs: [
Tobias Thiereraf0cef92019-09-27 17:08:49 +010023 "java/android/content/type/DefaultMimeMapFactory.java",
Tobias Thierer878c77b2019-08-18 15:19:45 +010024 ],
25
26 java_resources: [
27 ":debian.mime.types",
28 ":android.mime.types",
Tobias Thierer32434912019-09-27 19:22:39 +010029 ":vendor.mime.types",
Tobias Thierer878c77b2019-08-18 15:19:45 +010030 ],
31
32 sdk_version: "core_platform",
33}
34
35filegroup {
36 name: "android.mime.types",
37 visibility: [
38 "//visibility:private",
39 ],
40 path: "java-res/",
41 srcs: [
42 "java-res/android.mime.types",
43 ],
44}
Tobias Thierer32434912019-09-27 19:22:39 +010045
46filegroup {
47 name: "vendor.mime.types",
48 visibility: [
49 "//visibility:private",
50 ],
51 path: "java-res/",
52 srcs: [
53 "java-res/vendor.mime.types",
54 ],
55}