diff options
author | Yannic <contact@yannic-bonenberger.com> | 2019-08-16 14:38:13 +0000 |
---|---|---|
committer | Derek Mauro <761129+derekmauro@users.noreply.github.com> | 2019-08-16 10:38:13 -0400 |
commit | 36910d3d7e9fccadd6603f232d0c4f54dcd47c7e (patch) | |
tree | 477a5d0a416e35eb922c5a0679db0ff2624e0aaa /absl/time/internal | |
parent | aae8143cf9aa611f70d7ea9b95b8b8b383b2271a (diff) |
[bazel] Add fixes for --incompatible_load_cc_rules_from_bzl (#351)
* [bazel] Add fixes for --incompatible_load_cc_rules_from_bzl
Starting with Bazel 1.0 (September 2019), C++ rules will need to be
loaded from the @rules_cc repository. This change adds the required
loads for that. For full compatibility, we will need versions of
googletest and google-benchmark that also includes these loads.
* Run buildifier again after merge
Diffstat (limited to 'absl/time/internal')
-rw-r--r-- | absl/time/internal/cctz/BUILD.bazel | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/absl/time/internal/cctz/BUILD.bazel b/absl/time/internal/cctz/BUILD.bazel index b05c2347..c7cb6b9d 100644 --- a/absl/time/internal/cctz/BUILD.bazel +++ b/absl/time/internal/cctz/BUILD.bazel @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") + package(features = ["-parse_headers"]) licenses(["notice"]) # Apache License @@ -77,10 +79,10 @@ cc_library( "include/cctz/zone_info_source.h", ], linkopts = select({ - ":osx": [ + ":ios": [ "-framework Foundation", ], - ":ios": [ + ":osx": [ "-framework Foundation", ], "//conditions:default": [], |