summaryrefslogtreecommitdiff
path: root/rules/CC/RULES
diff options
context:
space:
mode:
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"]