[DON'T BLOCK] Test ownership migration rules

This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: I7fbd55a92f4302a6e03bcff0283737fd9295165d
Merged-In: I7fbd55a92f4302a6e03bcff0283737fd9295165d
This commit is contained in:
Aditya Choudhary
2024-02-05 15:41:26 +00:00
parent a6bec4e541
commit 01735e6b40
11 changed files with 21 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
package {
default_team: "trendy_team_android_settings_app",
default_applicable_licenses: ["packages_apps_Settings_license"],
}
@@ -23,8 +24,8 @@ java_library {
genrule {
name: "statslog-settings-java-gen",
tools: ["stats-log-api-gen"],
cmd: "$(location stats-log-api-gen) --java $(out) --module settings"
+ " --javaPackage com.android.settings.core.instrumentation --javaClass SettingsStatsLog",
cmd: "$(location stats-log-api-gen) --java $(out) --module settings" +
" --javaPackage com.android.settings.core.instrumentation --javaClass SettingsStatsLog",
out: ["com/android/settings/core/instrumentation/SettingsStatsLog.java"],
}
@@ -43,7 +44,6 @@ java_library {
],
}
// Build the Settings APK
android_library {
name: "Settings-core",
@@ -54,7 +54,10 @@ android_library {
"SpaPrivilegedLib-defaults",
],
srcs: ["src/**/*.java", "src/**/*.kt"],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
resource_dirs: [
"res",
"res-export", // for external usage
@@ -158,7 +161,10 @@ filegroup {
// separately for different modules.
filegroup {
name: "Settings_srcs",
srcs: ["src/**/*.java", "src/**/*.kt"],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
}
// Deprecated. Do not depend on this, only depend on Settings-core, and its manifest is also