From f9bf2e7f2696b0897a17414e9399382764338b2d Mon Sep 17 00:00:00 2001 From: lberki Date: Wed, 13 Jun 2018 06:04:45 -0700 Subject: Fix a bad path and remove the reference to the legacy path-based load() syntax. RELNOTES: None. PiperOrigin-RevId: 200379060 --- .../devtools/build/docgen/templates/be/functions.vm | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm index 23ff93f5a7..0b2ea0ead2 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm +++ b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm @@ -72,7 +72,7 @@ This will make COMPILER_FLAGS exported from

The label must refer to an existing package. For example, for the above - statement to work, tools/build_rules/BUILD must exist (an empty + statement to work, path/to/rules/BUILD must exist (an empty file is sufficient) The name of the file must have the suffix .bzl. If the specified label is in the relative label syntax (:a/b.bzl), it will be resolved relative to the package of the @@ -81,20 +81,6 @@ This will make COMPILER_FLAGS exported from to make the .bzl file visible.

-

- Note: The load statement still supports the legacy syntax that refers - to Skylark modules by their paths and not by their labels. This statement is - equivalent to the first example: -

- -
-load("/tools/build_rules/build_test", "build_test")
-
- -

- However, this syntax is deprecated and will be removed soon. -

-