Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 18bb1f9

Browse files
author
Nelson Li
committed
Convert android.test.legacy to Android.bp
The use of `TARGET_BUILD_PDK` has been deprecated in aosp/1320119, so additional checks can be removed. The license metadata on dependencies of module android.test.legacy has been cleaned up in aosp/2995877. Therefore, the license of android.test.legacy can be directly declared as "Android-Apache-2.0". Bug: 319031379 Test: m android.test.legacy Change-Id: I034ddd4f690205393c0d8ae385b8ad6bea7c4e6e
1 parent 3de3b3f commit 18bb1f9

File tree

2 files changed

+38
-50
lines changed

2 files changed

+38
-50
lines changed

test-legacy/Android.bp

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// Copyright (C) 2018 The Android Open Source Project
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
package {
16+
// See: http://go/android-license-faq
17+
default_applicable_licenses: [
18+
"Android-Apache-2.0",
19+
],
20+
}
21+
22+
java_library {
23+
name: "android.test.legacy",
24+
sdk_version: "current",
25+
libs: [
26+
"android.test.mock.stubs",
27+
"junit",
28+
],
29+
static_libs: [
30+
"android.test.base-minus-junit",
31+
"android.test.runner-minus-junit",
32+
],
33+
dist: {
34+
targets: [
35+
"sdk",
36+
],
37+
},
38+
}

test-legacy/Android.mk

-50
This file was deleted.

0 commit comments

Comments
 (0)