Lines Matching refs:artifact
209 std::optional<OutputArtifact> ToOutputArtifact(const ConfiguredArtifact& artifact, in ToOutputArtifact() argument
213 if (!artifact.name && !config.artifact_format) { in ToOutputArtifact()
220 (artifact.name) ? artifact.Name(apk_name, diag) in ToOutputArtifact()
221 : artifact.ToArtifactName(config.artifact_format.value(), apk_name, diag); in ToOutputArtifact()
234 if (!CopyXmlReferences(artifact.abi_group, config.abi_groups, &output_artifact.abis)) { in ToOutputArtifact()
236 << artifact.abi_group.value()); in ToOutputArtifact()
240 if (!CopyXmlReferences(artifact.locale_group, config.locale_groups, &output_artifact.locales)) { in ToOutputArtifact()
242 << artifact.locale_group.value()); in ToOutputArtifact()
246 if (!CopyXmlReferences(artifact.screen_density_group, config.screen_density_groups, in ToOutputArtifact()
249 << artifact.screen_density_group.value()); in ToOutputArtifact()
253 if (!CopyXmlReferences(artifact.device_feature_group, config.device_feature_groups, in ToOutputArtifact()
256 << artifact.device_feature_group.value()); in ToOutputArtifact()
260 if (!CopyXmlReferences(artifact.gl_texture_group, config.gl_texture_groups, in ToOutputArtifact()
263 << artifact.gl_texture_group.value()); in ToOutputArtifact()
267 if (artifact.android_sdk) { in ToOutputArtifact()
268 auto entry = config.android_sdks.find(artifact.android_sdk.value()); in ToOutputArtifact()
271 << artifact.android_sdk.value()); in ToOutputArtifact()
463 for (const ConfiguredArtifact& artifact : config.artifacts) { in Parse() local
465 ToOutputArtifact(artifact, apk_name, config, diag_); in Parse()
497 ConfiguredArtifact artifact{}; in ArtifactTagHandler() local
500 artifact.name = attr.value; in ArtifactTagHandler()
502 artifact.abi_group = {attr.value}; in ArtifactTagHandler()
504 artifact.screen_density_group = {attr.value}; in ArtifactTagHandler()
506 artifact.locale_group = {attr.value}; in ArtifactTagHandler()
508 artifact.android_sdk = {attr.value}; in ArtifactTagHandler()
510 artifact.gl_texture_group = {attr.value}; in ArtifactTagHandler()
512 artifact.device_feature_group = {attr.value}; in ArtifactTagHandler()
518 config->artifacts.push_back(artifact); in ArtifactTagHandler()