|
|
|
@ -27,7 +27,7 @@ pkg_files( |
|
|
|
|
pkg_files( |
|
|
|
|
name = "compiler_plugin_protos_files", |
|
|
|
|
srcs = [ |
|
|
|
|
"//src/google/protobuf/compiler:compiler_plugin_protos_files", |
|
|
|
|
"//src/google/protobuf/compiler:compiler_plugin_protos_files", |
|
|
|
|
], |
|
|
|
|
prefix = "include/google/protobuf/compiler", |
|
|
|
|
visibility = ["//visibility:private"], |
|
|
|
@ -304,10 +304,33 @@ gen_file_lists( |
|
|
|
|
testonly = 1, |
|
|
|
|
out_stem = "src_file_lists", |
|
|
|
|
src_libs = { |
|
|
|
|
# source rule: name in generated file |
|
|
|
|
# {[source rule]: [name in generated file]} |
|
|
|
|
# Libraries: |
|
|
|
|
":protobuf": "libprotobuf", |
|
|
|
|
":protoc": "libprotoc", |
|
|
|
|
":protobuf_lite": "libprotobuf_lite", |
|
|
|
|
":protoc": "libprotoc", |
|
|
|
|
# Protos: |
|
|
|
|
"//src/google/protobuf:well_known_type_protos": "wkt_protos", |
|
|
|
|
"//src/google/protobuf:descriptor_proto": "descriptor_proto", |
|
|
|
|
"//src/google/protobuf/compiler:plugin_proto": "plugin_proto", |
|
|
|
|
# Test libraries: |
|
|
|
|
":lite_test_util": "lite_test_util", |
|
|
|
|
":test_util": "test_util", |
|
|
|
|
# Tests and test-only protos: |
|
|
|
|
"//src/google/protobuf:full_test_srcs": "protobuf_test", |
|
|
|
|
"//src/google/protobuf:test_protos": "protobuf_test_protos", |
|
|
|
|
"//src/google/protobuf:lite_test_srcs": "protobuf_lite_test", |
|
|
|
|
"//src/google/protobuf:lite_test_protos": "protobuf_lite_test_protos", |
|
|
|
|
"//src/google/protobuf/compiler:test_srcs": "compiler_test", |
|
|
|
|
":compiler_annotation_test_util": "annotation_test_util", |
|
|
|
|
":compiler_mock_code_generator": "mock_code_generator", |
|
|
|
|
"//src/google/protobuf/compiler:test_proto_srcs": "compiler_test_protos", |
|
|
|
|
"//src/google/protobuf/compiler:test_plugin_srcs": "test_plugin", |
|
|
|
|
"//src/google/protobuf/io:test_srcs": "io_test", |
|
|
|
|
":testinglib": "testing", |
|
|
|
|
"//src/google/protobuf/util:test_srcs": "util_test", |
|
|
|
|
"//src/google/protobuf/util:test_proto_srcs": "util_test_protos", |
|
|
|
|
"//src/google/protobuf/stubs:test_srcs": "stubs_test", |
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
|
|
|
|
|
@ -362,15 +385,15 @@ cc_dist_library( |
|
|
|
|
}), |
|
|
|
|
tags = ["manual"], |
|
|
|
|
deps = [ |
|
|
|
|
"//src/google/protobuf", |
|
|
|
|
"//src/google/protobuf:arena", |
|
|
|
|
"//src/google/protobuf:protobuf_lite", |
|
|
|
|
"//src/google/protobuf/compiler:importer", |
|
|
|
|
"//src/google/protobuf/io", |
|
|
|
|
"//src/google/protobuf/io:gzip_stream", |
|
|
|
|
"//src/google/protobuf/io:io_win32", |
|
|
|
|
"//src/google/protobuf/io:printer", |
|
|
|
|
"//src/google/protobuf/io:tokenizer", |
|
|
|
|
"//src/google/protobuf:protobuf", |
|
|
|
|
"//src/google/protobuf:protobuf_lite", |
|
|
|
|
"//src/google/protobuf/stubs", |
|
|
|
|
"//src/google/protobuf/stubs:lite", |
|
|
|
|
"//src/google/protobuf/util:delimited_message_util", |
|
|
|
@ -379,6 +402,14 @@ cc_dist_library( |
|
|
|
|
"//src/google/protobuf/util:json_util", |
|
|
|
|
"//src/google/protobuf/util:time_util", |
|
|
|
|
"//src/google/protobuf/util:type_resolver_util", |
|
|
|
|
"//src/google/protobuf/util/internal:datapiece", |
|
|
|
|
"//src/google/protobuf/util/internal:default_value", |
|
|
|
|
"//src/google/protobuf/util/internal:field_mask_utility", |
|
|
|
|
"//src/google/protobuf/util/internal:json", |
|
|
|
|
"//src/google/protobuf/util/internal:object_writer", |
|
|
|
|
"//src/google/protobuf/util/internal:protostream", |
|
|
|
|
"//src/google/protobuf/util/internal:type_info", |
|
|
|
|
"//src/google/protobuf/util/internal:utility", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
@ -398,6 +429,41 @@ cc_dist_library( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
cc_dist_library( |
|
|
|
|
name = "lite_test_util", |
|
|
|
|
testonly = 1, |
|
|
|
|
tags = ["manual"], |
|
|
|
|
deps = ["//src/google/protobuf:lite_test_util"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
cc_dist_library( |
|
|
|
|
name = "test_util", |
|
|
|
|
testonly = 1, |
|
|
|
|
tags = ["manual"], |
|
|
|
|
deps = ["//src/google/protobuf:test_util"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
cc_dist_library( |
|
|
|
|
name = "compiler_annotation_test_util", |
|
|
|
|
deps = ["//src/google/protobuf/compiler:annotation_test_util"], |
|
|
|
|
testonly = 1, |
|
|
|
|
tags = ["manual"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
cc_dist_library( |
|
|
|
|
name = "compiler_mock_code_generator", |
|
|
|
|
deps = ["//src/google/protobuf/compiler:mock_code_generator"], |
|
|
|
|
testonly = 1, |
|
|
|
|
tags = ["manual"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
cc_dist_library( |
|
|
|
|
name = "testinglib", |
|
|
|
|
deps = ["//src/google/protobuf/testing"], |
|
|
|
|
testonly = 1, |
|
|
|
|
tags = ["manual"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
################################################################################ |
|
|
|
|
# Distribution sources |
|
|
|
|
################################################################################ |
|
|
|
|