Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 14 of 14) sorted by relevance

/build/soong/bpfix/bpfix/
Dbpfix.go205 func simplifyKnownPropertiesDuplicatingEachOther(mod *parser.Module, buf []byte, patchList *parser.…
207 return removeMatchingModuleListProperties(mod, patchList,
213 mod, ok := def.(*parser.Module)
217 if mod.Type != "java_import" {
220 host, _ := getLiteralBoolPropertyValue(mod, "host")
222 mod.Type = "java_import_host"
223 removeProperty(mod, "host")
225 srcs, ok := getLiteralListProperty(mod, "srcs")
238 renameProperty(mod, "srcs", "jars")
241 renameProperty(mod, "srcs", "aars")
[all …]
Dbpfix_test.go75 mod := fixer.tree.Defs[0].(*parser.Module)
89 result, found := mod.GetProperty("local_include_dirs")
493 return runPatchListMod(func(mod *parser.Module, buf []byte, patchList *parser.PatchList) error {
494 return removeMatchingModuleListProperties(mod, patchList, "bar", "foo")
/build/soong/android/
Dandroidmk.go101 for _, mod := range mods {
102 err := translateAndroidMkModule(ctx, buf, mod)
108 if amod, ok := mod.(Module); ok && ctx.PrimaryModule(amod) == amod {
147 func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.Module) error {
151 r, ctx.ModuleName(mod), ctx.ModuleSubDir(mod)))
155 switch x := mod.(type) {
157 return translateAndroidModule(ctx, w, mod, x)
159 return translateGoBinaryModule(ctx, w, mod, x)
165 func translateGoBinaryModule(ctx SingletonContext, w io.Writer, mod blueprint.Module,
168 name := ctx.ModuleName(mod)
[all …]
Dprebuilt_etc_test.go162 mod := ctx.ModuleForTests("foo", "android_arm64_armv8-a_core").Module().(*PrebuiltEtc)
164 mod.AndroidMk().Custom(buf, "foo", "", "", data)
Dprebuilt_etc.go252 mod := mctx.CreateVariations(variants...)
255 m := mod[i].(*PrebuiltEtc)
Dmodule.go1039 mod blueprint.Module
1052 return deps[0].mod, deps[0].tag
/build/soong/cc/
Dcc.go635 (ctx.mod.hasVendorVariant() && ctx.mod.useVndk() && !ctx.mod.isVndk())
639 mod *Module member
644 return ctx.mod.toolchain(ctx.ctx)
648 return ctx.mod.static()
652 return ctx.mod.staticBinary()
657 return String(ctx.mod.Properties.Sdk_version) != ""
675 return String(ctx.mod.Properties.Sdk_version)
681 return ctx.mod.useVndk()
685 return ctx.mod.isNdk()
689 return ctx.mod.isLlndk()
[all …]
Dcc_test.go263 mod := ctx.ModuleForTests(name, vendorVariant).Module().(*Module)
264 if !mod.hasVendorVariant() {
269 lib, ok := mod.compiler.(*libraryDecorator)
278 if mod.vndkdep == nil {
281 if !mod.isVndk() {
284 if mod.isVndkSp() != isVndkSp {
290 if mod.isVndkExt() != isVndkExt {
294 if actualExtends := mod.getVndkExtendsModuleName(); actualExtends != extends {
815 mod := ctx.ModuleForTests("libvndk_ext", coreVariant).Module().(*Module)
816 if extends := mod.getVndkExtendsModuleName(); extends != "libvndk" {
/build/blueprint/parser/
Dparser_test.go1103 mod := file.Defs[0].(*Module)
1105 if mod.End() != modEnd {
1106 t.Errorf("expected mod.End() %s, got %s", modEnd, mod.End())
1109 nextPos := make([]scanner.Position, len(mod.Properties))
1110 for i := 0; i < len(mod.Properties)-1; i++ {
1111 nextPos[i] = mod.Properties[i+1].Pos()
1113 nextPos[len(mod.Properties)-1] = mod.RBracePos
1115 for i, cur := range mod.Properties {
/build/make/core/
Dmain.mk457 $(foreach mod,$(UNIQUE_ALL_MODULES),$(if $(ALL_MODULES.$(mod).INSTALLED),\
458 $(eval $(call register_module_install_path,$(mod)))\
459 $(foreach path,$(ALL_MODULES.$(mod).PATH),\
464 $(eval $$(my_path_prefix): GET-MODULE-INSTALL-PATH-$(mod))))))
776 $(eval mod := $(firstword $(p)))\
784 …$(eval ALL_MODULES.$(mod).HOST_SHARED_LIBRARY_FILES := $$(ALL_MODULES.$(mod).HOST_SHARED_LIBRARY_F…
785 …$(eval ALL_MODULES.$(mod).HOST_SHARED_LIBRARIES := $$(ALL_MODULES.$(mod).HOST_SHARED_LIBRARIES) $(…
788 $(eval ALL_MODULES.$(mod).REQUIRED_FROM_$(patsubst %_,%,$(1)) += $(deps)))
846 $(eval mod := $(firstword $(p)))\
857 $(call module-built-files,$(mod)))))\
/build/soong/cmd/soong_build/
Dwritedocs.go282 …{{range $i, $mod := .ModuleTypes}}{{if $i}}, {{end}}<a href="{{$pkg.Name}}.html#{{$mod.Name}}">{{$
/build/soong/java/
Dapp_test.go959 mod := variant.Module().(*AndroidApp)
960 if !reflect.DeepEqual(expected.overrides, mod.appProperties.Overrides) {
962 expected.overrides, mod.appProperties.Overrides)
/build/blueprint/
Dcontext.go1436 for i, mod := range possibleDeps {
1437 variants[i] = c.prettyPrintVariant(mod.variant)
1472 for i, mod := range possibleDeps {
1473 variants[i] = c.prettyPrintVariant(mod.variant)
1540 for i, mod := range possibleDeps {
1541 variants[i] = c.prettyPrintVariant(mod.variant)
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dandroid_3p-bundle.js2108 …y|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|ch…
2361 …rded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|n…