Convert tests/**/Android.mk files to Android.bp

See build/soong/README.md for more information.

Note: tests/ImfTest/Android.mk causes conflict as it hasn't been yet
ported to internal master. Do it later.
Note: the conversion in the following directories has to be done in the
internal master first because of the conflicts:
* tests/ActivityManagerPerfTests
* tests/AppLaunch
* tests/AppLaunchWear
* tests/BackgroundDexOptServiceIntegrationTests
* tests/Camera2Tests/CameraToo
* tests/Camera2Tests/SmartCamera/SimpleCamera
* tests/Compatibility
* tests/Internal
* tests/RcsTests
* tests/ServiceCrashTest
* tests/UsbTests

Bug: 122332340
Test: treehugger
Change-Id: Ie17590c6a96aee5caa80d38092a3de5c1b6efe8d
This commit is contained in:
Sasha Smundak
2019-02-20 16:52:48 -08:00
parent e2f15a176f
commit 168d7631b2

27
tests/net/Android.bp Normal file
View File

@@ -0,0 +1,27 @@
//########################################################################
// Build FrameworksNetTests package
//########################################################################
android_test {
name: "FrameworksNetTests",
// Include all test java files.
srcs: ["java/**/*.java"],
static_libs: [
"frameworks-base-testutils",
"framework-protos",
"androidx.test.rules",
"mockito-target-minus-junit4",
"platform-test-annotations",
"services.core",
"services.ipmemorystore",
"services.net",
],
libs: [
"android.test.runner",
"android.test.base",
"android.test.mock",
],
platform_apis: true,
test_suites: ["device-tests"],
certificate: "platform",
}