From f47851aebb7763da72df7e73a64660fd8084f86a Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 31 Mar 2023 17:35:26 +0200 Subject: bootstrap: Replace prebuilt imports by pkgconfig --- etc/import.pkgconfig/TARGETS.bazel_remote_apis | 19 ++++++++++++ etc/import.pkgconfig/TARGETS.boringssl | 9 ++++++ etc/import.pkgconfig/TARGETS.cli11 | 3 ++ etc/import.pkgconfig/TARGETS.fmt | 3 ++ etc/import.pkgconfig/TARGETS.git2 | 5 ++++ etc/import.pkgconfig/TARGETS.google_apis | 35 ++++++++++++++++++++++ etc/import.pkgconfig/TARGETS.grpc | 10 +++++++ etc/import.pkgconfig/TARGETS.gsl | 5 ++++ etc/import.pkgconfig/TARGETS.json | 5 ++++ etc/import.pkgconfig/TARGETS.protobuf | 19 ++++++++++++ etc/import.pkgconfig/bin/TARGETS.grpc | 3 ++ etc/import.pkgconfig/bin/TARGETS.protobuf | 1 + .../include/TARGETS.bazel_remote_apis | 7 +++++ etc/import.pkgconfig/include/TARGETS.google_apis | 11 +++++++ 14 files changed, 135 insertions(+) create mode 100644 etc/import.pkgconfig/TARGETS.bazel_remote_apis create mode 100644 etc/import.pkgconfig/TARGETS.boringssl create mode 100644 etc/import.pkgconfig/TARGETS.cli11 create mode 100644 etc/import.pkgconfig/TARGETS.fmt create mode 100644 etc/import.pkgconfig/TARGETS.git2 create mode 100644 etc/import.pkgconfig/TARGETS.google_apis create mode 100644 etc/import.pkgconfig/TARGETS.grpc create mode 100644 etc/import.pkgconfig/TARGETS.gsl create mode 100644 etc/import.pkgconfig/TARGETS.json create mode 100644 etc/import.pkgconfig/TARGETS.protobuf create mode 100644 etc/import.pkgconfig/bin/TARGETS.grpc create mode 100644 etc/import.pkgconfig/bin/TARGETS.protobuf create mode 100644 etc/import.pkgconfig/include/TARGETS.bazel_remote_apis create mode 100644 etc/import.pkgconfig/include/TARGETS.google_apis (limited to 'etc/import.pkgconfig') diff --git a/etc/import.pkgconfig/TARGETS.bazel_remote_apis b/etc/import.pkgconfig/TARGETS.bazel_remote_apis new file mode 100644 index 00000000..9c16e433 --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.bazel_remote_apis @@ -0,0 +1,19 @@ +{ "semver_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["semver_proto"] + , "srcs": [["include", "semver_proto_file"]] + } +, "remote_execution_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["remote_execution_proto"] + , "service": ["yes"] + , "srcs": [["include", "remote_execution_proto_file"]] + , "deps": + [ "semver_proto" + , ["@", "google_apis", "", "google_api_annotations_proto"] + , ["@", "google_apis", "", "google_api_http_proto"] + , ["@", "google_apis", "", "google_longrunning_operations_proto"] + , ["@", "google_apis", "", "google_rpc_status_proto"] + ] + } +} diff --git a/etc/import.pkgconfig/TARGETS.boringssl b/etc/import.pkgconfig/TARGETS.boringssl new file mode 100644 index 00000000..d7596e4e --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.boringssl @@ -0,0 +1,9 @@ +{ "ssl": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["libssl"] + } +, "crypto": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["libcrypto"] + } +} diff --git a/etc/import.pkgconfig/TARGETS.cli11 b/etc/import.pkgconfig/TARGETS.cli11 new file mode 100644 index 00000000..8ad894c7 --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.cli11 @@ -0,0 +1,3 @@ +{ "cli11": + {"type": ["@", "rules", "CC/pkgconfig", "system_library"], "name": ["CLI11"]} +} diff --git a/etc/import.pkgconfig/TARGETS.fmt b/etc/import.pkgconfig/TARGETS.fmt new file mode 100644 index 00000000..49b9bfce --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.fmt @@ -0,0 +1,3 @@ +{ "fmt": + {"type": ["@", "rules", "CC/pkgconfig", "system_library"], "name": ["fmt"]} +} diff --git a/etc/import.pkgconfig/TARGETS.git2 b/etc/import.pkgconfig/TARGETS.git2 new file mode 100644 index 00000000..9c70d4d5 --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.git2 @@ -0,0 +1,5 @@ +{ "git2": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["libgit2"] + } +} diff --git a/etc/import.pkgconfig/TARGETS.google_apis b/etc/import.pkgconfig/TARGETS.google_apis new file mode 100644 index 00000000..1e579e50 --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.google_apis @@ -0,0 +1,35 @@ +{ "google_api_http_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["google_api_http_proto"] + , "srcs": [["include", "google_api_http_proto_file"]] + } +, "google_api_annotations_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["google_api_annotations_proto"] + , "srcs": [["include", "google_api_annotations_proto_file"]] + , "deps": ["google_api_http_proto"] + } +, "google_bytestream_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["google_bytestream_proto"] + , "service": ["yes"] + , "srcs": [["include", "google_bytestream_proto_file"]] + , "deps": ["google_api_annotations_proto"] + } +, "google_rpc_status_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["google_rpc_status_proto"] + , "srcs": [["include", "google_rpc_status_proto_file"]] + } +, "google_longrunning_operations_proto": + { "type": ["@", "rules", "proto", "library"] + , "name": ["google_longrunning_operations_proto"] + , "srcs": [["include", "google_longrunning_operations_proto_file"]] + , "service": ["yes"] + , "deps": + [ "google_api_annotations_proto" + , "google_api_http_proto" + , "google_rpc_status_proto" + ] + } +} diff --git a/etc/import.pkgconfig/TARGETS.grpc b/etc/import.pkgconfig/TARGETS.grpc new file mode 100644 index 00000000..eb5bca6e --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.grpc @@ -0,0 +1,10 @@ +{ "grpc_cpp_plugin": {"type": "install", "deps": [["bin", "grpc_cpp_plugin"]]} +, "grpc++": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["grpc++"] + } +, "grpc": + {"type": ["@", "rules", "CC/pkgconfig", "system_library"], "name": ["grpc"]} +, "gpr": + {"type": ["@", "rules", "CC/pkgconfig", "system_library"], "name": ["gpr"]} +} diff --git a/etc/import.pkgconfig/TARGETS.gsl b/etc/import.pkgconfig/TARGETS.gsl new file mode 100644 index 00000000..e73040f5 --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.gsl @@ -0,0 +1,5 @@ +{ "gsl-lite": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["gsl-lite"] + } +} diff --git a/etc/import.pkgconfig/TARGETS.json b/etc/import.pkgconfig/TARGETS.json new file mode 100644 index 00000000..9e4ff515 --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.json @@ -0,0 +1,5 @@ +{ "json": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["nlohmann_json"] + } +} diff --git a/etc/import.pkgconfig/TARGETS.protobuf b/etc/import.pkgconfig/TARGETS.protobuf new file mode 100644 index 00000000..bd67145a --- /dev/null +++ b/etc/import.pkgconfig/TARGETS.protobuf @@ -0,0 +1,19 @@ +{ "protoc": {"type": "install", "deps": [["bin", "protoc"]]} +, "libprotoc": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["libprotoc"] + } +, "libprotobuf": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["protobuf"] + } +, "libprotobuf_lite": + { "type": ["@", "rules", "CC/pkgconfig", "system_library"] + , "name": ["protobuf-lite"] + } +, "toolchain": + { "type": "install" + , "files": {"bin/protoc": "protoc"} + , "deps": [["TREE", null, "include/google/protobuf"]] + } +} diff --git a/etc/import.pkgconfig/bin/TARGETS.grpc b/etc/import.pkgconfig/bin/TARGETS.grpc new file mode 100644 index 00000000..b30f33b0 --- /dev/null +++ b/etc/import.pkgconfig/bin/TARGETS.grpc @@ -0,0 +1,3 @@ +{ "grpc_cpp_plugin": + {"type": "install", "deps": [["FILE", null, "grpc_cpp_plugin"]]} +} diff --git a/etc/import.pkgconfig/bin/TARGETS.protobuf b/etc/import.pkgconfig/bin/TARGETS.protobuf new file mode 100644 index 00000000..31de4114 --- /dev/null +++ b/etc/import.pkgconfig/bin/TARGETS.protobuf @@ -0,0 +1 @@ +{"protoc": {"type": "install", "deps": [["FILE", null, "protoc"]]}} diff --git a/etc/import.pkgconfig/include/TARGETS.bazel_remote_apis b/etc/import.pkgconfig/include/TARGETS.bazel_remote_apis new file mode 100644 index 00000000..6b4bcf21 --- /dev/null +++ b/etc/import.pkgconfig/include/TARGETS.bazel_remote_apis @@ -0,0 +1,7 @@ +{ "semver_proto_file": + {"type": "install", "deps": ["build/bazel/semver/semver.proto"]} +, "remote_execution_proto_file": + { "type": "install" + , "deps": ["build/bazel/remote/execution/v2/remote_execution.proto"] + } +} diff --git a/etc/import.pkgconfig/include/TARGETS.google_apis b/etc/import.pkgconfig/include/TARGETS.google_apis new file mode 100644 index 00000000..5f7500ae --- /dev/null +++ b/etc/import.pkgconfig/include/TARGETS.google_apis @@ -0,0 +1,11 @@ +{ "google_api_http_proto_file": + {"type": "install", "deps": ["google/api/http.proto"]} +, "google_api_annotations_proto_file": + {"type": "install", "deps": ["google/api/annotations.proto"]} +, "google_bytestream_proto_file": + {"type": "install", "deps": ["google/bytestream/bytestream.proto"]} +, "google_rpc_status_proto_file": + {"type": "install", "deps": ["google/rpc/status.proto"]} +, "google_longrunning_operations_proto_file": + {"type": "install", "deps": ["google/longrunning/operations.proto"]} +} -- cgit v1.2.3