• Home
  • Raw
  • Download

Lines Matching refs:artifact

131   for (const OutputArtifact& artifact : options.apk_artifacts) {  in FromBaseApk()  local
135 wrapped_context.SetSource(artifact.name); in FromBaseApk()
138 const auto& it = artifacts_to_keep.find(artifact.name); in FromBaseApk()
140 filtered_artifacts.insert(artifact.name); in FromBaseApk()
142 context_->GetDiagnostics()->Note(DiagMessage(artifact.name) << "skipping artifact"); in FromBaseApk()
147 kept_artifacts.insert(artifact.name); in FromBaseApk()
152 FilterTable(context_, artifact, *apk_->GetResourceTable(), &filters); in FromBaseApk()
160 if (!UpdateManifest(artifact, &manifest, diag)) { in FromBaseApk()
169 file::AppendPath(&out, artifact.name); in FromBaseApk()
195 for (const auto& artifact : kept_artifacts) { in FromBaseApk() local
196 context_->GetDiagnostics()->Error(DiagMessage() << " " << artifact); in FromBaseApk()
200 for (const auto& artifact : filtered_artifacts) { in FromBaseApk() local
201 context_->GetDiagnostics()->Error(DiagMessage() << " " << artifact); in FromBaseApk()
205 for (const auto& artifact : artifacts_to_keep) { in FromBaseApk() local
206 context_->GetDiagnostics()->Error(DiagMessage() << " " << artifact); in FromBaseApk()
216 const OutputArtifact& artifact, in FilterTable() argument
222 wrapped_context.SetSource(artifact.name); in FilterTable()
224 if (!artifact.abis.empty()) { in FilterTable()
225 filters->AddFilter(AbiFilter::FromAbiList(artifact.abis)); in FilterTable()
228 if (!artifact.screen_densities.empty()) { in FilterTable()
229 for (const auto& density_config : artifact.screen_densities) { in FilterTable()
234 if (!artifact.locales.empty()) { in FilterTable()
235 for (const auto& locale : artifact.locales) { in FilterTable()
241 if (artifact.android_sdk) { in FilterTable()
242 wrapped_context.SetMinSdkVersion(artifact.android_sdk.value().min_sdk_version); in FilterTable()
258 bool MultiApkGenerator::UpdateManifest(const OutputArtifact& artifact, in UpdateManifest() argument
307 uint64_t new_version = (major | version_code_value->value.data) + artifact.version; in UpdateManifest()
311 if (artifact.android_sdk) { in UpdateManifest()
313 const AndroidSdk& android_sdk = artifact.android_sdk.value(); in UpdateManifest()
335 if (!artifact.screen_densities.empty()) { in UpdateManifest()
348 for (const auto& density : artifact.screen_densities) { in UpdateManifest()