Home
last modified time | relevance | path

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

12

/tools/acloud/internal/lib/
Dandroid_build_client.py78 build_target, argument
96 target=build_target,
100 "resource_id: %s, dest: %s", build_target, build_id,
128 build_target=self.FETCHER_BUILD_TARGET,
137 def ProcessBuild(build_id=None, branch=None, build_target=None): argument
148 if not build_target:
151 if build_target and not branch:
153 return (build_id or branch) + "/" + build_target
156 def GetFetchBuildArgs(self, build_id, branch, build_target, system_build_id, argument
183 default_build = self.ProcessBuild(build_id, branch, build_target)
[all …]
Dandroid_build_client_test.py104 build_target=self.BUILD_TARGET,
130 build_target=self.BUILD_TARGET,
172 build_target = "base_target"
185 build_id, build_branch, build_target, None, None, None, None,
194 build_id, build_branch, build_target, system_build_id,
204 build_id, build_branch, build_target, None, None, None,
231 build_id="123", branch="abc", build_target="def"), "123/def")
234 build_id=None, branch="abc", build_target="def"), "abc/def")
237 build_id="123", branch=None, build_target="def"), "123/def")
240 build_id="123", branch="abc", build_target=None), "123")
[all …]
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.py149 build_target=None, branch=None, build_id=None, argument
196 self._RecordBuildInfo(avd_spec, build_id, build_target,
224 self.FetchBuild(build_id, branch, build_target, system_build_id,
237 def _RecordBuildInfo(self, avd_spec, build_id, build_target, argument
258 build_target = avd_spec.remote_image.get(constants.BUILD_TARGET)
263 if build_id and build_target:
265 self._metadata.update({"build_target": build_target})
534 def FetchBuild(self, build_id, branch, build_target, system_build_id, argument
562 build_id, branch, build_target, system_build_id, system_branch,
Dcvd_compute_client_multi_stage_test.py230 build_target = "build_target"
238 constants.BUILD_TARGET: build_target}
246 expected_metadata.update({"build_target": build_target})
254 fake_avd_spec, build_id=None, build_target=None, system_build_id=None,
260 None, build_id, build_target, system_build_id, system_build_target,
Dengprod_client.py27 def LeaseDevice(build_target, build_id, api_key, api_url): argument
40 build_target, build_id)
/tools/treble/build/sandbox/
Dconfig.py343 build_target = BuildConfig.from_config(build_config, fs_view_map,
345 build_target.validate()
346 build_config_map[build_target.name] = build_target
373 def get_tags(self, build_target): argument
375 return self._build_config_map[build_target].tags
377 def has_tag(self, build_target, tag): argument
387 return tag in self._build_config_map[build_target].tags
389 def get_allowed_projects_file(self, build_target): argument
391 return self._build_config_map[build_target].allowed_projects_file
393 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.py142 build_target='unittest',
175 build_target='unittest',
199 build_target='unittest',
231 build_target='unittest',
265 build_target='unittest',
299 build_target='unittest',
328 build_target='unittest',
356 build_target='unittest',
381 build_target='unknown',
400 build_target='target_name',
[all …]
Dnsjail.py50 build_target, argument
113 build_target=build_target,
144 build_target, argument
248 overlay = BindOverlay(build_target,
477 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,
202 def _FetchBuildIdFromFile(cfg, build_target, build_id, filename): argument
222 build_client.DownloadArtifact(build_target,
233 build_target=None, argument
281 build_target = avd_spec.remote_image[constants.BUILD_TARGET]
299 build_id, build_target)
[all …]
Dcreate_cuttlefish_action.py54 def __init__(self, cfg, build_target, build_id, branch=None, argument
75 self._build_target = build_target
88 build_target, build_id, branch)
93 system_build_target or build_target, system_build_id, system_branch)
157 build_id=self.build_info.build_id, build_target=self._build_target)
180 build_target=self.build_info.build_target,
185 kernel_build_target=self.kernel_build_info.build_target,
188 system_build_target=self.system_build_info.build_target,
191 bootloader_build_target=self.bootloader_build_info.build_target,
200 build_target=None, argument
[all …]
Dcreate_goldfish_action_test.py127 none_avd_spec, cfg, build_target=self.BUILD_TARGET,
140 build_target=self.BUILD_TARGET,
197 build_target=self.BUILD_TARGET,
246 build_target=self.BUILD_TARGET,
262 build_target=self.BUILD_TARGET,
317 build_target=self.BUILD_TARGET,
365 none_avd_spec, cfg, build_target=self.BUILD_TARGET,
375 build_target=self.BUILD_TARGET,
430 build_target=self.BUILD_TARGET,
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)
Dremote_instance_cf_device_factory.py115 build_target = (os.environ.get(constants.ENV_BUILD_TARGET) if "-" not
123 build_id, build_target)
152 build_target = self._avd_spec.remote_image[constants.BUILD_TARGET]
159 build_id, build_branch, 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.py301 if not parsed_args.build_target:
424 build_target=args.build_target,
446 build_target=args.build_target,
/tools/acloud/create/
Davd_spec_test.py47 self.args.build_target = "fake_build_target"
218 build_target = "fake_build_target"
224 self.assertEqual(self.AvdSpec._GetBuildBranch(build_id, build_target),
229 build_target = None
231 self.assertEqual(self.AvdSpec._GetBuildBranch(build_id, build_target),
344 self.args.build_target = "aosp_gce_x86_phone-userdebug"
349 self.args.build_target = "gce_x86_phone-userdebug"
354 self.args.build_target = "aosp_cf_x86_phone-userdebug"
359 self.args.build_target = "cf_x86_phone-userdebug"
364 self.args.build_target = "sdk_phone_armv7-sdk"
[all …]
Davd_spec.py519 build_target = utils.GetBuildEnvironmentVariable(
521 if build_target != "fvp":
524 "and running 'm')" % build_target,
550 args.build_id, args.build_target)
552 self._remote_image[constants.BUILD_TARGET] = args.build_target
602 build_target = utils.GetBuildEnvironmentVariable(
605 if pattern not in build_target:
608 "target and running 'm')" % (build_target, pattern),
633 def _GetBuildBranch(self, build_id, build_target): argument
644 if build_id and build_target:
[all …]
Dremote_image_local_instance.py72 build_target = avd_spec.remote_image[constants.BUILD_TARGET]
77 build_id + build_target)
91 build_id, build_branch, build_target,
Dcreate_common_test.py134 build_target = "aosp_cf_x86_phone-userdebug"
149 build_target,
166 build_target,
Dcreate_common.py129 def DownloadRemoteArtifact(cfg, build_target, build_id, artifact, extract_path, argument
145 build_target,
/tools/asuite/atest/test_finders/
Dcache_finder.py122 for build_target in t_info.build_targets:
123 if str(build_target).startswith(constants.MODULES_IN):
125 if not self.module_info.is_module(build_target):
126 logging.debug('%s is not a valid build target.', build_target)
Dtest_info.py127 for build_target in self.build_targets:
128 if str(build_target).startswith(constants.MODULES_IN):
130 str(build_target).replace(

12