add :runtime_cc target (#4994)
authoriceboy <me@iceboy.org>
Mon, 15 Oct 2018 19:18:15 +0000 (12:18 -0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 15 Oct 2018 19:18:15 +0000 (12:18 -0700)
BUILD

diff --git a/BUILD b/BUILD
index a6e1a2d..631452c 100644 (file)
--- a/BUILD
+++ b/BUILD
@@ -104,6 +104,18 @@ cc_binary(
     ],
 )
 
+cc_library(
+    name = "runtime_cc",
+    hdrs = [
+        "include/flatbuffers/base.h",
+        "include/flatbuffers/flatbuffers.h",
+        "include/flatbuffers/stl_emulation.h",
+        "include/flatbuffers/util.h",
+    ],
+    includes = ["include/"],
+    linkstatic = 1,
+)
+
 # Test binary.
 cc_test(
     name = "flatbuffers_test",