Re: [android-building] Re: shared library can't be copied into OTATOOLS

2020-05-07 Thread 임정민
Thx that's what I wanted. And I tried this but It returns build failed like below -- [ 99% 161945/161958] Packaging Proguard obfuscation dictionary files. [ 99% 161946/161958] Dist: out/dist/x-proguard-dict-ver.zip [ 99% 161947/161958] Package target

Re: [android-building] Re: shared library can't be copied into OTATOOLS

2020-05-07 Thread 'Dan Willemsen' via Android Building
Ah, yes, the (internal, unstable) INTERNAL_OTATOOLS_FILES variable has changed meaning. Your local change to copy the files into OTA/tools wouldn't be able to use that variable anymore. I think you'd need the contents of INTERNAL_OTATOOLS_PACKAGE_FILES before the rest of the keys/etc get added to

[android-building] Re: shared library can't be copied into OTATOOLS

2020-05-07 Thread 임정민
I haven't been checking otatools.zip yet but I'm pretty sure otatools.zip has lib already What I want is shared library should be located in OTA/tools When I checked the code, copy files only $(INTERNAL_OTATOOLS_FILES) with this script "$(hide) cp $(INTERNAL_OTATOOLS_FILES) $(zip_root)

Re: [android-building] Re: shared library can't be copied into OTATOOLS

2020-05-06 Thread 'Dan Willemsen' via Android Building
No, libc++.so is already included in the otatools zip file that I linked earlier (missing that file would cause issues in our infrastructure using otatools as well). I've confirmed it's there in our internal R trees as well. If it's not showing up in your builds, are you sure you don't have a

[android-building] Re: shared library can't be copied into OTATOOLS

2020-05-06 Thread 임정민
Thanks for quick response. Why I'm doing this. We use lpunpack including OTA/tools. but when I'm running lpunpack there is error cause there are no shared library like libc++ You mean I should check all of this and added it into OTA/tools one by one? 2020년 5월 5일 화요일 오전 12시 49분 15초 UTC+9, 임정민 님의

Re: [android-building] Re: shared library can't be copied into OTATOOLS

2020-05-06 Thread 'Dan Willemsen' via Android Building
Just adding "libc++" (etc) to that list would trigger the shared library to be installed, but in general (just like PRODUCT_PACKAGES), you shouldn't need to refer to shared libraries because they should be included as a byproduct of being used by one of the binaries in that list (unless they're

[android-building] Re: shared library can't be copied into OTATOOLS

2020-05-06 Thread 임정민
I'm checking R OS And I made something wrong the question. I need OTATOOLS have shared library until Q OS there is lines like -- 2504# Shared libraries. 2505OTATOOLS += \ 2506 $(HOST_LIBRARY_PATH)/libc++$(HOST_SHLIB_SUFFIX) \ 2507