xref: /aosp_15_r20/libcore/Extras.bp (revision 89a6322812dc8573315e60046e7959c50dad91d4)
1*89a63228SAndroid Build Coastguard Worker// Copyright (C) 2022 The Android Open Source Project
2*89a63228SAndroid Build Coastguard Worker//
3*89a63228SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*89a63228SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*89a63228SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*89a63228SAndroid Build Coastguard Worker//
7*89a63228SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*89a63228SAndroid Build Coastguard Worker//
9*89a63228SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*89a63228SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*89a63228SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*89a63228SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*89a63228SAndroid Build Coastguard Worker// limitations under the License.
14*89a63228SAndroid Build Coastguard Worker
15*89a63228SAndroid Build Coastguard Worker//
16*89a63228SAndroid Build Coastguard Worker// Definitions to expose small parts of the core library that are
17*89a63228SAndroid Build Coastguard Worker// independent from the whole Android core library.
18*89a63228SAndroid Build Coastguard Worker//
19*89a63228SAndroid Build Coastguard Worker
20*89a63228SAndroid Build Coastguard Worker// Java host library containing just the xmlpull sources
21*89a63228SAndroid Build Coastguard Workerjava_library_host {
22*89a63228SAndroid Build Coastguard Worker    name: "core-xml-for-host",
23*89a63228SAndroid Build Coastguard Worker    srcs: ["xml/src/main/java/org/xmlpull/**/*.java"],
24*89a63228SAndroid Build Coastguard Worker    visibility: [
25*89a63228SAndroid Build Coastguard Worker        "//packages/modules/AdServices:__subpackages__",
26*89a63228SAndroid Build Coastguard Worker        "//packages/modules/Permission:__subpackages__",
27*89a63228SAndroid Build Coastguard Worker        "//frameworks/base/ravenwood:__subpackages__",
28*89a63228SAndroid Build Coastguard Worker    ],
29*89a63228SAndroid Build Coastguard Worker}
30