1load("//build/bazel/rules/android:android_binary.bzl", "android_binary") 2 3android_binary( 4 name = "Music", 5 srcs = glob(["src/com/android/music/*.java"]), 6 custom_package = "com.android.music", 7 manifest = "AndroidManifest.xml", 8 # TODO(b/179889880): this manual BUILD file exists because these resources, 9 # if listed as files, would cross package boundary. 10 resource_files = ["//packages/apps/Music/kotlin:MusicResourceFiles"], 11 sdk_version = "current", 12 target_compatible_with = ["//build/bazel_common_rules/platforms/os:android"], 13) 14