Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build #2

Open
wants to merge 10,000 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
693f366
Don't ship VoiceDialer
VladislavKoldobskiy Jan 10, 2015
d8f6e1e
releasetools: Add radio images to fastboot packages
Jan 24, 2015
e98858e
repopick: Catch errors on url load failure
mdmower Jan 11, 2015
bf76bd6
build: fix ccache preprocessor errors for clang
Oct 17, 2014
f153ebd
build: Add support for Asturian
therbom Dec 28, 2013
56b3e36
build: Add support for Luxembourgish
mikeNG Mar 29, 2014
1336a9f
build: Remove OpenWnn IME from target config
KonstaT Jan 22, 2015
c841de7
Performance improvement for whole static libs
DanAlbert May 23, 2014
b864626
build: Add support for Kurdish
mikeNG Feb 1, 2015
6fed60e
repopick: Allow using a custom query
chirayudesai Jan 23, 2015
96ecbc0
repopick: Allow the github fetch to fail
chirayudesai Jan 23, 2015
835636a
releasetools: fix cleaning up /tmp/
invisiblek Feb 8, 2015
8e4c07e
Revert "Add handheld_core_hardware.xml to telephony base"
rmcc Feb 10, 2015
f86f370
Revert "Add phone directory to frameworks/base."
Whitehawkx Feb 11, 2015
0689774
Themes: Include tm command line tool
0xD34D Feb 13, 2015
9a89692
add unpackbootimg to otatools
koush Jun 20, 2012
7022dd5
dopush only tries to push if its arg doesn't fail
marado Jan 13, 2015
1cd77d8
Don't enable ADB by default on userdebug builds
mikeNG Feb 19, 2015
13f7d2a
Revert "build: Handle custom boot images properly"
Feb 20, 2015
b3c4377
releasetools: Store and use the dt image file through target files
Feb 22, 2015
09539d7
Revert "Revert "build: Handle custom boot images properly""
Feb 23, 2015
a22ccf6
recovery: Properly populate recovery/root on Darwin
chub Feb 12, 2015
46b69da
Enable ADB by default when ro.adb.secure is not 1
Feb 26, 2015
ec0d162
[2/3] CmHardwareService: add cm hardware jar to system server
Feb 17, 2015
6c68eaf
releasetools: Add bootable image signing
Feb 23, 2015
83324f5
build: Add support for additional kernel config snippet
Mar 9, 2015
81ea6db
build: Update install tools packaging for target-files support
Mar 11, 2015
caa45d6
"LMY47P"
Mar 17, 2015
cc61059
"LMY47Q"
Mar 21, 2015
33045be
"LMY47R"
Mar 26, 2015
e6358d0
Merge tag 'android-5.1.0_r3' of https://android.googlesource.com/plat…
Mar 27, 2015
9ef1170
DO NOT MERGE - Bump version to 5.1.1
Mar 26, 2015
60c5a09
"LMY47S"
Mar 27, 2015
3892a6c
"LMY47T"
Mar 31, 2015
7435a91
build: Use xxxhdpi recovery resources on 560dpi devices
Apr 1, 2015
b2bc140
"LMY47U"
Apr 1, 2015
eca626f
merge in lmp-mr1-nova-release history after reset to lmp-mr1-dev
Apr 1, 2015
3dc1ee2
"LVZ01"
Apr 1, 2015
8c3d038
"LVY47I"
Apr 1, 2015
a14c43f
"LVY47J"
Apr 1, 2015
2e6c7c4
qcom_utils: Add msm8992 and msm8994
Rashed97 Feb 25, 2015
a9c8e58
"LMY47V"
Apr 7, 2015
76db86a
"LMY47W"
Apr 7, 2015
e25f3e1
merge in lmp-mr1-nova-release history after reset to lmp-mr1-dev
Apr 7, 2015
a03e28a
"LVZ07"
Apr 7, 2015
b49345d
"LVY47K"
Apr 7, 2015
d014494
Add support for mediatek platforms
rmcc Sep 28, 2014
793c7e3
"LMY47X"
Apr 13, 2015
66314ea
merge in lmp-mr1-nova-release history after reset to lmp-mr1-dev
Apr 14, 2015
8ef7842
"LVY47X"
Apr 14, 2015
1e6e335
Merge tag 'android-5.1.0_r5' into HEAD
rmcc Apr 14, 2015
4f2b898
"LMY47Y"
Apr 15, 2015
3ad6920
build: Move bacon public key to device tree
mikeNG Mar 19, 2015
fc14b36
releasetools: add compatibility for full ota functions with incrementals
Mar 26, 2015
8c3cb90
ota_from_target_files: Fix path for SkipNextActionIfTargetExists
Mar 26, 2015
b1e4aad
ota: Include full boot images when imgdiff fails
Mar 28, 2015
ab8a78e
build/core: Define find-other-aidl-files.
Apr 15, 2015
a8cf30e
"LMY47Z"
Apr 16, 2015
0b02dd4
"LMY48B"
Apr 17, 2015
1665b85
build: releasetools: Support transparent compression
tdmcyngn Mar 23, 2015
db25482
merge in lmp-mr1-nova-release history after reset to lmp-mr1-dev
Apr 20, 2015
6775a97
"LVZ20"
Apr 20, 2015
5475640
"LVY47Z"
Apr 20, 2015
c599dca
Colorize more target file output
Apr 20, 2015
18e0064
Merge tag 'android-5.1.1_r1' of https://android.googlesource.com/plat…
Apr 21, 2015
91544cd
build: Add a couple more custom pathmap variables
Apr 21, 2015
67437a3
build: Add option to compress precompiled odex with gzip
Mar 30, 2015
5bd813f
"LVY48B"
Apr 24, 2015
11d1800
Generate extra userdata partition if needed
intervigilium Jun 2, 2014
bca602e
"LMY48C"
May 4, 2015
38deeee
"LMY48D"
May 6, 2015
212bf4c
build: Move msm899x FLAC metadata flag to qcom_utils.mk
Rashed97 May 1, 2015
7891efa
kernel: Fix kernelconfig build
mikeNG May 10, 2015
d445a0f
build/target: Include CM platform jar in system server.
Apr 27, 2015
1ade406
build/core: Create means of ignoring subdir layer for packages.
May 8, 2015
4e34e76
build: Add IGNORE_SUBDIR to clear vars.
May 13, 2015
cc943aa
build: Ignore filters on platform library.
May 13, 2015
5de47ce
build: Unset JAVA_TOOL_OPTIONS to read java version
mdmower May 4, 2015
546a5aa
"LMY48E"
May 14, 2015
c3cc5ec
Merge tag 'android-5.1.1_r3' into HEAD
rmcc May 20, 2015
13f696e
"LMY48F"
May 28, 2015
40be6ec
"LMY48G"
May 28, 2015
71a1e36
envsetup: add mk_timer
Apr 30, 2015
bf6582e
build: avoid recovery patch if device setup can't do it correctly
Hashcode Jun 1, 2015
6aef1fa
lunch: sort the choices
Apr 30, 2015
55ad5e9
envsetup: cleanup the full list
Apr 30, 2015
5a71557
"LMY48H"
Jun 2, 2015
751ae85
Allow dopush to load binaries onto the "wrong" device
Jun 4, 2015
7d01c1d
build/core: Inherit vendor/* makefiles for check-api.
May 27, 2015
c0b3f26
Remove LatinIME as it is included per target in vendor/cm
dhacker29 Jun 7, 2015
e362738
"LVY48C"
Jun 8, 2015
e260e26
"LVY48D"
Jun 8, 2015
35f57e9
build: Add the factorypackage target
defer Apr 3, 2015
ff3412c
otasigcheck: Extract the key
chirayudesai Jun 8, 2015
d944132
envsetup: repolastsync
mdmower Dec 29, 2013
2283792
minnow_max: search for cm.mk in additional directories
May 22, 2015
b8c066d
Really include drawables for all densities.
Jun 12, 2015
f9202f2
build: use common factory script and input more parameters
edwardwa Jun 26, 2015
c1f68ae
definitions.mk: look for definitions.mk in device/*/build also
Oct 28, 2014
e60ffef
"LMY48C"
May 4, 2015
4dc6a6a
"LMY48D"
May 6, 2015
e399b9d
"LMY48E"
May 14, 2015
37da509
"LMY48F"
May 28, 2015
2e33977
"LMY48G"
May 28, 2015
435b17f
Revert "build: use common factory script and input more parameters"
edwardwa Jun 29, 2015
bf3538c
Merge tag 'android-5.1.1_r6' into cm-12.1
rmcc Jul 4, 2015
e78b239
releasetools: Add support for LZMA in blockimgdiff
Jun 10, 2015
fa943a9
"LMY48I"
Jul 9, 2015
c13c1b2
build: Fix image creation for F2FS-only configuration
Jul 10, 2015
cd8cb89
build: Fix device detection for a few of the envsetup commands
Jul 10, 2015
0f1ef4b
tools:releasetools:Use timestamp from build.prop while building syste…
boedhack Mar 20, 2015
8ab3618
Revert "Disable -mcpu=cortex-a15 flag for krait"
Jul 12, 2015
808531f
AArch64: Addressing Cortex-A53 erratum 835769
Apr 11, 2015
1e8eaf9
arm64: Enable Cortex A53 Errata 843419, 835769 ldflags
Apr 15, 2015
1db3c6e
Allow setting the recovery density separately from the aapt config
chirayudesai Jul 15, 2015
8356ec9
misc_info: Add factory script location to misc_info when available
Jul 22, 2015
c445cc3
"LMY48J"
Jul 23, 2015
68d62a7
build: Allow packaging of factory image files into target files
Jul 23, 2015
7c80b85
"LVY48E"
Jul 27, 2015
f32f688
otatools: Add f2fs tools to otatools builds
Jul 30, 2015
a3ebc82
"LMY48K"
Jul 30, 2015
f50e3fb
otatools: Only build f2fs tools on Linux
Jul 31, 2015
f165cfb
LMY48L
Aug 5, 2015
5f0c751
build: Fix extra userdata generation
Aug 6, 2015
e65d775
build: Fix extra userdata generation some more
Aug 6, 2015
c85b14f
roomservice: use force-sync when adding projects with roomservice
Aug 12, 2015
64d3073
build/core: Allow EXTERNAL_CLEAN_TARGETS to dump vars.
Aug 14, 2015
3b9e3a3
"LMY48M"
Aug 14, 2015
09787c9
"LMY48N"
Aug 14, 2015
03ca3af
"LVY48F"
Aug 14, 2015
53fcd13
"LMY48O"
Aug 14, 2015
ba7e53f
build: Enable custom ccache cache dir for Android
mdmower Jun 10, 2015
cad7d3a
LMY48P
Aug 15, 2015
8dd9ea1
Apply correct, optimized mfpu compiler flag for ARMv7-A Cortex CPUs
arter97 Sep 9, 2014
5e33ceb
Move definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level.
captain5050 Oct 15, 2014
abd57a2
Allow -mcpu=cortex-a15 for clang
Mar 25, 2015
de428e3
Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver
Mar 25, 2015
4ae8bf5
Force bsdiff for recovery_from_boot.p if not using GZIP
andi34 May 15, 2015
b817b6c
build: Enable A53 errata workarounds on targets that need it
Rashed97 Jul 13, 2015
01e44ce
Support custom gerrit servers via HTTP or SSH
Aug 4, 2015
0cf0a18
Change transfer list format to include block hashes
samitolvanen Dec 9, 2014
957f1ab
product: Let a device customize its own locales
rmcc Aug 15, 2015
080390f
Fix the error that free_string is not defined.
Mar 3, 2015
a195bcf
Do not use block_verify on target-files where feature is missing.
Feb 12, 2015
e1b7582
Restrict the verification in block-based incremental OTAs
Mar 12, 2015
8b7a6eb
Calculate max_stashed_blocks correctly for block OTA v3
samitolvanen Apr 17, 2015
52ffc46
Check partition hash before resorting to block_image_verify
samitolvanen Apr 24, 2015
bb4ab1e
Assert the stash size when generating OTAs.
May 21, 2015
407cfc7
Free the stash after its use in BBOTA v2.
Aug 13, 2015
8a26e16
Revise stash for BBOTAs when needed.
Aug 17, 2015
bcfca47
Change the cache partition size check into warnings.
Aug 8, 2015
24ddce3
build: kernel: arm64 uses Image.gz as the target
Jul 29, 2015
00cbe08
Adding msm8909 as a QCOM board platform
marado Aug 14, 2015
5b1e35c
LMY48Q
Sep 1, 2015
df45e9f
repopick: skip abandoned commits
jrior001 Aug 21, 2015
529e3b2
repopick: handle hardware_ril/ril-caf
Jul 20, 2015
12fe3d4
LMY48R
Sep 2, 2015
d2a49a4
LMY48S
Sep 2, 2015
8e9b8d2
LVY48G
Sep 2, 2015
7e980a7
Fix custom URL error. Merged from cm_build_config
Sep 1, 2015
e703199
repopick: open changes are either NEW or OPEN, not just OPEN
zifnab06 Sep 2, 2015
4ad2485
msm8909 uses the same branches as msm8916
marado Sep 2, 2015
665e136
Revert "msm8909 uses the same branches as msm8916"
intervigilium Sep 2, 2015
338b399
build: Allow QC platforms to share/customize HAL variants
Sep 2, 2015
91f91b8
build: allow using host flex binary
luca020400 Sep 7, 2015
2eeb136
releasetools: Fix the bug in symlink deletion.
Sep 2, 2015
f28d284
releasetools: Fix the bug when deleting files.
Sep 4, 2015
d7a213b
Add darwin support for f2fs host tools
Sep 3, 2015
5dee2dd
build: better zsh dopush support
romanbb Jul 20, 2015
1966a9e
build: Create a oem image when BOARD_OEMIMAGE_FILE_SYSTEM_TYPE is def…
defer Sep 4, 2015
c845e59
"LMY48T"
Sep 8, 2015
bd2ac50
"LVY48H"
Sep 8, 2015
cd811c3
"LMY48U"
Sep 8, 2015
a531281
"LMY48V"
Sep 9, 2015
f02693b
Merge tag 'android-5.1.1_r13' into cm-12.1
rmcc Sep 9, 2015
05bb2bb
repopick: print the status of a skipped cherry pick
invisiblek Sep 10, 2015
7598793
repopick: Update script with some fixes
Sep 10, 2015
6ff590d
Merge tag 'android-5.1.1_r18' into cm-12.1
rmcc Sep 10, 2015
58ff1ed
img_from_target_files: Skip oem.img in fastboot image creation
Sep 9, 2015
784fb8b
build: Separate commands in recovery foreach loops
mdmower Sep 8, 2015
1dd05bd
LMY48W
Sep 16, 2015
86ea4c8
Revert "build: better zsh dopush support"
romanbb Sep 21, 2015
c814f4a
LMY48X
Sep 28, 2015
b620b89
DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings
Sep 12, 2015
521b58b
Revert "tools:releasetools:Use timestamp from build.prop while buildi…
Aug 20, 2015
c3afd0e
repopick: support projects which get checked out multiple times
Sep 25, 2015
53c5035
tools/device: Remove deprecated line
Jackeagle Sep 30, 2015
90e8653
build: Make sure we're building our secondary resource package as dep…
Sep 30, 2015
ca2a488
build: Fix import build step.
Oct 1, 2015
75cae05
Merge tag 'android-5.1.1_r23' into cm-12.1
rmcc Oct 5, 2015
ad9a2a8
Merge tag 'android-5.1.1_r24' into cm-12.1
rmcc Oct 6, 2015
f3f529b
Fix issie #23116383: Include security patch level in Settings
Aug 12, 2015
f828f55
Set the Security Patch level with Oct 1 for LP
mikeNG Oct 5, 2015
2f9989d
generate_extra_images: Look for 3.10 dtbs
bebarino Aug 22, 2013
a606db3
build: Generalize kernel DTB path
Dec 11, 2013
4754814
mka: allow mka to be run from anywhere in the tree
statik213 Oct 6, 2015
8237106
kernel: use merge-config.sh for integrating KERNEL_ADDITIONAL_CONFIG
Oct 15, 2015
9c32ee8
kernel: Don't update defconfig with KERNEL_ADDITIONAL_CONFIG options
Oct 16, 2015
9f5ee48
edify: Fix _WordWrap function calls
xdarklight Oct 20, 2015
7fc9ab7
envsetup: Show error when supplied dir isn't present with mmm
Oct 18, 2015
22a3719
"LMY48Y"
Oct 22, 2015
990b025
Update security string to 2015-12-01 - DO NOT MERGE
Oct 22, 2015
d0da231
"LMY48Z"
Oct 27, 2015
22c60bf
"LMY49B"
Oct 27, 2015
67416e9
build: Adjust for device-specific HAL paths
intervigilium Oct 29, 2015
efa52fa
generate_extra_images: Allow supplying arguments to dtbtool
mikeNG Oct 29, 2015
1249533
Merge tag 'android-5.1.1_r26' into HEAD
rmcc Nov 3, 2015
a306ef0
ota_from_target_files: Don't validate data signatures with data wipe
Nov 3, 2015
3e8b427
build: create dt.img task
luca020400 Oct 31, 2015
4a013e5
build: Don't load dt.img task if custom mkbootimg is used
intervigilium Nov 4, 2015
1395703
gdbclient: fix build output directory path
statik213 Oct 14, 2015
60ca2b7
kernel: add `make kernelxconfig' target
statik213 Nov 17, 2015
531e203
Revert "Apply correct, optimized mfpu compiler flag for ARMv7-A Corte…
Nov 24, 2015
1cab8b5
Update Security String to 2016-01-01 - DO NOT MERGE
Nov 20, 2015
8094d8c
"LMY49C"
Dec 1, 2015
bf1fe9a
Enable El Capitan hosts for build
Dec 1, 2015
5bb2f1a
Update security string to 2015-12-01 - DO NOT MERGE
Oct 22, 2015
5c8bd52
DO NOT MERGE - Update security string to 2016-02-01
Dec 9, 2015
f28a559
"LMY49D"
Dec 11, 2015
9492d27
"LMY49E"
Dec 14, 2015
62c3f8b
merge in lmp-mr1-release history after reset to lmp-mr1-dev
Dec 17, 2015
d9a7c8e
"LMB78"
Dec 17, 2015
98e29ea
"LMY49F"
Dec 17, 2015
8500b88
merge in lmp-mr1-release history after reset to lmp-mr1-dev
Dec 18, 2015
11a5628
"LMB78"
Dec 18, 2015
45182dc
LMY49G
Dec 18, 2015
0fa91ac
Merge tag 'android-5.1.1_r33' into HEAD
Jan 5, 2016
fafe789
Updating security patch string to 2016-03-01
Jan 12, 2016
fa1323c
"LMY49H"
Jan 22, 2016
c56338d
LMY49I
Jan 26, 2016
e2f515a
kernel: don't build modules or dtbs unless enabled
statik213 Nov 18, 2015
9d72f25
kernel: prevent targets from being rebuilt needlessly
statik213 Nov 19, 2015
937d315
mms: introduce a shortcut to quickly rebuild kernel/boot.img
statik213 Oct 21, 2015
e6f8b55
kernel: Fix usage of KERNEL_ARCH
mikeNG Jan 5, 2016
0e60de2
build: force .config update if additional kernel config changes
Jan 26, 2016
bb38dfc
Merge tag 'android-5.1.1_r34' into HEAD
Feb 2, 2016
b2ac0ea
Updating security string patch to 2016-04-01
Feb 19, 2016
604febc
"LMY49J"
Feb 26, 2016
64c1e8b
"LMC57"
Feb 26, 2016
04f82d5
"LMY49J"
Feb 19, 2016
5c81333
Merge tag 'android-5.1.1_r35' into HEAD
Mar 7, 2016
07d53f6
Merge tag 'android-5.1.1_r37' into HEAD
Apr 4, 2016
7ff0b03
Merge Conflict--Update Security String to 2016-05-01 in preparation f…
Mar 22, 2016
7db5534
Avoid accidentally using the host's native 'as' command.
May 5, 2016
de59b46
Update security patch string to 2016-06-01
Apr 19, 2016
30ef6e7
Updating security string to 2016-07-01
May 23, 2016
e128849
Update security patch string to 2016-08-05
Jun 22, 2016
e07d371
Updating security string to 2016-09-01 to platform and CTS in prepara…
Jul 19, 2016
ea70746
Update Security String to 2016-10-01 to platform and CTS for October
Aug 18, 2016
fb054de
Update Security String to 2016-11-01 b/31618336
Sep 20, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.pyc
*.swp
322 changes: 322 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,322 @@
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# If you don't need to do a full clean build but would like to touch
# a file or delete some intermediate files, add a clean step to the end
# of the list. These steps will only be run once, if they haven't been
# run before.
#
# E.g.:
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
#
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
# files that are missing or have been moved.
#
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
# Use $(OUT_DIR) to refer to the "out" directory.
#
# If you need to re-do something that's already mentioned, just copy
# the command and add it to the bottom of the list. E.g., if a change
# that you made last week required touching a file and a change you
# made today requires touching the same file, just copy the old
# touch step and add it to the end of the list.
#
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

# For example:
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)

$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libmedia_jni_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libstagefright_omx_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/vendor)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/android-info.txt)
$(call add-clean-step, find $(PRODUCT_OUT) -name "*.apk" | xargs rm)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/*/LINKED)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/*.so)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/iself)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/lsd)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/apriori)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/isprelinked)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/soslim)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/YouTube*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libstagefright_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libstagefright_omx_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/librtp_jni_intermediates)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/android-info.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/JAVA_LIBRARIES/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libbcinfo_intermediates)

# ICS MR2!!!!!!!!!!!!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libbcinfo_intermediates)

# WAIT, I MEAN JELLY BEAN!!!!!!!!!!!!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Changing where ro.carrier value is instantiated for system/build.prop
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Now we switched to build against Mac OS X SDK 10.6
$(call add-clean-step, rm -rf $(OUT_DIR)/host/darwin-x86/obj)

$(call add-clean-step, rm -f $(OUT_DIR)/versions_checked.mk)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.o)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.o)

# JB MR2!!!!!!! AND *NO*, THIS WILL NOT BE K-WHATEVER.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Start of "K" development!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# GCC 4.7
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.o)

# Wait, back to some JB development!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# And on to KLP...
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# KLP now based off API 18.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# Clean up around the /system/app -> /system/priv-app migration
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)

# Clean up old location of generated Java files from aidl
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src)

# Clean up ApplicationsProvider which is being removed.
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/ApplicationsProvider_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/ApplicationsProvider.apk)

# Clean up Moto OMA DM client which isn't ready yet.
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.omadm.plugin.dev_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.omadm.plugin.diagmon_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.omadm.pluginhelper_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.omadm.plugin_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.omadm.service.api_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/DMService_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/SprintDM_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/DMService.apk)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/SprintDM.apk)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/omadm)

# GCC 4.8
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.o)

# KLP I mean KitKat now API 19.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# 4.4.1
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# 4.4.2
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# "L" and beyond.
# Make libart the default runtime
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Rename persist.sys.dalvik.vm.lib to allow new default
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# KKWT development
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# L development
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# L development
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# Add ro.product.cpu.abilist{32,64} to build.prop.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Unset TARGET_PREFER_32_BIT_APPS for 64 bit targets.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Adding dalvik.vm.dex2oat-flags to eng builds
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Unset TARGET_PREFER_32_BIT_APPS for 64 bit targets.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Switching the x86 emulator over to a 64 bit primary zygote.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)

# Rename persist.sys.dalvik.vm.lib.1 to allow new default
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Switching PRODUCT_RUNTIMES default for some devices
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# Switching to 32-bit-by-default host multilib build
$(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES))

# KKWT has become API 20
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# ims-common.jar added to BOOTCLASSPATH
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/ETC/init.environ.rc_intermediates)

# Change ro.zygote for core_64_bit.mk from zygote32_64 to zygote64_32
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)

# Adding dalvik.vm.dex2oat-Xms, dalvik.vm.dex2oat-Xmx
# dalvik.vm.image-dex2oat-Xms, and dalvik.vm.image-dex2oat-Xmx
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system)

# Adding dalvik.vm.dex2oat-filter
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)

# API 21?
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# API 21!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# API 22!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# 5.1!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# 5.1.1!
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# Added new build props
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
Loading