/build/soong/android/ |
D | buildinfo_prop.go | 107 cmd := rule.Command().BuiltTool("buildinfo") 110 cmd.Flag("--use-vbmeta-digest-in-fingerprint") 113 cmd.FlagWithArg("--build-flavor=", buildFlavor) 114 cmd.FlagWithInput("--build-hostname-file=", config.BuildHostnameFile(ctx)) 115 cmd.FlagWithArg("--build-id=", config.BuildId()) 116 cmd.FlagWithArg("--build-keys=", config.BuildKeys()) 120 cmd.FlagWithInput("--build-number-file=", config.BuildNumberFile(ctx)) 123 cmd.FlagWithArg("--build-thumbprint-file=", config.BuildThumbprintFile(ctx).String()) 126 cmd.FlagWithArg("--build-type=", config.BuildType()) 127 cmd.FlagWithArg("--build-username=", config.Getenv("BUILD_USERNAME")) [all …]
|
D | notices.go | 65 cmd := rule.Command(). 70 cmd = cmd.FlagForEachArg("--strip_prefix ", stripPrefix) 74 cmd = cmd.FlagForEachArg("--strip_prefix ", outputs) 77 cmd = cmd.FlagWithArg("--product ", libraryName) 79 cmd = cmd.Inputs(modulesLicenseMetadata(ctx, modules...))
|
/build/soong/ui/build/ |
D | ninja.go | 80 cmd := Command(ctx, config, "ninja", executable, args...) 83 cmd.Sandbox = ninjaSandbox 87 cmd.Environment.AppendFromKati(config.KatiEnvFile()) 92 cmd.Args = append(cmd.Args, "-o", "usesninjalogasweightlist=yes") 95 cmd.Args = append(cmd.Args, "-o", "usesweightlist=/dev/null") 101 cmd.Args = append(cmd.Args, "-o", "usesweightlist="+ninjaWeightListPath) 106 if extra, ok := cmd.Environment.Get("NINJA_ARGS"); ok { 107 cmd.Args = append(cmd.Args, strings.Fields(extra)...) 109 if extra, ok := cmd.Environment.Get("NINJA_EXTRA_ARGS"); ok { 110 cmd.Args = append(cmd.Args, strings.Fields(extra)...) [all …]
|
D | kati.go | 160 cmd := Command(ctx, config, "ckati", executable, args...) 163 cmd.Sandbox = katiSandbox 166 pipe, err := cmd.StdoutPipe() 170 cmd.Stderr = cmd.Stdout 174 if usernameFromEnv, ok := cmd.Environment.Get("BUILD_USERNAME"); !ok { 181 cmd.Environment.Set("BUILD_USERNAME", username) 186 hostname, ok := cmd.Environment.Get("BUILD_HOSTNAME") 188 cmd.Environment.Unset("BUILD_HOSTNAME") 197 _, ok = cmd.Environment.Get("BUILD_NUMBER") 199 cmd.Environment.Unset("BUILD_NUMBER") [all …]
|
/build/soong/genrule/ |
D | locations.go | 25 Paths(cmd *android.RuleBuilderCommand) []string 38 func (l inputLocation) Paths(cmd *android.RuleBuilderCommand) []string { 39 return cmd.PathsForInputs(l.paths) 53 func (l outputLocation) Paths(cmd *android.RuleBuilderCommand) []string { 54 return []string{cmd.PathForOutput(l.path)} 68 func (l toolLocation) Paths(cmd *android.RuleBuilderCommand) []string { 69 return cmd.PathsForTools(l.paths) 84 func (l packagedToolLocation) Paths(cmd *android.RuleBuilderCommand) []string { 85 return []string{cmd.PathForPackagedTool(l.spec)} 100 func (l errorLocation) Paths(cmd *android.RuleBuilderCommand) []string {
|
D | genrule_test.go | 115 cmd: "$(location) > $(out)", 124 cmd: "$(location) > $(out)", 133 cmd: "$(location) > $(out)", 142 cmd: "$(location) > $(out)", 152 cmd: "$(location) > $(out)", 161 cmd: "$(location tool) > $(out)", 170 cmd: "$(location :tool) > $(out)", 179 cmd: "$(location tool_file1) > $(out)", 188 cmd: "$(location :1tool_file) > $(out)", 197 cmd: "$(locations :tool_files) > $(out)", [all …]
|
/build/soong/cc/ |
D | proto_test.go | 34 if cmd := proto.RuleParams.Command; !strings.Contains(cmd, "--cpp_out=") { 35 t.Errorf("expected '--cpp_out' in %q", cmd) 59 cmd := proto.RuleParams.Command 60 if w := "--foobar_out="; !strings.Contains(cmd, w) { 61 t.Errorf("expected %q in %q", w, cmd) 66 if w := "--plugin=protoc-gen-foobar=" + foobarPath; !strings.Contains(cmd, w) { 67 t.Errorf("expected %q in %q", w, cmd)
|
/build/make/tools/compliance/ |
D | Android.bp | 22 srcs: ["cmd/checkmetadata/checkmetadata.go"], 28 testSrcs: ["cmd/checkmetadata/checkmetadata_test.go"], 33 srcs: ["cmd/checkshare/checkshare.go"], 38 testSrcs: ["cmd/checkshare/checkshare_test.go"], 43 srcs: ["cmd/bom/bom.go"], 48 testSrcs: ["cmd/bom/bom_test.go"], 53 srcs: ["cmd/shippedlibs/shippedlibs.go"], 58 testSrcs: ["cmd/shippedlibs/shippedlibs_test.go"], 63 srcs: ["cmd/listshare/listshare.go"], 68 testSrcs: ["cmd/listshare/listshare_test.go"], [all …]
|
/build/soong/rust/ |
D | protobuf_test.go | 51 cmd := librust_proto_out.RuleParams.Command 52 if w := "protoc-gen-rust"; !strings.Contains(cmd, w) { 53 t.Errorf("expected %q in %q", w, cmd) 57 if w := "-Ishared_include"; !strings.Contains(cmd, w) { 58 t.Errorf("expected %q in %q", w, cmd) 60 if w := "-Istatic_include"; !strings.Contains(cmd, w) { 61 t.Errorf("expected %q in %q", w, cmd) 115 cmd := librust_proto_rule.RuleParams.Command 116 if w := "-Iproto"; !strings.Contains(cmd, w) { 117 t.Errorf("expected %q in %q", w, cmd) [all …]
|
/build/soong/response/ |
D | response_test.go | 30 in: `./cmd '"'-C`, 36 out: []string{"./cmd", `-C`}, 41 out: []string{"./cmd", `\"-C`}, 46 out: []string{"./cmd", `\\-C`}, 51 out: []string{"./cmd", `'-C`}, 56 out: []string{"./cmd", `\-C`}, 61 out: []string{"./cmd", `"-C`}, 65 in: `./cmd "'"-C`,
|
/build/make/tools/releasetools/ |
D | build_super_image.py | 64 cmd = ["--partition", 67 cmd += ["--image", "{}={}".format(partition, image)] 69 return cmd 74 cmd = [info_dict["lpmake"], 86 cmd += ["--metadata-slots", "2"] 88 cmd += ["--metadata-slots", "3"] 90 cmd += ["--metadata-slots", "2"] 93 cmd.append("--auto-slot-suffixing") 95 cmd.append("--virtual-ab") 99 cmd += ["--device", "{}:{}".format(device, size)] [all …]
|
D | fsverity_metadata_generator.py | 83 cmd = ['openssl', 'asn1parse'] 84 cmd.extend(['-inform', 'DER']) 85 cmd.extend(['-in', pkcs7_sig_file]) 86 out = subprocess.check_output(cmd, universal_newlines=True) 101 cmd = [self._fsverity_path, 'digest', input_file] 102 cmd.extend(['--compact']) 103 cmd.extend(['--hash-alg', self._hash_alg]) 104 out = subprocess.check_output(cmd, universal_newlines=True).strip() 127 cmd = [self._fsverity_path] 129 cmd.append('digest') [all …]
|
D | payload_signer.py | 102 cmd = ["openssl", "pkcs8", "-in", private_key, "-inform", "DER"] 103 cmd.extend(["-passin", "pass:" + pw] if pw else ["-nocrypt"]) 105 cmd.extend(["-out", signing_key]) 106 common.RunAndCheckOutput(cmd, verbose=True) 128 cmd = ["delta_generator", "--out_maximum_signature_size_file={}".format( 130 common.RunAndCheckOutput(cmd, verbose=True) 133 logger.info("%s outputs the maximum signature size: %s", cmd[0], 138 def _Run(cmd): argument 139 common.RunAndCheckOutput(cmd, stdout=None, stderr=None) 146 cmd = ["delta_generator", [all …]
|
D | test_verity_utils.py | 68 cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4', '/system', 70 common.RunAndCheckOutput(cmd) 75 cmd = ['avbtool', 'make_vbmeta_image', '--include_descriptors_from_image', 77 common.RunAndCheckOutput(cmd) 80 cmd = ['avbtool', 'verify_image', '--image', vbmeta_image] 81 common.RunAndCheckOutput(cmd) 166 cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4', '/system', 168 common.RunAndCheckOutput(cmd) 173 cmd = ['avbtool', 'make_vbmeta_image', '--include_descriptors_from_image', 175 common.RunAndCheckOutput(cmd) [all …]
|
D | check_ota_package_signature.py | 40 cmd = ['openssl', 'x509', '-text', '-noout', '-in', cert] 41 cert_dump = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE) 112 cmd = ['openssl', 'asn1parse', '-inform', 'DER', '-in', sig_file] 113 sig = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE) 123 cmd = ['openssl', 'rsautl', '-verify', '-certin', '-inkey', cert, 125 common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE) 128 cmd = ['openssl', 'asn1parse', '-inform', 'DER', '-in', decrypted_file] 129 decrypted_output = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE) 159 cmd = ['delta_generator', 162 common.RunAndCheckOutput(cmd)
|
D | ota_from_raw_img.py | 83 cmd = [ResolveBinaryPath("delta_generator", args.search_path)] 84 cmd.append("--partition_names=" + ",".join(args.partition_names)) 85 cmd.append("--dynamic_partition_info_file=" + 87 cmd.append("--old_partitions=" + ",".join(old_imgs)) 88 cmd.append("--new_partitions=" + ",".join(args.images)) 89 cmd.append("--out_file=" + unsigned_payload.name) 90 cmd.append("--is_partial_update") 92 cmd.append("--max_timestamp=" + str(args.max_timestamp)) 93 cmd.append("--partition_timestamps=boot:" + str(args.max_timestamp)) 94 logger.info("Running %s", cmd) [all …]
|
/build/soong/cmd/release_config/crunch_flags/ |
D | Android.bp | 11 "soong-cmd-release_config-lib", 12 "soong-cmd-release_config-proto", 20 name: "soong-cmd-release_config-crunch_flags", 21 pkgPath: "android/soong/cmd/release_config/crunch_flags", 26 "soong-cmd-release_config-lib", 27 "soong-cmd-release_config-proto",
|
/build/soong/cmd/release_config/build_flag/ |
D | Android.bp | 11 "soong-cmd-release_config-proto", 12 "soong-cmd-release_config-lib", 20 name: "soong-cmd-release_config-build_flag", 21 pkgPath: "android/soong/cmd/release_config/build_flag", 26 "soong-cmd-release_config-proto", 27 "soong-cmd-release_config-lib",
|
/build/soong/cmd/release_config/build_flag_declarations/ |
D | Android.bp | 11 "soong-cmd-release_config-proto", 12 "soong-cmd-release_config-lib", 20 name: "soong-cmd-release_config-build_flag_declarations", 21 pkgPath: "android/soong/cmd/release_config/build_flag_declarations", 26 "soong-cmd-release_config-proto", 27 "soong-cmd-release_config-lib",
|
/build/soong/python/tests/ |
D | runtest.sh | 27 ( ! -f $ANDROID_HOST_OUT/bin/py3-cmd )]]; then 32 if [[ ! -f $ANDROID_HOST_OUT/bin/py2-cmd ]]; then 51 PYTHONPATH=/extra $ANDROID_HOST_OUT/bin/py2-cmd py-cmd_test.py 53 PYTHONPATH=/extra $ANDROID_HOST_OUT/bin/py3-cmd py-cmd_test.py 56 ARGTEST=true PYTHONPATH=/extra $ANDROID_HOST_OUT/bin/py2-cmd py-cmd_test.py arg1 arg2 57 ARGTEST2=true PYTHONPATH=/extra $ANDROID_HOST_OUT/bin/py2-cmd py-cmd_test.py --arg1 arg2 60 ARGTEST=true PYTHONPATH=/extra $ANDROID_HOST_OUT/bin/py3-cmd py-cmd_test.py arg1 arg2 61 ARGTEST2=true PYTHONPATH=/extra $ANDROID_HOST_OUT/bin/py3-cmd py-cmd_test.py --arg1 arg2
|
/build/make/tools/metadata/testdata/ |
D | metadata_test.go | 12 cmd := exec.Command( 16 stderr, err := cmd.CombinedOutput() 42 cmd := exec.Command( 46 stderr, err := cmd.CombinedOutput() 68 cmd := exec.Command( 72 stderr, err := cmd.CombinedOutput() 92 cmd := exec.Command( 96 stderr, err := cmd.CombinedOutput()
|
/build/soong/filesystem/ |
D | avb_add_hash_footer.go | 103 cmd := builder.Command().BuiltTool("avbtool").Text("add_hash_footer") 106 cmd.FlagWithArg("--partition_name ", partition_name) 109 cmd.Flag("--dynamic_partition_size") 112 cmd.FlagWithArg("--partition_size ", strconv.Itoa(partition_size)) 116 cmd.FlagWithInput("--key ", key) 119 cmd.FlagWithArg("--algorithm ", algorithm) 125 cmd.FlagWithArg("--salt ", proptools.String(a.properties.Salt)) 129 cmd.FlagWithInput("--include_descriptors_from_image ", imagePath) 133 addAvbProp(ctx, cmd, prop) 141 cmd.Flag(fmt.Sprintf(" --rollback_index %d", rollbackIndex)) [all …]
|
/build/soong/cmd/release_config/release_config/ |
D | Android.bp | 6 name: "soong-cmd-release_config-release_config", 7 pkgPath: "android/soong/cmd/release_config/release_config", 12 "soong-cmd-release_config-proto", 13 "soong-cmd-release_config-lib",
|
/build/blueprint/microfactory/ |
D | microfactory.go | 95 cmd := exec.Command(filepath.Join(runtime.GOROOT(), "bin", "go"), "version") 96 if version, err := cmd.Output(); err == nil { 416 cmd := exec.Command(filepath.Join(goToolDir, "compile"), 421 cmd.Env = []string{ 425 cmd.Args = append(cmd.Args, "-c", fmt.Sprintf("%d", runtime.NumCPU())) 428 cmd.Args = append(cmd.Args, "-race") 432 cmd.Args = append(cmd.Args, "-trimpath", config.TrimPath) 436 cmd.Args = append(cmd.Args, "-I", dep.pkgDir) 440 cmd.Args = append(cmd.Args, filename) 494 cmd.Stdin = nil [all …]
|
/build/soong/java/ |
D | proto_test.go | 50 if cmd := proto0.RuleParams.Command; !strings.Contains(cmd, "--javastream_out=") { 51 t.Errorf("expected '--javastream_out' in %q", cmd)
|