pdk build target has stopped working in 5.x

72 views
Skip to first unread message

Hans-Christian Egtvedt

unread,
Apr 29, 2015, 9:25:58 AM4/29/15
to android...@googlegroups.com
Any reason trying to build pdk in the recent Android releases has stopped
working?

$ make -j20 pdk
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
TARGET_PRODUCT=aosp_x86_64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-15-generic-x86_64-with-Ubuntu-15.04-vivid
HOST_BUILD_TYPE=release
BUILD_ID=LMY47V
OUT_DIR=out
============================================
PDK TARGET_BUILD_JAVA_SUPPORT_LEVEL sdk
PDK Build uses SDK 21
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
build/core/java.mk:20: *** art/test: Must not define both
LOCAL_NO_STANDARD_LIBRARIES and LOCAL_SDK_VERSION. Stop.

#### make failed to build some targets (2 seconds) ####


As far as I can tell this used to work with patch
8f0bbd235c30c99f16e10100036537dd0c0080b5 applied:
Only include test targets if test-art* or build-art* is being built.

Will building PDK be reintroduced in the 5.x releases?

--
Best regards,
Hans-Christian Egtvedt

J Jung

unread,
Apr 30, 2015, 11:33:04 AM4/30/15
to android...@googlegroups.com
Hi Hans-Christian, 

To properly assess the priority of this problem, would you be able to share why you'll need to have the PDK builds when already having full access to the source code?

Hans-Christian Egtvedt

unread,
Apr 30, 2015, 11:43:16 AM4/30/15
to john...@google.com, 'Robert Greenwalt' via android-porting

Hello,

I only use the output from PDK as I only need the HALs to put a QT based GUI on top.

Being able to only grab the pdk group of git trees and build the pdk is a lot more efficient with regards to footprint and build time.

In today's world the SoC vendors only provide an Android based BSP, but at least there is a consistent layer to integrate in, with full access to acceleration the hardware provides.

--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hans-Christian Egtvedt

unread,
May 12, 2015, 10:15:49 AM5/12/15
to john...@google.com, 'Robert Greenwalt' via android-porting
Around Thu 30 Apr 2015 17:42:18 +0200 or thereabout, Hans-Christian Egtvedt wrote:

Hello again,

FYI I backported

commit 8f0bbd235c30c99f16e10100036537dd0c0080b5
Author: Ian Rogers <iro...@google.com>
Date: Fri Sep 26 15:31:20 2014 -0700

Only include test targets if test-art* or build-art* is being built.

Change-Id: I229ba2a77d993b2c14acf9a76e102ef76b0aeba6

Which solves building PDK in android-5.1 branch.
Hans-Christian Egtvedt
Reply all
Reply to author
Forward
0 new messages