diff options
author | 2017-07-25 18:23:33 +0200 | |
---|---|---|
committer | 2017-07-26 10:34:54 +0200 | |
commit | 35209cf28e47f9e11055756407b18e56507ea17a (patch) | |
tree | c6b703494bdcdfdf676a35fe00e00ce109a9967e /src | |
parent | de0c535f123acd5344723ca128ead5d4491aed9c (diff) |
Add "apple_" prefix to Skylark platform(_type) modules.
Documentation was not being generated for the Apple "platform" module because it collided with a configuration fragment of the same name.
This should be a harmless change because the underlying module name should not be used by anyone; the name isn't exported as a top-level type and would only be seen in debug output and in the string returned by the type() function.
PiperOrigin-RevId: 163079704
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java b/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java index 1e0ba56d08..cd22873f97 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java @@ -31,7 +31,7 @@ import javax.annotation.Nullable; /** An enum that can be used to distinguish between various apple platforms. */ @SkylarkModule( - name = "platform", + name = "apple_platform", category = SkylarkModuleCategory.NONE, doc = "Corresponds to Xcode's notion of a platform as would be found in " + "<code>Xcode.app/Contents/Developer/Platforms</code>. Each platform represents an Apple " @@ -234,7 +234,7 @@ public enum ApplePlatform implements SkylarkValue { */ // TODO(cparsons): Use these values in static retrieval methods in this class. @SkylarkModule( - name = "platform_type", + name = "apple_platform_type", category = SkylarkModuleCategory.NONE, doc = "Describes an Apple \"platform type\", such as iOS, macOS, tvOS, or watchOS. This is " + "distinct from a \"platform\", which is the platform type combined with one or more CPU " |