Index: third_party/android_protobuf/BUILD.gn |
diff --git a/third_party/android_protobuf/BUILD.gn b/third_party/android_protobuf/BUILD.gn |
index 252bc8d58b87e94bb88574771ebb2640dca2ba70..7863b07992999b93543e00d85b077becdcda45fb 100644 |
--- a/third_party/android_protobuf/BUILD.gn |
+++ b/third_party/android_protobuf/BUILD.gn |
@@ -13,32 +13,8 @@ if (current_toolchain == host_toolchain) { |
] |
sources = [ |
- "src/src/google/protobuf/descriptor.cc", |
- "src/src/google/protobuf/descriptor.pb.cc", |
- "src/src/google/protobuf/descriptor_database.cc", |
- "src/src/google/protobuf/dynamic_message.cc", |
- "src/src/google/protobuf/extension_set.cc", |
- "src/src/google/protobuf/extension_set_heavy.cc", |
- "src/src/google/protobuf/generated_message_reflection.cc", |
- "src/src/google/protobuf/generated_message_util.cc", |
- "src/src/google/protobuf/message.cc", |
- "src/src/google/protobuf/message_lite.cc", |
- "src/src/google/protobuf/reflection_ops.cc", |
- "src/src/google/protobuf/repeated_field.cc", |
- "src/src/google/protobuf/service.cc", |
- "src/src/google/protobuf/text_format.cc", |
- "src/src/google/protobuf/unknown_field_set.cc", |
- "src/src/google/protobuf/wire_format.cc", |
- "src/src/google/protobuf/wire_format_lite.cc", |
"src/src/google/protobuf/compiler/code_generator.cc", |
"src/src/google/protobuf/compiler/command_line_interface.cc", |
- "src/src/google/protobuf/compiler/importer.cc", |
- "src/src/google/protobuf/compiler/main.cc", |
- "src/src/google/protobuf/compiler/parser.cc", |
- "src/src/google/protobuf/compiler/plugin.cc", |
- "src/src/google/protobuf/compiler/plugin.pb.cc", |
- "src/src/google/protobuf/compiler/subprocess.cc", |
- "src/src/google/protobuf/compiler/zip_writer.cc", |
"src/src/google/protobuf/compiler/cpp/cpp_enum.cc", |
"src/src/google/protobuf/compiler/cpp/cpp_enum_field.cc", |
"src/src/google/protobuf/compiler/cpp/cpp_extension.cc", |
@@ -51,6 +27,7 @@ if (current_toolchain == host_toolchain) { |
"src/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc", |
"src/src/google/protobuf/compiler/cpp/cpp_service.cc", |
"src/src/google/protobuf/compiler/cpp/cpp_string_field.cc", |
+ "src/src/google/protobuf/compiler/importer.cc", |
"src/src/google/protobuf/compiler/java/java_enum.cc", |
"src/src/google/protobuf/compiler/java/java_enum_field.cc", |
"src/src/google/protobuf/compiler/java/java_extension.cc", |
@@ -81,7 +58,21 @@ if (current_toolchain == host_toolchain) { |
"src/src/google/protobuf/compiler/javanano/javanano_message.cc", |
"src/src/google/protobuf/compiler/javanano/javanano_message_field.cc", |
"src/src/google/protobuf/compiler/javanano/javanano_primitive_field.cc", |
+ "src/src/google/protobuf/compiler/main.cc", |
+ "src/src/google/protobuf/compiler/parser.cc", |
+ "src/src/google/protobuf/compiler/plugin.cc", |
+ "src/src/google/protobuf/compiler/plugin.pb.cc", |
"src/src/google/protobuf/compiler/python/python_generator.cc", |
+ "src/src/google/protobuf/compiler/subprocess.cc", |
+ "src/src/google/protobuf/compiler/zip_writer.cc", |
+ "src/src/google/protobuf/descriptor.cc", |
+ "src/src/google/protobuf/descriptor.pb.cc", |
+ "src/src/google/protobuf/descriptor_database.cc", |
+ "src/src/google/protobuf/dynamic_message.cc", |
+ "src/src/google/protobuf/extension_set.cc", |
+ "src/src/google/protobuf/extension_set_heavy.cc", |
+ "src/src/google/protobuf/generated_message_reflection.cc", |
+ "src/src/google/protobuf/generated_message_util.cc", |
"src/src/google/protobuf/io/coded_stream.cc", |
"src/src/google/protobuf/io/gzip_stream.cc", |
"src/src/google/protobuf/io/printer.cc", |
@@ -89,12 +80,21 @@ if (current_toolchain == host_toolchain) { |
"src/src/google/protobuf/io/zero_copy_stream.cc", |
"src/src/google/protobuf/io/zero_copy_stream_impl.cc", |
"src/src/google/protobuf/io/zero_copy_stream_impl_lite.cc", |
+ "src/src/google/protobuf/message.cc", |
+ "src/src/google/protobuf/message_lite.cc", |
+ "src/src/google/protobuf/reflection_ops.cc", |
+ "src/src/google/protobuf/repeated_field.cc", |
+ "src/src/google/protobuf/service.cc", |
"src/src/google/protobuf/stubs/common.cc", |
"src/src/google/protobuf/stubs/hash.cc", |
"src/src/google/protobuf/stubs/once.cc", |
"src/src/google/protobuf/stubs/structurally_valid.cc", |
"src/src/google/protobuf/stubs/strutil.cc", |
"src/src/google/protobuf/stubs/substitute.cc", |
+ "src/src/google/protobuf/text_format.cc", |
+ "src/src/google/protobuf/unknown_field_set.cc", |
+ "src/src/google/protobuf/wire_format.cc", |
+ "src/src/google/protobuf/wire_format_lite.cc", |
] |
include_dirs = [ |