From dad85f16575c5b89466a93937a1197c9a4097180 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 20 Jun 2024 15:57:51 +0200 Subject: CC: Fix some doc typos --- CC/proto/RULES | 4 ++-- CC/test/RULES | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CC/proto/RULES b/CC/proto/RULES index 2e78799..1f9051c 100644 --- a/CC/proto/RULES +++ b/CC/proto/RULES @@ -266,7 +266,7 @@ } , "library": { "doc": - [ "A library C++ library, generated from proto files." + [ "A C++ library, generated from proto files." , "" , "This rule usually is used to bind anonymous targets generated from" , "proto libraries." @@ -295,7 +295,7 @@ } , "service library": { "doc": - [ "A service library C++ library, generated from proto files." + [ "A service C++ library, generated from proto files." , "" , "Calls protoc with gRPC plugin to additionally generate gRPC services" , "from proto libraries." diff --git a/CC/test/RULES b/CC/test/RULES index 850d242..057d3da 100644 --- a/CC/test/RULES +++ b/CC/test/RULES @@ -50,7 +50,7 @@ , "" , "This running of the test is carried out by the implicit dependency" , "on the target \"runner\". By setting this target in the target layer" - , "of this rues repository (instead of letting it default to the" + , "of this rules repository (instead of letting it default to the" , "respective file), the C/C++ test environment can be modified globally." ] , "private-hdrs": -- cgit v1.2.3 From cdd0b740cdaf6fd54d479766f8be45352f238bd4 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 20 Jun 2024 17:09:57 +0200 Subject: CC/proto: Libraries should be aware of DEBUG flag --- CC/proto/EXPRESSIONS | 1 + CC/proto/RULES | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CC/proto/EXPRESSIONS b/CC/proto/EXPRESSIONS index 2286d06..0b44506 100644 --- a/CC/proto/EXPRESSIONS +++ b/CC/proto/EXPRESSIONS @@ -128,6 +128,7 @@ , "ADD_CXXFLAGS" , "AR" , "ENV" + , "DEBUG" , "name" , "stage" , "service support" diff --git a/CC/proto/RULES b/CC/proto/RULES index 1f9051c..abea997 100644 --- a/CC/proto/RULES +++ b/CC/proto/RULES @@ -273,7 +273,7 @@ ] , "string_fields": ["name", "stage"] , "target_fields": ["srcs", "deps"] - , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV"] + , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV", "DEBUG"] , "implicit": {"defaults": [["./", "..", "defaults"]], "proto-defaults": ["defaults"]} , "imports": {"protoc-compile": "protoc-compile"} @@ -302,7 +302,7 @@ ] , "string_fields": ["name", "stage"] , "target_fields": ["srcs", "deps"] - , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV"] + , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV", "DEBUG"] , "implicit": { "defaults": [["./", "..", "defaults"]] , "proto-defaults": ["service defaults"] -- cgit v1.2.3