summaryrefslogtreecommitdiff
path: root/etc/defaults/CC
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-19 18:24:42 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-19 18:47:47 +0200
commit15da6ad2c6d61a8746e840b7a0d92b8b723fa788 (patch)
tree6c3292b7a3d106077a48185fd5f10b0c70a3da52 /etc/defaults/CC
parentd35cc739eb5bff4c2374b705d86421270239e36d (diff)
downloadrules-cc-15da6ad2c6d61a8746e840b7a0d92b8b723fa788.tar.gz
bundled tools: bring own defaults
... instead of using the strict -Wall defaults that are used for just.
Diffstat (limited to 'etc/defaults/CC')
-rw-r--r--etc/defaults/CC/TARGETS3
-rw-r--r--etc/defaults/CC/auto/TARGETS1
-rw-r--r--etc/defaults/CC/proto/TARGETS14
-rw-r--r--etc/defaults/CC/test/TARGETS1
4 files changed, 19 insertions, 0 deletions
diff --git a/etc/defaults/CC/TARGETS b/etc/defaults/CC/TARGETS
new file mode 100644
index 0000000..6e095cc
--- /dev/null
+++ b/etc/defaults/CC/TARGETS
@@ -0,0 +1,3 @@
+{ "defaults":
+ {"type": ["CC", "defaults"], "base": [["@", "base", "CC", "defaults"]]}
+}
diff --git a/etc/defaults/CC/auto/TARGETS b/etc/defaults/CC/auto/TARGETS
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/etc/defaults/CC/auto/TARGETS
@@ -0,0 +1 @@
+{}
diff --git a/etc/defaults/CC/proto/TARGETS b/etc/defaults/CC/proto/TARGETS
new file mode 100644
index 0000000..95ae1b0
--- /dev/null
+++ b/etc/defaults/CC/proto/TARGETS
@@ -0,0 +1,14 @@
+{ "defaults":
+ { "type": ["CC/proto", "defaults"]
+ , "PROTOC": ["bin/protoc"]
+ , "deps": [["@", "protoc", "", "libprotobuf"]]
+ , "toolchain": [["@", "protoc", "", "toolchain"]]
+ }
+, "service defaults":
+ { "type": ["CC/proto", "defaults"]
+ , "base": ["defaults"]
+ , "GRPC_PLUGIN": ["grpc_cpp_plugin"]
+ , "deps": [["@", "grpc", "", "grpc++"]]
+ , "toolchain": [["@", "grpc", "", "grpc_cpp_plugin"]]
+ }
+}
diff --git a/etc/defaults/CC/test/TARGETS b/etc/defaults/CC/test/TARGETS
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/etc/defaults/CC/test/TARGETS
@@ -0,0 +1 @@
+{}