summaryrefslogtreecommitdiff
path: root/rules/CC/RULES
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-05-13 12:14:31 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-05-13 12:14:31 +0200
commit6c139a965a5020a4bd5f2fde3f19525443a96ac7 (patch)
tree9181d04792303bd8e23456b55dce14cc0bcbd377 /rules/CC/RULES
parenteb538cf68b7fa89980f0c45a27d199687f76b945 (diff)
parent1365efcaa32c7f4752e3caaa7e45c81b4ed7e3d8 (diff)
downloadrules-cc-6c139a965a5020a4bd5f2fde3f19525443a96ac7.tar.gz
Merge commit '1365efcaa32c7f4752e3caaa7e45c81b4ed7e3d8' into HEAD
Diffstat (limited to 'rules/CC/RULES')
-rw-r--r--rules/CC/RULES9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules/CC/RULES b/rules/CC/RULES
index 2ba9db8..2c381a6 100644
--- a/rules/CC/RULES
+++ b/rules/CC/RULES
@@ -371,6 +371,7 @@
, "AR"
, "ENV"
, "BUILD_POSITION_INDEPENDENT"
+ , "DEBUG"
]
, "implicit": {"defaults": ["defaults"]}
, "field_doc":
@@ -502,6 +503,7 @@
]
, "ENV": ["The environment for any action generated."]
, "BUILD_POSITION_INDEPENDENT": ["Build with -fPIC."]
+ , "DEBUG": ["Compute the debug-stage, needed for local debugging."]
}
, "artifacts_doc":
["The actual library (libname.a) staged in the specified directory"]
@@ -519,6 +521,7 @@
[ "List of strings that have to be added to the command line for linking actions"
, "in targets depending on this library"
]
+ , "debug-srcs": ["Map of all dependencies' sources needed for debugging."]
}
, "anonymous":
{ "proto-deps":
@@ -693,6 +696,7 @@
, "ADD_LDFLAGS"
, "ENV"
, "BUILD_POSITION_INDEPENDENT"
+ , "DEBUG"
]
, "implicit": {"defaults": ["defaults"]}
, "field_doc":
@@ -759,9 +763,12 @@
]
, "ENV": ["The environment for any action generated."]
, "BUILD_POSITION_INDEPENDENT": ["Build with -fPIC."]
+ , "DEBUG": ["Compute the debug-stage, needed for local debugging."]
}
, "artifacts_doc": ["The final binary, staged to the given directory"]
, "runfiles_doc": ["None"]
+ , "provides_doc":
+ {"debug-srcs": ["Map of all dependencies' sources needed for debugging."]}
, "anonymous":
{ "private-proto-deps":
{ "target": "private-proto"
@@ -837,6 +844,8 @@
, "the target, artifacts and dependencies will be installed to"
, "subdirectories \"bin\", \"include\", and \"lib\". For library targets,"
, "a pkg-config file is generated and provided in \"lib/pkgconfig\"."
+ , "In debug mode, sources needed for local debugging will be installed to"
+ , "subdirectory \"debug-src\"."
]
, "config_vars": ["PREFIX"]
, "target_fields": ["targets"]