blob: a6cad2e7fabdf06bc0475b34c848b04d3d69a6b3 [file] [log] [blame]
Remi NGUYEN VANdb6feea2021-03-16 01:31:07 +00001//
2// Copyright (C) 2021 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
17package {
18 default_applicable_licenses: ["frameworks_base_license"],
19}
20
21// defaults for tests that need to build against framework-connectivity's @hide APIs
22// Only usable from targets that have visibility on framework-connectivity.impl.
23// Instead of using this, consider avoiding to depend on hidden connectivity APIs in
24// tests.
25java_defaults {
26 name: "framework-connectivity-test-defaults",
27 sdk_version: "core_platform", // tests can use @CorePlatformApi's
28 libs: [
29 // order matters: classes in framework-connectivity are resolved before framework,
30 // meaning @hide APIs in framework-connectivity are resolved before @SystemApi
31 // stubs in framework
32 "framework-connectivity.impl",
33 "framework",
34
35 // if sdk_version="" this gets automatically included, but here we need to add manually.
36 "framework-res",
37 ],
38}