TemplateVariableInfo
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
8.1
·
8.0
·
7.5
·
7.4
Encapsulates template variables, that is, variables that can be referenced by strings like $(VARIABLE)
in BUILD files and expanded by ctx.expand_make_variables
and implicitly in certain attributes of built-in rules.
TemplateVariableInfo
can be created by calling its eponymous constructor with a string-to-string dict as an argument that specifies the variables provided.
Example: platform_common.TemplateVariableInfo({'FOO': 'bar'})
Members
variables
dict TemplateVariableInfo.variables
Returns the make variables defined by this target as a dictionary with string keys and string values
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
[null,null,["Last updated 2025-03-05 UTC."],[],[]]