Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine samples project #1021

Closed
wants to merge 10 commits into from

Conversation

DanAlbert
Copy link
Member

No description provided.

This has been cargo culted forward in each sample for who knows how
long. Most of these don't use kotlin or the library plugin.

The clean task bit I think was a workaround for a very old AGP bug that
was in the new app templates, but if I create a new project with AS now,
it's no longer included.
Not actually a proper upgrade, but the other samples that use Kotlin are
all on 1.7.21.
gradle.properties, afaict, can't be applied per module. Once these are
all in one giant project we want to apply this property at a finer scope
than globally, so move it to buildFeatures, which are preferred anyway.
This is step on of android#1010.
It's not really finished until I've removed all the stuff left behind
(which I'm leaving for another PR because it's just a big mess of
deletes that'd make this PR harder to read).

It's may be good to also remove the mostly unnecessary middle
directories from most of these. Doing that will break a bunch of
existing URLs, but if the goal is to be a project that's actually
sensible to copy, we need to rearrange to do that. Maybe that's better
left for a broader rearranging that's probably overdue anyway, or maybe
we should just leave it as-is to keep the URLs alive.
This obviously isn't used, and it's failing when building the whole
samples repo as a group for some reason I don't care to debug. Something
something manifest for the test APK is wrong.
Only a few of these show anything interesting about ndk-build. Keep
those and remove the rest. The few that remain will be merged with the
CMake equivalents.
Fixes the lint task that's complaining that this app wouldn't be allowed
in Play.
afaict this directory hasn't been named lib64 for quite some time, and
it definitely isn't for the NDK this sample uses on macOS. `find
prebuilts/clang/host -name lib64` only finds one version of Clang where
this was named lib64 (there were likely others that have since been
removed from the repos, but they'll be rather old).

This wasn't caught by CI because the shell script that drives the build
only builds the default build type. That will be fixed automatically as
part of android#1010.
This was previously only scoped to ASan. Move it up to the module
directory so it covers all variants.
@DanAlbert
Copy link
Member Author

Whoops, wrong branch. Uploaded too early.

@DanAlbert DanAlbert closed this May 7, 2024
@DanAlbert DanAlbert deleted the combine-samples-project branch May 7, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant