[android-building] Re: Build error for pixel 3 XL kernel

2019-01-18 Thread 'Chris Fries' via Android Building
Which repo did you sync, when you built? This reminds me of https://partner-android-review.googlesource.com/1089911 On Thursday, January 17, 2019 at 6:36:19 PM UTC-6, shjeep...@gmail.com wrote: > > Hi, > I'm try to build pixel3 xl kernel w/ this command > $sh build/build.sh > But facing below

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

2019-01-18 Thread Ronny Pau
I am going through the exact same thing, I can't get the caller to pick up the package from my library. Any updates? On Wednesday, 26 September 2018 09:51:25 UTC-4, shankar kumar yellapu wrote: > > Hi Dan, > > I've given a fresh build, now I'm getting new error as follows: > > ninja: error: >

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

2019-01-18 Thread Colin Cross
I'd suggest combining the two: java_import { name: "myPrebuiltJar-prebuilt", jars: ["myPrebuiltJar.jar"], } java_library { name: "myPrebuiltJar", static_libs: ["myPrebuiltJar-prebuilt"], installable: true, } On Fri, Jan 18, 2019 at 9:02 AM Ronny Pau wrote: > I have t

Re: [android-building] AOSP build system in general

2019-01-18 Thread Colin Cross
You can get ninja to print the commands it would run with -t commands. You can do that in the Android build with: NINJA_ARGS="-t commands droid" m droid is the default goal, you can replace it with any other goal you want, including a module name ("framework"), an installed file ("$(getbuildvar PR

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

2019-01-18 Thread Ronny Pau
I have the same problem too. I have a prebuilt jar that needs to be brought in, I have tried both java_import and java_library directives and neither works. Ideas? >>> java_import - seems to only create immediates but doesn't actually bring the the jar to my target directory java_import {

Re: [android-building] AOSP build system in general

2019-01-18 Thread Robert Durkacz
I thank JBQ for addressing my question. It is phrased as an objection to my proposal but I find that it is really in support because it allows me to point out that what I am asking for is perfectly normal and possible. JBQ wrote: "There are three main parts to a build system: figuring out what the