Home
last modified time | relevance | path

Searched refs:build_target (Results 1 – 25 of 34) sorted by relevance

12

/tools/acloud/internal/lib/
Dandroid_build_client.py67 build_target, argument
85 target=build_target,
89 "resource_id: %s, dest: %s", build_target, build_id,
104 build_target, argument
122 logger.info(copy_msg, build_target, build_id, artifact_name,
126 target=build_target,
134 logger.info(finish_msg, build_target, build_id, artifact_name,
145 def GetBranch(self, build_target, build_id): argument
155 api = self.service.build().get(buildId=build_id, target=build_target)
159 def GetLKGB(self, build_target, build_branch): argument
[all …]
Dcvd_compute_client_multi_stage.py82 def _ProcessBuild(build_id=None, branch=None, build_target=None): argument
93 if not build_target:
95 elif build_target and not branch:
97 return (build_id or branch) + "/" + build_target
164 build_target=None, branch=None, build_id=None, argument
229 self.FetchBuild(build_id, branch, build_target, system_build_id,
506 build_target=_FETCHER_BUILD_TARGET,
518 def FetchBuild(self, build_id, branch, build_target, system_build_id, argument
529 default_build = _ProcessBuild(build_id, branch, build_target)
Dandroid_compute_client.py163 def GenerateImageName(cls, build_target=None, build_id=None): argument
173 if not build_target and not build_id:
176 build_target=build_target,
194 def GenerateInstanceName(self, build_target=None, build_id=None): argument
206 name = self._instance_name_pattern.format(build_target=build_target,
Dcvd_compute_client_multi_stage_test.py134 self.assertEqual(_ProcessBuild(build_id="123", branch="abc", build_target="def"), "123/def")
135 self.assertEqual(_ProcessBuild(build_id=None, branch="abc", build_target="def"), "abc/def")
136 self.assertEqual(_ProcessBuild(build_id="123", branch=None, build_target="def"), "123/def")
137 self.assertEqual(_ProcessBuild(build_id="123", branch="abc", build_target=None), "123")
138 self.assertEqual(_ProcessBuild(build_id=None, branch="abc", build_target=None), "abc")
139 self.assertEqual(_ProcessBuild(build_id="123", branch=None, build_target=None), "123")
140 self.assertEqual(_ProcessBuild(build_id=None, branch=None, build_target=None), None)
/tools/treble/build/sandbox/
Dconfig.py359 build_target = BuildConfig.from_config(build_config, fs_view_map,
361 build_target.validate()
362 build_config_map[build_target.name] = build_target
389 def get_tags(self, build_target): argument
391 return self._build_config_map[build_target].tags
393 def has_tag(self, build_target, tag): argument
403 return tag in self._build_config_map[build_target].tags
405 def get_allowed_projects_file(self, build_target): argument
407 return self._build_config_map[build_target].allowed_projects_file
409 def get_build_config_android_target(self, build_target): argument
[all …]
Dnsjail_test.py35 build_target='target_name',
56 build_target='target_name',
68 build_target='target_name',
84 build_target='target_name')
92 build_target='target_name',
114 build_target='target_name',
135 build_target='target_name',
156 build_target='target_name',
Dbuild_android_sandboxed.py26 def build(build_target, variant, nsjail_bin, chroot, dist_dir, build_id, argument
54 android_target = cfg.get_build_config_android_target(build_target)
55 if cfg.has_tag(build_target, 'skip'):
56 print('Warning: skipping build_target "{}" due to tag being set'.format(build_target))
59 android_target = build_target
92 build_target=build_target,
196 build_target=args['build_target'],
Doverlay_test.py98 build_target='unittest',
131 build_target='unittest',
155 build_target='unittest',
187 build_target='unittest',
219 build_target='unittest',
248 build_target='unittest',
276 build_target='unittest',
301 build_target='unknown',
Dnsjail.py50 build_target, argument
111 build_target=build_target,
141 build_target, argument
243 overlay = BindOverlay(build_target,
463 build_target=args.build_target,
/tools/acloud/public/actions/
Dcreate_goldfish_action.py64 build_target, argument
113 build_target, build_id, branch)
151 build_target=self.build_info.build_target)
157 build_target=self.build_info.build_target,
164 kernel_build_target=self.kernel_build_info.build_target,
201 def _FetchBuildIdFromFile(cfg, build_target, build_id, filename): argument
221 build_client.DownloadArtifact(build_target,
232 build_target=None, argument
280 build_target = avd_spec.remote_image[constants.BUILD_TARGET]
298 build_id, build_target)
[all …]
Dcreate_cuttlefish_action.py54 def __init__(self, cfg, build_target, build_id, branch=None, argument
74 self._build_target = build_target
87 build_target, build_id, branch)
92 system_build_target or build_target, system_build_id, system_branch)
150 build_id=self.build_info.build_id, build_target=self._build_target)
173 build_target=self.build_info.build_target,
178 kernel_build_target=self.kernel_build_info.build_target,
181 system_build_target=self.system_build_info.build_target,
190 build_target=None, argument
253 "report_internal_ip: %s", cfg.project, build_target,
[all …]
Dcreate_goldfish_action_test.py124 none_avd_spec, cfg, build_target=self.BUILD_TARGET,
137 build_target=self.BUILD_TARGET,
193 build_target=self.BUILD_TARGET,
241 build_target=self.BUILD_TARGET,
257 build_target=self.BUILD_TARGET,
311 build_target=self.BUILD_TARGET,
358 none_avd_spec, cfg, build_target=self.BUILD_TARGET,
368 build_target=self.BUILD_TARGET,
422 build_target=self.BUILD_TARGET,
Dremote_instance_cf_device_factory.py109 build_target = (os.environ.get(constants.ENV_BUILD_TARGET) if "-" not
117 build_id, build_target)
142 build_target = self._avd_spec.remote_image[constants.BUILD_TARGET]
145 remote_image = "%s-img-%s.zip" % (build_target.split('-')[0], build_id)
147 cfg, build_target, build_id, remote_image, extract_path, decompress=True)
151 cfg, build_target, build_id, constants.CVD_HOST_PACKAGE,
208 def _FetchBuild(self, build_id, branch, build_target, system_build_id, argument
227 build_id, branch, build_target, system_build_id,
Dremote_instance_cf_device_factory_test.py81 args.build_target = "fake_target"
221 args.build_target = "fake_target"
378 build_target = "aosp_cf_x86_phone-userdebug"
387 mock.call(fake_avd_spec.cfg, build_target, build_id, checkfile1,
389 mock.call(fake_avd_spec.cfg, build_target, build_id, checkfile2,
Dgce_device_factory.py66 build_target = (os.environ.get(constants.ENV_BUILD_TARGET) if "-" not
71 build_target = self._avd_spec.remote_image[constants.BUILD_TARGET]
77 build_target=build_target, build_id=build_id)
/tools/acloud/create/
Davd_spec_test.py43 self.args.build_target = "fake_build_target"
166 build_target = "fake_build_target"
172 self.assertEqual(self.AvdSpec._GetBuildBranch(build_id, build_target),
177 build_target = None
179 self.assertEqual(self.AvdSpec._GetBuildBranch(build_id, build_target),
291 self.args.build_target = "aosp_gce_x86_phone-userdebug"
296 self.args.build_target = "gce_x86_phone-userdebug"
301 self.args.build_target = "aosp_cf_x86_phone-userdebug"
306 self.args.build_target = "cf_x86_phone-userdebug"
311 self.args.build_target = "sdk_phone_armv7-sdk"
[all …]
Davd_spec.py497 build_target = utils.GetBuildEnvironmentVariable(
499 if build_target != "fvp":
502 "and running 'm')" % build_target,
528 args.build_id, args.build_target)
530 self._remote_image[constants.BUILD_TARGET] = args.build_target
576 build_target = utils.GetBuildEnvironmentVariable(
579 if pattern not in build_target:
582 "target and running 'm')" % (build_target, pattern),
608 def _GetBuildBranch(self, build_id, build_target): argument
619 if build_id and build_target:
[all …]
Dremote_image_local_instance.py67 build_target = avd_spec.remote_image[constants.BUILD_TARGET]
79 remote_image = "%s-img-%s.zip" % (build_target.split('-')[0],
84 cfg, build_target, build_id, artifact, extract_path, decompress=True)
Dcreate_common_test.py111 build_target = "aosp_cf_x86_phone-userdebug"
126 build_target,
143 build_target,
Dremote_image_local_instance_test.py78 build_target = "aosp_cf_x86_phone-userdebug"
87 mock.call(avd_spec.cfg, build_target, build_id, checkfile1,
89 mock.call(avd_spec.cfg, build_target, build_id, checkfile2,
Dcreate_common.py94 def DownloadRemoteArtifact(cfg, build_target, build_id, artifact, extract_path, argument
110 build_target,
/tools/acloud/public/
Ddevice_driver.py69 def _CreateGceImageWithBuildInfo(self, build_target, build_id): argument
83 "build_target %s", build_id, build_target)
87 build_target,
95 image_name = self._compute_client.GenerateImageName(build_target,
161 build_target=None, argument
206 elif build_target and build_id:
207 image_name = self._CreateGceImageWithBuildInfo(build_target,
218 build_target, build_id)
338 build_target=None, argument
381 build_target,
Dacloud_main.py285 if not parsed_args.build_target:
384 build_target=args.build_target,
403 build_target=args.build_target,
/tools/tradefederation/core/atest/
Datest.py424 for build_target in test_info.build_targets:
425 if build_target != test_info.test_name:
426 _print_module_info_from_module_name(mod_info, build_target)
/tools/asuite/atest/
Datest.py432 for build_target in sorted_build_targets:
433 if build_target != test_info.test_name:
434 _print_module_info_from_module_name(mod_info, build_target)

12