| Jiyong Park | b4aa5d6 | 2018-03-09 00:16:37 +0900 | [diff] [blame] | 1 | // |
| 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 Fuller | 677bf5e | 2018-09-26 11:09:59 +0100 | [diff] [blame] | 17 | // 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. |
| 20 | filegroup { |
| 21 | name: "apache-xml_api_files", |
| 22 | srcs: [], |
| 23 | } |
| 24 | |
| Jiyong Park | b4aa5d6 | 2018-03-09 00:16:37 +0900 | [diff] [blame] | 25 | java_library { |
| 26 | name: "apache-xml", |
| Paul Duffin | 0170403 | 2019-03-28 14:23:25 +0000 | [diff] [blame] | 27 | visibility: [ |
| 28 | "//art/build/apex", |
| 29 | "//libcore", |
| 30 | ], |
| Jiyong Park | b4aa5d6 | 2018-03-09 00:16:37 +0900 | [diff] [blame] | 31 | srcs: ["src/main/java/**/*.java"], |
| Jiyong Park | 07cd5df | 2018-03-12 18:47:49 +0900 | [diff] [blame] | 32 | java_resource_dirs: ["src/main/java"], |
| Neil Fuller | 677bf5e | 2018-09-26 11:09:59 +0100 | [diff] [blame] | 33 | |
| 34 | installable: true, |
| 35 | hostdex: true, |
| Jiyong Park | b4aa5d6 | 2018-03-09 00:16:37 +0900 | [diff] [blame] | 36 | errorprone: { |
| 37 | javacflags: ["-Xep:MissingOverride:OFF"], |
| 38 | }, |
| Neil Fuller | 452ed05 | 2018-09-27 18:30:46 +0100 | [diff] [blame] | 39 | |
| Paul Duffin | e23f857 | 2019-06-11 16:01:00 +0100 | [diff] [blame] | 40 | sdk_version: "none", |
| Neil Fuller | 8d8b897 | 2018-10-19 10:19:24 +0100 | [diff] [blame] | 41 | libs: ["core-all"], |
| 42 | system_modules: "core-all-system-modules", |
| Jiyong Park | b4aa5d6 | 2018-03-09 00:16:37 +0900 | [diff] [blame] | 43 | } |
| Neil Fuller | 87f721d | 2018-12-06 10:24:43 +0000 | [diff] [blame] | 44 | |
| 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. |
| 48 | java_library { |
| 49 | name: "apache-xml-testdex", |
| 50 | static_libs: ["apache-xml"], |
| 51 | |
| 52 | installable: true, |
| 53 | dex_preopt: { |
| 54 | enabled: false, |
| 55 | }, |
| 56 | |
| Paul Duffin | 7995b95 | 2019-06-12 13:43:45 +0100 | [diff] [blame] | 57 | sdk_version: "core_platform", |
| Neil Fuller | 87f721d | 2018-12-06 10:24:43 +0000 | [diff] [blame] | 58 | } |