Home
last modified time | relevance | path

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

12345

/build/soong/rust/
Dcoverage_test.go64 if !strings.Contains(fizzCov.Args["rustcFlags"], flag) {
65 t.Fatalf(missingErrorStr, flag, "fizz_cov", fizzCov.Args["rustcFlags"])
67 if !strings.Contains(libfooCov.Args["rustcFlags"], flag) {
68 t.Fatalf(missingErrorStr, flag, "libfoo_cov dylib", libfooCov.Args["rustcFlags"])
70 if strings.Contains(buzzNoCov.Args["rustcFlags"], flag) {
71 t.Fatalf(containsErrorStr, flag, "buzzNoCov", buzzNoCov.Args["rustcFlags"])
73 if strings.Contains(libbarNoCov.Args["rustcFlags"], flag) {
74 t.Fatalf(containsErrorStr, flag, "libbar_cov", libbarNoCov.Args["rustcFlags"])
83 if !strings.Contains(fizzCov.Args["linkFlags"], flag) {
84 t.Fatalf(missingErrorStr, flag, "fizz_cov", fizzCov.Args["linkFlags"])
[all …]
Dbindgen_test.go44 if !strings.Contains(libbindgen.Args["flags"], "--bindgen-flag") {
45 t.Errorf("missing bindgen flags in rust_bindgen rule: flags %#v", libbindgen.Args["flags"])
47 if !strings.Contains(libbindgen.Args["cflags"], "--clang-flag") {
48 t.Errorf("missing clang cflags in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
50 if !strings.Contains(libbindgen.Args["cflags"], "-Ishared_include") {
51 …missing shared_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
53 if !strings.Contains(libbindgen.Args["cflags"], "-Istatic_include") {
54 …missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
Dlibrary_test.go51 if !strings.Contains(libfooRlib.Args["rustcFlags"], "crate-type="+rlibCrateType) {
52 … for static variant, expecting %#v, rustcFlags: %#v", rlibCrateType, libfooRlib.Args["rustcFlags"])
56 if !strings.Contains(libfooDylib.Args["rustcFlags"], "crate-type="+dylibCrateType) {
57 …or static variant, expecting %#v, rustcFlags: %#v", dylibCrateType, libfooDylib.Args["rustcFlags"])
61 if !strings.Contains(libfooStatic.Args["rustcFlags"], "crate-type="+staticCrateType) {
62 … static variant, expecting %#v, rustcFlags: %#v", staticCrateType, libfooStatic.Args["rustcFlags"])
66 if !strings.Contains(libfooShared.Args["rustcFlags"], "crate-type="+sharedCrateType) {
67 …red variant, expecting %#v, got rustcFlags: %#v", sharedCrateType, libfooShared.Args["rustcFlags"])
83 if !strings.Contains(libfooDylib.Args["rustcFlags"], "prefer-dynamic") {
84 …t.Errorf("missing prefer-dynamic flag for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcF…
[all …]
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/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.go299 if !strings.Contains(javac.Args["classpath"], barTurbine) {
300 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barTurbine)
303 if !strings.Contains(javac.Args["classpath"], bazTurbine) {
304 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], bazTurbine)
387 if javac.Args["processor"] != want.processors {
388 …t.Errorf("For library %v, expected %v, found %v", want.library, want.processors, javac.Args["proce…
571 if !strings.Contains(javac.Args["classpath"], barJar.String()) {
572 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barJar.String())
575 if !strings.Contains(javac.Args["classpath"], sdklibStubsJar.String()) {
576 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" {
227 if actual := params.Args[k]; actual != v {
755 aapt2Flags := aapt2link.Args["flags"]
1115 linkFlags := strings.Split(link.Args["flags"], " ")
1200 args := strings.Fields(jniLibZip.Args["jarArgs"])
1331 if g, w := !strings.Contains(jniLibZip.Args["jarArgs"], "-L 0"), test.compressed; g != w {
1567 signCertificateFlags := signapk.Args["certificates"]
1572 signFlags := signapk.Args["flags"]
1667 aapt2Flags := res.Args["flags"]
[all …]
/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/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/android/
Dwritedocs.go37 primaryBuilder, err := filepath.Rel(ctx.Config().BuildDir(), os.Args[0])
40 os.Args[0], ctx.Config().BuildDir())
61 primaryBuilder.String(), docsFile.String(), strings.Join(os.Args[1:], " ")),
71 Args: map[string]string{
/build/soong/ui/build/
Dsandbox_darwin.go55 c.Args[0] = c.Path
57 c.Args = append([]string{
62 }, c.Args...)
Dninja.go75 cmd.Args = append(cmd.Args, strings.Fields(extra)...)
78 cmd.Args = append(cmd.Args, strings.Fields(extra)...)
/build/soong/apex/
Dapex_test.go513 optFlags := apexRule.Args["opt_flags"]
518 copyCmds := apexRule.Args["copy_commands"]
577 …ts("myapex", "android_common_myapex_image").Output("depsinfo/fulllist.txt").Args["content"], "\\n")
584 …ts("myapex", "android_common_myapex_image").Output("depsinfo/flatlist.txt").Args["content"], "\\n")
673 args := module.Rule("apexRule").Args
713 copyCmds := zipApexRule.Args["copy_commands"]
785 copyCmds := apexRule.Args["copy_commands"]
796 …mylibLdFlags := ctx.ModuleForTests("mylib", "android_arm64_armv8-a_shared_myapex").Rule("ld").Args
809 …mylib2Cflags := ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_static").Rule("cc").Args["cFla…
813 …", 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.go467 Args: map[string]string{
480 Args: map[string]string{
546 Args: map[string]string{
561 Args: map[string]string{
582 Args: map[string]string{
605 Args: map[string]string{
641 Args: map[string]string{
654 Args: map[string]string{
741 Args: args,
789 Args: args,
[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.go91 Args map[string]string // The variable/value pairs to set. member
262 Args map[Variable]ninjaString member
348 if len(params.Args) > 0 {
349 b.Args = make(map[Variable]ninjaString)
350 for name, value := range params.Args {
367 b.Args[argVar] = ninjaValue
398 for argVar, value := range b.Args {

12345