blob: 6535c2c8fbd176696db8fdff8284a88c09f75233 [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",
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090027 srcs: ["src/main/java/**/*.java"],
Jiyong Park07cd5df2018-03-12 18:47:49 +090028 java_resource_dirs: ["src/main/java"],
Neil Fuller677bf5e2018-09-26 11:09:59 +010029
30 installable: true,
31 hostdex: true,
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090032 errorprone: {
33 javacflags: ["-Xep:MissingOverride:OFF"],
34 },
Neil Fuller452ed052018-09-27 18:30:46 +010035
36 no_standard_libs: true,
Neil Fuller8d8b8972018-10-19 10:19:24 +010037 libs: ["core-all"],
38 system_modules: "core-all-system-modules",
Jiyong Parkb4aa5d62018-03-09 00:16:37 +090039}
Neil Fuller87f721d2018-12-06 10:24:43 +000040
41// A guaranteed unstripped version of apache-xml for use on device.
42// The build system may or may not strip the apache-xml jar, but this one will
43// not be stripped. See b/24535627.
44java_library {
45 name: "apache-xml-testdex",
46 static_libs: ["apache-xml"],
47
48 installable: true,
49 dex_preopt: {
50 enabled: false,
51 },
52
53 no_framework_libs: true,
54}