blob: 84a8f1433fe950a8c88e6c488c98682392432f21 [file] [log] [blame]
Jiyong Parkb4aa5d62018-03-09 00:16:37 +09001//
2// Copyright (C) 2011 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
Neil Fuller677bf5e2018-09-26 11:09:59 +010017// The set of files that contribute to APIs.
18// Generally, apache-xml source files are not marked with @hide so we add them
19// one-by-one after having done so.
20filegroup {
21 name: "apache-xml_api_files",
22 srcs: [],
23}
24
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090025java_library {
26 name: "apache-xml",
Paul Duffin01704032019-03-28 14:23:25 +000027 visibility: [
28 "//art/build/apex",
29 "//libcore",
30 ],
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090031 srcs: ["src/main/java/**/*.java"],
Jiyong Park07cd5df2018-03-12 18:47:49 +090032 java_resource_dirs: ["src/main/java"],
Neil Fuller677bf5e2018-09-26 11:09:59 +010033
34 installable: true,
35 hostdex: true,
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090036 errorprone: {
37 javacflags: ["-Xep:MissingOverride:OFF"],
38 },
Neil Fuller452ed052018-09-27 18:30:46 +010039
Paul Duffine23f8572019-06-11 16:01:00 +010040 sdk_version: "none",
Neil Fuller8d8b8972018-10-19 10:19:24 +010041 libs: ["core-all"],
42 system_modules: "core-all-system-modules",
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090043}
Neil Fuller87f721d2018-12-06 10:24:43 +000044
45// A guaranteed unstripped version of apache-xml for use on device.
46// The build system may or may not strip the apache-xml jar, but this one will
47// not be stripped. See b/24535627.
48java_library {
49 name: "apache-xml-testdex",
50 static_libs: ["apache-xml"],
51
52 installable: true,
53 dex_preopt: {
54 enabled: false,
55 },
56
Paul Duffin7995b952019-06-12 13:43:45 +010057 sdk_version: "core_platform",
Neil Fuller87f721d2018-12-06 10:24:43 +000058}