/build/make/core/tasks/ |
D | host_init_verifier.mk | 25 $(call intermediates-dir-for,ETC,passwd_system)/passwd_system \ 26 $(call intermediates-dir-for,ETC,passwd_system_ext)/passwd_system_ext \ 27 $(call intermediates-dir-for,ETC,passwd_vendor)/passwd_vendor \ 28 $(call intermediates-dir-for,ETC,passwd_odm)/passwd_odm \ 29 $(call intermediates-dir-for,ETC,passwd_product)/passwd_product \ 30 $(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_contexts \ 31 $(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_property_contexts \ 32 $(call intermediates-dir-for,ETC,product_property_contexts)/product_property_contexts \ 33 $(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_contexts \ 34 $(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts [all …]
|
D | test_mapping.mk | 21 intermediates := $(call intermediates-dir-for,PACKAGING,test_mapping) 30 rm -rf $@ $(dir $@)/disabled-presubmit-tests 31 …echo $(sort $(PRIVATE_all_disabled_presubmit_tests)) | tr " " "\n" > $(dir $@)/disabled-presubmit-… 32 …$(SOONG_ZIP) -o $@ -C . -l $(PRIVATE_test_mapping_list) -C $(dir $@) -f $(dir $@)/disabled-presubm… 34 rm -f $(dir $@)/disabled-presubmit-tests
|
D | tradefed-tests-list.mk | 19 $(foreach dir, $(COMPATIBILITY.tradefed_tests_dir), \ 20 $(eval tradefed_tests += $(shell find $(dir) -type f -name "*.xml"))) 21 tradefed_tests_list_intermediates := $(call intermediates-dir-for,PACKAGING,tradefed_tests_list,HOS… 31 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@) 33 $(hide) $(SOONG_ZIP) -d -o $@ -C $(dir $@) -f $(PRIVATE_tradefed_tests_list)
|
/build/soong/cc/ |
D | installer.go | 45 func NewBaseInstaller(dir, dir64 string, location installLocation) *baseInstaller { argument 47 dir: dir, 56 dir string member 74 dir := installer.dir 76 dir = installer.dir64 80 dir = "" 82 dir = "xbin" 86 dir = filepath.Join(dir, ctx.Target().NativeBridgeRelativePath) 88 dir = filepath.Join(dir, ctx.Arch().ArchType.String()) 92 dir = filepath.Join(dir, "product") [all …]
|
/build/soong/java/ |
D | java_resources.go | 37 dir android.Path member 48 for _, dir := range dirs { 49 excludeDirs = append(excludeDirs, dir.String()) 50 excludeFiles = append(excludeFiles, dir.(android.SourcePath).Join(ctx, "**/*").String()) 61 for _, dir := range dirs { 62 files := ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), excludeFiles) 64 dir: dir, 78 dir, files := resDep.dir, resDep.files 81 args = append(args, "-C", dir.String()) 86 if !strings.HasPrefix(path, dir.String()) { [all …]
|
D | android_resources.go | 38 func androidResourceGlob(ctx android.EarlyModuleContext, dir android.Path) android.Paths { 39 return ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), androidResourceIgnoreFilenames) 44 func androidResourceGlobList(ctx android.ModuleContext, dir android.Path, 47 android.GlobToListFileRule(ctx, filepath.Join(dir.String(), "**/*"), 64 dir string member 72 dir android.Path member 76 func overlayResourceGlob(ctx android.ModuleContext, a *aapt, dir android.Path) (res []globbedResour… 88 result.dir = overlay 116 files := data.paths.PathsInDirectory(filepath.Join(data.dir, dir.String())) 118 overlayModuleDir := android.PathForSource(ctx, data.dir, dir.String()) [all …]
|
D | support_libraries.go | 32 dir := ctx.ModuleDir(module) 34 case strings.HasPrefix(dir, "prebuilts/sdk/current/extras"), 35 strings.HasPrefix(dir, "prebuilts/sdk/current/androidx"), 36 dir == "prebuilts/sdk/current/car", 37 dir == "prebuilts/sdk/current/optional", 38 dir == "prebuilts/sdk/current/support":
|
/build/soong/cc/libbuildversion/tests/ |
D | Android.bp | 15 dir: "android/arm", 20 dir: "android/arm64", 25 dir: "android/x86", 30 dir: "android/x86_64", 35 dir: "host/", 40 dir: "host32/", 45 dir: "host/", 50 dir: "host32/", 55 dir: "host/",
|
/build/soong/cmd/soong_build/ |
D | queryview.go | 80 func writeReadOnlyFile(dir string, f bp2build.BazelFile) error { 81 dir = filepath.Join(dir, f.Dir) 82 if err := createDirectoryIfNonexistent(dir); err != nil { 85 pathToFile := filepath.Join(dir, f.Basename) 93 func writeReadWriteFile(dir string, f bp2build.BazelFile) error { 94 dir = filepath.Join(dir, f.Dir) 95 if err := createDirectoryIfNonexistent(dir); err != nil { 98 pathToFile := filepath.Join(dir, f.Basename) 106 func createDirectoryIfNonexistent(dir string) error { 107 if _, err := os.Stat(dir); os.IsNotExist(err) { [all …]
|
/build/blueprint/microfactory/ |
D | microfactory_test.go | 100 setupDir(t, func(config *Config, dir string, loadPkg loadPkgFunc) { 102 out := filepath.Join(dir, "out", "test") 106 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 125 modify func(config *Config, dir string, loadPkg loadPkgFunc), 130 setupDir(t, func(config *Config, dir string, loadPkg loadPkgFunc) { 132 out := filepath.Join(dir, "out", "test") 136 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 158 modify(config, dir, loadPkg) 162 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 211 …testBuildAgain(t, false, false, func(config *Config, dir string, loadPkg loadPkgFunc) {}, func(pkg… [all …]
|
/build/soong/scripts/ |
D | gen_ndk_usedby_apex.sh | 46 local dir="$1"; shift 49 find "$dir" -name "*.jar" -exec unzip -o {} -d "${tmpUnzippedDir}" \; 50 find "$dir" -name "*.apk" -exec unzip -o {} -d "${tmpUnzippedDir}" \; 55 local dir="$1"; shift 58 find -L "$dir" -type f -name "*.so" -exec "${readelf}" --dyn-symbols {} >> "${tmpOutput}" \; 59 …find -L "$dir" -type f -perm /111 ! -name "*.so" -exec "${readelf}" --dyn-symbols {} >> "${tmpOutp… 74 tmpUnzippedDir=$(mktemp -d /tmp/temporary-dir.XXXXXXXX)
|
/build/soong/bp2build/ |
D | conversion_test.go | 23 dir string member 31 dir: "", 35 dir: "", 39 dir: bazelRulesSubDir, 43 dir: bazelRulesSubDir, 47 dir: bazelRulesSubDir, 70 if actualFile.Dir != expectedFile.dir || actualFile.Basename != expectedFile.basename {
|
D | conversion.go | 45 for _, dir := range android.SortedKeys(buildToTargets) { 46 targets := buildToTargets[dir] 58 files = append(files, newFile(dir, GeneratedBuildFileName, content)) 63 func newFile(dir, basename, content string) BazelFile { argument 65 Dir: dir,
|
/build/soong/cc/config/ |
D | tidy.go | 222 func TidyChecksForDir(dir string) string { 223 dir = dir + "/" 225 if strings.HasPrefix(dir, pathCheck.PathPrefix) { 232 func neverTidyForDir(dir string) bool { 234 return strings.HasPrefix(dir, "external/grpc-grpc") 237 func NoClangTidyForDir(allowExternalVendor bool, dir string) bool { 242 return neverTidyForDir(dir) || 243 (!allowExternalVendor && TidyChecksForDir(dir) == tidyExternalVendor)
|
/build/bazel/rules/droiddoc/ |
D | droiddoc_exported_dir_test.bzl | 24 asserts.equals(env, expected = ctx.attr.expected_dir, actual = info.dir) 40 def _test_droiddoc_exported_dir_success(name, srcs, dir, expected_srcs, expected_dir): 43 dir = dir, 55 def _test_droiddoc_exported_dir_failure(name, dir, srcs, expected_msg): 58 dir = dir, 75 dir = None, 82 dir = "dir", 83 srcs = [":dir/src.txt", ":dir/dir2/src.txt"], 84 expected_dir = "build/bazel/rules/droiddoc/dir", 85 …expected_srcs = ["build/bazel/rules/droiddoc/dir/src.txt", "build/bazel/rules/droiddoc/dir/dir2/sr… [all …]
|
D | droiddoc_exported_dir.bzl | 20 "Info needed to identify the root dir and files for droid doc", 22 "dir": "Common root directory for files", 28 dir = paths.join(ctx.label.package, paths.normalize(ctx.attr.dir)) 29 dir = paths.normalize(dir) 34 if not s.short_path.startswith(dir + "/"): 35 fail("File [{}] is not under [{}]".format(s.short_path, dir)) 43 dir = dir, 51 "dir": attr.string(),
|
/build/make/tools/ |
D | exercise_compare_builds | 27 --no-check-out-dir --detect-embedded-paths 38 --no-check-out-dir 40 --no-build --no-check-out-dir --subdirs 42 --no-build --no-check-out-dir --subdirs system 59 --incremental --no-check-out-dir 61 --no-build --incremental --no-check-out-dir --subdirs 63 --no-build --incremental --no-check-out-dir --subdirs system
|
/build/blueprint/pathtools/ |
D | fs.go | 56 dir := filepath.Dir(f) 57 for dir != "." && dir != "/" { 58 fs.dirs[dir] = true 59 dir = filepath.Dir(dir) 61 fs.dirs[dir] = true 261 dir, err := os.Open(fs.toAbs(name)) 265 defer dir.Close() 267 contents, err := dir.Readdirnames(-1) 288 dir, file := quickSplit(name) 289 if dir != "." && dir != "/" { [all …]
|
/build/soong/apex/ |
D | vndk.go | 104 addSymlink := func(target string, dir android.InstallPath, linkName string) { 105 symlinks = append(symlinks, ctx.InstallAbsoluteSymlink(dir, linkName, target)) 123 dir := android.PathForModuleInPartitionInstall(ctx, "system", "lib64") 124 addSymlink("/apex/"+apexName+"/lib64", dir, "vndk-sp-"+vndkVersion) 125 addSymlink("/apex/"+apexName+"/lib64", dir, "vndk-"+vndkVersion) 128 dir := android.PathForModuleInPartitionInstall(ctx, "system", "lib") 129 addSymlink("/apex/"+apexName+"/lib", dir, "vndk-sp-"+vndkVersion) 130 addSymlink("/apex/"+apexName+"/lib", dir, "vndk-"+vndkVersion) 139 dir := android.PathForModuleInPartitionInstall(ctx, "system", "usr") 140 addSymlink("/apex/com.android.i18n/etc/icu", dir, "icu")
|
/build/bazel/rules/ |
D | prebuilt_file.bzl | 23 "dir": "Directory into which to install", 34 dir = ctx.attr.dir 37 if dir == d or dir.startswith(d + "/"): 41 … fail("dir for", ctx.label.name, "is `", dir, "`, but we only handle these:\n", _handled_dirs) 58 dir = dir, 74 "dir": attr.string(mandatory = True), 84 dir, 97 dir = dir,
|
/build/soong/compliance/build_license_metadata/ |
D | build_license_metadata.go | 110 for i, dir := range dirs { 111 ret[i] = findGitRoot(dir) 121 func findGitRoot(dir string) string { 122 orig := dir 123 for dir != "" && dir != "." && dir != "/" { 124 _, err := os.Stat(filepath.Join(dir, ".git")) 127 return dir 132 dir, _ = filepath.Split(dir) 133 dir = strings.TrimSuffix(dir, "/")
|
/build/soong/ui/build/ |
D | cleanbuild_test.go | 30 dir, err := ioutil.TempDir("", "testcleanoldfiles") 34 defer os.RemoveAll(dir) 42 if f, err := os.Create(filepath.Join(dir, name)); err != nil { 51 if err := ioutil.WriteFile(filepath.Join(dir, ".installed"), data, 0666); err != nil { 55 cleanOldFiles(ctx, dir, ".installed") 64 if foundFiles, err := ioutil.ReadDir(dir); err == nil {
|
/build/make/tools/aconfig/aconfig_device_paths/src/ |
D | lib.rs | 37 for dir in fs::read_dir("/apex")? { in parsed_flags_proto_paths() 38 let dir = dir?; in parsed_flags_proto_paths() localVariable 41 if dir.file_name().as_encoded_bytes().iter().any(|&b| b == b'@') { in parsed_flags_proto_paths() 46 path.push(dir.path()); in parsed_flags_proto_paths()
|
/build/soong/android_sdk/ |
D | sdk_repo_host.go | 109 dir := android.PathForModuleOut(ctx, "zip") 110 outputZipFile := dir.Join(ctx, "output.zip") 112 Sbox(dir, android.PathForModuleOut(ctx, "out.sbox.textproto")). 124 s.CopySpecsToDir(ctx, builder, packageSpecs, dir) 135 Text(filepath.Join(dir.String(), "NOTICE.txt")) 143 FlagWithArg("-d ", dir.String()). 150 Text("cp").Input(src).Flag(dir.Join(ctx, src.Rel()).String()) 165 Flag(dir.Join(ctx, strip).String()) 176 cmd.Flag(dir.Join(ctx, strip).String()) 183 Flag(dir.String()). [all …]
|
/build/make/core/ |
D | static_java_library.mk | 27 intermediates.COMMON := $(call local-intermediates-dir,COMMON) 51 $(foreach dir, $(LOCAL_RESOURCE_DIR), \ 52 $(addprefix $(dir)/, \ 54 $(call find-subdir-assets,$(dir)) \ 107 LOCAL_FULL_MANIFEST_FILE := $(call local-intermediates-dir,COMMON)/DefaultManifest.xml 126 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/package-export.apk 137 $(call intermediates-dir-for,JAVA_LIBRARIES,$(l),,COMMON)/export_proguard_flags)) 215 $(hide) rm -rf $(dir $@)aar && mkdir -p $(dir $@)aar/res 216 $(hide) cp $(PRIVATE_ANDROID_MANIFEST) $(dir $@)aar/AndroidManifest.xml 217 $(hide) cp $(PRIVATE_CLASSES_JAR) $(dir $@)aar/classes.jar [all …]
|