[android-building] Re: Android 10 Released

2019-09-05 Thread 'Xin Li' via Android Building
We have merged Android 10 to AOSP master.

-- 
-- 
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 options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/5766d561-7f41-4efc-ac70-fcb3f09972c5%40googlegroups.com.


[android-building] Re: Android 10 Released

2019-09-05 Thread 'Bill Yi' via Android Building
We have merged android10 into AOSP/master.

bill

-- 
-- 
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 options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/12ef65e0-7998-4ace-a129-3f128f48102d%40googlegroups.com.


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

2019-09-05 Thread 'Dan Willemsen' via Android Building
No, there's nothing you need to do. vendor_available defines two
installations -- one into the vendor partition and one into the system
partition. To trigger the installation of the vendor version, you may need
to specify `m .vendor` instead of `m `

If you don't need both copies of the module, 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_x86_64
>
> I'm currently working on an Android example HIDL interface, with
> accompanying client and server processes. These are all created in a new
> vendor directory structure at the top level of the repo checkout.:
> vendor/
> └── horizonemb
> ├── clients
> │   └── example_client
> │   ├── Android.bp
> │   └── exampleClient.cpp
> └── interfaces
> ├── Android.bp
> └── example
> └── 1.0
> ├── Android.bp
> ├── default
> │   ├── Android.bp
> │   ├── Example.cpp
> │   ├── Example.h
> │   ├── service.cpp
> │   └── vendor.horizonemb.hardware.exam...@1.0-service.rc
> └── IExample.hal
>
>
> If I change the VNDK related properties (vendor_available, etc) in any of
> my Android.bp files, their installation destination (/vendor v's /system)
> does not change when I build with the '*m*' command. I have to first
> delete the out directory and then carry out a full build.
>
> After modifying an Android.bp file, is there some other command I need to
> run before I build with the '*m*' command?
>
> Thank you,
> Donal
>
> --
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/ee745977-4c3e-428a-9825-2fd2ffafab77%40googlegroups.com
> 
> .
>

-- 
-- 
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 options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdkEN_s0My8gektb6Y-ihExgDm9_Z36aBzAaYar1uQK3ew%40mail.gmail.com.


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

2019-09-05 Thread Chari Veera
I got the same error when I add my custom jar to PRODUCT_BOOT_JARS. Can 
some please help me?

On Thursday, May 10, 2018 at 9:57:33 PM UTC+5:30, JethroHsu wrote:
>
> Hi guys,
>
> I got error message when trying to build AOSP (master branch) on 
> ubuntu-16.04.
> Any suggestion are welcome, thank you.
>
> FAILED: 
> out/target/product/generic/dex_bootjars/system/framework/arm/boot.art
> /bin/bash -c "(mkdir -p 
> out/target/product/generic/symbols/system/framework/arm/ ) && (rm -f 
> out/target/product/generic/dex_bootjars/system/framework/arm//*.art 
> out/target/product/generic/dex_bootjars/system/framework/arm//*.oat 
> out/target/product/generic/dex_bootjars/system/framework/arm//*.art.rel ) 
> && (rm -f out/target/product/generic/symbols/system/framework/arm//*.art ) 
> && (rm -f out/target/product/generic/symbols/system/framework/arm//*.oat ) 
> && (rm -f 
> out/target/product/generic/symbols/system/framework/arm//*.art.rel ) && 
> (ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg 
> -Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile 
> --profile-file=out/target/product/generic/dex_bootjars/system/framework/boot.prof
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar 
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar
>  
> --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar
>  
> --dex-location=/system/framework/core-oj.jar 
> --dex-location=/system/framework/core-libart.jar 
> --dex-location=/system/framework/conscrypt.jar 
> --dex-location=/system/framework/okhttp.jar 
> --dex-location=/system/framework/bouncycastle.jar 
> --dex-location=/system/framework/apache-xml.jar 
> --dex-location=/system/framework/legacy-test.jar 
> --dex-location=/system/framework/ext.jar 
> --dex-location=/system/framework/framework.jar 
> --dex-location=/system/framework/telephony-common.jar 
> --dex-location=/system/framework/voip-common.jar 
> --dex-location=/system/framework/ims-common.jar 
> --dex-location=/system/framework/org.apache.http.legacy.boot.jar 
> --dex-location=/system/framework/android.hidl.base-V1.0-java.jar 
> --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar 
> --oat-symbols=out/target/product/generic/symbols/system/framework/arm/boot.oat
>  
> --oat-file=out/target/product/generic/dex_bootjars/system/framework/arm/boot.oat
>  
> --oat-location=/system/framework/arm/boot.oat 
> --image=out/target/product/generic/dex_bootjars/system/framework/arm/boot.art 
> --base=0x7000 --instruction-set=arm --instruction-set-variant=generic 
> --instruction-set-features=default 
> --android-root=out/target/product/generic/system --runtime-arg 
> -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id 
> --multi-image 
> --no-inline-from=core-oj.jar --abort-on-hard-verifier-error 
> --abort-on-soft-verifier-error 
> --generate-mini-debug-info   || ( echo \"ERROR: Dex2oat failed to compile 
> a boot image. It is likely that the boot classpath is inconsistent. Rebuild 
> with ART_BOOT_IMAGE_EXTRA_ARGS=\"--runtime-arg -verbose:verifier\" to see 
> verification errors.\" ; false ) && ANDROID_LOG_TAGS=\"*:e\" 
> ANDROID_ROOT=out/target/product/generic/system 
> ANDROID_DATA=out/target/product/generic/dex_bootjars/system/framework/arm/ 
> out/host/linux-x86/bin/patchoatd 
> --input-image-location=out/target/product/generic/dex_bootjars/system/framework/boot.art
>  
> --output-image-relocation-directory=out/target/product/generic/dex_bootjars/system/framework/arm/
>  
> --instruction-set=arm --base-offset-delta=0x1000 )"
> /bin/bash: line 1: 19097 Illegal instruction (core dumped) 
> ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2oatd --runtime-arg 
> -Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile 
> --

[android-building] Re: android Q AOSP available ?

2019-09-05 Thread jw wang
Hello Glenn

I've successfully repo sync the correct branch today, thanks  

On Thursday, September 5, 2019 at 12:46:15 PM UTC+8, Glenn Kasten wrote:
>
> Did you try the branch name or tag at
> https://groups.google.com/forum/#!topic/android-building/Zj5VVapM8H8
>
>
> On Wednesday, September 4, 2019 at 9:42:13 PM UTC-7, jw wang wrote:
>>
>> Hi google
>>
>> android Q factory is already available for pixel 3a, however, when I try 
>> to get android-10.0.0_r1, it fail, any idea which tag/branch name should I 
>> take to repo init ??
>>
>>
>> jericho@jericho-System-Product-Name:~/work/agent/_work/android-10.0.0_r1$ 
>> repo init -u https://android.googlesource.com/platform/manifest -b 
>> android-10.0.0_r1
>> Get https://gerrit.googlesource.com/git-repo/clone.bundle
>> Get https://gerrit.googlesource.com/git-repo
>> remote: Counting objects: 2, done
>> remote: Finding sources: 100% (41/41)
>> remote: Total 41 (delta 8), reused 41 (delta 8)
>> Unpacking objects: 100% (41/41), done.
>> From https://gerrit.googlesource.com/git-repo
>>3069be2..46702ed  master -> origin/master
>>745be2e..46702ed  stable -> origin/stable
>>  * [new tag] v1.13.5-> v1.13.5
>>  * [new tag] v1.13.5.1  -> v1.13.5.1
>> Get https://android.googlesource.com/platform/manifest
>>   % Total% Received % Xferd  Average Speed   TimeTime Time  
>> Current
>>  Dload  Upload   Total   SpentLeft  
>> Speed
>>   0 00 00 0  0  0 --:--:-- --:--:-- --:--:--  
>>0
>> curl: (22) The requested URL returned error: 404 Not Found
>> Server does not provide clone.bundle; ignoring.
>> fatal: Couldn't find remote ref refs/heads/android-10.0.0_r1
>>
>>

-- 
-- 
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 options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/623d1756-8e9d-4536-af1c-a4acf32bc990%40googlegroups.com.


Re: [android-building] Re: Build on master branch: failed to find module "fizz-buzz" variant "linux_glibc_x86_64_dylib"

2019-09-05 Thread Xu Sing
Thanks for replay. but after 'repo sync platform/build/soong', 'make -j12' 
. the problem still exist. 
log:

*[ 33% 1/3] test android/soong/rust*

FAILED: out/soong/.bootstrap/soong-rust/test/test.passed

out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/rust -f 
out/soong/.bootstrap/soong-rust/test/test.passed -- 
out/soong/.bootstrap/soong-rust/test/test -test.short

--- FAIL: TestDefaultCrateName (0.01s)

panic: failed to find module "fizz-buzz" variant "linux_glibc_x86_64_dylib".

all modules: [fizz-buzz(darwin_x86_64_dylib) 
libarena_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libarena_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libfmt_macros_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libfmt_macros_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libgraphviz_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libgraphviz_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libserialize_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libserialize_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libstd_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libstd_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libsyntax_ext_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libsyntax_ext_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libsyntax_pos_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libsyntax_pos_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libsyntax_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libsyntax_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libterm_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libterm_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libtest_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libtest_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib)] [recovered]

panic: failed to find module "fizz-buzz" variant "linux_glibc_x86_64_dylib".

all modules: [fizz-buzz(darwin_x86_64_dylib) 
libarena_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libarena_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libfmt_macros_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libfmt_macros_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libgraphviz_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libgraphviz_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libserialize_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libserialize_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libstd_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libstd_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libsyntax_ext_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libsyntax_ext_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libsyntax_pos_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libsyntax_pos_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libsyntax_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libsyntax_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libterm_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libterm_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib) 
libtest_x86_64-unknown-linux-gnu(darwin_x86_64_dylib) 
libtest_x86_64-unknown-linux-gnu(android_arm64_armv8-a_dylib)]


goroutine 33 [running]:

testing.tRunner.func1(0xc000114400)

prebuilts/go/darwin-x86/src/testing/testing.go:830 +0x392

panic(0x1418f00, 0xc000576400)

prebuilts/go/darwin-x86/src/runtime/panic.go:522 +0x1b5

android/soong/android.(*TestContext).ModuleForTests(0xca6660, 
0x14a526f, 0x9, 0x14aea8c, 0x18, 0x30bf7fd77788, 0xbf02ae8)

/Volumes/AOSP/WORKING_DIRECTORY/build/soong/android/testing.go:92 +0x3ff

android/soong/rust.TestDefaultCrateName(0xc000114400)

/Volumes/AOSP/WORKING_DIRECTORY/build/soong/rust/rust_test.go:119 +0x7f

testing.tRunner(0xc000114400, 0x14c2538)

prebuilts/go/darwin-x86/src/testing/testing.go:865 +0xc0

created by testing.(*T).Run

prebuilts/go/darwin-x86/src/testing/testing.go:916 +0x35a

21:57:37 soong bootstrap failed with: exit status 1

*ninja: build stopped: subcommand failed.*


 failed to build some targets (2 seconds) 



On Wednesday, September 4, 2019 at 5:25:25 AM UTC+8, Colin Cross wrote:
>
> Thanks for the reports, this should be fixed by 
> https://android-review.googlesource.com/c/platform/build/soong/+/1113046.
>
> On Tue, Sep 3, 2019 at 7:03 AM 张光刘 > 
> wrote:
>
>> me too...
>> /Volumes/Aosp  make -j12
>> 
>> PLATFORM_VERSION_CODENAME=R
>> PLATFORM_VERSION=R
>> TARGET_PRODUCT=aosp_arm
>> TARGET_BUILD_VARIANT=eng
>> TARGET_BUILD_TYPE=release
>> TARGET_ARCH=arm
>> TARGET_ARCH_VARIANT=armv7-a-neon
>> TARGET_CPU_VARIANT=generic
>> HOST_ARCH=x86_64
>> HOST_OS=darwin
>> HOST_OS_EXTRA=Darwin-18.6.0-x86_64-10.14.5
>> HOST_BUILD_TYPE=release
>> BUILD_ID=PI
>> OUT_DIR=out
>> 
>> [ 33% 1/3] test android/soong/rust
>> FAILED: out/soong/.bootstrap/soong-rust/test/test.passed
>> out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/rust -f 
>> out/soong/.bootstrap/soong-rust/test/te