aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2018-08-13 12:58:55 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2018-08-13 14:41:27 -0700
commitbde4eaf137c5c5ee3f6ffa4288307750d95c6281 (patch)
tree6a67c40a8f187055fd0e7e3ffc4f3dee63b1bf93 /BUILD
parent4c70c9cb179099349d2eed8e0c8601399bb562b1 (diff)
downloadprotobuf-bde4eaf137c5c5ee3f6ffa4288307750d95c6281.tar.gz
protobuf-bde4eaf137c5c5ee3f6ffa4288307750d95c6281.tar.bz2
protobuf-bde4eaf137c5c5ee3f6ffa4288307750d95c6281.zip
Update build files.
* Fixes https://github.com/google/protobuf/issues/5031 * Fixes https://github.com/google/protobuf/issues/5037
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index 884e32f3..25c41a42 100644
--- a/BUILD
+++ b/BUILD
@@ -111,7 +111,7 @@ cc_library(
"src/google/protobuf/stubs/time.cc",
"src/google/protobuf/wire_format_lite.cc",
],
- hdrs = glob(["src/google/protobuf/**/*.h"]),
+ hdrs = glob(["src/google/protobuf/**/*.h", "src/google/protobuf/**/*.inc"]),
copts = COPTS,
includes = ["src/"],
linkopts = LINK_OPTS,
@@ -178,7 +178,7 @@ cc_library(
"src/google/protobuf/wire_format.cc",
"src/google/protobuf/wrappers.pb.cc",
],
- hdrs = glob(["src/**/*.h"]),
+ hdrs = glob(["src/**/*.h", "src/**/*.inc"]),
copts = COPTS,
includes = ["src/"],
linkopts = LINK_OPTS,
@@ -356,6 +356,7 @@ cc_library(
"src/google/protobuf/compiler/plugin.pb.cc",
"src/google/protobuf/compiler/python/python_generator.cc",
"src/google/protobuf/compiler/ruby/ruby_generator.cc",
+ "src/google/protobuf/compiler/scc.cc",
"src/google/protobuf/compiler/subprocess.cc",
"src/google/protobuf/compiler/zip_writer.cc",
],
@@ -436,6 +437,7 @@ RELATIVE_TEST_PROTOS = [
"google/protobuf/unittest_optimize_for.proto",
"google/protobuf/unittest_preserve_unknown_enum.proto",
"google/protobuf/unittest_preserve_unknown_enum2.proto",
+ "google/protobuf/unittest_proto3.proto",
"google/protobuf/unittest_proto3_arena.proto",
"google/protobuf/unittest_proto3_arena_lite.proto",
"google/protobuf/unittest_proto3_lite.proto",
@@ -451,6 +453,7 @@ RELATIVE_TEST_PROTOS = [
"google/protobuf/util/internal/testdata/struct.proto",
"google/protobuf/util/internal/testdata/timestamp_duration.proto",
"google/protobuf/util/internal/testdata/wrappers.proto",
+ "google/protobuf/util/json_format.proto",
"google/protobuf/util/json_format_proto3.proto",
"google/protobuf/util/message_differencer_unittest.proto",
]
@@ -545,6 +548,7 @@ cc_test(
"src/google/protobuf/proto3_arena_lite_unittest.cc",
"src/google/protobuf/proto3_arena_unittest.cc",
"src/google/protobuf/proto3_lite_unittest.cc",
+ "src/google/protobuf/proto3_lite_unittest.inc",
"src/google/protobuf/reflection_ops_unittest.cc",
"src/google/protobuf/repeated_field_reflection_unittest.cc",
"src/google/protobuf/repeated_field_unittest.cc",