History log of /build/core/pdk_config.mk
Revision Date Author Comments
6b66fcf378d0ebd8e4cc67923336a42242550b31 27-Jan-2016 Colin Cross <ccross@android.com> Move PDK selection into config.mk

config.mk needs to know TARGET_BUILD_PDK in order to select prebuilt
tools. Move the selection of TARGET_BUILD_PDK into config.mk.

Change-Id: I1f73c92917887f27259b2db64b3779a2fe0df162
00221d45e791892f8e34d069f20d8a67067a8dda 29-Jan-2016 Yohann Roussel <yroussel@google.com> Fix classes.jack extraction from platform.zip

The copy is handled by the common rule, so JAVA_dependency_template
really only needs to add the extra dependencies. Otherwise we were
getting duplicate rule warnings.

This may extract more files than necessary, but that's better than not
enough.

Bug: 26510884
Change-Id: I022f3cc6ddd1982af3f948740917ac03e795f4c5
c8d7349f86af596d0ddec4f5361d2a784935bfd4 27-Jan-2016 Keun-young Park <keunyoung@google.com> PDK: add files necessary to for Java build to platform.zip

- add second dex to platform.zip
- pull files from .toc files for jack

bug: 26808715, 26510884

Change-Id: I146bd8cd48a19eea88f147331906bd52f34ea790
052a00f64e82b524fcb4320897b46dc941670a22 17-Feb-2015 Piotr Jastrzebski <haaawk@google.com> Use core-oj alongside core-libart wherever required.

With some core classes moved to separate core-oj jar
we need to use the new jar.

(cherry picked from commit 89b94c827f92e107b286ab60876ff9f75ba22a33)

Change-Id: I025c0adc70535bf23def3ab0ce28a1bfaef72514
a9648fb2ee3c55832fcdc64694dbb42f57dc9688 17-Feb-2015 Piotr Jastrzebski <haaawk@google.com> Use core-oj alongside core-libart wherever required.

With some core classes moved to separate core-oj jar
we need to use the new jar.

Change-Id: Ie069c7a93e63b1df854b3137d984b96520562609
89b94c827f92e107b286ab60876ff9f75ba22a33 17-Feb-2015 Piotr Jastrzebski <haaawk@google.com> Use core-oj alongside core-libart wherever required.

With some core classes moved to separate core-oj jar
we need to use the new jar.

Change-Id: Ie069c7a93e63b1df854b3137d984b96520562609
7c3e3f8314eec2c053012dd97d2ae649ebeb5653 30-Sep-2015 Dan Willemsen <dwillemsen@google.com> Sort more instances of wildcard and find

Many of these may not make a difference in the output images, but it's a
good idea to keep the make system as repeatable as possible.

Change-Id: I31804b8ad5805148ed08be7426a242a16f4d0df3
1b2637e2166dd6a8cfae6d717154221f9bdbadfa 27-Mar-2015 Nicholas Sauer <nicksauer@google.com> Add required projects to pdk build on master.

Added:
-android.test.runner_intermediates
-android-common_intermediates
-bouncycastle_intermediates
-conscrypt_intermediates
-okhttp_intermediates

Removed:
-mms-common_intermediates (which was deprecated)

Also, alphabetize the list.

Change-Id: Ida5ef79b7176edfe006f50d224bcd64b75843832
c2400c3b8561980a06eefb39dab40add89f215b4 26-Mar-2015 Nicholas Sauer <nicksauer@google.com> Add classes.jack to the pdk build

Change-Id: I66ce6681976526b35f08cfe9b23bf1a3f12bccc6
14c975b830aa764272bb76aa207b5dbf15fe422e 21-Jul-2014 Ying Wang <wangying@google.com> Remove framework2

We don't need fraemwork2 split with the multidex framework.jar.

Change-Id: Ifc595b3679946d8958a9282360c7da9bc18e8adc
1e961acf0c203b62c535d509f7f41813e8b21a5a 19-Jun-2014 Colin Cross <ccross@android.com> pdk: add core-libart_intermediates

Add out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates
to platform.zip for platform-java builds to allow telephony-common
to build.

Change-Id: I0acbceee976e784573266372071dc1463ea6d53e
273c22cbc06f3939f85aeb6013b4594d2cf9fbde 12-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Add ims-common support from kwd

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
00b83411a21e1efe35b646518223627a4b0a7960 16-May-2014 Ying Wang <wangying@google.com> Add both app_process[32|64] to PDK_SYMBOL_FILES_LIST

We may not be building all of them.
The platform.zip just silently ignores the nonexistent ones.
Also grep out the existing one when eastablishing the dependency in
fusion build.

Actually PDK_SYMBOL_FILES_LIST is used in 2 cases:
1) to build the symbol files into the platform.zip.
2) to establish the dependency on the symbol files
when doing fusion build.
The previous fix only considered case 2).

Bug: 14997273
Change-Id: I028a5b6c3a3b001efac33d3f56bd2a84f532e5b3
788c7789b9d5406b24efff7d6bdb113dafe05759 15-May-2014 Ying Wang <wangying@google.com> Fix the PDK fusion build error of missing symbol file for system/bin/app_process

system/bin/app_process may be a symlink to system/bin/app_process32 or
system/bin/app_process64.

Change-Id: I008bd0a5a801e79144fe2debe27a3a4b4deb1195
072923238d277bb24ffc82073d3e11d13a4de2fa 28-Apr-2014 Chad Jones <chadj@google.com> Expand PDK platform.zip auto-detect to named with vendor/pdk/PRODUCT

Change-Id: Ib813c9333541fa041a0902dab113fb7dc01f7e45
4b764993a99d36e434c9f9d33e6e233e10e8f2f6 29-Jan-2014 Colin Cross <ccross@android.com> pdk: add android_common.jar

Add android_common.jar to the pdk java libraries to allow partners
to build test apps against it.

Change-Id: I3f3c0f6ef086489aec293e10b0d707845b174655
c451a373a4f07ea37aba6a50c6169d251668ba32 19-Dec-2013 Colin Cross <ccross@android.com> build: always include host java files in platform.zip

Building recovery requires building a host .jar file. Change
platform.zip to always include the necessary host java prebuilts,
instead of only when building the 'platform-java' target.

Bug: 12186985
Change-Id: Ic823d764cb6b39bbf8c5d90c94b5dc99b55d34dc
074d8385908f3d37f57cdc08b8248bbdf0f97c80 17-Dec-2013 Colin Cross <ccross@android.com> pdk: add bouncycastle-host javalib.jar to platform.zip

Add javalib.jar from bouncycastle-host to the platform.zip to allow
building dumpkey.jar, which is necessary to build recovery.
Host java libraries have no classes.jar, so they have to be kept
in a separate list fromt target java libraries. Also add an implicit
rule to copy the host files out of the pdk fusion intermediates.

Bug: 12186985
Change-Id: I03ddf9810bc7a4ef7aac8427c4607d9eea27cc6b
735bba8be0511fc3b6b023eff0605d9bf4b30477 25-Sep-2013 Eino-Ville Talvala <etalvala@google.com> Add android-ex-camera2 static java library to PDK.

Library is located frameworks/ex/camera2/public.
This is required to allow pdk/apps/CameraITS to build in the PDK.

Bug: 10337323
Change-Id: I5b835134012f90462a70b9e38b69c3168df00cfd
9e7289ebabc2c1c3cc4f882bc5bac60b64397836 26-Jul-2013 keunyoung <keunyoung@google.com> fix build

- PDK_FUSION_OUT_DIR was null inside macro, lead into missing copy

bug: 10023069
Change-Id: I323d2fb6a2e955f9a7c27559701a7af36a89fea8
a219bdc0ba22c5e4a37f4367f16e7874510d0e78 26-Jul-2013 keunyoung <keunyoung@google.com> fix build

- PDK_FUSION_OUT_DIR was null inside macro, lead into missing copy

bug: 10023069
Change-Id: I323d2fb6a2e955f9a7c27559701a7af36a89fea8
60767620c35b569559a14e50ebc27896d8202779 15-Jun-2012 Tom Cherry <tcherry@nvidia.com> Fix issue with DEBUG_OUT_DIR not properly selected

- patch from NVDIA

bug: 9968564

Change-Id: I2082f989d75fb168fb42947d723de093beff4ff1
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Simone Willett <swillett@nvidia.com>
15cbe8e3d45d0a9688e92f8979eaaa71b07f6df4 19-Jul-2013 Ying Wang <wangying@google.com> Add framework2 to the java pdk package.

To fix pdk fusion build.

Change-Id: I5989f38e48614faa742f8362bde841fe084d9c13
3b4856e842d3aec88a4a040836ce23b5dbe8957d 28-Mar-2013 keunyoung <keunyoung@google.com> find pdk platform.zip from full_ directory as well for aosp_ products

Change-Id: I85f8c26e055958b6fa93c375f1080e297795a417
79d51095bb0fa75c5636e1988edd01fcf613694a 03-Feb-2013 Sungmin Choi <sungmin.choi@lge.com> pdk: fix build error on mac

About symlink, show error on Mac.
To fix it, use 'rm' before 'cp'.

error log:
cp: symlink: /data/misc/audio/wcd9310_anc.bin: File exists
make: *** [out/target/product/mako/system/etc/firmware/wcd9310/wcd9310_anc.bin] Error 1

Bug: 8127112

Change-Id: I94e1677a6742cf4350e92bdffd58e6b782cf662c
554a0adfb790580735fdc2d32f4c6016072ef226 29-Jan-2013 Wink Saville <wink@google.com> Delete frameworks/base/voip use voip-common from frameworks/opt/net/voip

Add voip-common to various files so that its available when booting
and building. Basically everyplace telephony and mms-common where needed
voip-common was added.

In core/pathmap.mk voip is removed as it is no longer in frameworks/base.

Change-Id: Ieaba759a0f69b45c4b8839cbed1fe757cdf190c5
4da8e127c736a2e97d35f8767b8a409d2bc84cc0 02-Aug-2012 Keun young Park <keunyoung@google.com> keep PLATFORM_ZIP specified explicitly

- the old behaviour was to override with default one, which makes
trying different sets of platform.zip difficult if default one exists

Change-Id: I4c8ac2e44d9e7b48f77d628cce3edb20fbdf27e4
722266918f5b1152bab0a9c05790420d09229b29 01-Aug-2012 Keun young Park <keunyoung@google.com> add symbol files to PDK release for debugging

- app_process is not in PDK, and this makes native debugging difficult
So provide symbol file instead of source

Bug: 6774048

Change-Id: I1a3a86cf64d8f1d22cdb3a22714f508de963099b
6fe6c3c22e5e333456606fd28f1c5a2e34119d0f 19-Jul-2012 Colin Cross <ccross@android.com> pdk: add telephony-common and mms-common

Factory test apps may need to compile against telephony-common and
mms-common, include the jars in the pdk platform.zip.

Change-Id: Ic3533ec42115150b94298f15acd877ef61c6660c
f4d1438d859bbbc289b55ba28c62de73f8c83fd5 18-Jun-2012 Keun young Park <keunyoung@google.com> clean up pdk_config.mk

- define ...JAVA_ZIP_... variables only when necessary
- fix missed case for TARGET_BUILD_JAVA_SUPPORT_LEVEL definition

Change-Id: I4f491ff212fd1e973a77499bbf3fd8d1940bb1f8
efe02ce9e00b9aebde7e9b32e81780d8de8f0dbd 07-Jun-2012 Keun young Park <keunyoung@google.com> add TARGET_BUILD_JAVA_SUPPORT_LEVEL to allow checking if java build is OK in PDK

- three levels: not defined, sdk, platform
- TARGET_BUILD_PDK_JAVA_PLATFORM gives the original meaning of java platform API
supported for java.mk
- remove libexif from user tag
- libexif_jni is pulled from f/b/media

Bug: 6623618

Change-Id: I5fa085bd10f43963350c57b7f885c700de8963e5
d8de82fbca4371ccefb41e02ac737e3a153901b3 25-May-2012 Keun young Park <keunyoung@google.com> ignore touch error happening from broken symbolic link

- maguro platform.zip contains hdcp.keys symbolic link which is broken except env with the key
- this causes error in the touch

Bug: 6555557
Change-Id: I5f9ff5d57c87c0d3038545eeba3b553445a8493c
816b9fd4e22843c836543522464782bece1305b8 16-May-2012 Keun young Park <keunyoung@google.com> enable PDK to use platform JAVA API

- make platform-java will add necessary Java stuffs from out/target/common/
to platform.zip
- make platform works as before: no Java libraries
- normal fusion build will pick up the file, and define TARGET_BUILD_PDK_JAVA
besides TARGET_BUILD_PDK if Java stuffs are included
- For TARGET_BUILD_PDK_JAVA, java.mk does not touch LOCAL_SDK_VERSION, which will lead into
pulling non-SDK Java APIs

Bug: 6482799

Change-Id: I90b1a0b06dc774150711680a6612f2b97b9eab3f
f8dc89b49ac64331f23c97d6aad3866dd3fb7344 27-Apr-2012 Colin Cross <ccross@android.com> Use split-long-arguments to touch pdk platform.zip files

touch $(_pdk_fusion_files) is too long for some systems, use
split-long-arguments to execute touch multiple times with a
subset of the list of files.

Change-Id: I8e8c6770936337b93e0fdf381eca8c79fd722523
2bea2e65658c686afc11eb753f647c5257685966 24-Apr-2012 Colin Cross <ccross@android.com> Set timestamps of files from platform.zip to current time

Touch files unzipped from platform.zip to update their timestamp.
Prevents make dependency confusion from files with old times.

Also add a dependency for the implicit copy rule on the
pdk_fusion.stamp file to force make to use the updated
files.

Change-Id: Ia54454518d229ce3670023819836f586fef65d3f
ebb351e1b38422345e060ba3a986f470e461c95c 20-Apr-2012 Keun young Park <keunyoung@google.com> enable Java build for PDK build
- Highest LOCAL_SDK_VERSION forced for package build / java library build

Bug: 6352960
Change-Id: I4a26bf26a51b95fb97c8b2adc9d32a543832c708
b9566c02210f6d5a91594c05b7ea28f048afab87 21-Apr-2012 Keun young Park <keunyoung@google.com> Revert "enable Java build for PDK build - Highest LOCAL_SDK_VERSION forced for package build / java library build - uses prebuilt tools for PDK"

This reverts commit 9283168e61a4991d39a6c599627eefc45d41c099
74bc051f752f013919576899d9389b70bb73df69 19-Apr-2012 Colin Cross <ccross@android.com> Move pdk fusion platform.zip file under vendor/pdk

Look for the platform.zip file in:
vendor/pdk/DEVICE/PRODUCT-BUILD_VARIANT/platform/platform.zip

Change-Id: I275029842fdf13867d5141549ca8c39abb23600b
9283168e61a4991d39a6c599627eefc45d41c099 20-Apr-2012 Keun young Park <keunyoung@google.com> enable Java build for PDK build
- Highest LOCAL_SDK_VERSION forced for package build / java library build
- uses prebuilt tools for PDK

Bug: 6352960
Change-Id: Ibb5162a16aa8151a1675baac14adb0cdfc13592d
21adee01841c3254506d729bc6d99df8d4c48d92 19-Apr-2012 Colin Cross <ccross@android.com> Move pdk fusion platform.zip file under vendor/pdk

Look for the platform.zip file in:
vendor/pdk/DEVICE/PRODUCT-BUILD_VARIANT/platform/platform.zip

Change-Id: I275029842fdf13867d5141549ca8c39abb23600b
82b836fda6894ebfccccfbddc2ce3ee2718d862e 31-Mar-2012 Ying Wang <wangying@google.com> Support to build pdk and pdk fusion.

Bug: 6241618
Change-Id: I08f74019631e9e132c15cdb2916bbafb052f9aa6