Files
android_development/samples/ApiDemos/Android.bp
Yuntao Xu aba34f50cc Convert Android.mk to Android.bp
1. Convert ApiDemos/Android.mk to ApiDemos/Android.bp;
2. Convert ApiDemos/tests/Android.mk to ApiDemos/tests/Android.bp

Bug: 186778349
Test: compared the apk files built by Make and Soong
Test: TreeHugger
Change-Id: I7b72a998b56804e647d0908be5a118f9bf2cd896
2021-05-18 23:08:25 -07:00

25 lines
679 B
Plaintext

package {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "ApiDemos",
// Only compile source java files in this apk.
srcs: [
"src/**/*.java",
"src/com/example/android/apis/app/IRemoteService.aidl",
"src/com/example/android/apis/app/IRemoteServiceCallback.aidl",
"src/com/example/android/apis/app/ISecondary.aidl",
],
static_libs: [
"androidx-constraintlayout_constraintlayout",
"androidx.legacy_legacy-support-v4",
],
sdk_version: "current",
dex_preopt: {
enabled: false,
},
test_suites: ["device-tests"],
}