Lines Matching refs:artifact

135   for (const OutputArtifact& artifact : options.apk_artifacts) {  in FromBaseApk()  local
139 wrapped_context.SetSource(artifact.name); in FromBaseApk()
142 const auto& it = artifacts_to_keep.find(artifact.name); in FromBaseApk()
144 filtered_artifacts.insert(artifact.name); in FromBaseApk()
146 context_->GetDiagnostics()->Note(DiagMessage(artifact.name) << "skipping artifact"); in FromBaseApk()
151 kept_artifacts.insert(artifact.name); in FromBaseApk()
156 FilterTable(context_, artifact, *apk_->GetResourceTable(), &filters); in FromBaseApk()
164 if (!UpdateManifest(artifact, &manifest, diag)) { in FromBaseApk()
173 file::AppendPath(&out, artifact.name); in FromBaseApk()
199 for (const auto& artifact : kept_artifacts) { in FromBaseApk() local
200 context_->GetDiagnostics()->Error(DiagMessage() << " " << artifact); in FromBaseApk()
204 for (const auto& artifact : filtered_artifacts) { in FromBaseApk() local
205 context_->GetDiagnostics()->Error(DiagMessage() << " " << artifact); in FromBaseApk()
209 for (const auto& artifact : artifacts_to_keep) { in FromBaseApk() local
210 context_->GetDiagnostics()->Error(DiagMessage() << " " << artifact); in FromBaseApk()
220 const OutputArtifact& artifact, in FilterTable() argument
226 wrapped_context.SetSource(artifact.name); in FilterTable()
228 if (!artifact.abis.empty()) { in FilterTable()
229 filters->AddFilter(AbiFilter::FromAbiList(artifact.abis)); in FilterTable()
232 if (!artifact.screen_densities.empty()) { in FilterTable()
233 for (const auto& density_config : artifact.screen_densities) { in FilterTable()
238 if (!artifact.locales.empty()) { in FilterTable()
239 for (const auto& locale : artifact.locales) { in FilterTable()
245 if (artifact.android_sdk) { in FilterTable()
246 wrapped_context.SetMinSdkVersion(artifact.android_sdk.value().min_sdk_version); in FilterTable()
262 bool MultiApkGenerator::UpdateManifest(const OutputArtifact& artifact, in UpdateManifest() argument
311 uint64_t new_version = (major | version_code_value->value.data) + artifact.version; in UpdateManifest()
315 if (artifact.android_sdk) { in UpdateManifest()
317 const AndroidSdk& android_sdk = artifact.android_sdk.value(); in UpdateManifest()
339 if (!artifact.screen_densities.empty()) { in UpdateManifest()
352 for (const auto& density : artifact.screen_densities) { in UpdateManifest()