[android-building] "telephony-ext_intermediates/classes.jar', needed by" when building SlimRoms 8.1

2018-03-10 Thread Dan
, Dan -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more opti

[android-building] Re: AOSP build failure for android-9.0.0_r16 (PQ1A.181105.017.A1)

2018-11-07 Thread dan
Thanks for the quick fix Bill! On Wednesday, November 7, 2018 at 11:58:20 AM UTC-8, Bill Yi wrote: > > A linkfile to create namespace for the sdm845 project is needed. We have > updated the manifest. Please try again. > > bill > > On Wednesday, November 7, 2018 at 6:31:48 AM UTC-8,

[android-building] AOSP build failure for android-9.0.0_r16 (PQ1A.181105.017.A1)

2018-11-07 Thread dan
I'm bumping into build issues with the latest PQ1A.181105.017.A1 using branch android-9.0.0_r16. I'm using the default manifest . Any ideas? [371/967] including hardware/marvell/bt/Android.mk ... [372/967]

[android-building] Re: Android 9.0.0 Pie QPR1 Released

2018-12-04 Thread dan
android-9.0.0_r21 does not appear to have device/google/crosshatch repos defined in platform_manifest like previous release android-9.0.0_r16: https://android.googlesource.com/platform/manifest/+/android-9.0.0_r16/default.xml#59. Is there a reason for that? It looks like all the other Pixel

[android-building] Re: Android 9.0.0 Pie QPR3 Released

2019-06-04 Thread Dan Vittegleo
The AOSP build numbers page ( https://source.android.com/setup/start/build-numbers) for this update incorrectly lists PQ2A.190605.003 instead of PQ3A.190605.003 for Pixel 3 XL (crosshatch), Pixel 3 (blueline), Pixel 2 XL (taimen), Pixel 2 (walleye), Pixel XL (marlin), Pixel (sailfish). On

[android-building] Custom AVD system images for Android Studio

2020-06-09 Thread Dan Devine
Hello, I'm trying to get my custom AVD image to show up in Android Studio's configured repositories. My goal is to create a custom AVD image on a build server and distribute that image across a team of developers. I'm following the instructions in the AOSP documentation here:

[android-building] Re: Custom AVD system images for Android Studio

2020-06-11 Thread Dan Devine
SOLVED Figured this out and got it working...adding for anyone searching after me. Based on experimentation, Android Studio appears to filter the results based on the flagsimply building a 'linux' image on Ubuntu will not satisfy OS X users of Android Studio. Android Studio appears to

Re: [android-building] Proper way to include STL in Android.mk in AOSP build system

2016-06-03 Thread 'Dan Willemsen' via Android Building
Which branch are you using? Newer branches (Marshmallow+) use LOCAL_CXX_STL to chose a STL for non-NDK modules (LOCAL_NDK_STL_VARIANT for NDK modules). In Lollipop, you could include external/libcxx/libcxx.mk for libc++ - Dan On Fri, Jun 3, 2016 at 8:27 AM Michael Robbeloth <mrob

Re: [android-building] Android.mk not copying to /system

2017-02-18 Thread 'Dan Willemsen' via Android Building
TARGET_ROOT_OUT_SBIN would put that executable in /root/sbin, which is the root ramdisk, not the system partition. There isn't a /system/sbin, we just put everything in /system/bin. - Dan On Sat, Feb 18, 2017 at 8:15 AM 'Ryan Philips' via Android Building < android-building@googlegroups.

Re: [android-building] How to build fastboot for windows from Android N

2016-09-14 Thread 'Dan Willemsen' via Android Building
running. - Dan On Wed, Sep 14, 2016 at 2:29 PM Xiaofeng Lei <xiaofeng.lei...@gmail.com> wrote: > Hi all, > > Recently we moved to Android N from M, and I'm working on poring some > customized features to fastboot project. When I'm trying to build fastboot > utility for Win

Re: [android-building] problems build android-7.0.0_r1 with gcc

2016-10-26 Thread 'Dan Willemsen' via Android Building
Try removing `USE_CLANG_PLATFORM_BUILD := false` so that you're building with Clang instead of GCC. All the AOSP devices that I checked are building with Clang by default in android-7.0.0_r1, and the default for that variable if unset was switched to true. On Wed, Oct 26, 2016 at 10:01 AM

Re: [android-building] Build error: cannot define category for undefined class 'CBPeripheral'

2016-10-31 Thread 'Dan Willemsen' via Android Building
You'll need this change to build with 10.12: https://android-review.googlesource.com/c/297536/ (I just submitted it a couple hours ago, so syncing again should work) - Dan On Mon, Oct 31, 2016 at 2:52 PM 'Burkhard Mittelbach' via Android Building < android-building@googlegroups.com>

[android-building] ANN: AOSP master branch build/ project move

2016-10-11 Thread 'Dan Willemsen' via Android Building
/build.git/config | grep '^branch.' | sed 's/=/ /' | xargs -L1 git config) If you encounter any problems, please respond here. Thanks, Dan -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to androi

Re: [android-building] Re: Repo Tool Error

2017-01-13 Thread 'Dan Willemsen' via Android Building
The instructions on how to download repo are in the link in Glenn's message: http://source.android.com/source/downloading.html#installing-repo - Dan On Fri, Jan 13, 2017 at 11:29 AM Jamie Jackson <jamieljackson...@gmail.com> wrote: > Where do I get a fresh copy of the repo? I

Re: [android-building] AOSP 7.1.2 Make OTA Package Failed But Make Completes Successfully - Why?

2017-05-02 Thread 'Dan Willemsen' via Android Building
It looks like you ran out of space on /tmp: failed to write to output: No space left on device - Dan On Tue, May 2, 2017 at 4:09 PM Nate Robbins <nejrobb...@gmail.com> wrote: > Hi! I synced AOSP 7.1.2 r_8 for my Nexus5X (bullhead) and I ran make -j6. > It completed sucessfu

Re: [android-building] Error when using "sign_target_files_apks" => dumpkeys.jar not found

2017-05-03 Thread 'Dan Willemsen' via Android Building
+Tao Bao <t...@google.com> You should be able to build that with 'm -j out/host/linux-x86/framework/dumpkey.jar' (or 'm -j dumpkey'), it's a bug that it wasn't built automatically though. - Dan On Wed, May 3, 2017 at 12:15 PM 'pierre taillard' via Android Building < android

Re: [android-building] Re: android-7.0.0_r1 build error, external/doclava, openjdk-8

2017-06-27 Thread 'Dan Willemsen' via Android Building
C_LIBRARIES/libedify_intermediates/parser.cpp bootable/recovery/edify/parser.yy" > /bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory Does prebuilt/misc/linux-x86/bison/bison exist in your source directory? It should, maybe a sync failed? - Dan On Tue, Jun 27, 201

Re: [android-building] Help AOSP building failed

2017-10-23 Thread 'Dan Willemsen' via Android Building
It looks like bison is looking for `m4` in your path, so you'll need to install it with apt. We don't currently have a prebuilt of m4 to go along with the bison prebuilt. - Dan On Thu, Oct 19, 2017 at 4:12 AM, Marco Tommolini <marcohie...@gmail.com> wrote: > HI, I'm trying to bui

Re: [android-building] build aosp linux >> ninja failed with exit status 1 {LOG IN POST}

2017-11-21 Thread 'Dan Willemsen' via Android Building
You're missing the 'm4' tool, which we currently require to be installed on the host system. This should be fixed if you follow these instructions: https://source.android.com/setup/initializing#installing-required-packages-ubuntu-1404 - Dan On Sat, Nov 18, 2017 at 9:33 PM, Yathavan Parameshwaran

Re: [android-building] Please help me!Thanks!

2017-12-11 Thread 'Dan Willemsen' via Android Building
Please don't do that, your build will fail in some other way, since that check is there to ensure that the two build systems agree about options that they both need to use. On Sat, Dec 9, 2017 at 12:58 PM, Blaze Ristov wrote: > In the file

Re: [android-building] Please help me!Thanks!

2017-12-09 Thread 'Dan Willemsen' via Android Building
interested in it. This helps reduce unexpected consequences, and means that we can share intermediates that don't change between different device builds more easily. - Dan On Fri, Dec 8, 2017 at 3:46 AM, <q944489...@gmail.com> wrote: > When I builing the AOSP for my device ,I have a problem

Re: [android-building] Re: Android 8.1 build error in ubuntu 14.04

2018-05-17 Thread 'Dan Willemsen' via Android Building
few filesystems (iirc, ones that don't return extra file metadata during readdir, but require extra stat calls) - Dan On Thu, May 17, 2018, 7:31 AM Fish Zheng <zhengf...@gmail.com> wrote: > Hello, >Did you fix this issue? or any update? >I just got the same compiling error as you

Re: [android-building] why would my vendor module's Android.bp be skipped after conversion from Android.mk ?

2018-01-19 Thread 'Dan Willemsen' via Android Building
Yeah, subdirs is likely the issue here. In master, we do a full search of all Android.bp files (ignoring subdirs), which would avoid this problem. - Dan On Fri, Jan 19, 2018 at 12:43 PM, Wesolowski, Krzysztof < krzysztof.wesolow...@volvocars.com> wrote: > Android.bp uses glob pattern

Re: [android-building] Re: lunch aosp_car_emu_x86

2018-02-01 Thread 'Dan Willemsen' via Android Building
It looks like there was a typo in device/generic/car/vendorsetup.sh. The other files in that directory don't have the "emu_" part, so try `lunch aosp_car_x86-userdebug`. - Dan On Wed, Jan 31, 2018 at 10:23 PM, Henri Hildebrand < henri.hildebr...@gmail.com> wrote: > Yes,

Re: [android-building] "mm" fails in frameworks/base/SystemUI

2018-02-07 Thread 'Dan Willemsen' via Android Building
accidentally. I've posted some build performance debugging tips to https://android.googlesource.com/platform/build/soong/+/master/docs/perf.md - Dan On Mon, Feb 5, 2018 at 12:12 PM, Jeffrey Blattman < jeffrey.blatt...@gmail.com> wrote: > ninja: error: > 'out/target/common/obj/JAVA_LIBRA

Re: [android-building] Re: Prebuilt library path hardcoded into executable in Android.O using Android.bp

2018-02-26 Thread 'Dan Willemsen' via Android Building
I'm not sure, but I suspect your SONAME is incorrect in your shared library. Make sure that you've specified -Wl,-soname,libmyLibrary.so (or equivalent) when building your library. - Dan On Mon, Feb 26, 2018 at 10:50 AM, Vasishath Kaushal <vasish...@gmail.com> wrote: > I

Re: [android-building] How to depends on a host binary/library

2018-08-15 Thread 'Dan Willemsen' via Android Building
LOCAL_ADDITIONAL_DEPENDENCIES can be used to add additional dependencies that must be built before anything in the current module is built. So something like this: LOCAL_ADDITIONAL_DEPENDENCIES := $(HOST_OUT_SHARED_LIBRARIES)/LLVMPlugin.so - Dan On Wed, Aug 15, 2018 at 8:58 PM Yibai Zhang

Re: [android-building] Build walleye kernel on macos

2018-08-27 Thread 'Dan Willemsen' via Android Building
better luck reproducing them using a Linux VM if you're on a Mac. - Dan On Mon, Aug 27, 2018 at 9:09 AM 杨凡 wrote: > My code is : > Kernel tag :android-8.1.0_r0.31 > AOSP tag :android-8.1.0_r15 > > I build walleye Kernel on MacOS happen mkdtimg align 4096, > it happen the

Re: [android-building] What does "linux_bionic" mean?

2018-09-10 Thread 'Dan Willemsen' via Android Building
It's an experimental configuration for building host tools using bionic instead of relying on the host glibc. So the Android.bp files have linux_glibc and linux_bionic to differentiate options that need to be different between the two. - Dan On Mon, Sep 10, 2018 at 11:11 AM bx L wrote: > He

Re: [android-building] on Android O - mm cmd fails in /framework/base

2018-03-12 Thread 'Dan Willemsen' via Android Building
Have you run `mma` successfully before running `mm`? `mm` can really only handle rebuilds, since it doesn't attempt to build any required dependencies. - Dan On Mon, Mar 12, 2018 at 7:05 AM <rashmi1234...@gmail.com> wrote: > On Android version 8.1.0 project specific build wi

Re: [android-building] Re: Oreo: building modules with mm is incredibly slow compared to nougat

2018-04-04 Thread 'Dan Willemsen' via Android Building
://android.googlesource.com/platform/build/soong/+/master/docs/perf.md#android-8_1-oreo-mr1 You may find it faster to use `mma` rather than `mm` over time, since the results can be shared between more different invocations (though some of the regen and loading steps are slower). - Dan On Wed, Apr

Re: [android-building] Build errors while building AOSP 7.1.2

2018-04-11 Thread 'Dan Willemsen' via Android Building
If you're actually using AOSP, and only AOSP, that library does not exist, so no. - Dan On Wed, Apr 11, 2018 at 9:04 AM Shikhar <shikhar...@gmail.com> wrote: > Thanks for the reply. Are you saying it's not required while building AOSP? > > On Sunday, April 8, 2018 at 3:19

Re: [android-building] AOSP (master) fails to build on MacOS

2018-04-23 Thread 'Dan Willemsen' via Android Building
coded in some include paths. Can you give some error output, or reproduction steps? hikey960 on master doesn't appear to have other issues. - Dan On Mon, Apr 23, 2018 at 7:34 AM Oleg Kokorin <okoko...@baylibre.com> wrote: > the compilation failed for me too, but for a different reason: >

Re: [android-building] make failed to build some targets

2018-03-26 Thread 'Dan Willemsen' via Android Building
ack-server.html - Dan On Mon, Mar 26, 2018 at 8:15 AM Itai <itai...@gmail.com> wrote: > I setup a build environment following the instructions at > https://source.android.com/setup/initializing > with Nexus 5X binaries for Android 8.0.0 (OPR4.170623.020) inside > VirtualBox 5.2.8 &

Re: [android-building] Installing a prebuilt APK with Android.bp

2018-03-26 Thread 'Dan Willemsen' via Android Building
right back to Make anyways, so there's little benefit to moving at this time. - Dan On Mon, Mar 26, 2018 at 8:16 AM Will Newton <will.new...@gmail.com> wrote: > > Hi, > > Is it possible to add a prebuilt APK to the build using an Android.bp > file? I know it is poss

Re: [android-building] Not able to build HIDL driver files inside ZFS container

2018-03-26 Thread 'Dan Willemsen' via Android Building
It sounds like this is this bug: https://issuetracker.google.com/74084489 (there are some patches linked that you could try) - Dan On Mon, Mar 26, 2018 at 8:16 AM <simon.e...@u-blox.com> wrote: > Hi Dan, > > thanks for looking in to this. > Attached is the full output

Re: [android-building] question related to ccache

2018-04-02 Thread 'Dan Willemsen' via Android Building
the ccache binary directly is to manage the cache settings. - Dan On Mon, Apr 2, 2018 at 7:53 AM <lang...@intel.com> wrote: > According guide posted here : > https://source.android.com/setup/build/initializing#optimizing-a-build-environment, > ccache can help to optimize bui

Re: [android-building] Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

2018-03-22 Thread 'Dan Willemsen' via Android Building
What version of Android are you trying to build? This has been fixed on master, older versions generally aren't supported on new Mac versions (there's a range check for compatible SDK versions, but this is a runtime issue, so that may not catch it). - Dan On Wed, Mar 21, 2018 at 7:04 AM Suyash

Re: [android-building] Can not locate config makefile for product "aosp_car_emu_x86_64"

2018-03-22 Thread 'Dan Willemsen' via Android Building
There was a typo in the shell script used to create that lunch menu. Directly use `lunch aosp_car_x86_64-userdebug` instead (without the _emu). - Dan On Wed, Mar 21, 2018 at 7:04 AM Birender Singh <mebirendersi...@gmail.com> wrote: > Unable to compile any of car emulator. > >

Re: [android-building] "sudo apt-get install ia32-libs git gnupg flex bison gperf build-essential zip" execution failure

2018-03-22 Thread 'Dan Willemsen' via Android Building
ything about java, how are you actually downloading it? Which OS are you building on? (If you're using Java6, you probably need to be using Ubuntu 12.04 for your particular branch) - Dan On Wed, Mar 21, 2018 at 7:05 AM Explore India <mrp.mana...@gmail.com> wrote: > Hi, > > I am right n

Re: [android-building] Re: Encountering error while building

2018-10-29 Thread 'Dan Willemsen' via Android Building
For the master branch on AOSP, you need the preview blobs, not the ones from PPR2: https://source.android.com/setup/build/requirements#binaries For your 9.0.0_r10 build, why do you have a hardware/qcom/sdm845.mk file? Is it left over from a previous checkout? - Dan On Mon, Oct 29, 2018 at 7:33

Re: [android-building] can different Android branch code use the same ccache dir?

2018-10-10 Thread 'Dan Willemsen' via Android Building
, at least when paired with `m installclean`). - Dan On Wed, Oct 10, 2018 at 4:44 AM Minghui Ma wrote: > can different Android branch code use the same ccache dir? > such as android n,o,p use the same ccache dir path。 > > -- > -- > You received this message because

Re: [android-building] Re: Build android Oreo Code

2018-09-19 Thread 'Dan Willemsen' via Android Building
It sounds like you're using at least some of the code from Oreo, but didn't take the repo manifest updates that added entries to put those back into place. Which may mean that you're also missing new projects, or still have projects that have been removed as well. - Dan On Wed, Sep 19, 2018

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

2018-09-19 Thread 'Dan Willemsen' via Android Building
/system/app/LatinIME/LatinIME.apk - Dan On Wed, Sep 19, 2018 at 8:20 AM Bhavdip Bhalodia < bhavdip.bhalo...@codereadr.com> wrote: > I am also trying to develop LatinIME but there is less understanding to > develop it. > Thanks, > > On Monday, August 27, 2018 at 9:40:02 PM UTC+

Re: [android-building] make systemtarball and selinux context

2018-09-19 Thread 'Dan Willemsen' via Android Building
IMAGES/ files that you want to regenerate. 3. Use the releasetools -- either from build/tools/releasetools and various built tools, or from otatools.zip to recreate the images: releasetools/add_img_to_target_files - Dan On Wed, Sep 19, 2018 at 8:20 AM Jan Leonhardt wrote: > Hello yall, &g

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

2018-09-25 Thread 'Dan Willemsen' via Android Building
To compile that frameworks/base/services/core/java/com/example/sevice/myservice.java file, you'd need to add your lib to the libs section of services.core.unboosted in frameworks/base/services/core/Android.bp. - Dan On Tue, Sep 25, 2018 at 10:23 AM shankar kumar yellapu < shankarkumar

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

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 individua

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

Re: [android-building] Failing to build sdk and sdk_addon in master P

2018-12-27 Thread 'Dan Willemsen' via Android Building
://ci.android.com/builds/branches/aosp-master/grid (the sdk* columns) - Dan On Thu, Dec 27, 2018 at 12:02 PM wrote: > Thank you, using 'm mkstubs' worked. > Though normal building with sdk_addon or just sdk still doesn't. > > And if i want to build it automatically as part of the b

Re: [android-building] Failing to build sdk and sdk_addon in master P

2019-01-02 Thread 'Dan Willemsen' via Android Building
to be broken (though again, unlikely, since it affects nearly nothing). - Dan On Mon, Dec 31, 2018 at 9:09 AM wrote: > Hey again Dan, and thanks for the help ! I appreciate it. > > I am trying to build to aosp-arm64 (unlike the version in the builds in > the links which is armv7-a-

Re: [android-building] How to maintain android binaries checksum intact. after rebuild of AOSP.

2018-12-26 Thread 'Dan Willemsen' via Android Building
accepting a handful of known differences, the actual image generation may not be as stable as we'd like it to be. That's just not as well tested, as we've been mostly comparing individual files when converting make-based functionality to our new build system. - Dan On Sun, Dec 23, 2018 at 8:18 AM

Re: [android-building] Failing to build sdk and sdk_addon in master P

2018-12-26 Thread 'Dan Willemsen' via Android Building
You should be able to just run `m mkstubs` from any build configuration to build mkstubs (as it's a host tool). It'll be in out/host/linux-x86/framework/mkstubs.jar (or darwin-x86 if you're on a Mac) once built. - Dan On Tue, Dec 18, 2018 at 1:46 PM wrote: > Hey there, > > I am r

Re: [android-building] Does Android.bp include Android.bp work on Android P

2018-12-11 Thread 'Dan Willemsen' via Android Building
side soong_namespaces, so that you have one set of libraries/binaries defined for PLATFORM_SAMSUNG and another defined for PLATFORM_QCOM. That gets really messy, though you can clean a bunch of it up with defaults & filegroups. - Dan On Fri, Nov 30, 2018 at 4:43 PM wjjsun wrote: > I want to conditio

Re: [android-building] Build duration of AOSP

2018-12-15 Thread 'Dan Willemsen' via Android Building
were (HW upgrades make it difficult to make comparisons over time though). Just interested, what are the units on the vertical axis? Seconds? - Dan On Fri, Dec 14, 2018 at 11:45 AM SZ Lee wrote: > Hi all > > > As the below picture shows the build time of aosp_arm64-eng on my bui

Re: [android-building] Integration of new lib in license files

2018-11-29 Thread 'Dan Willemsen' via Android Building
The hidl module types create new modules behind the scenes, and likely aren't forwarding the notice property. Can you file a bug at https://issuetracker.google.com/issues/new?component=381517 ? I can route it appropriately. Thanks, Dan On Thu, Nov 29, 2018 at 9:40 AM Sascha Effert wrote: >

Re: [android-building] FAILED: out/soong/.bootstrap/soong-android/test/android/soong/android.a

2019-04-02 Thread 'Dan Willemsen' via Android Building
This is an error within the go compiler. Which version of android are you using, and what does `prebuilts/go/linux-x86/bin/go version` return? - Dan On Tue, Apr 2, 2019 at 8:51 AM wrote: > > when i build android code, found soong panic like this below: > > [ 49% 53/108] compile

Re: [android-building] Building APKs with minSdk in both AOSP and Android Studio

2019-04-02 Thread 'Dan Willemsen' via Android Building
In AOSP master, you should be able to set `min_sdk_version: "25"` in your Android.bp (or `LOCAL_MIN_SDK_VERSION := 25` in an Android.mk). Older branches you may need to do some workarounds with merging in another manifest, but I think you'd only get the above error on master. - Dan On

Re: [android-building] FAILED: out/soong/.bootstrap/soong-android/test/android/soong/android.a

2019-04-02 Thread 'Dan Willemsen' via Android Building
seems to fix it. Ubuntu 14.04 itself is becoming EOL this month, so you may want to think about upgrading to something newer -- modern android builds should be fairly flexible, as long as you pick something with recent kernels. - Dan On Tue, Apr 2, 2019 at 8:04 PM wrote: > > we use and

Re: [android-building] Flashing AOSP master on Pixel failed (Android Q)

2019-03-24 Thread 'Dan Willemsen' via Android Building
Had you downloaded the appropriate device blobs from here: https://developers.google.com/android/blobs-preview ? - Dan On Sun, Mar 24, 2019 at 9:21 AM Yuan Zhou wrote: > I am flashing the original AOSP master to my Pixel. I used many methods > but still failed. > > I make AOSP us

Re: [android-building] No ram.img file after successfully building AOSP

2019-03-28 Thread 'Dan Willemsen' via Android Building
To run the emulator, you'll need to build for one of the aosp_arm/aosp_arm64/aosp_x86/aosp_x86_64 targets -- aosp_blueline only works with the real device. - Dan On Thu, Mar 28, 2019 at 8:35 AM wrote: > build completed successfully (05:33:52 (hh:mm:ss)) > > im running the

Re: [android-building] build java+kolin library with build.bp failed

2019-03-12 Thread 'Dan Willemsen' via Android Building
f java and kotlin files in the current directory, since ** will match both the current directory and all subdirectories. I can't see how that would cause this problem, but it's a good thing to clean up. - Dan On Mon, Mar 11, 2019 at 10:07 PM Ted Jiang wrote: > this is my build.bp: &

Re: [android-building] error of "libLLVM_host" depends on undefined module "libLLVM_darwin" reported

2019-03-11 Thread 'Dan Willemsen' via Android Building
be used in the current build. While that can be a good thing (you're less likely to cause an instant build failure on Mac due to a typo), it is a problem for these types of use cases. I've filed a public bug to track this: https://issuetracker.google.com/128377112 Thanks for the report, Dan

Re: [android-building] failed to build some targets - libncurses.so.5: cannot open shared object file: No such file or dire

2019-03-07 Thread 'Dan Willemsen' via Android Building
It looks like you need to install libncurses5 (sudo apt install libncurses5), as that's the package that provides the 64-bit libncurses.so.5 on Ubuntu 18.04. Let me know if that fixes the issue and we'll add it to the instructions on source.android.com. Thanks, Dan On Thu, Mar 7, 2019 at 7:40

Re: [android-building] Question about PRODUCT_HOST_PACKAGES and PRODUCT_PACKAGES

2019-03-18 Thread 'Dan Willemsen' via Android Building
that you can add it to PRODUCT_PACKAGES, but not PRODUCT_HOST_PACKAGES, and get it installed only for the device. Sorry for the complication, Dan On Mon, Mar 18, 2019 at 7:28 AM Po Hu wrote: > When I try to add a target binary called badblocks (defined > https://android.googlesource.com/pl

Re: [android-building] how to get compile_commands.json by mma or mm from android.mk in aosp project of android 9

2019-03-18 Thread 'Dan Willemsen' via Android Building
a call to the compiler): https://github.com/ninja-build/ninja/issues/1377 I'd recommend converting to Android.bp so that you can use SOONG_GEN_COMPDB. - Dan On Mon, Mar 18, 2019 at 9:54 AM wrote: > I can get CMakeLists.txt from Android.bp by soong, then get > compile_commands, but cann

Re: [android-building] ckati takes very long during regenerating of something...

2019-03-22 Thread 'Dan Willemsen' via Android Building
Which branch are you working on? verbose.log.gz is new in master(Q), before then, the ckati info should be in soong.log. I believe the persist-after-ctrl-c behavior should also be gone in master, but I haven't done any extensive testing to make sure. - Dan On Fri, Mar 22, 2019, 6:49 AM wrote

Re: [android-building] missing and no known rule to make it

2019-02-14 Thread 'Dan Willemsen' via Android Building
is attempting to build the Bluetooth app, so you need to fix that missing dependency. - Dan On Thu, Feb 14, 2019 at 7:19 AM Vamsee Krishnaa < vamsikrishna481...@gmail.com> wrote: > > > vamsi@vamsi:~/ctos$ mka bacon -j8 > > PLATFORM

Re: [android-building] Help AOSP building failed

2019-01-28 Thread 'Dan Willemsen' via Android Building
: https://android.googlesource.com/platform/build/soong/+/master/ui/build/paths/config.go#76 gives a reasonable idea (though a few of those end up being prebuilts, like java) - Dan On Fri, Jan 25, 2019 at 7:53 PM Robert Durkacz wrote: > In response to reported build error, > on Tuesday, Octo

Re: [android-building] Information about prebuilt ckati

2019-05-13 Thread 'Dan Willemsen' via Android Building
roid.com/builds/branches/aosp-build-tools/grid?>. The commit message updating the prebuilts should reference a build number that can be found on ci.android.com. - Dan *From: *Rounak Agarwal *Date: *Sun, May 12, 2019, 11:01 PM *To: *Android Building Is there a way to find out the exact commit and

Re: [android-building] Please help me!Thanks!

2019-05-13 Thread 'Dan Willemsen' via Android Building
As I posted before: "Please don't do that, your build will fail in some other way, since that check is there to ensure that the two build systems agree about options that they both need to use." - Dan On Mon, May 13, 2019 at 12:36 PM Old3nglish 800 <0ld3nglish...@gmail.com> wro

Re: [android-building] Information about prebuilt ckati

2019-05-13 Thread 'Dan Willemsen' via Android Building
this db. - Dan *From: *Rounak Agarwal *Date: *Mon, May 13, 2019 at 9:10 AM *To: *Android Building Thanks for the information Dan. > > I wanted to try and build the binaries myself. I did the following : > > repo init -u https://android.googlesource.com/platform/manifest -b build-

Re: [android-building] [Android Q] Question about new constraint for build system

2019-05-02 Thread 'Dan Willemsen' via Android Building
and the ability to use python packages from the source tree (or checked in as a prebuilt, when using embedded_launcher, it's a self-contained binary): https://ci.android.com/builds/submitted/5527387/linux/latest/python.html#python_binary_host - Dan On Thu, May 2, 2019 at 9:05 PM Niklaus Lin (林洲銓

Re: [android-building] Android AOSP sepolicy not updated while Editing Seliunx Rule

2019-07-12 Thread 'Dan Willemsen' via Android Building
What version of Android are you using? Which file did you change? There may be some missing dependencies. - Dan On Fri, Jul 12, 2019 at 5:13 AM xie doye wrote: > I'm trying to customize the AOSP, And After compiled success once, I > changed some selinux rule due to Android S

Re: [android-building] $shell commands in Android.mk -> Android.bp migration.

2019-08-22 Thread 'Dan Willemsen' via Android Building
impact. Generally, if this is something that takes inputs and produces output files, you may be able to use a genrule. But without knowing anything about what this script is doing, I can't help much more than that. - Dan On Tue, Aug 20, 2019 at 2:40 PM Frederic Plourde wrote: > Hi andr

Re: [android-building] Build not picking up changes in Android.bp

2019-09-05 Thread 'Dan Willemsen' via Android Building
, use `vendor: true` instead of vendor_available. You may still need the .vendor on the command line, I don't remember. - Dan On Fri, Aug 30, 2019 at 10:37 AM Donal Morrissey wrote: > Hi There, > This is my setup: > >- AOSP branch: android-9.0.0_r46 >- Target: generic

Re: [android-building] Some questions on Android.bp files

2019-07-30 Thread 'Dan Willemsen' via Android Building
obvious where to look to figure out who was using a particular file -- it may only be referenced by an Android.bp directly upwards in the tree. `mma` can work better this way, and we've implemented the concept of visibility so that modules can control who can use their files/outputs. - Dan On Tue, Jul 3

Re: [android-building] Re: Some questions on Android.bp files

2019-08-05 Thread 'Dan Willemsen' via Android Building
proguard_flag_files was a typo -- it should be proguard_flag*s*_files. It was fixed here: https://android-review.googlesource.com/c/platform/build/soong/+/691330 - Dan On Wed, Jul 31, 2019 at 11:32 PM jw wang wrote: > Hi Google > > I'm coming across two similar build break after c

Re: [android-building] Some questions on Android.bp files

2019-08-05 Thread 'Dan Willemsen' via Android Building
docs/best_practices.md#headers>, and see if you should be exporting the header directories from a library instead of referencing paths directly. (A cc_library_headers may also work in your situation, but I highly suggest that those should only be used for truly header-only libraries). - Dan On Fri, A

Re: [android-building] Unable to compile AOSP build pixel-3xl with hwasan sanitizer

2019-07-16 Thread 'Dan Willemsen' via Android Building
Android 9 did not support the hwaddress sanitizer, I believe that support is in AOSP master, and should be in the Q release. - Dan On Tue, Jul 16, 2019 at 9:08 AM H Sai Manikanta Eadapalapati < saimanika...@eximiusdesign.com> wrote: > I'm trying to boot the pixel3 xl with aosp hwa

Re: [android-building] Building Android.bp

2019-07-18 Thread 'Dan Willemsen' via Android Building
Android.bp files must have all of their dependencies in Android.bp as well. There is no way to work around that. - Dan On Thu, Jul 18, 2019 at 7:37 AM Amit Agrawal wrote: > So In Android P, It supports both .bp as well as .mk. What if I want to > compile a module which is in .bp

Re: [android-building] SDK building - development/build/sdk.atree - couldn't locate source file error

2019-07-19 Thread 'Dan Willemsen' via Android Building
Building the sdk generally requires using the 'sdk' product when calling lunch -- it looks like that's why you were building a bunch of tools independently. I wouldn't be surprised if the sdk generation code didn't support OUT_DIR(/OUT_DIR_COMMON_BASE) that was anything other than "out&quo

Re: [android-building] How to upload a driver that I created to my device?

2019-07-19 Thread 'Dan Willemsen' via Android Building
Android (as AOSP) does not build the kernel along with the platform code -- it's expected to be delivered as a prebuilt. So setting KERNEL_DEFCONFIG won't do anything. - Dan On Fri, Jul 19, 2019 at 11:26 AM abhishekkumardwiv...@gmail.com < abhishekkumardwiv...@gmail.com> wrote: > If

Re: [android-building] Flashing kernel in pixel 2 (walleye)..?

2019-07-19 Thread 'Dan Willemsen' via Android Building
Have you read https://source.android.com/setup/build/building-kernels? - Dan On Fri, Jul 19, 2019 at 11:25 AM Saurabh Sakhare wrote: > Hello, I'm newbie in kernel development. I want to know where can I get > pixel 2 kernel and Clang toolchain and commands. I've been trying to >

Re: [android-building] How to use build vars like PRODUCT_XXX in genrule cmd?

2019-07-15 Thread 'Dan Willemsen' via Android Building
Those variables aren't exposed, partially because it becomes very difficult to understand which pieces of the system are then product-specific vs generic. Is there a reason why you wouldn't just read the runtime properties rather than trying to embed those values in code? - Dan On Mon, Jul 15

Re: [android-building] AOSP 7.1 failing to create a module with a prebuilt static library in system build.

2019-07-22 Thread 'Dan Willemsen' via Android Building
Use `mmma` or `m libdump` instead of `mmm`, at least once. I suspect that will fix it up. Note that to be correct, you need to specify LOCAL_SDK_VERSION := , since you compiled with the NDK. - Dan On Mon, Jul 22, 2019 at 6:11 AM FlamurBerisha wrote: > Hello everyone, thanks for helping. &g

Re: [android-building] Android.bp can't link java static library built from Android,mk

2019-09-20 Thread 'Dan Willemsen' via Android Building
All dependencies of an Android.bp file must be in Android.bp, not Android.mk. So you'll need to convert your libmine description to an Android.bp file. - Dan On Wed, Sep 18, 2019 at 1:51 PM Jack Rong wrote: > I have a scenario that is to link in a Java static library built from an > Andr

Re: [android-building] $shell commands in Android.mk -> Android.bp migration.

2019-09-20 Thread 'Dan Willemsen' via Android Building
from the Android.bp files are executed before we finish reading all the Android.bp files. - Dan On Fri, Sep 20, 2019 at 1:51 PM 'NIRAJ DESAI' via Android Building < android-building@googlegroups.com> wrote: > I have a similar need > > I am trying to integrate the conan package ma

Re: [android-building] Build failed with Android 9.0

2019-06-28 Thread 'Dan Willemsen' via Android Building
How did you download it? Based on the banner, that's at least partially master, not 9.0. A mismatched source tree could explain that error (or it happened to be broken when you synced, and you should try syncing again if you do want master). - Dan On Fri, Jun 28, 2019, 7:56 AM 岳羽 <384

Re: [android-building] Avoid Androdi.bp execution not being declared in subdirs

2019-11-02 Thread 'Dan Willemsen' via Android Building
, `soong_namespace`s can partition different subtrees of Android.bp files away from others. - Dan On Sat, Nov 2, 2019 at 3:30 PM seeker wrote: > Hello, > lets say a folder X has a,b,c,d and e as subfolders and I encountered a > case where X's Android.bp includes subdirs=[a,b,c,d] and not e,

Re: [android-building] Android 10 does not have a "build/target/product/core.mk" file

2019-11-11 Thread 'Dan Willemsen' via Android Building
one of the ones it includes would be better. We tried to merge and split these apart so that they made more sense -- combining some layers while splitting them up into per-partition files. - Dan On Mon, Nov 11, 2019 at 9:59 AM John W. Blue wrote: > First, wanted to say thanks for the help on

Re: [android-building] Lots of 'Disallowed PATH tool "manpath"...' when building Android Q

2019-11-18 Thread 'Dan Willemsen' via Android Building
If you check out/soong.log, there should be trace logs that include the parent processes all the way up to ninja. It sounds like one of the existing tools that we allow through is always trying to call manpath? Let me know what you find, we've definitely been shrinking this list on master. - Dan

Re: [android-building] VNDK v28

2019-11-18 Thread 'Dan Willemsen' via Android Building
Pie was API version 28, so `BOARD_VNDK_VERSION := current` should give you a v28 vndk. The v27 that comes with Pie is just the prebuilts so that you can run older vendor images. - Dan On Mon, Nov 18, 2019 at 9:34 AM M.S. Mac-Donald wrote: > Hello, > > I'm trying to build AOSP branch

Re: [android-building] passing "--depth=1" to repo init -- good/bad/ugly?

2019-11-06 Thread 'Dan Willemsen' via Android Building
r (but I'm not following it too closely). - Dan On Wed, Nov 6, 2019 at 1:39 PM John W. Blue wrote: > Downloading the source for any branch has historically been a heavy lift > simply due to the sheer size of the code. > > > > For example, for the Pixel XL I sync’d 10.0.0_r5 an

Re: [android-building] Lots of 'Disallowed PATH tool "manpath"...' when building Android Q

2019-11-18 Thread 'Dan Willemsen' via Android Building
I've created a change to empty out the BASH_ENV environment variable during the build: https://android-review.googlesource.com/c/platform/build/soong/+/1168864 - Dan On Mon, Nov 18, 2019 at 10:48 AM 'Colin Cross' via Android Building < android-building@googlegroups.com> wrote: > I

Re: [android-building] How to use build vars like PRODUCT_XXX in genrule cmd?

2019-11-22 Thread 'Dan Willemsen' via Android Building
a Go plugin. - Dan On Fri, Nov 22, 2019, 7:11 AM Chih-Wei Huang wrote: > I have the same question. > I'd like to use product variables like TARGET_PRODUCT in Android.bp. > I searched the whole AOSP tree but still can't find a way to do that. > Sigh,,, Is it possible? > > DavidR

Re: [android-building] Build sandboxing disabled due to nsjail error on lxc

2019-12-09 Thread 'Dan Willemsen' via Android Building
hich ones should be prioritized. - Dan On Mon, Dec 9, 2019 at 12:20 PM Sahaj Sarup wrote: > AOSP master. > > Getting the following warnings: > > 18:54:25 Build sandboxing disabled due to nsjail error. This may become > fatal in the future. > 18:54:25 Please let us know w

Re: [android-building] Re: How to install prebuilt_apps?

2019-10-25 Thread 'Dan Willemsen' via Android Building
Which branch are you using? `android_app_import` is the module type, but it didn't make it into Android Q(10), it's only in master. - Dan On Wed, Oct 23, 2019 at 7:52 AM REGURI AKANKSHA wrote: > I tried above think, but I am getting Androidmk translation errors like > unsupported inclu

Re: [android-building] 编译android-10.0.0_r1所遇到的问题

2019-10-28 Thread 'Dan Willemsen' via Android Building
This was a bug -- the build failed when there wasn't a vendor partition (which isn't a built configuration anymore inside Google to due Treble). You should be able to cherry-pick https://android-review.googlesource.com/c/platform/build/+/970728 to fix the problem. - Dan On Mon, Oct 28, 2019 at 9

Re: [android-building] Re: LineageOS 17.0 build in LXC 2.x - nsjail/sandboxing error

2019-10-22 Thread 'Dan Willemsen' via Android Building
, I haven't used it. I know Docker has some known issues currently in which it can't be configured to allow nsjail, but I'm hopeful that that will get fixed. - Dan On Tue, Oct 22, 2019 at 11:58 AM 'Glenn Kasten' via Android Building < android-building@googlegroups.com> wrote: > Can y

  1   2   3   >