Files
android_packages_modules_co…/javatests/com/android/modules/targetprep/Android.bp
Andrei Onea 816b8b6b99 Add fetch code for classpath jars
Fetch all *CLASSPATH jars and dump their data into .pb files in the temp
directory shared between the target preparer and the testcases.

Test: atest ClasspathFetcherTest
Bug: 254647172
Change-Id: I008001975ba5febbec5fec20a908b1dcc02308f6
2022-11-24 18:58:41 +00:00

45 lines
1.1 KiB
Plaintext

/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_test_host {
name: "ClasspathFetcherTest",
test_options: {
unit_test: true,
},
srcs: [
"ClasspathFetcherTest.java"
],
static_libs: [
"ClasspathFetcher",
"mockito-host",
"objenesis",
"truth-prebuilt",
"junit",
"tradefed",
],
java_resources: [
":LibraryA",
":LibraryB",
],
test_suites: [
"general-tests",
],
}