Add a getter for --grte_top value
RELNOTES: None.
@@ -1229,4 +1229,11 @@ public final class CppConfiguration extends BuildConfiguration.Fragment
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;
+ }
}
