Add emulator_images_%s filegroups for Bazel Android devices.
A previous change added this filegroup with the name %s_files. Recent discussions have suggested changing the naming convention to be a prefix instead before it is too late.
MOS_MIGRATED_REVID=150117207
@@ -215,7 +215,14 @@ def create_android_device_rules(system_image_dirs):
for system_image_dir in system_image_dirs:
name = "_".join(system_image_dir.split("/")[1:])
+ # TODO(ajmichael): Remove this target after unified_launcher's tests are
+ # updated to use the emulator_images_%s filegroups instead.
native.filegroup(
name = "%s_files" % name,
srcs = native.glob(["%s/**" % system_image_dir]),
)
+
+ native.filegroup(
+ name = "emulator_images_%s" % name,
+ srcs = native.glob(["%s/**" % system_image_dir]),
+ )
