Searched refs:g (Results 1 – 25 of 86) sorted by relevance
1234
98 if g, w := hostFoo.Implicits.Strings(), hostInstallDep.Output.String(); !InList(w, g) {99 t.Errorf("expected host dependency %q, got %q", w, g)102 if g, w := hostFoo.Implicits.Strings(), hostTransitive.Output.String(); !InList(w, g) {103 t.Errorf("expected host dependency %q, got %q", w, g)106 if g, w := hostInstallDep.Implicits.Strings(), hostTransitive.Output.String(); !InList(w, g) {107 t.Errorf("expected host dependency %q, got %q", w, g)110 if g, w := hostFoo.Implicits.Strings(), hostDep.Output.String(); InList(w, g) {111 t.Errorf("expected no host dependency %q, got %q", w, g)119 if g, w := deviceFoo.OrderOnly.Strings(), deviceInstallDep.Output.String(); !InList(w, g) {120 t.Errorf("expected device dependency %q, got %q", w, g)[all …]
369 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {370 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)373 if g, w := enabledVariants(ctx, "bar"), tt.barVariants; !reflect.DeepEqual(w, g) {374 t.Errorf("want bar variants:\n%q\ngot:\n%q\n", w, g)377 if g, w := enabledVariants(ctx, "baz"), tt.bazVariants; !reflect.DeepEqual(w, g) {378 t.Errorf("want baz variants:\n%q\ngot:\n%q\n", w, g)381 if g, w := enabledVariants(ctx, "qux"), tt.quxVariants; !reflect.DeepEqual(w, g) {382 t.Errorf("want qux variants:\n%q\ngot:\n%q\n", w, g)462 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {463 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)[all …]
16 g, ok := bazelContext.GetOutputFiles(label, arch)18 t.Errorf("Did not expect cquery results prior to running InvokeBazel(), but got %s", g)24 g, ok = bazelContext.GetOutputFiles(label, arch)27 } else if w := []string{"out/foo/bar.txt"}; !reflect.DeepEqual(w, g) {28 t.Errorf("Expected output %s, got %s", w, g)
69 if g, w := result.NinjaDeps, "test_ninja_deps"; !InList(w, g) {70 t.Errorf("expected %q in %q", w, g)
41 def _versions_default(g, all_versions):59 _build_id_init(g)60 g["INTERNAL_BUILD_ID_MAKEFILE"] = "build/make/core/build_id"63 g.setdefault("TARGET_PLATFORM_VERSION", v_default)64 if g["TARGET_PLATFORM_VERSION"] not in allowed_versions:65 fail("% is not valid, must be one of %s" % (g["TARGET_PLATFORM_VERSION"], allowed_versions))67 g["DEFAULT_PLATFORM_VERSION"] = v_default68 g["PLATFORM_VERSION_LAST_STABLE"] = 1169 g.setdefault("PLATFORM_VERSION_CODENAME", g["TARGET_PLATFORM_VERSION"])72 g.setdefault("PLATFORM_SDK_VERSION", 30)[all …]
283 func (g *goPackage) DynamicDependencies(ctx blueprint.DynamicDependerModuleContext) []string {287 return g.properties.Deps290 func (g *goPackage) GoPkgPath() string {291 return g.properties.PkgPath294 func (g *goPackage) GoPkgRoot() string {295 return g.pkgRoot298 func (g *goPackage) GoPackageTarget() string {299 return g.archiveFile302 func (g *goPackage) GoTestTargets() []string {303 return g.testResultFile[all …]
135 if g, w := toZipReader.File[0].CompressedSize64, uint64(size); g != w {136 t.Errorf("Expected CompressedSize64 %d, got %d", w, g)139 if g, w := toZipReader.File[0].UncompressedSize64, uint64(size); g != w {140 t.Errorf("Expected UnompressedSize64 %d, got %d", w, g)189 if g, w := d.directoryRecords, uint64(1); g != w {190 t.Errorf("wanted directoryRecords %d, got %d", w, g)193 if g, w := d.directorySize, uint64(uint32max); g != w {194 t.Errorf("wanted directorySize %d, got %d", w, g)197 if g, w := d.directoryOffset, uint64(uint32max); g != w {198 t.Errorf("wanted directoryOffset %d, got %d", w, g)[all …]
56 func (g *GenruleExtraProperties) ImageMutatorBegin(ctx android.BaseModuleContext) {}58 func (g *GenruleExtraProperties) CoreVariantNeeded(ctx android.BaseModuleContext) bool {70 func (g *GenruleExtraProperties) RamdiskVariantNeeded(ctx android.BaseModuleContext) bool {71 return Bool(g.Ramdisk_available)74 func (g *GenruleExtraProperties) VendorRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {75 return Bool(g.Vendor_ramdisk_available)78 func (g *GenruleExtraProperties) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {82 func (g *GenruleExtraProperties) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {90 return Bool(g.Recovery_available)94 func (g *GenruleExtraProperties) ExtraImageVariations(ctx android.BaseModuleContext) []string {[all …]
136 if g, w := fromLink.OrderOnly.Strings(), toLink.Output.String(); !android.InList(w, g) {138 from.Module(), to.Module(), w, g)149 if g, w := fromLink.Implicits.Strings(), toLink.Output.String(); !android.InList(w, g) {151 from.Module(), to.Module(), w, g)
25 func verifyGlob(key globKey, pattern string, excludes []string, g pathtools.GlobResult) {26 if pattern != g.Pattern {27 panic(fmt.Errorf("Mismatched patterns %q and %q for glob key %q", pattern, g.Pattern, key))29 if len(excludes) != len(g.Excludes) {30 panic(fmt.Errorf("Mismatched excludes %v and %v for glob key %q", excludes, g.Excludes, key))34 if g.Excludes[i] != excludes[i] {35 panic(fmt.Errorf("Mismatched excludes %v and %v for glob key %q", excludes, g.Excludes, key))50 g, exists := c.globs[key]55 verifyGlob(key, pattern, excludes, g)57 return append([]string(nil), g.Matches...), nil[all …]
146 if g, w := foo.forwardDeps, []*moduleInfo{barB}; !reflect.DeepEqual(g, w) {147 t.Fatalf("expected foo deps to be %q, got %q", w, g)166 if g, w := foo.forwardDeps, []*moduleInfo{barBB}; !reflect.DeepEqual(g, w) {167 t.Fatalf("expected foo deps to be %q, got %q", w, g)186 if g, w := foo.forwardDeps, []*moduleInfo{barAB}; !reflect.DeepEqual(g, w) {187 t.Fatalf("expected foo deps to be %q, got %q", w, g)273 if g, w := foo.forwardDeps, []*moduleInfo{barB}; !reflect.DeepEqual(g, w) {274 t.Fatalf("expected foo deps to be %q, got %q", w, g)293 if g, w := foo.forwardDeps, []*moduleInfo{barBB}; !reflect.DeepEqual(g, w) {294 t.Fatalf("expected foo deps to be %q, got %q", w, g)[all …]
151 if g, w := aModule.generateBuildActionsProviderValues, []string{"B"}; !reflect.DeepEqual(g, w) {152 t.Errorf("expected A.generateBuildActionsProviderValues %q, got %q", w, g)154 …if g, w := aModule.mutatorProviderValues, []string{"a", "b", "c", "d", "d"}; !reflect.DeepEqual(g,…155 t.Errorf("expected A.mutatorProviderValues %q, got %q", w, g)159 …if g, w := bModule.generateBuildActionsProviderValues, []string{"C", "D"}; !reflect.DeepEqual(g, w…160 t.Errorf("expected B.generateBuildActionsProviderValues %q, got %q", w, g)162 if g, w := bModule.mutatorProviderValues, []string{"b", "c", "d", "d"}; !reflect.DeepEqual(g, w) {163 t.Errorf("expected B.mutatorProviderValues %q, got %q", w, g)
830 if g, w := got == nil, tt.want == "nil"; g != w {834 if g, w := got.String(), fmt.Sprintf("module %q variant %q", "dep", tt.want); g != w {835 t.Errorf("findVariant() got = %v, want %v", g, w)890 if g, w := order, "CBA"; g != w {891 t.Errorf("expected order %q, got %q", w, g)910 if g, w := order, "DCBA"; g != w {911 t.Errorf("expected order %q, got %q", w, g)925 if g, w := order, "CB"; g != w {926 t.Errorf("expected order %q, got %q", w, g)946 if g, w := order, "D"; g != w {[all …]
1357 .g-tpl-240 .g-unit,1358 .g-unit .g-tpl-240 .g-unit,1359 .g-unit .g-unit .g-tpl-240 .g-unit {1365 .g-unit .g-unit .g-tpl-240 .g-first,1366 .g-unit .g-tpl-240 .g-first,1367 .g-tpl-240 .g-first {1374 .g-tpl-240-alt .g-unit,1375 .g-unit .g-tpl-240-alt .g-unit,1376 .g-unit .g-unit .g-tpl-240-alt .g-unit {1382 .g-unit .g-unit .g-tpl-240-alt .g-first,[all …]
16 …g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="strin… argument17 …g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=th… property
12 …f(va,b);if(c>=0){var d=a.substring(b+3,c),g=10;if(d&&d.charAt(0)===ub){d=d.substring(1);g=16}var i…13 …g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);for(var i=a.firstChild;i;i=i.nextSi…17 …ing.fromCharCode(B&-33,B|32)+Tb})}return f.join(P)}var w=[];g=0;for(i=a.length;g<i;++g){m=a[g];if(…18 …g=a.firstChild;g;g=g.nextSibling)W(g,d);return d.join(P)}function Ud(a){var b=0;return function(c)…19 …g=i+1;break;case jc:b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}…20 …g.push(d,b.slice(i,v+1).join(P));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);… variable21 …g=b.length,i=function(m){for(var l=m.source,n=m.b,q=[n,S],v=0,w=l.match(d)||[],j={},f=0,s=w.length…
198 func (g *Module) GeneratedSourceFiles() android.Paths {199 return g.outputFiles202 func (g *Module) Srcs() android.Paths {203 return append(android.Paths{}, g.outputFiles...)206 func (g *Module) GeneratedHeaderDirs() android.Paths {207 return g.exportedIncludeDirs210 func (g *Module) GeneratedDeps() android.Paths {211 return g.outputDeps215 if g, ok := ctx.Module().(*Module); ok {216 for _, tool := range g.properties.Tools {[all …]
84 …if g, w := android.PathsRelativeToTop(javaDoc.Implicits), android.PathRelativeToTop(barStubsOutput…85 t.Errorf("implicits of bar-doc must contain %q, but was %q.", w, g)94 …if g, w := android.PathsRelativeToTop(javaDoc.Implicits), android.PathRelativeToTop(aidl.Output); …95 t.Errorf("implicits of bar-doc must contain %q, but was %q.", w, g)98 …if g, w := aidl.Implicits.Strings(), []string{"bar-doc/IBar.aidl", "bar-doc/IFoo.aidl"}; !reflect.…99 t.Errorf("aidl inputs must be %q, but was %q", w, g)
106 if g, w := metalava.Inputs.Strings(), []string{"bar-doc/a.java"}; !reflect.DeepEqual(w, g) {107 t.Errorf("Expected inputs %q, got %q", w, g)111 …if g, w := manifest.Commands[0].GetCommand(), "reference __SBOX_SANDBOX_DIR__/out/.intermediates/f…112 t.Errorf("Expected command to contain %q, got %q", w, g)
455 if g, w := barWrapperDeps, barJar; !android.InList(w, g) {456 t.Errorf("expected binary wrapper implicits to contain %q, got %q", w, g)460 if g, w := barWrapperDeps, libjniSO; !android.InList(w, g) {461 t.Errorf("expected binary wrapper implicits to contain %q, got %q", w, g)870 if g, w := fooSrcJar.Output.String(), foo.Inputs.Strings(); !inList(g, w) {871 t.Errorf("foo combined jars %v does not contain %q", w, g)874 if g, w := fooSrcJar.Args["jarArgs"], "-C . -f a.java -f b.java -f c.java"; g != w {875 t.Errorf("foo source jar args %q is not %q", w, g)884 if g, w := barSrcJar.Output.String(), barResCombined.Inputs.Strings(); !inList(g, w) {885 t.Errorf("bar combined resource jars %v does not contain %q", w, g)[all …]
62 ).set_defaults(func=lambda g: g.generate())67 ).set_defaults(func=lambda g: g.sync())74 )).set_defaults(func=lambda g: g.clean())
25 func (g getOutputFilesRequestType) Name() string {37 func (g getOutputFilesRequestType) StarlarkFunctionBody() string {44 func (g getOutputFilesRequestType) ParseResult(rawString string) []string {52 func (g getCcInfoType) Name() string {64 func (g getCcInfoType) StarlarkFunctionBody() string {96 func (g getCcInfoType) ParseResult(rawString string) (CcInfo, error) {
39 if g, w := stat.Name(), wantName; g != w {40 t.Errorf("want name %q, got %q", w, g)42 if g, w := stat.Mode(), wantMode; g != w {43 t.Errorf("%s: want mode %q, got %q", wantName, w, g)
101 if g, w := smart.String(), tt.smart; g != w {102 t.Errorf("want:\n%q\ngot:\n%q", w, g)112 if g, w := simple.String(), tt.simple; g != w {113 t.Errorf("want:\n%q\ngot:\n%q", w, g)123 if g, w := smart.String(), tt.simple; g != w {124 t.Errorf("want:\n%q\ngot:\n%q", w, g)292 if g := smart.String(); g != w {293 t.Errorf("want:\n%q\ngot:\n%q", w, g)
42 if g, w := time.Since(start), NINJA_READER_CLOSE_TIMEOUT; g >= w {43 t.Errorf("nr.Close timed out, %s > %s", g, w)