Home
last modified time | relevance | path

Searched refs:variables (Results 1 – 25 of 36) sorted by relevance

12

/build/make/tools/
Dproduct_debug.py42 def render_variables(variables): argument
43 variables = dict(variables)
44 del variables["FILE"]
45 variables = list(variables.iteritems())
46 variables.sort(lambda a, b: cmp(a[0], b[0]))
49 for key,val in variables])
52 def linkify_inherit(variables, text, func_name): argument
61 href = ("../" * variables["FILE"].count("/")) + href + ".html"
66 def render_original(variables, text): argument
67 text = linkify_inherit(variables, text, "inherit-product")
[all …]
/build/soong/android/
Darch.go1444 variables := config.productVariables
1479 if variables.HostArch == nil {
1483 addTarget(BuildOs, *variables.HostArch, nil, nil, nil, NativeBridgeDisabled, nil, nil)
1485 if variables.HostSecondaryArch != nil && *variables.HostSecondaryArch != "" {
1486 addTarget(BuildOs, *variables.HostSecondaryArch, nil, nil, nil, NativeBridgeDisabled, nil, nil)
1493 if String(variables.CrossHost) != "" {
1494 crossHostOs := osByName(*variables.CrossHost)
1496 return nil, fmt.Errorf("Unknown cross host OS %q", *variables.CrossHost)
1499 if String(variables.CrossHostArch) == "" {
1503 addTarget(crossHostOs, *variables.CrossHostArch, nil, nil, nil, NativeBridgeDisabled, nil, nil)
[all …]
Dsoong_config_modules_test.go46 variables: ["board", "feature1", "FEATURE3"],
/build/blueprint/
Dninja_strings.go40 Eval(variables map[Variable]ninjaString) (string, error)
46 variables []Variable member
71 if len(ps.result.variables) == len(ps.result.strings) {
78 ps.result.variables = append(ps.result.variables, v)
82 if len(ps.result.strings) != len(ps.result.variables) {
105 variables: make([]Variable, 0, n),
299 for i, v := range n.variables {
309 func (n varNinjaString) Eval(variables map[Variable]ninjaString) (string, error) {
311 for i, v := range n.variables {
312 variable, ok := variables[v]
[all …]
Dlive_tracker.go27 variables map[Variable]ninjaString member
35 variables: make(map[Variable]ninjaString),
154 _, ok := l.variables[v]
167 l.variables[v] = value
202 _, isLive := l.variables[v]
204 delete(l.variables, v)
Dscope.go59 variables map[string]Variable member
68 variables: make(map[string]Variable),
128 v, ok := importedScope.variables[varName]
138 v, ok := s.variables[name]
219 _, present := s.variables[name]
223 s.variables[name] = v
Dninja_strings_test.go132 variables: expectedVars,
173 if !reflect.DeepEqual(output.(*varNinjaString).variables, expect) {
Dsingleton_ctx.go224 s.actionDefs.variables = append(s.actionDefs.variables, v)
266 return ninjaStr.Eval(s.globals.variables)
Dninja_defs.go440 func writeVariables(nw *ninjaWriter, variables map[string]ninjaString,
443 for k := range variables {
449 err := nw.ScopedAssign(name, variables[name].Value(pkgNames))
Dcontext.go156 variables []*localVariable member
2079 c.checkForVariableReferenceCycles(c.liveGlobals.variables, pkgNames)
2082 c.globalVariables = c.liveGlobals.variables
2607 for _, v := range in.variables {
2610 out.variables = append(out.variables, v)
2879 for v, _ := range liveGlobals.variables {
2905 variables map[Variable]ninjaString, pkgNames map[*packageContext]string) {
2917 value := variables[v]
2940 nextValue := variables[next].Value(pkgNames)
2966 for v := range variables {
[all …]
/build/soong/androidmk/parser/
Dscope.go29 variables map[string]string member
35 if val, ok := s.variables[name]; ok {
47 s.variables[name] = value
64 variables: make(map[string]string),
/build/make/tools/atree/
Dfiles.cpp129 const map<string, string>& variables, in replace_variables() argument
131 if (variables.empty()) { in replace_variables()
150 for (map<string, string>::const_iterator it = variables.begin(); in replace_variables()
151 it != variables.end(); ++it) { in replace_variables()
164 for (map<string, string>::const_iterator it = variables.begin(); in replace_variables()
165 it != variables.end(); ++it) { in replace_variables()
179 const map<string, string>& variables, in read_list_file() argument
288 paths[pcount++] = replace_variables(word, variables, &error); in read_list_file()
Dfiles.h41 const map<string, string>& variables,
/build/make/tools/fs_config/
Dpylintrc5 dummy-variables-rgx=_|dummy
/build/soong/cc/
Dpylintrc11 dummy-variables-rgx=_|dummy
/build/soong/scripts/
Dbuild-ndk-prebuilts.sh41 cat > ${SOONG_OUT}/soong.variables << EOF
Dbuild-aml-prebuilts.sh66 readonly SOONG_VARS=${SOONG_OUT}/soong.variables
/build/soong/android/soongconfig/
Dmodules.go43 variables: make(map[string]soongConfigVariable),
68 if v, ok := mtDef.variables[varName]; ok {
203 v.variables[base.variable] = &stringVariable{
217 v.variables[base.variable] = &boolVariable{
248 variables map[string]soongConfigVariable member
/build/make/
DChanges.md5 ### Product variables
8 product config variables.
131 environment variables. Ninja does not track when environment variables change
132 in order to trigger rebuilds, so changing behavior based on arbitrary variables
135 Kati and Soong can safely use environment variables, so the expectation is that
136 you'd embed any environment variables that you need to use within the command
143 to allow specific variables to be passed through until you've fixed the rules.
405 of environment variables they can access changes. If device specific
416 We expect to limit the environment variables that the build respects in the
417 future, others will be cleared. (There will be methods to get custom variables
[all …]
DUsage.txt78 Here are some common variables and their meanings:
87 list of supported variables. Please mention it here when there is.
/build/soong/docs/
Dcompdb.md27 variables set the compdb will only include files in included modules.
/build/blueprint/bootstrap/
Dbuild.ninja3 # Expected input variables:
/build/make/core/
Dproduct.mk566 define readonly-variables
573 $(call readonly-variables,$(_readonly_early_variables))
577 $(call readonly-variables,$(_readonly_late_variables))
/build/soong/bpfix/bpfix/
Dbpfix_test.go949 variables: ["bar", "baz"],
963 variables: [
979 variables: ["baz"],
/build/soong/
DREADME.md88 Variables and properties are strongly typed, variables dynamically based on the
368 The tool converts variables, modules, comments, and some conditionals, but any
417 can be supported through Soong config variables using `soong_config_*`
418 modules that describe the module types, variables and possible values:
425 variables: ["board"],
439 variables `board`, `feature` and `width`, which can affect properties `cflags`
442 The values of the variables can be set from a product's `BoardConfig.mk` file:

12