Files
frameworks_base/tests/Gating/Android.bp
Andrei Onea 12765612f3 Example for disabling changes at test time
Add test for the CompatChangeRule using dummy apis, gated using both
available APIs (Compatibility and IPlatformCompat). There's no need to
actually have these compat changes defined, since CompatChangeRule will
inject them regardless.

Bug: 140367850
Test: atest Gating
Change-Id: I3d41925fc579d5212100d9c081cd290f18efa43b
2019-10-11 14:07:53 +01:00

18 lines
402 B
Plaintext

android_test {
name: "Gating",
// Only compile source java files in this apk.
srcs: ["src/**/*.java"],
certificate: "platform",
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"junit",
"android-support-test",
"mockito-target-minus-junit4",
"truth-prebuilt",
"platform_compat-test-rules"
],
}