package { default_team: "trendy_team_framework_backstage_power", // See: http://go/android-license-faq default_applicable_licenses: ["frameworks_base_license"], } android_test { name: "PowerStatsTests", // Include all test java files. srcs: [ "src/**/*.java", ], static_libs: [ "services.core", "coretests-aidl", "platformprotosnano", "junit", "truth", "androidx.test.runner", "androidx.test.ext.junit", "androidx.test.ext.truth", "androidx.test.uiautomator_uiautomator", "mockito-target-minus-junit4", "ravenwood-junit", "servicestests-utils", "platform-test-annotations", "flag-junit", ], libs: [ "android.test.base", ], resource_dirs: ["res/"], data: [ ":BstatsTestApp", ], test_suites: [ "automotive-tests", "device-tests", ], platform_apis: true, certificate: "platform", dxflags: ["--multi-dex"], optimize: { enabled: false, }, } android_ravenwood_test { name: "PowerStatsTestsRavenwood", static_libs: [ "services.core", "coretests-aidl", "ravenwood-junit", "truth", "androidx.annotation_annotation", "androidx.test.rules", "androidx.test.uiautomator_uiautomator", "modules-utils-binary-xml", "flag-junit", ], srcs: [ "src/com/android/server/power/stats/*.java", ], java_resources: [ "res/xml/power_profile*.xml", ], auto_gen_config: true, }