commit | 60915886f1ba1c8b23a95f56e03913e7194290cc | [log] [tgz] |
---|---|---|
author | rosica <rosica@google.com> | Wed Aug 29 06:05:08 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Wed Aug 29 06:06:57 2018 -0700 |
tree | bc3c6bff167eaafd31494a8af2af07f39730a8ac | |
parent | 5f460448e40a6cc51a11066278993ce99d994541 [diff] |
Add a getter for --grte_top value RELNOTES: None. PiperOrigin-RevId: 210708961
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppConfiguration.java index 00be2f2..29ef01a 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppConfiguration.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppConfiguration.java
@@ -1229,4 +1229,11 @@ boolean enableCcToolchainConfigInfoFromSkylark() { return cppOptions.enableCcToolchainConfigInfoFromSkylark; } + + /** + * Returns the value of the libc top-level directory (--grte_top) as specified on the command line + */ + public Label getLibcTopLabel() { + return cppOptions.libcTopLabel; + } }