-1

I'm working on a bluetooth library. This library is used by the service at runtime to talk to the controller. The service binary is built in AOSP env with soong.

The library i have is generally logic and no real android dependency. It does have locks, threads, mutexes etc though.

I want to build this library in CI/CD without having to download AOSP code.

General response from chatgpt is that it is almost impossible. not possible even with ndk available locally.

So, to the experts on this topic, is this possible?

Tried with NDK, the lib load fails due to difference in name mangling b/w ndk was AOSP soong.

2
  • What's log message when load library fails? Commented Nov 25 at 12:29
  • Its not able to find the necessary symbol. NDK build mangles the symbol with __ndk prefix whereas the AOSP (bionic) uses __1. Commented Nov 26 at 2:49

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.