Lines Matching refs:String
291 if len(javac.Inputs) != 1 || javac.Inputs[0].String() != "a.java" {
295 baz := ctx.ModuleForTests("baz", "android_common").Rule("javac").Output.String()
307 if len(combineJar.Inputs) != 2 || combineJar.Inputs[1].String() != baz {
444 …if len(javac.Inputs) != 2 || javac.Inputs[0].String() != "a.java" || javac.Inputs[1].String() != "…
463 buildOS := android.BuildOs.String()
466 barJar := bar.Output("bar.jar").Output.String()
503 buildOS := android.BuildOs.String()
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())
579 if len(combineJar.Inputs) != 2 || combineJar.Inputs[1].String() != bazJar.String() {
580 t.Errorf("foo combineJar inputs %v does not contain %q", combineJar.Inputs, bazJar.String())
635 if !strings.Contains(javac.Args["classpath"], sdklibStubsJar.String()) {
636 … t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], sdklibStubsJar.String())
769 if len(javac.Inputs) != 1 || javac.Inputs[0].String() != "a.java" {
778 baz := ctx.ModuleForTests("baz", "android_common").Rule("javac").Output.String()
779 if len(combineJar.Inputs) != 2 || combineJar.Inputs[1].String() != baz {
892 if !inList(fooRes.Output.String(), foo.Inputs.Strings()) {
894 foo.Inputs.Strings(), fooRes.Output.String())
937 if g, w := fooSrcJar.Output.String(), foo.Inputs.Strings(); !inList(g, w) {
951 if g, w := barSrcJar.Output.String(), barResCombined.Inputs.Strings(); !inList(g, w) {
955 if g, w := barRes.Output.String(), barResCombined.Inputs.Strings(); !inList(g, w) {
959 if g, w := barResCombined.Output.String(), bar.Inputs.Strings(); !inList(g, w) {
996 if filepath.Base(genrule.Output.String()) != "gen.java" {
997 t.Fatalf(`gen output file %v is not ".../gen.java"`, genrule.Output.String())
1001 javac.Inputs[0].String() != "a.java" ||
1002 javac.Inputs[1].String() != genrule.Output.String() ||
1003 javac.Inputs[2].String() != "b.java" {
1037 if len(fooTurbine.Inputs) != 1 || fooTurbine.Inputs[0].String() != "a.java" {
1048 if len(barTurbineCombined.Inputs) != 2 || barTurbineCombined.Inputs[1].String() != fooHeaderJar {
1128 if g, w := barDoc.Implicits.Strings(), aidl.Output.String(); !inList(w, g) {
1266 if len(jargen.Inputs) != 1 || jargen.Inputs[0].String() != foo.Output.String() {
1267 t.Errorf("expected jargen inputs [%q], got %q", foo.Output.String(), jargen.Inputs.Strings())
1270 if !strings.Contains(bar.Args["classpath"], jargen.Output.String()) {
1271 t.Errorf("bar classpath %v does not contain %q", bar.Args["classpath"], jargen.Output.String())
1274 if !strings.Contains(baz.Args["classpath"], jargen.Output.String()) {
1275 t.Errorf("baz classpath %v does not contain %q", baz.Args["classpath"], jargen.Output.String())
1279 barCombined.Inputs[0].String() != bar.Output.String() ||
1280 barCombined.Inputs[1].String() != jargen.Output.String() {
1282 barCombined.Inputs.Strings(), bar.Output.String(), jargen.Output.String())
1307 if len(javac.Inputs) != 1 || javac.Inputs[0].String() != "java-fg/c.java" {
2036 buildOS := android.BuildOs.String()