First set of changes to enable M1 simulator.
Changes to rules and bazel to enable new watchOS simulator CPU. Verified that this CPU is the one being used for simulator builds by Xcode on an M1 machine.
@@ -46,7 +46,7 @@ public enum ApplePlatform implements ApplePlatformApi {
private static final ImmutableSet<String> IOS_DEVICE_TARGET_CPUS =
ImmutableSet.of("ios_armv6", "ios_arm64", "ios_armv7", "ios_armv7s", "ios_arm64e");
private static final ImmutableSet<String> WATCHOS_SIMULATOR_TARGET_CPUS =
- ImmutableSet.of("watchos_i386", "watchos_x86_64");
+ ImmutableSet.of("watchos_i386", "watchos_x86_64", "watchos_arm64");
private static final ImmutableSet<String> WATCHOS_DEVICE_TARGET_CPUS =
ImmutableSet.of("watchos_armv7k", "watchos_arm64_32");
private static final ImmutableSet<String> TVOS_SIMULATOR_TARGET_CPUS =
