Home
last modified time | relevance | path

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

123456

/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.go56 if !strings.Contains(libbindgen.Args["flags"], "'--bindgen-flag.*'") {
57 t.Errorf("missing bindgen flags in rust_bindgen rule: flags %#v", libbindgen.Args["flags"])
59 if !strings.Contains(libbindgen.Args["cflags"], "'--clang-flag()'") {
60 t.Errorf("missing clang cflags in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
62 if !strings.Contains(libbindgen.Args["cflags"], "-Ishared_include") {
63 …missing shared_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
65 if !strings.Contains(libbindgen.Args["cflags"], "-Istatic_include") {
66 …missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
68 if !strings.Contains(libbindgen.Args["cflags"], "-Iheader_include") {
69 …missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
[all …]
Dfuzz_test.go49 if !strings.Contains(fuzz_libtest.Args["rustcFlags"], "-Z sanitizer=hwaddress") ||
50 !strings.Contains(fuzz_libtest.Args["rustcFlags"], "-C passes='sancov'") ||
51 !strings.Contains(fuzz_libtest.Args["rustcFlags"], "--cfg fuzzing") {
58 if !strings.Contains(libtest_fuzzer.Args["rustcFlags"], "-Z sanitizer=hwaddress") ||
59 !strings.Contains(libtest_fuzzer.Args["rustcFlags"], "-C passes='sancov'") ||
60 !strings.Contains(libtest_fuzzer.Args["rustcFlags"], "--cfg fuzzing") {
Dcompiler_test.go39 if !strings.Contains(libfooDylib.Args["rustcFlags"], "cfg 'feature=\"fizz\"'") ||
40 !strings.Contains(libfooDylib.Args["rustcFlags"], "cfg 'feature=\"buzz\"'") {
41 …ing fizz and buzz feature flags for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcFlags"])
60 if !strings.Contains(libfooDylib.Args["rustcFlags"], "cfg 'std'") ||
61 !strings.Contains(libfooDylib.Args["rustcFlags"], "cfg 'cfg1=\"one\"'") {
62 …t.Fatalf("missing std and cfg1 flags for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcFl…
174 android.AssertStringDoesContain(t, "libfoo flags", r.Args["rustcFlags"], tc.fooFlags)
177 …android.AssertStringDoesContain(t, "libbar flags", r.Args["rustcFlags"], "${config.RustDefaultLint…
180 …android.AssertStringDoesContain(t, "libfoobar flags", r.Args["rustcFlags"], "${config.RustAllowAll…
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 …]
Dclippy_test.go66 android.AssertStringEquals(t, "libfoo flags", tc.fooFlags, r.Args["clippyFlags"])
69 …android.AssertStringEquals(t, "libbar flags", "${config.ClippyDefaultLints}", r.Args["clippyFlags"…
73 …t.Errorf("libfoobar is setup to use clippy when explicitly disabled: clippyFlags=%q", r.Args["clip…
Dbinary_test.go111 flags := fizzBuzz.Args["rustcFlags"]
128 flags := fizzOut.Args["rustcFlags"]
129 linkFlags := fizzOut.Args["linkFlags"]
160 linkFlags := fizzBuzz.Args["linkFlags"]
/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())
148 if kotlinc.Args["srcJars"] != kapt.Output.String() {
149 t.Errorf("expected %q in kotlinc srcjars %v", kapt.Output.String(), kotlinc.Args["srcJars"])
151 if javac.Args["srcJars"] != kapt.Output.String() {
152 t.Errorf("expected %q in javac srcjars %v", kapt.Output.String(), kotlinc.Args["srcJars"])
158 if kapt.Args["kaptProcessorPath"] != expectedProcessorPath {
159 …t.Errorf("expected kaptProcessorPath %q, got %q", expectedProcessorPath, kapt.Args["kaptProcessorP…
162 if kapt.Args["kaptProcessor"] != expectedProcessor {
163 t.Errorf("expected kaptProcessor %q, got %q", expectedProcessor, kapt.Args["kaptProcessor"])
[all …]
Djava_test.go247 android.AssertStringDoesContain(t, "foo classpath", javac.Args["classpath"], barTurbine)
249 android.AssertStringDoesContain(t, "foo classpath", javac.Args["classpath"], bazTurbine)
349 if javac.Args["processor"] != want.processors {
350 …t.Errorf("For library %v, expected %v, found %v", want.library, want.processors, javac.Args["proce…
598 if !strings.Contains(javac.Args["classpath"], barJar.String()) {
599 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barJar.String())
607 if !strings.Contains(javac.Args["classpath"], sdklibStubsJar.String()) {
608 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], sdklibStubsJar.String())
707 if !strings.Contains(javac.Args["classpath"], barTurbine) {
708 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barTurbine)
[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"])
Drro_test.go71 aapt2Flags := m.Output("package-res.apk").Args["flags"]
93 lineageFlag := signedApk.Args["flags"]
98 signingFlag := signedApk.Args["certificates"]
154 aapt2Flags := strings.Split(m.Output("package-res.apk").Args["flags"], " ")
172 aapt2Flags = strings.Split(m.Output("package-res.apk").Args["flags"], " ")
242 aapt2Flags := res.Args["flags"]
/build/soong/ui/build/
Dbazel.go34 infoCmd.Args = append(infoCmd.Args, strings.Fields(extraStartupArgs)...)
38 infoCmd.Args = append(infoCmd.Args,
97 cmd.Args = append(cmd.Args, strings.Fields(extraStartupArgs)...)
102 cmd.Args = append(cmd.Args,
135 cmd.Args = append(cmd.Args,
141 …cmd.Args = append(cmd.Args, "--action_env=RBE_exec_root="+getBazelInfo(ctx, config, bazelExecutabl…
149 cmd.Args = append(cmd.Args, "--action_env=PATH="+pathEnvValue)
153 cmd.Args = append(cmd.Args, "--action_env=SHELL")
159 cmd.Args = append(cmd.Args, strings.Fields(extraBuildArgs)...)
163 cmd.Args = append(cmd.Args,
Dsandbox_darwin.go55 c.Args[0] = c.Path
57 c.Args = append([]string{
62 }, c.Args...)
Dninja.go85 cmd.Args = append(cmd.Args, strings.Fields(extra)...)
88 cmd.Args = append(cmd.Args, strings.Fields(extra)...)
/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/bazel/rules_cc/cc/
Ddefs.bzl34 Args:
46 Args:
58 Args:
70 Args:
82 Args:
94 Args:
106 Args:
118 Args:
130 Args:
142 Args:
[all …]
/build/soong/android/
Dwritedocs.go38 binary := absolutePath(os.Args[0])
42 os.Args[0], ctx.Config().BuildDir(), err)
72 "\""+strings.Join(os.Args[1:], "\" \"")+"\""),
82 Args: map[string]string{
/build/blueprint/microfactory/
Dmicrofactory.go405 cmd.Args = append(cmd.Args, "-c", fmt.Sprintf("%d", runtime.NumCPU()))
408 cmd.Args = append(cmd.Args, "-race")
412 cmd.Args = append(cmd.Args, "-trimpath", config.TrimPath)
416 cmd.Args = append(cmd.Args, "-I", dep.pkgDir)
420 cmd.Args = append(cmd.Args, filename)
478 fmt.Fprintln(os.Stderr, cmd.Args)
482 commandText := strings.Join(cmd.Args, " ")
534 cmd.Args = append(cmd.Args, "-race")
537 cmd.Args = append(cmd.Args, "-L", dep.pkgDir)
539 cmd.Args = append(cmd.Args, p.output)
[all …]
/build/soong/cc/
Dvendor_public_library_test.go74 cflags := cc.Args["cFlags"]
81 libflags := ld.Args["libFlags"]
89 libflags = ld.Args["libFlags"]
97 libflags = ld.Args["libFlags"]
Dlibrary_headers_test.go37 cflags := cc.Args["cFlags"]
58 cflags := cc.Args["cFlags"]
/build/soong/apex/
Dapex_test.go528 optFlags := apexRule.Args["opt_flags"]
533 copyCmds := apexRule.Args["copy_commands"]
602 …ts("myapex", "android_common_myapex_image").Output("depsinfo/fulllist.txt").Args["content"], "\\n")
608 …ts("myapex", "android_common_myapex_image").Output("depsinfo/flatlist.txt").Args["content"], "\\n")
706 args := module.Rule("apexRule").Args
747 copyCmds := zipApexRule.Args["copy_commands"]
820 copyCmds := apexRule.Args["copy_commands"]
831 …= ctx.ModuleForTests("mylib", "android_arm64_armv8-a_shared_apex10000").Rule("ld").Args["libFlags"]
844 …mylib2Cflags := ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_static").Rule("cc").Args["cFla…
848 …", ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_shared_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/androidmk/cmd/
Dandroidmk.go37 if len(flag.Args()) != 1 {
47 output, errs := androidmk.ConvertFile(os.Args[1], bytes.NewBuffer(b))
/build/soong/shared/
Ddebug.go61 os.Args[0],
65 dlvArgv = append(dlvArgv, os.Args[1:]...)

123456