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

Referencing other make files (Android.mk etc) #12

Open
SoapyMan opened this issue Nov 11, 2021 · 1 comment
Open

Referencing other make files (Android.mk etc) #12

SoapyMan opened this issue Nov 11, 2021 · 1 comment

Comments

@SoapyMan
Copy link

Hello!
It would be nice to support importing NDK and other foreign modules like cpufeatures, android_native_app_glue, etc
Is it possible to achieve such thing?

With options like

-- workspace level
androidimportmodules {
    "android_native_app_glue",
    "android/cpufeatures",
    "path_to_your_makefile/Android.mk"
}

-- project level (or LOCAL_STATIC_LIBRARIES), possibly "links" but i'm not sure
androidmodules {
   "android_native_app_glue",
   "cpufeatures",
   "your_android_mk_project_name"
}
@polymonster
Copy link
Owner

I’ll take a look into it when I get a chance, seems like it should be possible.

If you want to help out in the mean time and can figure out how to edit the generated gradle or cmake files to pass .mk files to be compiled then let me know anything you come up with. If you can find a solution make a fork and send a pr :)

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

No branches or pull requests

2 participants