You can probably use something like:
java_import {
name: "mylibrary-jar",
jars: ["mylibrary.jar"],
}
java_library {
name: "mylibrary",
static_libs: ["mylibrary-jar"],
installable: true,
}
On Mon, May 13, 2019 at 6:36 PM Vinayak Soni
wrote:
> Classes.
>
> On Tuesday, May 7,
Classes.
On Tuesday, May 7, 2019 at 1:22:15 PM UTC-7, Colin Cross wrote:
>
> What is in the jar, class files or dex files?
>
> On Tue, May 7, 2019 at 12:42 PM Vinayak Soni > wrote:
>
>> Hi Colin,
>>
>> How to write an Android.bp for a prebuilt jar that needs to be added to
>> PRODUCT_BOOT_JARS?
What is in the jar, class files or dex files?
On Tue, May 7, 2019 at 12:42 PM Vinayak Soni
wrote:
> Hi Colin,
>
> How to write an Android.bp for a prebuilt jar that needs to be added to
> PRODUCT_BOOT_JARS?
>
> Thanks,
> Vinayak
>
> On Monday, March 18, 2019 at 3:36:17 PM UTC-7, Colin Cross wrot
Hi Colin,
How to write an Android.bp for a prebuilt jar that needs to be added to
PRODUCT_BOOT_JARS?
Thanks,
Vinayak
On Monday, March 18, 2019 at 3:36:17 PM UTC-7, Colin Cross wrote:
>
> The basics on Android.bp files are documented at
> https://android.googlesource.com/platform/build/soong/+/
The basics on Android.bp files are documented at
https://android.googlesource.com/platform/build/soong/+/master/README.md,
and the documentation on the module types and their properties is at
https://ci.android.com/builds/latest/branches/aosp-build-tools/targets/linux/view/soong_build.html
.
On Mo
I actually have everything in vendor and I'd prefer to keep it there. I'm
not sure how to include whats in vendor in framework.jar.
This is the structure of the stuff I have in vendor that I would like to
include.
vendor/xxx/lib -> the prebuilt jars are here
vendor/xxx/src/com/aaa/bbb/ccc => the
All of that is up to you. All Android.bp files found in the tree are
parsed, so you can create a directory anywhere (maybe under vendor/ so you
can minimize changes to AOSP files). Put the prebuilt jars in that
directory too.
static_libs takes a list of module names. android.hardware.radio-V1.0
What directory should my prebuilt jars go into? Where are the pother
static_libs, like android.hardware.radio-V1.0-java, picked up from?
Where do I add this new Android.bp with the below content?
All I want to add to framework.jar are 2 prebuilt jars and 2 source files.
Do I need to create a new
You need to use java_import modules to create a module for the jars.
Something like:
java_import {
name: "my_prebuilt_jars",
jars: [
"my_prebuilt_jar1.jar",
"my_prebuilt_jar2.jar",
],
}
Then you can add to static_libs:
"my_prebuilt_jars"
On Mon, Mar 18, 2019 a
Hi
I would like to add a couple of prebuilt jars and some source files to the
Android 9 aosp image that I"m building.
With lower versions of Android I've added these easily to frameworks.jar.
This was straight forward to do when framework.jar was built using a make
file. Its a lot less clear ho
10 matches
Mail list logo