diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-05-13 12:14:31 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-05-13 12:14:31 +0200 |
commit | 6c139a965a5020a4bd5f2fde3f19525443a96ac7 (patch) | |
tree | 9181d04792303bd8e23456b55dce14cc0bcbd377 /rules/CC/RULES | |
parent | eb538cf68b7fa89980f0c45a27d199687f76b945 (diff) | |
parent | 1365efcaa32c7f4752e3caaa7e45c81b4ed7e3d8 (diff) | |
download | rules-cc-6c139a965a5020a4bd5f2fde3f19525443a96ac7.tar.gz |
Merge commit '1365efcaa32c7f4752e3caaa7e45c81b4ed7e3d8' into HEAD
Diffstat (limited to 'rules/CC/RULES')
-rw-r--r-- | rules/CC/RULES | 9 |
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"] |