public class SkylarkPackageModule extends AbstractSkylarkFunctions implements SkylarkFunctionModule
native.foo
in build
file extensions and just foo
in package files.Modifier and Type | Field and Description |
---|---|
static SkylarkPackageModule |
PACKAGE_MODULE |
Constructor and Description |
---|
SkylarkPackageModule() |
Modifier and Type | Method and Description |
---|---|
void |
packageFunction(com.google.devtools.build.lib.syntax.SkylarkList<String> visibility,
com.google.devtools.build.lib.syntax.SkylarkList<String> within_view,
com.google.devtools.build.lib.syntax.FuncallExpression ast,
com.google.devtools.build.lib.syntax.Environment env) |
readConfig
public static final SkylarkPackageModule PACKAGE_MODULE
public void packageFunction(com.google.devtools.build.lib.syntax.SkylarkList<String> visibility, com.google.devtools.build.lib.syntax.SkylarkList<String> within_view, com.google.devtools.build.lib.syntax.FuncallExpression ast, com.google.devtools.build.lib.syntax.Environment env) throws com.google.devtools.build.lib.syntax.EvalException
com.google.devtools.build.lib.syntax.EvalException