Merge "Move platform constraints to bazel_common_rules." into main am: 0a5bfe8b69 am: 3b6d7c81d1 am: e33cf6654c am: 994542b838 am: 9007184c7e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Music/+/2784187
Change-Id: I9f4d2edae2a118237d2d74df1ff0323c3af745f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/BUILD b/BUILD
index 0b9fe05..3b1b873 100644
--- a/BUILD
+++ b/BUILD
@@ -2,12 +2,12 @@
android_binary(
name = "Music",
- srcs = glob(["src/**/*.java"]),
+ srcs = glob(["src/com/android/music/*.java"]),
custom_package = "com.android.music",
manifest = "AndroidManifest.xml",
# TODO(b/179889880): this manual BUILD file exists because these resources,
# if listed as files, would cross package boundary.
resource_files = ["//packages/apps/Music/kotlin:MusicResourceFiles"],
sdk_version = "current",
- target_compatible_with = ["//build/bazel/platforms/os:android"],
+ target_compatible_with = ["//build/bazel_common_rules/platforms/os:android"],
)