• Home
  • Raw
  • Download

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(android::DiagMessage(artifact.name) in FromBaseApk()
152 kept_artifacts.insert(artifact.name); in FromBaseApk()
157 FilterTable(context_, artifact, *apk_->GetResourceTable(), &filters); in FromBaseApk()
165 if (!UpdateManifest(artifact, &manifest, diag)) { in FromBaseApk()
175 file::AppendPath(&out, artifact.name); in FromBaseApk()
202 for (const auto& artifact : kept_artifacts) { in FromBaseApk() local
203 context_->GetDiagnostics()->Error(android::DiagMessage() << " " << artifact); in FromBaseApk()
208 for (const auto& artifact : filtered_artifacts) { in FromBaseApk() local
209 context_->GetDiagnostics()->Error(android::DiagMessage() << " " << artifact); in FromBaseApk()
214 for (const auto& artifact : artifacts_to_keep) { in FromBaseApk() local
215 context_->GetDiagnostics()->Error(android::DiagMessage() << " " << artifact); in FromBaseApk()
225 const OutputArtifact& artifact, in FilterTable() argument
231 wrapped_context.SetSource(artifact.name); in FilterTable()
233 if (!artifact.abis.empty()) { in FilterTable()
234 filters->AddFilter(AbiFilter::FromAbiList(artifact.abis)); in FilterTable()
237 if (!artifact.screen_densities.empty()) { in FilterTable()
238 for (const auto& density_config : artifact.screen_densities) { in FilterTable()
243 if (!artifact.locales.empty()) { in FilterTable()
244 for (const auto& locale : artifact.locales) { in FilterTable()
250 if (artifact.android_sdk) { in FilterTable()
251 wrapped_context.SetMinSdkVersion(artifact.android_sdk.value().min_sdk_version); in FilterTable()
268 bool MultiApkGenerator::UpdateManifest(const OutputArtifact& artifact, in UpdateManifest() argument
318 uint64_t new_version = (major | version_code_value->value.data) + artifact.version; in UpdateManifest()
322 if (artifact.android_sdk) { in UpdateManifest()
324 const AndroidSdk& android_sdk = artifact.android_sdk.value(); in UpdateManifest()
348 if (!artifact.screen_densities.empty()) { in UpdateManifest()
361 for (const auto& density : artifact.screen_densities) { in UpdateManifest()