diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-01 10:28:54 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-02 14:54:39 +0000 |
commit | 68d0b69165127e259b23515f3d6d62fd1e4fc0ea (patch) | |
tree | 8c603526cc3df1ee662e38cf25d328c71837625e /examples/sass | |
parent | 038a574e42dad1b29f734c10f2f4c3d4af1ee6a4 (diff) |
Use labels in load statements
This will fix some issue with loading skylark rules from @bazel_tools.
Tested with ./compile.sh all and also a project that use pkg_tar from
@bazel_tools (which is broken at HEAD).
--
Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0
Reviewed-on: https://bazel-review.googlesource.com/2800
MOS_MIGRATED_REVID=113508661
Diffstat (limited to 'examples/sass')
-rw-r--r-- | examples/sass/hello_world/BUILD | 2 | ||||
-rw-r--r-- | examples/sass/shared/BUILD | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/sass/hello_world/BUILD b/examples/sass/hello_world/BUILD index 7109872d52..ad42b99244 100644 --- a/examples/sass/hello_world/BUILD +++ b/examples/sass/hello_world/BUILD @@ -1,6 +1,6 @@ package(default_visibility = ["//visibility:public"]) -load("/tools/build_defs/sass/sass", "sass_binary") +load("//tools/build_defs/sass:sass.bzl", "sass_binary") # Import our shared colors and fonts so we can generate a CSS file. sass_binary( diff --git a/examples/sass/shared/BUILD b/examples/sass/shared/BUILD index c9bdc2f500..bc3f3370d8 100644 --- a/examples/sass/shared/BUILD +++ b/examples/sass/shared/BUILD @@ -1,6 +1,6 @@ package(default_visibility = ["//visibility:public"]) -load("/tools/build_defs/sass/sass", "sass_library") +load("//tools/build_defs/sass:sass.bzl", "sass_library") # make a :colors target that any sass_binary rules can depend on. sass_library( |