-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Unify Android build logic #9762
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boring-cyborg
bot
added
android
documentation
Improvements or additions to documentation
scripts
labels
Sep 16, 2021
pullapprove
bot
requested review from
anush-apple,
balducci-apple,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
Damian-Nordic,
emargolis,
franck-apple,
harimau-qirex,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kghost,
kpschoedel,
LuDuda,
mlepage-google,
msandstedt,
mspang,
pan-apple,
sagar-apple,
saurabhst,
shana-apple,
tcarmelveilleux and
turon
September 16, 2021 20:41
pullapprove
bot
requested review from
vivien-apple,
woody-apple and
yunhanw-google
September 16, 2021 20:41
saurabhst
approved these changes
Sep 16, 2021
Oops, didn't mean to re-request from Saurabh. |
woody-apple
approved these changes
Sep 17, 2021
andy31415
approved these changes
Sep 20, 2021
@austinh0 - the build_examples.py build script has unit tests. You will need to add/modify the file scripts/build/expected_all_platform_commands.txt (remeber to use the placeholders {out} and {root} and such. |
austinh0
force-pushed
the
android-build
branch
from
September 20, 2021 20:16
d3cb794
to
d79e3a7
Compare
austinh0
force-pushed
the
android-build
branch
from
September 20, 2021 20:41
d79e3a7
to
3efa284
Compare
Updated the expected commands and the tests pass. |
austinh0
force-pushed
the
android-build
branch
from
September 21, 2021 22:51
3efa284
to
a88be7a
Compare
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
scripts/build/builders/android.py
is used in the CI to build the Android CHIPTool, butscripts/examples/android_app.sh
does the same thing and is used by devs locallyChange overview
android_app.sh
is renamedandroid_app_ide.sh
and only supports the IDE build path now.android_app.py
./gradlew build
->./gradlew assembleDebug
.build
compiles debug and release APKs, which seems unnecessary and is slow.Testing
android.py
used by Android CI