Home
last modified time | relevance | path

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

12345678910>>...12

/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-…
32 …$(SOONG_ZIP) -o $@ -C . -l $(PRIVATE_test_mapping_list) -C $(dir $@) -f $(dir $@)/disabled-presubm…
34 rm -f $(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.go45 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/
Djava_resources.go37 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 …]
Dandroid_resources.go38 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 …]
Dsupport_libraries.go32 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/
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/",
50 dir: "host32/",
55 dir: "host/",
/build/soong/cmd/soong_build/
Dqueryview.go80 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/
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/scripts/
Dgen_ndk_usedby_apex.sh46 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/
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 {
Dconversion.go45 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/
Dtidy.go222 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/
Ddroiddoc_exported_dir_test.bzl24 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 …]
Ddroiddoc_exported_dir.bzl20 "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/
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/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
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/
Dvndk.go104 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/
Dprebuilt_file.bzl23 "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/
Dbuild_license_metadata.go110 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/
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/tools/aconfig/aconfig_device_paths/src/
Dlib.rs37 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/
Dsdk_repo_host.go109 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/
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)) \
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 …]

12345678910>>...12