Re: [android-building] How to include prebuilt jars using bp in Android P

2018-09-24 Thread 'Dan Willemsen' via Android Building
You'll need to define your prebuilt using java_import: java_import { name: "my-services", jars: ["my-services-prebuilt.jar"], } You shouldn't need the my-services vs my-services-prebuilt differentiation like you did with make. - Dan On Mon, Sep 24, 2018 at 8:11 AM shankar kumar

Re: [android-building] How to build Settings APK from AOSP Source code ?

2018-09-24 Thread 'Dan Willemsen' via Android Building
The Settings app reaches into enough private APIs that you're going to need a significant portion of the platform in order to build it. (It does not build against the public SDKs) - Dan On Mon, Sep 24, 2018 at 8:11 AM BugWrapper wrote: > Is it possible to build the settings apk individually ?

Re: [android-building] Re: How to build the Latin IME input method?

2018-09-24 Thread 'Dan Willemsen' via Android Building
AOSP does not have a minimal manifest for Latin IME -- with enough work, it's likely possible, but I suspect it would need at least 30-40 different repositories (the build system, different compilers, dependencies, etc). - Dan On Fri, Sep 21, 2018 at 8:36 AM Vedant Roy wrote: > Thank you so

[android-building] How to include prebuilt jars using bp in Android P

2018-09-24 Thread shankar kumar yellapu
Hi, I'm trying to include a jar in /frameworks/base/services/myservice using bp . My bp file looks like this: java_library_static { name: "my-service", static_libs: ["my-services-prebuilt"], } I've copied my prebuilt jar in the same location with the name my-services-prebuilt. I'm