aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/packages
diff options
context:
space:
mode:
authorGravatar Francois-Rene Rideau <tunes@google.com>2015-08-27 20:38:03 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-08-28 09:22:03 +0000
commitb5e112bbf4d9795dc714f1dfec72379c3f9fe1ba (patch)
tree6e7fd83416a52e77a1ba866c51166a074809a6ec /src/main/java/com/google/devtools/build/lib/packages
parenta954fae3183ff68521dff650a405c505394a9917 (diff)
Stop removing onlyLoadingPhase bindings
They are now disabled based on a dynamic flag instead. It's all too easy to bypass removal with duplication, anyway, as in my_native_glob = native.glob -- MOS_MIGRATED_REVID=101714237
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/packages')
-rw-r--r--src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java b/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java
index c2186b9337..1f32cbd0b2 100644
--- a/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java
+++ b/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java
@@ -29,8 +29,8 @@ import com.google.devtools.build.lib.syntax.SkylarkSignatureProcessor;
/**
* A class for the Skylark native module.
*/
-@SkylarkModule(name = "native", namespace = true, onlyLoadingPhase = true, doc =
- "A built-in module to support native rules and other package helper functions. "
+@SkylarkModule(name = "native", namespace = true, doc =
+ "A built-in module to support native rules and other package helper functions. "
+ "All native rules appear as functions in this module. Note that the native module is only "
+ "available in the loading phase (i.e. for macros, not for rule implementations).<br/>"
+ "Extra helper functions:")