Merge "Move platform constraints to bazel_common_rules." into main am: 0a5bfe8b69 am: 3b6d7c81d1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Music/+/2784187
Change-Id: Ia53dbb11e8aaaec109b778f222dcc4d4a37ed0fd
Signed-off-by: Automerger Merge Worker <[email protected]>
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"],
)