From 03e04c6010e9a26f09f52a95239d2fccbd60ea3b Mon Sep 17 00:00:00 2001 From: "William D. Irons" Date: Mon, 27 Jan 2020 14:15:34 +0000 Subject: [PATCH] Restore freebsd and windows keys so they can be used in the flatc link options --- third_party/flatbuffers/BUILD.bazel | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/third_party/flatbuffers/BUILD.bazel b/third_party/flatbuffers/BUILD.bazel index 08b4b7a750b..b3991ea1462 100644 --- a/third_party/flatbuffers/BUILD.bazel +++ b/third_party/flatbuffers/BUILD.bazel @@ -8,6 +8,17 @@ exports_files(["LICENSE.txt"]) licenses(["notice"]) +config_setting( + name = "freebsd", + values = {"cpu": "freebsd"}, + visibility = ["//visibility:public"], +) + +config_setting( + name = "windows", + values = {"cpu": "x64_windows"}, +) + load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") # Public flatc library to compile flatbuffer files at runtime.