Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 36) sorted by relevance

12

/build/soong/scripts/
Dlint_project_xml.py31 def __init__(self, option_strings, dest, nargs=None, **kwargs): argument
34 super(CheckAction, self).__init__(option_strings, dest, **kwargs)
36 checks = getattr(namespace, self.dest, [])
38 setattr(namespace, self.dest, checks)
55 parser.add_argument('--project_out', dest='project_out',
57 parser.add_argument('--config_out', dest='config_out',
59 parser.add_argument('--name', dest='name',
61 parser.add_argument('--srcs', dest='srcs', action='append', default=[],
63 parser.add_argument('--generated_srcs', dest='generated_srcs', action='append', default=[],
65 parser.add_argument('--resources', dest='resources', action='append', default=[],
[all …]
Dgen-kotlin-build-file.py37 parser.add_argument('--out', dest='out',
39 parser.add_argument('--classpath', dest='classpath', action='append', default=[],
41 parser.add_argument('--name', dest='name',
43 parser.add_argument('--out_dir', dest='out_dir',
45 parser.add_argument('--srcs', dest='srcs', action='append', default=[],
47 parser.add_argument('--common_srcs', dest='common_srcs', action='append', default=[],
Dmanifest_check.py43 parser.add_argument('--uses-library', dest='uses_libraries',
47 dest='optional_uses_libraries',
51 dest='enforce_uses_libraries',
55 dest='enforce_uses_libraries_relax',
59 dest='enforce_uses_libraries_status',
62 dest='extract_target_sdk_version',
66 dest='dexpreopt_configs',
70 dest='aapt',
72 parser.add_argument('--output', '-o', dest='output', help='output AndroidManifest.xml file')
Dmanifest_fixer.py40 parser.add_argument('--minSdkVersion', default='', dest='min_sdk_version',
42 parser.add_argument('--targetSdkVersion', default='', dest='target_sdk_version',
44 parser.add_argument('--raise-min-sdk-version', dest='raise_min_sdk_version', action='store_true',
46 parser.add_argument('--library', dest='library', action='store_true',
48 parser.add_argument('--uses-library', dest='uses_libraries', action='append',
50 parser.add_argument('--optional-uses-library', dest='optional_uses_libraries', action='append',
52 parser.add_argument('--uses-non-sdk-api', dest='uses_non_sdk_api', action='store_true',
54 parser.add_argument('--logging-parent', dest='logging_parent', default='',
57 parser.add_argument('--use-embedded-dex', dest='use_embedded_dex', action='store_true',
61 parser.add_argument('--extract-native-libs', dest='extract_native_libs',
[all …]
Dconstruct_context.py30 parser.add_argument('--target-sdk-version', default='', dest='sdk',
32 parser.add_argument('--host-context-for-sdk', dest='host_contexts',
35 parser.add_argument('--target-context-for-sdk', dest='target_contexts',
Djsonmodify.py89 nargs=2, dest='patch', default=[], action='append')
93 nargs=2, dest='patch', action='append')
97 nargs=1, dest='patch', action='append')
101 nargs='+', dest='patch', default=[], action='append')
Dtest_config_fixer.py36 parser.add_argument('--manifest', default='', dest='manifest',
38 parser.add_argument('--package-name', default='', dest='package_name',
40 parser.add_argument('--test-file-name', default='', dest='test_file_name',
/build/soong/zip/
Dzip.go66 dest, src string member
401 var dest string
404 dest = filepath.Base(src)
407 dest, err = filepath.Rel(fa.SourcePrefixToStrip, src)
411 if strings.HasPrefix(dest, "../") {
418 dest = filepath.Join(fa.PathPrefixInZip, dest)
421 if _, found := nonDeflatedFiles[dest]; found || noCompression {
425 pathMapping{dest: dest, src: src, zipMethod: zipMethod})
432 return jar.EntryNamesLess(mappings[i].dest, mappings[j].dest)
478 if emulateJar && ele.dest == jar.ManifestFile {
[all …]
/build/soong/android/
Dlicense_sdk_member.go110 dest := filepath.Join("licenses", path.String())
111 dests = append(dests, dest)
112 ctx.SnapshotBuilder().CopyToSnapshot(path, dest)
Dandroidmk.go307 func (d *copiesForGoals) addCopyInstruction(from Path, dest string) {
308 d.copies = append(d.copies, distCopy{from, dest})
317 dest string member
400 dest := filepath.Base(path.String())
404 if dest, err = validateSafePath(*dist.Dest); err != nil {
411 ext := filepath.Ext(dest)
413 dest = strings.TrimSuffix(dest, ext) + suffix + ext
418 if dest, err = validateSafePath(*dist.Dir, dest); err != nil {
424 copiesForGoals.addCopyInstruction(path, dest)
441 fmt.Sprintf("$(call dist-for-goals,%s,%s:%s)\n", d.goals, c.from.String(), c.dest))
Dmodule_test.go238 dest: "../invalid-dest",
244 dest: "../invalid-dest0",
249 dest: "../invalid-dest1",
/build/soong/ui/build/
Dutil.go156 dest := filepath.Join(destDir, filepath.Base(src)+".gz")
158 out, err := os.OpenFile(dest, os.O_CREATE|os.O_WRONLY, 0666)
160 return fmt.Errorf("failed to open %s: %s", dest, err.Error())
168 return fmt.Errorf("failed to gzip %s: %s", dest, err.Error())
/build/soong/sdk/
Dtesting.go150 dest := output.Rel()
155 _, _ = fmt.Fprintf(copyRules, "%s -> %s\n", src, dest)
156 info.snapshotContents = append(info.snapshotContents, dest)
158 _, _ = fmt.Fprintf(otherCopyRules, "%s -> %s\n", src, dest)
164 dest := bp.Args["destdir"]
165 info.snapshotContents = append(info.snapshotContents, dest)
251 for _, dest := range snapshotBuildInfo.snapshotContents {
252 fs[filepath.Join(snapshotSubDir, dest)] = nil
/build/make/tools/
Dcheckowners.py12 parser.add_argument('-v', '--verbose', dest='verbose',
15 parser.add_argument('-c', '--check_address', dest='check_address',
18 parser.add_argument(dest='owners', metavar='OWNERS', nargs='+',
/build/soong/scripts/hiddenapi/
Dgenerate_hiddenapi_lists.py99 items = getattr(args, self.dest, None)
103 setattr(args, self.dest, items)
117 parser.add_argument('--' + flag, dest='ordered_flags', metavar='TXT_FILE',
119 parser.add_argument('--' + FLAG_IGNORE_CONFLICTS, dest='ordered_flags', nargs=0,
123 parser.add_argument('--' + FLAG_PACKAGES, dest='ordered_flags', nargs=0,
127 parser.add_argument('--' + FLAG_TAG, dest='ordered_flags', nargs=1,
/build/soong/cmd/zipsync/
Dzipsync.go61 dest := string(b)
62 err = os.Symlink(dest, filename)
/build/soong/python/
Dpython.go125 dest string member
537 p.srcsPathMappings = append(p.srcsPathMappings, pathMapping{dest: runfilesPath, src: s})
549 pathMapping{dest: runfilesPath, src: d})
656 destToPySrcs[path.dest] = path.src.String()
659 destToPyData[path.dest] = path.src.String()
685 path.dest, path.src.String(), ctx.ModuleName(), ctx.OtherModuleName(child))
690 path.dest, path.src.String(), ctx.ModuleName(), ctx.OtherModuleName(child))
/build/pesto/experiments/prepare_bazel_test_env/
Dprepare_bazel_test_env.py55 subparsers = parser.add_subparsers(dest="action", required=True)
/build/soong/cc/libbuildversion/tests/
DAndroid.bp53 dest: "win64/build_ver_test.exe",
/build/soong/java/
Dbootclasspath_fragment.go805 dest := filepath.Join(hiddenAPIDir, p.Base())
806 builder.CopyToSnapshot(p, dest)
807 dests = append(dests, dest)
817 dest := filepath.Join(hiddenAPIDir, p.Base())
818 builder.CopyToSnapshot(p, dest)
819 hiddenAPISet.AddProperty(property, dest)
Djacoco.go36 ` instrument --quiet --dest $tmpDir $strippedJar && ` +
/build/make/tools/releasetools/
Dtest_merge_target_files.py42 def createSymLink(source, dest): argument
43 os.symlink(source, dest)
44 return dest
/build/soong/cc/
Dndk_headers.go239 dest := ctx.Readlink(path)
242 ctx, filepath.Clean(filepath.Join(path.String(), "..", dest)))
/build/make/core/
Djacoco.mk92 --dest '$(PRIVATE_INSTRUMENTED_PATH)' \
/build/make/tools/zipalign/
DZipFile.h232 status_t filemove(FILE* fp, off_t dest, off_t src, size_t n);

12