Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Rework Android make targets #6697

Closed

Description

@tobrun

Our current set of make targets have grown naturally over time, time to clean these up, streamline naming and introduce some usefull new ones:

compile

make android-lib-{abi} (same, compiles .so file for a specific abi)
make android (same, compiles arm-v7 abi and compiles Android test app)
make android-core-test (new, todo #5456, only compile if needed)
make android-ui-test (rename, only compiles 2 test apk for firebase on bitrise, no native build?)

run

make run-android (new, make android + install/run apk on device)
make run-android-core-test (new, todo #5456)
make run-android-unit-test (rename, unit tests on development machine)
make run-android-ui-test (new, instrumentation tests on device)

generate

make style-code-android (same, remains for parity with other bindings)
make test-code-android (rename, replaces current android-generate-test)

TODO:

  • make android-ui-test (rename)
  • make run-android (add)
  • make run-android-unit-test (rename)
  • make-run-android-ui-test (new)
  • make test-code-android (rename)

cc @mapbox/android

Activity

  1. added
    Android
    on Oct 14, 2016
  2. tobrun commented on Oct 14, 2016

    @tobrun
    MemberAuthor

    Other possible targets we could consider:

    • ndk-stack
    • adb device management
    • pull offline database from rooted device
    • code coverage
    • javadoc
    • release?
  3. zugaldia commented on Oct 14, 2016

    @zugaldia
    Member

    Love it. I'm missing apackage from the list, any plans for it?

  4. tobrun commented on Oct 17, 2016

    @tobrun
    MemberAuthor

    I missed that one, where is that name apackage coming from?
    I'm personally not a big fan of the naming.

  5. zugaldia commented on Oct 17, 2016

    @zugaldia
    Member

    @tobrun Not sure either, probably is short for "android package", feel free to rename it (remember this is the target used in bitrise.yml so that needs to be updated too).

  6. tobrun commented on Nov 8, 2016

    @tobrun
    MemberAuthor

    @zugaldia the apackage seems to be the xpackage convention across platforms. Eg. iOS has ipackage. I'm going to keep this name for consistency.

  7. self-assigned this
    on Nov 8, 2016
  8. added this to the android-v5.0.0 milestone on Nov 8, 2016
  9. tobrun commented on Nov 8, 2016

    @tobrun
    MemberAuthor

    Final list of make configs is found in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidbuild

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions