[android-building] Re: Android 7.1.1 Nougat MR1 Released

2017-09-13 Thread 'Bill Yi' via Android Building
Android 7.1.1 Nougat MR1 source code is now available. The following 
builds, tags, and devices are supported:

- N4F27O, android-7.1.1_r51, Nexus 9 (volantisg)
- NGI55D, android-7.1.1_r52, Nexus 6
- N9F27L, android-7.1.1_r53, Nexus 9 (volantis)

The corresponding factory image and proprietary binaries are available at:
https://developers.google.com/android/images
https://developers.google.com/android/ota
https://developers.google.com/android/drivers

We have pushed the corresponding kernel projects for the following devices:
Tag | Project  | Branch 
  | Device
android-7.1.1_r0.65 | kernel/msm | android-msm-shamu-3.10-nougat-mr1.7| 
Nexus 6
android-7.1.1_r0.74 | kernel/tegra | 
android-tegra-flounder-3.10-nougat-mr1.1 | Nexus 9 (volantis/volantisg)

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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Re: SOONG - cc_prebuilt_library_shared

2017-09-13 Thread Colin Cross
Oh, missed that, we don't currently have a way to vary the prebuilt based
on TARGET_BUILD_VARIANT.  What's the use case for it?

Try adding strip: none to turn off stripping.

On Wed, Sep 13, 2017 at 1:29 AM, Michael Lekman 
wrote:

> What is the requirements on prebuilt libraries?
>
> Symbols are missing and it breaks the build:
>
>  target Strip (mini debug info): libmytest (out/target/product/mytest/
> obj/lib/libmytest.so)
> 
> prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-
> 4.9/bin/aarch64-linux-android-nm: out/target/product/mytest/
> symbols/system/lib64/libmytest.so: no symbols
>
>
> Are debug symbols mandatory for prebuilt libs?
>
>
> On Tuesday, 12 September 2017 23:09:15 UTC+2, Michael Lekman wrote:
>>
>> What is the recommended way to set src file path to prebuilt libs? There
>> are different libs for target variants.
>>
>> Android.mk file:
>> LOCAL_PATH := $(call my-dir)
>>
>> PREBUILT_PATH := prebuilts/$(TARGET_BUILD_VARIANT)
>> PREBUILT_SYSTEM_PATH := $(PREBUILT_PATH)/system
>> PREBUILT_SYSTEM_BIN_PATH := = $(PREBUILT_SYSTEM_PATH)/lib
>> PREBUILT_SYSTEM_LIB64_PATH := $(PREBUILT_SYSTEM_PATH)/lib64
>>
>> include $(CLEAR_VARS)
>> LOCAL_MODULE := libmytest
>> LOCAL_MODULE_TAGS   := optional
>> LOCAL_MODULE_CLASS  := SHARED_LIBRARIES
>> LOCAL_MODULE_SUFFIX := .so
>> LOCAL_MULTILIB  := both
>> LOCAL_SRC_FILES_32 := $(PREBUILT_SYSTEM_LIB32_PATH)/
>> $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
>> LOCAL_SRC_FILES_64 := $(PREBUILT_SYSTEM_LIB64_PATH)/
>> $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
>> LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libbase libpcrecpp
>> include $(BUILD_PREBUILT)
>>
>>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Re: SOONG - cc_prebuilt_library_shared

2017-09-13 Thread Colin Cross
Correction:
strip: {
none: true,
}

On Wed, Sep 13, 2017 at 10:14 AM, Colin Cross  wrote:

> Oh, missed that, we don't currently have a way to vary the prebuilt based
> on TARGET_BUILD_VARIANT.  What's the use case for it?
>
> Try adding strip: none to turn off stripping.
>
> On Wed, Sep 13, 2017 at 1:29 AM, Michael Lekman 
> wrote:
>
>> What is the requirements on prebuilt libraries?
>>
>> Symbols are missing and it breaks the build:
>>
>>  target Strip (mini debug info): libmytest (out/target/product/mytest/obj
>> /lib/libmytest.so)
>> 
>> prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm:
>> out/target/product/mytest/symbols/system/lib64/libmytest.so: no symbols
>>
>>
>> Are debug symbols mandatory for prebuilt libs?
>>
>>
>> On Tuesday, 12 September 2017 23:09:15 UTC+2, Michael Lekman wrote:
>>>
>>> What is the recommended way to set src file path to prebuilt libs? There
>>> are different libs for target variants.
>>>
>>> Android.mk file:
>>> LOCAL_PATH := $(call my-dir)
>>>
>>> PREBUILT_PATH := prebuilts/$(TARGET_BUILD_VARIANT)
>>> PREBUILT_SYSTEM_PATH := $(PREBUILT_PATH)/system
>>> PREBUILT_SYSTEM_BIN_PATH := = $(PREBUILT_SYSTEM_PATH)/lib
>>> PREBUILT_SYSTEM_LIB64_PATH := $(PREBUILT_SYSTEM_PATH)/lib64
>>>
>>> include $(CLEAR_VARS)
>>> LOCAL_MODULE := libmytest
>>> LOCAL_MODULE_TAGS   := optional
>>> LOCAL_MODULE_CLASS  := SHARED_LIBRARIES
>>> LOCAL_MODULE_SUFFIX := .so
>>> LOCAL_MULTILIB  := both
>>> LOCAL_SRC_FILES_32 := $(PREBUILT_SYSTEM_LIB32_PATH)/
>>> $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
>>> LOCAL_SRC_FILES_64 := $(PREBUILT_SYSTEM_LIB64_PATH)/
>>> $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
>>> LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libbase libpcrecpp
>>> include $(BUILD_PREBUILT)
>>>
>>>
>> --
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Failed make -j8 - aosp_arm_eng - ubuntu

2017-09-13 Thread Colin Cross
Your CCACHE_DIR environment variable is set to /ccache/.ccache, set it to
something that exists.

On Tue, Sep 12, 2017 at 11:19 PM, aadi  wrote:

> i tried make clobber and make clean and increased the java heap size
> but still getting the same error :
>
> [  0% 75/62904] host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
> FAILED: out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o
> .
> .
> .
> ccache: failed to create /ccache/.ccache (No such file or directory)
>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] Re: Error trying package a OTA

2017-09-13 Thread Binit kumar
 I am facing the same issue with "aosp_arm-eng" target . Have you managed 
to get any solution for this ?

>
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] Failed make -j8 - aosp_arm_eng - ubuntu

2017-09-13 Thread aadi
i tried make clobber and make clean and increased the java heap size 
but still getting the same error :

[  0% 75/62904] host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
FAILED: out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o 
.
.
.
ccache: failed to create /ccache/.ccache (No such file or directory)

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] ERROR: --- target build has specified no recovery ---

2017-09-13 Thread Binit kumar

* Intent*: To test OTA package in Emulator 

 Steps:-
 
 source ./build/envsetup.sh
 lunch aosp_arm-eng
 make -j24
 make target-files-package
 
 ./build/tools/releasetools/ota_from_target_files 
out/target/product/generic/obj/PACKAGING/target_files_intermediates/aosp_arm-target_files-eng.root.zip
 
ota_update_generic.zip
unzipping target target-files...

   ERROR: --- target build has specified no recovery ---


  I have noticed that recovery.img file is not getting created for target 
"aosp_arm-eng". Why? It is throwing error while creating OTA package.

For other target like "bullhead_arm-userdebug", I have noticed that 
recovery.img is getting created and I am able to create ota packages using 
ota_from_target_files releasetools. But I am unable to run Emulator with 
blank screen. Why ? 

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.