/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-… 33 $(SOONG_ZIP) -o $@ -C . -l $@.list -C $(dir $@) -f $(dir $@)/disabled-presubmit-tests 34 rm -f $@.list $(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 | 38 func NewBaseInstaller(dir, dir64 string, location installLocation) *baseInstaller { argument 40 dir: dir, 49 dir string member 65 dir := installer.dir 67 dir = installer.dir64 70 dir = filepath.Join(dir, ctx.Target().NativeBridgeRelativePath) 72 dir = filepath.Join(dir, ctx.Arch().ArchType.String()) 76 dir = filepath.Join(dir, "product") 78 dir = filepath.Join(dir, "vendor") 81 return android.PathForModuleInstall(ctx, dir, installer.subDir,
|
/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/python/ |
D | installer.go | 32 dir string member 41 func NewPythonInstaller(dir, dir64 string) *pythonInstaller { argument 43 dir: dir, 51 dir := installer.dir 53 dir = installer.dir64 56 dir = filepath.Join(dir, ctx.Arch().ArchType.String()) 58 return android.PathForModuleInstall(ctx, dir, installer.relative)
|
/build/soong/cmd/soong_build/ |
D | queryview.go | 44 func writeReadOnlyFile(dir string, f bp2build.BazelFile) error { 45 dir = filepath.Join(dir, f.Dir) 46 if err := createDirectoryIfNonexistent(dir); err != nil { 49 pathToFile := filepath.Join(dir, f.Basename) 57 func createDirectoryIfNonexistent(dir string) error { 58 if _, err := os.Stat(dir); os.IsNotExist(err) { 59 return os.MkdirAll(dir, os.ModePerm)
|
/build/soong/java/ |
D | java_resources.go | 43 for _, dir := range dirs { 44 excludeDirs = append(excludeDirs, dir.String()) 45 excludeFiles = append(excludeFiles, dir.(android.SourcePath).Join(ctx, "**/*").String()) 56 for _, dir := range dirs { 57 files := ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), excludeFiles) 62 args = append(args, "-C", dir.String()) 66 if !strings.HasPrefix(path, dir.String()) { 67 panic(fmt.Errorf("path %q does not start with %q", path, dir)) 108 dir := filepath.Clean(strings.TrimSuffix(path, rel)) 109 if i == 0 || dir != lastDir { [all …]
|
D | android_resources.go | 46 func androidResourceGlob(ctx android.ModuleContext, dir android.Path) android.Paths { 47 return ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), androidResourceIgnoreFilenames) 52 func androidResourceGlobList(ctx android.ModuleContext, dir android.Path, 55 android.GlobToListFileRule(ctx, filepath.Join(dir.String(), "**/*"), 72 dir string member 80 dir android.Path member 84 func overlayResourceGlob(ctx android.ModuleContext, a *aapt, dir android.Path) (res []globbedResour… 93 files := data.paths.PathsInDirectory(filepath.Join(data.dir, dir.String())) 95 overlayModuleDir := android.PathForSource(ctx, data.dir, dir.String()) 104 dir: overlayModuleDir, [all …]
|
D | support_libraries.go | 32 dir := ctx.ModuleDir(module) 34 case strings.HasPrefix(dir, "prebuilts/sdk/current/extras"), 35 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/tests/ |
D | lib.sh | 48 local dir="$1" 49 local parent="$(dirname "$dir")" 52 cp -R "$REAL_TOP/$dir" "$MOCK_TOP/$parent" 63 local dir="$1" 65 mkdir -p "$MOCK_TOP/$dir" 69 for i in $(ls "$REAL_TOP/$dir"); do 70 local target="$MOCK_TOP/$dir/$i" 71 local source="$REAL_TOP/$dir/$i" 75 fail "Trying to symlink $dir twice" 78 ln -s "$REAL_TOP/$dir/$i" "$MOCK_TOP/$dir/$i";
|
/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 { 87 dir: "cc_toolchain", 91 dir: "cc_toolchain", 103 if actualFile.Dir != expectedFile.dir || actualFile.Basename != expectedFile.basename {
|
D | conversion.go | 61 for _, dir := range android.SortedStringKeys(buildToTargets) { 62 if mode == Bp2Build && !android.ShouldWriteBuildFileForDir(dir) { 63 fmt.Printf("[bp2build] Not writing generated BUILD file for dir: '%s'\n", dir) 66 targets := buildToTargets[dir] 89 files = append(files, newFile(dir, GeneratedBuildFileName, content)) 94 func newFile(dir, basename, content string) BazelFile { argument 96 Dir: dir,
|
D | cc_library_conversion_test.go | 54 dir string 210 dir: "external", 260 dir: "foo/bar", 338 dir: "foo/bar", 363 dir: "foo/bar", 400 dir: "foo/bar", 431 dir: "foo/bar", 493 dir: "foo/bar", 519 dir: "foo/bar", 565 dir := "." [all …]
|
/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 221 dir, err := os.Open(fs.toAbs(name)) 225 defer dir.Close() 227 contents, err := dir.Readdirnames(-1) 248 dir, file := saneSplit(name) 249 if dir != "." && dir != "/" { [all …]
|
D | glob.go | 181 dir, file := saneSplit(pattern) 192 dirMatches, dirs, err := glob(fs, dir, hasRecursive, follow) 235 func saneSplit(path string) (dir, file string) { 239 dir, file = filepath.Split(path) 240 switch dir { 242 dir = "." 246 dir = dir[:len(dir)-1] 248 return dir, file 378 dir := filepath.Dir(filename) 379 err := os.MkdirAll(dir, 0777)
|
/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/",
|
/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/soong/scripts/ |
D | gen_ndk_usedby_apex.sh | 52 dir="$1" 54 find "$dir" -type f -name "*.so" -exec "$2" --dyn-symbols {} >> "$dir"/../tmpReadelf.txt \; 55 …find "$dir" -type f -perm /111 ! -name "*.so" -exec "$2" --dyn-symbols {} >> "$dir"/../tmpReadelf…
|
D | setup_go_workspace_for_soong.sh | 55 local dir 56 if ! dir="$("${readlink}" -e $(dirname "$0"))"; then 60 dir=${dir}/../../.. 61 if ! dir="$("${readlink}" -e "${dir}")"; then 65 echo "${dir}"
|
/build/soong/ui/build/ |
D | config_test.go | 245 dir := filepath.Join(rootDir, buildRootDir) 246 if err := os.MkdirAll(dir, 0755); err != nil { 247 t.Errorf("failed to create %s directory: %v", dir, err) 256 dir := rootDir 258 dir = filepath.Join(dir, tt.path) 259 if err := os.MkdirAll(dir, 0755); err != nil { 260 t.Errorf("failed to create %s directory: %v", dir, err) 269 if err := os.Chdir(dir); err != nil { 270 t.Fatalf("failed to change directory to %s: %v", dir, err) 286 dir string [all …]
|
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/core/ |
D | definitions.mk | 168 define my-dir 172 $(error my-dir must be called before including any other makefile.) \ 174 $(patsubst %/,%,$(dir $(LOCAL_MODULE_MAKEFILE))) \ 197 --mindepth=2 $(addprefix --dir=,$(1)) Android.mk) 206 $(call all-makefiles-under,$(call my-dir)) 217 $(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1)))) 491 $(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \ 571 define license-metadata-dir 572 $(call generated-sources-dir-for,META,lic,) 579 $(strip $(eval _dir := $(call license-metadata-dir))) [all …]
|
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)) \ 119 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/package-export.apk 124 $(call intermediates-dir-for,JAVA_LIBRARIES,$(l),,COMMON)/export_proguard_flags)) 202 $(hide) rm -rf $(dir $@)aar && mkdir -p $(dir $@)aar/res 203 $(hide) cp $(PRIVATE_ANDROID_MANIFEST) $(dir $@)aar/AndroidManifest.xml 204 $(hide) cp $(PRIVATE_CLASSES_JAR) $(dir $@)aar/classes.jar 206 $(hide) $(foreach res,$(PRIVATE_RESOURCE_DIR),cp -Rfn $(res)/* $(dir $@)aar/res;) [all …]
|
/build/blueprint/bootstrap/ |
D | cleanup.go | 123 for _, dir := range under { 124 if strings.HasPrefix(filePath, dir) { 162 for dir := filepath.Dir(path); dir != cwd; dir = filepath.Dir(dir) { 163 err = os.Remove(dir)
|