package_name()
This is liable to change in the future.
The name of the package being evaluated. For example, in the build filesome/package/BUCK
, its value will be some/package
. If the BUCK file calls a function defined in a .bzl file, package_name()
will match the caller BUCK file package. This function is equivalent to the deprecated variable PACKAGE_NAME
.