Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 205) sorted by relevance

123456789

/build/make/core/tasks/
Dhost_init_verifier.mk25 $(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 …]
Dtest_mapping.mk21 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
Dtradefed-tests-list.mk19 $(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/
Dinstaller.go38 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/
Dmicrofactory_test.go100 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/
Dinstaller.go32 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/
Dqueryview.go44 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/
Djava_resources.go43 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 …]
Dandroid_resources.go46 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 …]
Dsupport_libraries.go32 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/
Dlib.sh48 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/
Dconversion_test.go23 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 {
Dconversion.go61 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,
Dcc_library_conversion_test.go54 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/
Dfs.go56 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 …]
Dglob.go181 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/
DAndroid.bp15 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/
Dexercise_compare_builds27 --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/
Dgen_ndk_usedby_apex.sh52 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…
Dsetup_go_workspace_for_soong.sh55 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/
Dconfig_test.go245 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 …]
Dcleanbuild_test.go30 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/
Ddefinitions.mk168 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 …]
Dstatic_java_library.mk27 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/
Dcleanup.go123 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)

123456789