Home
last modified time | relevance | path

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

123

/build/soong/rust/
Dimage.go28 func (mod *Module) VendorAvailable() bool {
29 return Bool(mod.VendorProperties.Vendor_available)
32 func (mod *Module) OdmAvailable() bool {
33 return Bool(mod.VendorProperties.Odm_available)
36 func (mod *Module) ProductAvailable() bool {
37 return Bool(mod.VendorProperties.Product_available)
40 func (mod *Module) RamdiskAvailable() bool {
41 return Bool(mod.Properties.Ramdisk_available)
44 func (mod *Module) VendorRamdiskAvailable() bool {
45 return Bool(mod.Properties.Vendor_ramdisk_available)
[all …]
Drust.go179 func (mod *Module) Header() bool {
184 func (mod *Module) SetPreventInstall() {
185 mod.Properties.PreventInstall = true
188 func (mod *Module) SetHideFromMake() {
189 mod.Properties.HideFromMake = true
192 func (mod *Module) HiddenFromMake() bool {
193 return mod.Properties.HideFromMake
196 func (mod *Module) SanitizePropDefined() bool {
199 return mod.sanitize != nil && mod.compiler != nil
202 func (mod *Module) IsPrebuilt() bool {
[all …]
Dandroidmk.go33 func (mod *Module) SubAndroidMk(data *android.AndroidMkEntries, obj interface{}) {
34 if mod.subAndroidMkOnce == nil {
35 mod.subAndroidMkOnce = make(map[SubAndroidMkProvider]bool)
38 if !mod.subAndroidMkOnce[androidmk] {
39 mod.subAndroidMkOnce[androidmk] = true
40 androidmk.AndroidMk(mod, data)
45 func (mod *Module) AndroidMkSuffix() string {
46 return mod.Properties.RustSubName + mod.Properties.SubName
49 func (mod *Module) AndroidMkEntries() []android.AndroidMkEntries {
50 if mod.Properties.HideFromMake || mod.hideApexVariantFromMake {
[all …]
Dsanitize.go260 if mod, ok := mctx.Module().(*Module); ok && mod.sanitize != nil {
261 if !mod.Enabled(mctx) {
265 if Bool(mod.sanitize.Properties.Sanitize.Memtag_heap) && mod.Binary() {
267 if Bool(mod.sanitize.Properties.Sanitize.Diag.Memtag_heap) {
273 if mod.Device() {
274 variations = append(variations, mod.ImageVariation())
283 if mod.IsSanitizerEnabled(cc.Asan) {
284 if mod.Host() {
288 deps = []string{config.LibclangRuntimeLibrary(mod.toolchain(mctx), "asan.static")}
293 deps = []string{config.LibclangRuntimeLibrary(mod.toolchain(mctx), "asan")}
[all …]
Dimage_test.go157 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
185 checkPartition(socSpecific(mod), "vendor")
186 checkPartition(deviceSpecific(mod), "odm")
187 checkPartition(productSpecific(mod), "product")
188 checkPartition(systemExtSpecific(mod), "system_ext")
Dafdo.go42 if mod, ok := ctx.Module().(*Module); ok && mod.Enabled(ctx) {
Dbinary_test.go103 mod := ctx.ModuleForTests("rlib_linked", "android_arm64_armv8-a").Module().(*Module)
105 if !android.InList("libfoo.rlib-std", mod.Properties.AndroidMkRlibs) {
109 if !android.InList("libstd", mod.Properties.AndroidMkRlibs) {
/build/make/tools/rbcrun/
Dgo.sum1 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
3 github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983Of…
4 github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
5 github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscD…
6 github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzF…
7 github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
8 github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRv…
9 github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesAr…
10 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP…
[all …]
/build/soong/bpfix/bpfix/
Dbpfix.go310 func simplifyKnownPropertiesDuplicatingEachOther(mod *parser.Module, buf []byte, patchList *parser.…
312 return removeMatchingModuleListProperties(mod, patchList,
318 mod, ok := def.(*parser.Module)
322 if mod.Type != "java_import" {
325 host, _ := getLiteralBoolPropertyValue(mod, "host")
327 mod.Type = "java_import_host"
328 removeProperty(mod, "host")
330 srcs, ok := getLiteralListProperty(mod, "srcs")
343 renameProperty(mod, "srcs", "jars")
346 renameProperty(mod, "srcs", "aars")
[all …]
/build/bazel/mkcompare/
Dmkfile.go59 mod := MkModule{Location: scanner.lineNo, Type: moduleType, Variables: make(map[string]string)}
69 mod.Variables[v] = mod.Variables[v] + line[m[6]:m[7]]
71 mod.Variables[v] = line[m[6]:m[7]]
78 if mod.Type == "" {
79 mod.Type = includePath
81 } else if mod.Type != "" {
82 mod.Extras = mod.Extras + 1
92 return &mod, scanner.Err()
98 mod, ok := mk.Modules[name]
102 mt := mod.Type
[all …]
/build/soong/partner/bpfix/extensions/
Dheaders.go59 func searchThroughOperatorList(mod *parser.Module, e parser.Expression) {
65 addLibrary(mod, lib.libType, lib.libName)
74 searchThroughOperatorList(mod, op.Args[0])
75 searchThroughOperatorList(mod, op.Args[1])
78 func getLiteralListProperty(mod *parser.Module, name string) (list *parser.List, found bool) {
79 prop, ok := mod.GetProperty(name)
86 func addLibrary(mod *parser.Module, libType string, libName string) {
87 var list, ok = getLiteralListProperty(mod, libType)
93 mod.Properties = append(mod.Properties, prop)
108 mod, ok := def.(*parser.Module)
[all …]
/build/soong/java/
Dandroidmk_test.go34 mod := ctx.ModuleForTests("foo", "android_common").Module()
35 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
53 mod := ctx.ModuleForTests("foo", "android_common").Module()
54 entriesList := android.AndroidMkEntriesForTest(t, ctx, mod)
84 mod := ctx.ModuleForTests("foo", "android_common").Module()
85 entriesList := android.AndroidMkEntriesForTest(t, ctx, mod)
119 mod := ctx.ModuleForTests("foo", "android_common").Module()
120 entriesList := android.AndroidMkEntriesForTest(t, ctx, mod)
166 mod := result.ModuleForTests(tc.moduleName, "android_common").Module()
167 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
[all …]
Drro_test.go242 mod := variant.Module().(*RuntimeResourceOverlay)
243 if !reflect.DeepEqual(expected.overrides, mod.properties.Overrides) {
245 expected.overrides, mod.properties.Overrides)
404 mod := ctx.ModuleForTests(testCase.name, "android_common").Module().(*RuntimeResourceOverlay)
405 …opEquals(t, "Install dir is not correct for "+testCase.name, testCase.expectedPath, mod.installDir)
/build/make/tools/ide_query/
Dgo.work.sum1 github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
2 github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
3 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQ…
5 google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
Dide_query.go373 mod := modules[name]
374 if mod == nil {
378 ret = append(ret, mod.Srcs...)
379 ret = append(ret, mod.SrcJars...)
380 ret = append(ret, mod.Jars...)
381 for _, d := range mod.Deps {
/build/soong/android/
Dandroidmk.go169 mod blueprint.Module member
173 return a.ctx.moduleProvider(a.mod, provider)
337 func (a *AndroidMkEntries) getDistContributions(mod blueprint.Module) *distContributions {
338 amod := mod.(Module).base()
374 if !exemptFromRequiredApplicableLicensesProperty(mod.(Module)) {
404 panic(fmt.Errorf(errorMessage, mod, goals, tag, name, tagPaths))
485 func (a *AndroidMkEntries) GetDistForGoals(mod blueprint.Module) []string {
486 distContributions := a.getDistContributions(mod)
504 func (a *AndroidMkEntries) fillInEntries(ctx fillInEntriesContext, mod blueprint.Module) {
507 amod := mod.(Module)
[all …]
Daconfig_providers.go137 func aconfigUpdateAndroidMkData(ctx fillInEntriesContext, mod Module, data *AndroidMkData) {
138 info, ok := SingletonModuleProvider(ctx, mod, AconfigPropagatingProviderKey)
144 …AndroidMkEmitAssignList(w, "LOCAL_ACONFIG_FILES", getAconfigFilePaths(mod.base(), info.AconfigFile…
148 switch reflect.TypeOf(mod).String() {
159 …do not handle aconfig files for %q (%q) module %q", ctx.ModuleType(mod), reflect.TypeOf(mod), mod))
164 func aconfigUpdateAndroidMkEntries(ctx fillInEntriesContext, mod Module, entries *[]AndroidMkEntrie…
169 info, ok := SingletonModuleProvider(ctx, mod, AconfigPropagatingProviderKey)
177 entries.AddPaths("LOCAL_ACONFIG_FILES", getAconfigFilePaths(mod.base(), info.AconfigFiles))
Dimage.go105 mod := ctx.CreateVariations(variations...)
107 mod[i].base().setImageVariation(v)
108 mod[i].(ImageInterface).SetImageVariation(ctx, v)
Dgen_notice.go61 for _, mod := range mods {
62 if mod == nil {
65 if !mod.Enabled(ctx) { // don't depend on variants without build rules
68 modules = append(modules, mod)
/build/soong/sh/
Dsh_binary_test.go61 mod := result.ModuleForTests("foo", "android_arm64_armv8-a").Module().(*ShTest)
63 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
86 mod := result.ModuleForTests("foo", "android_arm64_armv8-a").Module().(*ShTest)
88 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
142 mod := variant.Module().(*ShTest)
143 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
170 mod := ctx.ModuleForTests("foo", buildOS+"_x86_64").Module().(*ShTest)
171 if !mod.Host() {
174 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
214 mod := foo.Module().(*ShTest)
[all …]
/build/bazel/json_module_graph/
DprintModule.jq5 def printModule($mod):
6 .[] | select(.Name == $mod) |
/build/bazel/mkcompare/cmd/
Dmkcompare.go135 mod := refMkFile.Modules[name]
137 missingOrExtraMod{name, mod.Location, mod.Type})
149 mod := ourMkFile.Modules[name]
151 missingOrExtraMod{name, mod.Location, mod.Type})
/build/soong/filesystem/
Dsystem_image.go75 for mod := range modulesInPackageByModule {
76 provideModules = append(provideModules, mod)
/build/soong/tests/
Dgenrule_sandbox_test.py99 for mod in action_graph:
100 name = mod["Name"]
102 for act in (mod["Module"]["Actions"] or []):
/build/bazel/bin/
Dbazel111 mod:queryview --package_path=${ABSOLUTE_OUT_DIR}/soong/queryview
119 mod:bp2build --package_path=${ABSOLUTE_OUT_DIR}/soong/workspace

123