Home
last modified time | relevance | path

Searched refs:ModuleDir (Results 1 – 25 of 55) sorted by relevance

123

/aosp12/system/tools/hidl/build/
H A Dhidl_package_root.go98 r.properties.Path = proptools.StringPtr(ctx.ModuleDir())
102 if *r.properties.Path != ctx.ModuleDir() {
106 "the path of hidl_package_root.", *r.properties.Path, ctx.ModuleDir())
112 r.currentPath = android.ExistentPathForSource(ctx, ctx.ModuleDir(), "current.txt")
/aosp12/system/sepolicy/build/soong/
H A Dbuild_files.go132 …sepolicyDir{partition: system, scope: public, paths: []string{filepath.Join(ctx.ModuleDir(), "publ…
133 …sepolicyDir{partition: system, scope: private, paths: []string{filepath.Join(ctx.ModuleDir(), "pri…
180 reqdMaskDir := filepath.Join(ctx.ModuleDir(), "reqd_mask")
197 platVendorDir := filepath.Join(ctx.ModuleDir(), "vendor")
H A Dfilegroup.go138 fg.systemPublicSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "public"))
139 fg.systemPrivateSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "private"))
140 fg.systemVendorSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "vendor"))
141 fg.systemReqdMaskSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
/aosp12/build/soong/android/
H A Dpackage.go56 return newPackageId(ctx.ModuleDir())
68 module.nameProperties.Name = proptools.StringPtr("//" + ctx.ModuleDir())
H A Dbazel_paths.go179 if !foundBlueprint && directoryHasBlueprint(ctx.Config().fs, ctx.ModuleDir(), pathComponents, i) {
193 moduleDir := ctx.ModuleDir()
255 …rootRelativeExpandedExcludes = append(rootRelativeExpandedExcludes, filepath.Join(ctx.ModuleDir(),…
H A Dpaths.go61 ModuleDir() string
590 prefix := filepath.Join(ctx.Config().srcDir, ctx.ModuleDir()) + "/"
605 srcPath, err := safePathForSource(ctx, ctx.ModuleDir(), path[len(prefix):])
626 path := filepath.Join(ctx.Config().srcDir, ctx.ModuleDir(), def)
1286 path, err := pathForSource(ctx, ctx.ModuleDir(), p)
1361 ModuleDir() string
1366 return PathForOutput(ctx, ".intermediates", ctx.ModuleDir(), ctx.ModuleName(), ctx.ModuleSubDir())
H A Dvisibility.go459 …ible to this module\nYou may need to add %q to its visibility", depQualified, "//"+ctx.ModuleDir())
491 dir := ctx.ModuleDir()
H A Dproto.go95 SubDir: PathForModuleGen(ctx, "proto", ctx.ModuleDir()),
/aosp12/build/soong/cc/
H A Dtidy.go103 headerFilter += "\"(" + ctx.ModuleDir() + "/|" + defaultDirs + ")\""
134 tidyChecks += config.TidyChecksForDir(ctx.ModuleDir())
H A Dcompiler.go528 "-I"+android.PathForModuleGen(ctx, "yacc", ctx.ModuleDir()).String())
533 "-I"+android.PathForModuleGen(ctx, "windmc", ctx.ModuleDir()).String())
565 module := ctx.ModuleDir() + "/Android.bp:" + ctx.ModuleName()
569 if warningsAreAllowed(ctx.ModuleDir()) {
584 if android.HasAnyPrefix(ctx.ModuleDir(), allowedManualInterfacePaths) {
H A Dvendor_snapshot.go110 if isVendorProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()) {
131 if isRecoveryProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()) {
463 moduleDir := ctx.ModuleDir(module)
H A Dsnapshot_utils.go113 …if isSnapshotAware(ctx.DeviceConfig(), m, image.isProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfi…
H A Dsanitize.go318 if !ctx.Config().CFIDisabledForPath(ctx.ModuleDir()) {
325 if !ctx.Config().IntegerOverflowDisabledForPath(ctx.ModuleDir()) && !ctx.static() {
347 if !ctx.Config().MemtagHeapDisabledForPath(ctx.ModuleDir()) {
379 if ctx.Config().MemtagHeapSyncEnabledForPath(ctx.ModuleDir()) {
386 } else if ctx.Config().MemtagHeapAsyncEnabledForPath(ctx.ModuleDir()) {
394 …if s.Cfi == nil && ctx.Config().CFIEnabledForPath(ctx.ModuleDir()) && ctx.Arch().ArchType == andro…
453 …|| ctx.inVendorRamdisk() || ctx.inRecovery()) && !strings.HasPrefix(ctx.ModuleDir(), "bionic/libc"…
/aosp12/build/soong/java/
H A Dprebuilt_apis.go145 dir := mctx.ModuleDir() + "/" + subdir
158 mydir := mctx.ModuleDir() + "/"
187 mctx.ModuleDir(), apiver, "public", "core-for-system-modules.jar")
195 mydir := mctx.ModuleDir() + "/"
H A Djava_resources.go42 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil)
55 …dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl…
H A Dsupport_libraries.go32 dir := ctx.ModuleDir(module)
H A Dkotlin.go87 kotlinName := filepath.Join(ctx.ModuleDir(), ctx.ModuleSubDir(), ctx.ModuleName())
194 kotlinName := filepath.Join(ctx.ModuleDir(), ctx.ModuleSubDir(), ctx.ModuleName())
/aosp12/build/blueprint/
H A Dsingleton_ctx.go38 ModuleDir(module Module) string
189 func (s *singletonContext) ModuleDir(logicModule Module) string { func
190 return s.context.ModuleDir(logicModule)
/aosp12/build/soong/rust/
H A Dclippy.go41 enabled, lints, err := config.ClippyLintsForDir(ctx.ModuleDir(), c.Properties.Clippy_lints)
/aosp12/system/tools/aidl/build/
H A Daidl_api.go350 currentApiDir := android.ExistentPathForSource(ctx, ctx.ModuleDir(), m.apiDir(), currentVersion)
356 …hashFile: android.ExistentPathForSource(ctx, ctx.ModuleDir(), m.apiDir(), currentVersion, ".hash"),
379 apiDir := filepath.Join(ctx.ModuleDir(), m.apiDir(), ver)
385 hashFile: android.ExistentPathForSource(ctx, ctx.ModuleDir(), m.apiDir(), ver, ".hash"),
H A Daidl_interface.go640 importPaths = append(importPaths, filepath.Join(mctx.ModuleDir(), i.properties.Local_include_dir))
707 aidlDumps, _ := mctx.GlobWithDeps(filepath.Join(mctx.ModuleDir(), apiDirRoot, "**/*.aidl"), nil)
761 "//" + mctx.ModuleDir(),
/aosp12/build/soong/bp2build/
H A Dbuild_conversion.go93 ModuleDir(module blueprint.Module) string
192 dir := bpCtx.ModuleDir(m)
574 return fmt.Sprintf("//%s:%s", c.ModuleDir(logicModule), targetNameWithVariant(c, logicModule))
/aosp12/system/ca-certificates/soong/
H A Dca_certificates.go28 srcs, err := ctx.GlobWithDeps(path.Join(ctx.ModuleDir(), *c.Src_dir, "*"), nil)
/aosp12/build/soong/tradefed/suite_harness/
H A Dtradefed_binary.go146 dynamicConfig := android.ExistentPathForSource(ctx, ctx.ModuleDir(), "DynamicConfig.xml")
/aosp12/build/soong/bpf/
H A Dbpf.go89 "-I " + ctx.ModuleDir(),

123