Home
last modified time | relevance | path

Searched refs:Args (Results 1 – 25 of 109) sorted by relevance

12345

/build/soong/java/
Dplugin_test.go37 if javac.Args["processsorpath"] != "" {
38 t.Errorf("want empty processorpath, got %q", javac.Args["processorpath"])
41 if javac.Args["processor"] != "-proc:none" {
42 t.Errorf("want '-proc:none' argument, got %q", javac.Args["processor"])
76 if javac.Args["processorpath"] != "-processorpath "+bar {
77 t.Errorf("foo processorpath %q != '-processorpath %s'", javac.Args["processorpath"], bar)
80 if javac.Args["processor"] != "-processor com.bar" {
81 t.Errorf("foo processor %q != '-processor com.bar'", javac.Args["processor"])
116 if javac.Args["processorpath"] != "-processorpath "+bar {
117 t.Errorf("foo processorpath %q != '-processorpath %s'", javac.Args["processorpath"], bar)
[all …]
Dkotlin_test.go57 if !strings.Contains(fooJavac.Args["classpath"], fooKotlinc.Output.String()) {
59 fooJavac.Args["classpath"], fooKotlinc.Output.String())
138 if kotlinc.Args["srcJars"] != kapt.Output.String() {
139 t.Errorf("expected %q in kotlinc srcjars %v", kapt.Output.String(), kotlinc.Args["srcJars"])
141 if javac.Args["srcJars"] != kapt.Output.String() {
142 t.Errorf("expected %q in javac srcjars %v", kapt.Output.String(), kotlinc.Args["srcJars"])
148 if kapt.Args["kaptProcessorPath"] != expectedProcessorPath {
149 …t.Errorf("expected kaptProcessorPath %q, got %q", expectedProcessorPath, kapt.Args["kaptProcessorP…
152 if kapt.Args["kaptProcessor"] != expectedProcessor {
153 t.Errorf("expected kaptProcessor %q, got %q", expectedProcessor, kapt.Args["kaptProcessor"])
[all …]
Djava_test.go293 if !strings.Contains(javac.Args["classpath"], barTurbine) {
294 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barTurbine)
297 if !strings.Contains(javac.Args["classpath"], bazTurbine) {
298 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], bazTurbine)
381 if javac.Args["processor"] != want.processors {
382 …t.Errorf("For library %v, expected %v, found %v", want.library, want.processors, javac.Args["proce…
531 if !strings.Contains(javac.Args["classpath"], barJar.String()) {
532 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barJar.String())
535 if !strings.Contains(javac.Args["classpath"], sdklibStubsJar.String()) {
536 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], sdklibStubsJar.String())
[all …]
Ddevice_host_converter_test.go75 if hostJavac.Args["classpath"] != expectedClasspath {
77 expectedClasspath, hostJavac.Args["classpath"])
155 if deviceJavac.Args["classpath"] != expectedClasspath {
157 expectedClasspath, deviceJavac.Args["classpath"])
Dapp_test.go157 if s := params.Args["allow-prereleased"]; s != "true" {
160 if s := params.Args["partition"]; s != "system" {
229 if actual := params.Args[k]; actual != v {
739 aapt2Flags := aapt2link.Args["flags"]
1099 linkFlags := strings.Split(link.Args["flags"], " ")
1184 args := strings.Fields(jniLibZip.Args["jarArgs"])
1315 if g, w := !strings.Contains(jniLibZip.Args["jarArgs"], "-L 0"), test.compressed; g != w {
1551 signCertificateFlags := signapk.Args["certificates"]
1556 signFlags := signapk.Args["flags"]
1616 signFlags := signapk.Args["flags"]
[all …]
/build/soong/rust/
Dlibrary_test.go44 if !strings.Contains(libfooRlib.Args["rustcFlags"], "crate-type="+rlibCrateType) {
45 … for static variant, expecting %#v, rustcFlags: %#v", rlibCrateType, libfooRlib.Args["rustcFlags"])
49 if !strings.Contains(libfooDylib.Args["rustcFlags"], "crate-type="+dylibCrateType) {
50 …or static variant, expecting %#v, rustcFlags: %#v", dylibCrateType, libfooDylib.Args["rustcFlags"])
54 if !strings.Contains(libfooStatic.Args["rustcFlags"], "crate-type="+staticCrateType) {
55 … static variant, expecting %#v, rustcFlags: %#v", staticCrateType, libfooStatic.Args["rustcFlags"])
59 if !strings.Contains(libfooShared.Args["rustcFlags"], "crate-type="+sharedCrateType) {
60 …red variant, expecting %#v, got rustcFlags: %#v", sharedCrateType, libfooShared.Args["rustcFlags"])
76 if !strings.Contains(libfooDylib.Args["rustcFlags"], "prefer-dynamic") {
77 …t.Errorf("missing prefer-dynamic flag for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcF…
Dcompiler_test.go37 if !strings.Contains(libfooDylib.Args["rustcFlags"], "cfg 'feature=\"fizz\"'") ||
38 !strings.Contains(libfooDylib.Args["rustcFlags"], "cfg 'feature=\"buzz\"'") {
39 …ing fizz and buzz feature flags for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcFlags"])
Dbinary_test.go40 flags := fizzBuzzDynamic.Args["rustcFlags"]
48 flags = fizzBuzz.Args["rustcFlags"]
/build/soong/partner/androidmk/
Dandroidmk.go31 …e and attempts to output an analogous Android.bp file (to standard out)\n", os.Args[0], os.Args[0])
39 if len(flag.Args()) != 1 {
49 output, errs := androidmk.ConvertFile(os.Args[1], bytes.NewBuffer(b))
/build/soong/android/
Dwritedocs.go37 primaryBuilder, err := filepath.Rel(ctx.Config().BuildDir(), os.Args[0])
40 os.Args[0], ctx.Config().BuildDir())
57 primaryBuilder.String(), docsFile.String(), strings.Join(os.Args[1:], " ")),
66 Args: map[string]string{
/build/blueprint/microfactory/
Dmicrofactory.go404 cmd.Args = append(cmd.Args, "-c", fmt.Sprintf("%d", runtime.NumCPU()))
407 cmd.Args = append(cmd.Args, "-race")
411 cmd.Args = append(cmd.Args, "-trimpath", config.TrimPath)
415 cmd.Args = append(cmd.Args, "-I", dep.pkgDir)
419 cmd.Args = append(cmd.Args, filename)
477 fmt.Fprintln(os.Stderr, cmd.Args)
481 commandText := strings.Join(cmd.Args, " ")
533 cmd.Args = append(cmd.Args, "-race")
536 cmd.Args = append(cmd.Args, "-L", dep.pkgDir)
538 cmd.Args = append(cmd.Args, p.output)
[all …]
/build/soong/ui/build/
Dsandbox_darwin.go55 c.Args[0] = c.Path
57 c.Args = append([]string{
62 }, c.Args...)
Dninja.go73 cmd.Args = append(cmd.Args, strings.Fields(extra)...)
76 cmd.Args = append(cmd.Args, strings.Fields(extra)...)
Dsandbox_linux.go86 c.ctx.Verboseln(cmd.Args)
171 c.Args = append(sandboxArgs, c.Args[1:]...)
/build/soong/apex/
Dapex_test.go471 optFlags := apexRule.Args["opt_flags"]
476 copyCmds := apexRule.Args["copy_commands"]
535 …ts("myapex", "android_common_myapex_image").Output("depsinfo/fulllist.txt").Args["content"], "\\n")
542 …ts("myapex", "android_common_myapex_image").Output("depsinfo/flatlist.txt").Args["content"], "\\n")
623 args := module.Rule("apexRule").Args
663 copyCmds := zipApexRule.Args["copy_commands"]
735 copyCmds := apexRule.Args["copy_commands"]
746 …mylibLdFlags := ctx.ModuleForTests("mylib", "android_arm64_armv8-a_shared_myapex").Rule("ld").Args
759 …mylib2Cflags := ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_static").Rule("cc").Args["cFla…
763 …", ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_static_3").Rule("genStubSrc").Args["flags"])
[all …]
/build/soong/partner/bpfix/extensions/
Dheaders.go46 arg0, ok := op.Args[0].(*parser.Variable)
47 arg1, ok1 := op.Args[1].(*parser.String)
74 searchThroughOperatorList(mod, op.Args[0])
75 searchThroughOperatorList(mod, op.Args[1])
/build/soong/cc/
Dlibrary_headers_test.go37 cflags := cc.Args["cFlags"]
58 cflags := cc.Args["cFlags"]
Dbuilder.go460 Args: map[string]string{
473 Args: map[string]string{
539 Args: map[string]string{
554 Args: map[string]string{
575 Args: map[string]string{
598 Args: map[string]string{
632 Args: map[string]string{
716 Args: args,
764 Args: args,
810 Args: map[string]string{
[all …]
/build/soong/androidmk/cmd/
Dandroidmk.go37 if len(flag.Args()) != 1 {
47 output, errs := androidmk.ConvertFile(os.Args[1], bytes.NewBuffer(b))
/build/blueprint/parser/
Dast.go190 Args [2]Expression member
198 ret.Args[0] = x.Args[0].Copy()
199 ret.Args[1] = x.Args[1].Copy()
208 return x.Args[0].Type()
211 func (x *Operator) Pos() scanner.Position { return x.Args[0].Pos() }
212 func (x *Operator) End() scanner.Position { return x.Args[1].End() }
215 return fmt.Sprintf("(%s %c %s = %s)@%s", x.Args[0].String(), x.Operator, x.Args[1].String(),
Dparser_test.go608 Args: [2]Expression{
638 Args: [2]Expression{
669 Args: [2]Expression{
680 Args: [2]Expression{
730 Args: [2]Expression{
797 Args: [2]Expression{
810 Args: [2]Expression{
832 Args: [2]Expression{
845 Args: [2]Expression{
928 Args: [2]Expression{
[all …]
/build/soong/androidmk/parser/
Dast.go66 Args *MakeString member
71 return x.Name + " " + x.Args.Dump()
79 return x.Args.End()
/build/soong/cmd/dep_fixer/
Dmain.go34 fmt.Fprintf(os.Stderr, "Usage: %s [-o <output>] <depfile.d> [<depfile.d>...]", os.Args[0])
47 for i, arg := range flag.Args() {
/build/blueprint/
Dninja_defs.go90 Args map[string]string // The variable/value pairs to set. member
260 Args map[Variable]ninjaString member
341 if len(params.Args) > 0 {
342 b.Args = make(map[Variable]ninjaString)
343 for name, value := range params.Args {
360 b.Args[argVar] = ninjaValue
390 for argVar, value := range b.Args {
/build/soong/androidmk/androidmk/
Dandroid.go228 listsA, err := splitBpList(val.Args[0], keyFunc)
233 listsB, err := splitBpList(val.Args[1], keyFunc)
251 expression.Args = [2]bpparser.Expression{vA, vB}
311 firstOperand := v.Args[0]
312 secondOperand := v.Args[1]
465 if variable, ok := exp.Args[0].(*bpparser.Variable); ok && variable.Name == "LOCAL_MODULE" {
467 val = exp.Args[1]
654 exp2, ok := exp1.Args[0].(*bpparser.Operator)
659 if s, ok := exp2.Args[0].(*bpparser.String); !ok || s.Value != "-Wl,--version-script," {
663 if v, ok := exp2.Args[1].(*bpparser.Variable); !ok || v.Name != "LOCAL_PATH" {
[all …]

12345