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

Fix uncompressed ramdisk generation #1

Open
wants to merge 311 commits into
base: mm6.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
ff58f47
Add a unique build number to every build
rmcc Sep 25, 2013
5d74e63
add adb to the disttools
koush Jun 18, 2013
525f029
Sign final packages with a different key if requested
rmcc Jul 1, 2013
2620683
build: Don't run backuptool on GMS builds
hyperb1iss Oct 7, 2013
ced9413
Store the path to the ota file generator where it can be reused
rmcc Oct 18, 2013
119fa2b
build: Add support for vendor product and device name
hyperb1iss Oct 26, 2013
afe1413
For user builds, use a release build id in the description if one exists
rmcc Nov 11, 2013
88e6e5f
makerecipe: WIP to generate manifest branches for releases
koush May 14, 2012
6ca35a7
build: Add "aospremote" command
hyperb1iss Sep 17, 2012
06ef050
build: Add cafremote command to envsetup
hyperb1iss Oct 27, 2013
737b0a9
envsetup: Fix remote functions to deal with symlinks
hyperb1iss Nov 16, 2013
1d3615f
envsetup: drop unnecesary exports
turl Nov 3, 2013
2fac263
build: Add QCOM target-specific config
hyperb1iss Dec 28, 2013
e5c92dd
qcom_utils: Update list of QCOM_BOARD_PLATFORMS
Dec 19, 2013
994fe17
build: Fix cflags for QC targets
hyperb1iss Dec 30, 2013
6db5f0a
Allow individual projects to enforce a property's value
rmcc Jan 3, 2014
1705f58
Store the value from TARGET_OTA_ASSERT_DEVICE to a file
Jan 22, 2014
73cb2f3
build: edify: use set_metadata for backuptool
tdmcyngn Apr 9, 2014
03886ef
tools: getb64key - print the base64 version of a PEM public key file
rmcc Oct 1, 2013
bf5fead
build: use /usr/bin/env to call python
tiny4579 May 10, 2014
27576d0
build: Set ccache base to build top
tdmcyngn May 16, 2014
36171bb
build: Include an extra device.mk
hyperb1iss May 18, 2014
b401f77
Don't set CCACHE_BASEDIR if its already set
mikeyman77 Aug 26, 2013
bec9114
ota: Make sure we don't install on top of an incompatible system
rmcc May 9, 2014
6a93387
build: Store the jenkins build number in misc_info
Jul 10, 2014
7f69b96
envsetup: fixup dopush
mdmower May 20, 2014
e827d65
qcom_utils: Make "is-vendor-board-platform,XX" depend on BOARD_HAS_XX…
rmcc Nov 5, 2014
9e912f0
ota: Include copies of the recovery scripts even if shipping in block…
rmcc Nov 5, 2014
1a0a9f8
Edify: Add AssertSomeBaseband
mdmower Aug 28, 2014
a856423
ota_from_target_files: Validate signatures after possible data wipe
Aug 18, 2014
a717574
ota: Fix recovery-script cleanups in block mode
rmcc Nov 5, 2014
7511889
Build: Add support for specifying build variant in brunch/breakfast
JustArchi Jun 22, 2014
ac63643
build: Clean up use of vendor/extra
hyperb1iss Sep 10, 2014
0021dd3
build: qcom: Set QCOM_*_PATH variables for hardware/qcom-* projects
tdmcyngn Sep 18, 2014
38f6cef
[HAX] Allow per-target dtbTool
hyperb1iss Feb 23, 2014
bede625
Redo BOARD_CUSTOM_BOOTIMG_MK support
rmcc Nov 5, 2014
e264e27
Consolidate bash version checks
jamesrtnz Apr 16, 2013
57c0993
envsetup: export ANDROID_BUILD_TOP earlier
chirayudesai Mar 19, 2013
1713474
build: fix bash completion sourcing
Sep 12, 2013
bf9e75f
Fix file-size stats on OSX
koush Jun 1, 2012
674c352
Remove nulls from the edify generator.
rmcc Nov 8, 2014
fb6b4b9
Add auditd
chirayudesai Jul 30, 2013
631edb0
build: Automatically set QCOM audio, display, media variants
intervigilium Nov 9, 2014
35c1def
base: build javax.btobex
invisiblek Nov 11, 2014
398b1ed
recovery: build uncompressed ramdisk
koush Nov 17, 2011
03fc62f
Remove HomeSample from builds
Danesh Nov 8, 2013
1f5245b
product_config: Set SLIM_BUILD priority above TARGET_BUILD_APPS
Oct 14, 2014
62b33b5
build: Enable QCOM_BSP, QC_AV with QCOM_HARDWARE
intervigilium Nov 10, 2014
6107826
pathmap: Point QC HAL pathmaps directly to the source
Nov 17, 2014
b9d7ab6
Colorize javac errors
nuclearmistake Apr 28, 2014
401368b
colorize non-fatal javac stderr yellow (and actually display it... at…
nuclearmistake May 15, 2014
7c0bca0
build: Fix some colored build issues
ollie27 Oct 12, 2014
7294834
build: Degreenify java
Mar 23, 2014
e6489e5
build: Don't build video editor libraries
mikeNG May 1, 2014
a33da12
Remove deprecated custom squisher code
mikeNG Nov 11, 2014
bfe2970
Fix inheritance of PRODUCT_PROPERTY_OVERRIDES for CM audio files
arco Mar 3, 2012
fa2974a
Allow specifying kernel toolchain and prefix
chirayudesai Nov 9, 2014
fe4111f
build: recovery: Support adding device-specific items
tdmcyngn Oct 28, 2014
07c5a28
Allow devices to specify certain ro. props via TARGET_UNIFIED_DEVICE
dhacker29 Jan 28, 2014
b53d16e
Edify: Add/Update abort messages for some asserts
mdmower Aug 28, 2014
db7a5a0
ota: Build uboot bootable images when necessary
rmcc Nov 17, 2011
bf1e6d4
Enable QCOM_BSP_LEGACY flag for pre-8974 targets
Nov 22, 2014
292921c
build: Handle custom boot images properly
Aug 13, 2014
d5bca1f
build: Use project pathmap for recovery
tdmcyngn Oct 1, 2014
32bc0e5
build: clean up otasigcheck
pawitp Nov 19, 2014
4462345
ota: Let devices specify their own recovery-from-boot.p installer
rmcc Jun 19, 2014
7684262
build: Ensure /system unmounted at install start
mdmower Nov 21, 2014
b8bbea3
releasetools: ota_from_target_files: add FullOTA_PostValidate
M1cha Nov 25, 2014
31f3200
Add ext2, ext3, and vfat to releasetools
nemith Nov 19, 2011
3474175
core: Enable -mcpu=cortex-a8 flag for Scorpion cpu variant
Christopher83 Nov 30, 2014
bb70e39
core: Enable -mcpu=cortex-a9 flag for Cortex-A9 cpu variant
Christopher83 Nov 30, 2014
6483f41
core: armv7-a-neon.mk: Add missing endif
arco Nov 30, 2014
91347e2
Fix ro.build.product not found by ota_from_target_files in some cases
dhacker29 Dec 2, 2014
52c52a2
Fix libelf path
nivlafx Dec 1, 2014
003d7b3
build: Parse TARGET_COPY_FILES_OVERRIDES late in the setup
Dec 8, 2014
2fda555
build: Fix QCOM_BSP_LEGACY cflags
mikeNG Dec 9, 2014
c0dacee
Fix QCOM_BSP_LEGACY
dhacker29 Dec 14, 2014
f0788cc
build: Clean up QCOM flag definitions
intervigilium Dec 16, 2014
8b2f2f5
build: Add QCOM flags to Clang CFLAGS
intervigilium Dec 16, 2014
7d3b96d
build: Remove unused qcom CFLAG
mikeNG Dec 16, 2014
de2f6f1
Store the base64 release key in the OTA zips
rmcc May 7, 2014
9d44d62
releasetools: allow devices to specify a custom make_recovery_patch
invisiblek Dec 18, 2014
4a9f519
build: fix dopush for SystemUI
pawitp Dec 22, 2014
6b631ee
envsetup: new function cmka
chirayudesai Sep 28, 2012
2d98b0c
releasetools: clean up residual targetfiles-* dirs in /tmp/
invisiblek Dec 22, 2014
0cca947
build: Set QCOM global cflags for secondary arch
Dec 25, 2014
eb811d6
build: Fix copypasta in 2nd target clang flags
Dec 26, 2014
21f28b5
build: Add changes to release tools and mkbootimg
boedhack Jul 30, 2013
7aadb3e
Add ddclient function for debugging with DDD
0xD34D Dec 23, 2014
ed94055
build: Allow devices to specify a RIL variant
intervigilium Nov 21, 2014
a9bb776
core: Get the RIL variant path into the global includes
Dec 28, 2014
0930d58
build: qcom: Set the correct project path for device-specific cameras
rmcc Jan 2, 2015
530a458
build: Add an option to block non-enforcing builds
rmcc Jan 5, 2015
8c93225
releasetools: Store the build.prop file in the OTA zip
Jan 8, 2015
6b65ba8
Allow finer control over how product variables are inherited.
Dec 17, 2014
ac9d26b
build: ota: Support for install tools in /tmp/install
tdmcyngn Dec 12, 2014
7f9875d
build: Only set capabilities if provided
tdmcyngn Dec 16, 2014
674cb14
build: fix darwin compile
romanbb Jan 14, 2015
521aab6
core: More flexible kernel configuration
Dec 24, 2014
df31e69
Add support for OSX up to 10.10 and CLI Tools
chub Jan 6, 2015
0d2a774
Fix kernel.mk if SELINUX or VARIANT_DEFCONFIG is defined
dhacker29 Jan 19, 2015
114137a
build: kernel: Fix stray "@"
rmcc Jan 20, 2015
86a2bbb
build: releasetools: ota: Add support for 32-64 bit upgrades
boedhack Nov 18, 2014
a3280a2
releasetools: Add radio images to fastboot packages
Jan 24, 2015
a7449a1
build: Add support for Asturian
therbom Dec 28, 2013
c96d09d
build: Add support for Luxembourgish
mikeNG Mar 29, 2014
008d701
build: Remove OpenWnn IME from target config
KonstaT Jan 22, 2015
72e274f
build: Add support for Kurdish
mikeNG Feb 1, 2015
6f43ff6
releasetools: fix cleaning up /tmp/
invisiblek Feb 8, 2015
354a0c4
Revert "Add handheld_core_hardware.xml to telephony base"
rmcc Feb 10, 2015
f03015d
add unpackbootimg to otatools
koush Jun 20, 2012
0e2467f
dopush only tries to push if its arg doesn't fail
marado Jan 13, 2015
e42b7f3
Don't enable ADB by default on userdebug builds
mikeNG Feb 19, 2015
c9cef69
Enable ADB by default when ro.adb.secure is not 1
Feb 26, 2015
5d8053f
build: Add support for additional kernel config snippet
Mar 9, 2015
69ee65a
build: Update install tools packaging for target-files support
Mar 11, 2015
3dde85b
Revert "Add temporary hack to help with merge resolution."
PRJosh Dec 29, 2015
6989340
build: Fix extreneous endif.
Oct 7, 2015
fef6132
build: remove extreneous backwhack
invisiblek Oct 7, 2015
39753a2
Fix OSX support for new CLI Tools (starting with 7.1)
chub Oct 7, 2015
850ca02
core: Add recovery image target
bmc08gt Oct 8, 2015
3b51b49
Add Xcode 7 (10.11) SDK support to mac supported list
bmc08gt Oct 2, 2015
916be2f
Fix syntax issues and recovery generation
Oct 8, 2015
1df10d6
build: Allow QC platforms to share/customize HAL variants
Sep 2, 2015
19a3cfa
build: kernel: arm64 uses Image.gz as the target
Jul 29, 2015
77a91fd
kernel: Fix kernelconfig build
mikeNG May 10, 2015
59d142a
build/core: Create means of ignoring subdir layer for packages.
May 8, 2015
f86e001
build: Add IGNORE_SUBDIR to clear vars.
May 13, 2015
3b3c726
Add support for mediatek platforms
rmcc Sep 28, 2014
334e3bc
Colorize more target file output
Apr 20, 2015
b23c183
build: Add a couple more custom pathmap variables
Apr 21, 2015
6e14d89
Generate extra userdata partition if needed
intervigilium Jun 2, 2014
92c2f7a
envsetup: add mk_timer
Apr 30, 2015
a8f82b6
build: avoid recovery patch if device setup can't do it correctly
Hashcode Jun 1, 2015
531045e
lunch: sort the choices
Apr 30, 2015
3123fb3
envsetup: cleanup the full list
Apr 30, 2015
8fd401f
Remove LatinIME as it is included per target in vendor/slim
dhacker29 Jun 7, 2015
aefb9c3
build: Add the factorypackage target
defer Apr 3, 2015
99c4f98
otasigcheck: Extract the key
chirayudesai Jun 8, 2015
5913cc3
envsetup: repolastsync
mdmower Dec 29, 2013
4947b19
minnow_max: search for cm.mk in additional directories
May 22, 2015
cee5172
envsetup: push to connected device only if it is $CM_BUILD
chirayudesai Dec 26, 2012
99d5d96
Allow dopush to load binaries onto the "wrong" device
Jun 4, 2015
75574a4
build: Fix device detection for a few of the envsetup commands
Jul 10, 2015
a9b78d0
Allow setting the recovery density separately from the aapt config
chirayudesai Jul 15, 2015
3d3eda6
misc_info: Add factory script location to misc_info when available
Jul 22, 2015
0a09d0e
build: Allow packaging of factory image files into target files
Jul 23, 2015
6b04501
build: Enable custom ccache cache dir for Android
mdmower Jun 10, 2015
1bc3c3e
Force bsdiff for recovery_from_boot.p if not using GZIP
andi34 May 15, 2015
99519fd
Allow a device to generically define its own headers
rmcc Apr 12, 2011
4bd485d
Set kernel gcc version to 4.8 for ARM targets
bmc08gt Oct 10, 2015
d20e13c
Underp releasetools
mikeNG Oct 12, 2015
b27e123
Fix libelf path for mm
nivlafx Dec 1, 2014
5a7d4a3
Fix case where boot/recovery.img were being built with wrong params.
boedhack Oct 25, 2012
a412a53
qcom_utils: Add msm8992 and msm8994
Rashed97 Feb 25, 2015
1eb6088
Adding msm8909 as a QCOM board platform
marado Aug 14, 2015
677b93d
qcom: Enable TARGET_COMPILE_WITH_MSM_KERNEL
Rashed97 Oct 10, 2015
a9c464d
build: Cleanup and fix merge derp
Rashed97 Oct 13, 2015
d1cbb35
qcom: Add QTI_BSP
Rashed97 Oct 9, 2015
7cb2a03
build/core: Inherit vendor/* makefiles for check-api.
May 27, 2015
987ce92
qcom: Remove QCOM_DIRECTTRACK
intervigilium Oct 13, 2015
a8414ca
releasetools: don't attempt to read fingerprint on unified devices
invisiblek Oct 15, 2015
1d625dd
build: Add ASCII logo to edify script
dankoman30 Jun 22, 2014
71afec1
roomservice: python3 support
chirayudesai Apr 30, 2013
0ba081b
roomservice: Improve new device retrieval
mdmower Nov 1, 2014
e3777c9
roomservice: Fix search of devices forked to SLIM
mdmower Jan 2, 2015
8a08f5e
roomservice: Improve error handling on search
Jan 8, 2015
cdcdd8b
Fixup zip naming and roomservice
Flinny Apr 1, 2015
6595d4b
roomservice: hack the calculated revision in to shape
Apr 29, 2015
6883f9b
Overhaul roomservice for sanity and cleanliness
Jan 9, 2015
1383c70
roomservice: check against the path, not name
Apr 29, 2015
6abd410
roomservice: add branch to deps if not provided
Apr 29, 2015
471e51f
roomservice: touchup revision assignment
Apr 29, 2015
2379825
roomservice: add debug method
Apr 30, 2015
861d85b
Update roomservice fallback branch
PRJosh Oct 6, 2015
9cec20a
roomservice: use force-sync when adding projects with roomservice
Aug 12, 2015
63fd4cd
Kill Music build. This needs to die in a fire..
Flinny Dec 8, 2014
495e92e
build: remove remote methods as they are now in vendor and cmgerrit/c…
Flinny Oct 16, 2015
cf73d0f
envsetup: hmm: Put descriptions into an array
May 4, 2015
c4f19a0
update releasekey paths
Flinny Oct 16, 2015
2d688fc
build: Allow devices to specify a WLAN variant
luk1337 Oct 14, 2015
3a06ea3
build: Fix BOARD_CUSTOM_BOOTIMG_MK for recovery target.
Oct 12, 2015
aa26e6e
build: Add bt-vendor variant and fix wlan variant
Oct 17, 2015
8da0778
build: Actually build the recovery.img if !BOARD_CUSTOM_BOOTIMG_MK
dhacker29 Oct 17, 2015
fcdf6ca
envsetup: Show error when supplied dir isn't present with mmm
Oct 18, 2015
4ef7038
build: Fix check on BOARD_CUSTOM_BOOTIMG_MK
Oct 21, 2015
5de2591
More custom mkbootimg cleanup
mikeNG Oct 21, 2015
b05ac70
fix success/failure coloring for darwin
romanbb Oct 16, 2015
e06a644
build: Separate commands in recovery foreach loops
mdmower Sep 8, 2015
2f00ea3
build: Fix import build step.
Oct 1, 2015
c7b17ec
build: Fix image creation for F2FS-only configuration
Jul 10, 2015
12ba253
Fix TARGET_RELEASETOOL_MAKE_RECOVERY_PATCH_SCRIPT mismerge
mikeNG Oct 23, 2015
9efed5c
build/core: Define find-other-aidl-files.
Apr 15, 2015
f02454c
Fix ccache mismerges
mikeNG Oct 23, 2015
89aa64a
Apply correct, optimized mfpu compiler flag for ARMv7-A Cortex CPUs
arter97 Sep 9, 2014
426f07f
envsetup: dopush: set file permissions on files pushed to /data too
mdmower May 20, 2014
b0a3964
generate_extra_images: Look for 3.10 dtbs
bebarino Aug 22, 2013
e904752
build: Generalize kernel DTB path
Dec 11, 2013
42649d7
mka: allow mka to be run from anywhere in the tree
statik213 Oct 6, 2015
4265714
kernel: use merge-config.sh for integrating KERNEL_ADDITIONAL_CONFIG
Oct 15, 2015
c3636d1
kernel: Don't update defconfig with KERNEL_ADDITIONAL_CONFIG options
Oct 16, 2015
b37d8f6
build: Introduce ainfo, aerror functions
tdmcyngn Oct 28, 2015
18db3e7
build: Adjust for device-specific HAL paths
intervigilium Oct 30, 2015
b910150
generate_extra_images: Allow supplying arguments to dtbtool
mikeNG Oct 29, 2015
5349821
build: skip checking boot jars by default
Oct 30, 2015
cc2bc85
Add -mfpu=neon-vfpv4 if cpu is krait
pirama-arumuga-nainar Jul 9, 2015
d749f6c
build: Add support for device tree in boot.img
Jul 28, 2012
8945bc9
build: fix dopush with zsh
luca020400 Nov 2, 2015
784c84e
build: create dt.img task
luca020400 Oct 31, 2015
81c34c4
Revert "Add auditd"
mikeNG Nov 2, 2015
57dbb24
full_base: Fix mismerge
mikeNG Nov 2, 2015
a9a11da
Conditionally create symlink /system/vendor if needed
dhacker29 Nov 5, 2015
1d43182
build: Disable relocation packing on recovery and utility executables
tdmcyngn Oct 30, 2015
3c5e311
build: Don't load dt.img task if custom mkbootimg is used
intervigilium Nov 4, 2015
ecff9d1
core: Account for prebuilt DT images
raymanfx Nov 5, 2015
4c0058a
dt_image: Fix build error
dhacker29 Nov 6, 2015
702f5e3
vboot_signer: Add kernel subkey required for signing kernel keyblock
furquan-goog Aug 7, 2015
36ec474
releasetools: Fix parameters for vboot_signer
furquan-goog Aug 10, 2015
0469d62
build: Fix broken Darwin builds
raymanfx Nov 2, 2015
45a8021
add support for extended prop post processing
antdking Nov 7, 2014
183ff86
Add back mka bootzip
RobbieL811 May 12, 2015
f2d8f60
Set metadata on bootzip
andi34 Aug 11, 2015
1d70a2c
repopick: fix topic
Nov 22, 2015
5fd75f4
AOSPB initial
gmillz Dec 29, 2015
4fd5ff1
Change the cache partition size check into warnings.
Aug 8, 2015
6e6ff21
Add magic
MTB3000GT Feb 25, 2015
de3534b
make it dirty
MTB3000GT Feb 25, 2015
2d992bb
Moar clean options!
MTB3000GT Feb 25, 2015
189f3e1
qcom: Fix non-QC target pathmappings
intervigilium Jan 10, 2016
d0da961
qcom: Add dataservices to project pathmap
intervigilium Jan 10, 2016
16bdb2c
kernel: add `make kernelxconfig' target
statik213 Nov 17, 2015
7dd98b7
kernel: don't build modules or dtbs unless enabled
statik213 Nov 18, 2015
1f1ace3
kernel: prevent targets from being rebuilt needlessly
statik213 Nov 19, 2015
e5cb9a9
kernel: Fix usage of KERNEL_ARCH
mikeNG Jan 5, 2016
17ee42f
MMB29N
Nov 19, 2015
40e86a5
Change version back to 6.0
Nov 15, 2015
cf12ff9
Revert "Change version back to 6.0"
Nov 15, 2015
4318d6e
Update Security String to 2016-01-01 to mnc-dev
Nov 20, 2015
b4d7f21
"MMB29O"
Dec 2, 2015
f983449
MMN29P
Dec 8, 2015
27641b5
Update Security String to 2016-02-01
Dec 9, 2015
0336681
"MMB29Q"
Dec 11, 2015
78d9b00
"MMB29R"
Dec 11, 2015
eb77f59
"MMB76"
Dec 15, 2015
e248f22
"MMB29S"
Dec 15, 2015
9ab7efe
"MMB29T"
Dec 16, 2015
d92eaf3
"MMB29U"
Dec 17, 2015
7c09bda
Merge tag 'android-6.0.1_r22' into HEAD
gmillz Mar 28, 2016
e44f1b9
Merge tag 'LA.BF64.1.2.2-03840-8x94.0' into HEAD
gmillz Mar 28, 2016
1514a5c
Fix uncompressed ramdisk generation
Oct 23, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
372 changes: 320 additions & 52 deletions core/Makefile

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions core/apicheck_msg_current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,77 @@ To make these errors go away, you have two choices:
2) You can update current.txt by executing the following command:
make update-api

^^^^^^^^^^^^^^^^^^
CONGRATS YOU EARNED A QUAIL STAR!

M
MM
MMM
M.MM
MM M
7M MM
MMMMM MMMMM
MMMMM .MMMMM
MMMM MMMM
MM M
MM M .M
M+M MMMM
.M++MM .MM
MM+++MM MM
8NNNNN MM+++++MM
NNNN $Z8. MM+++++MM MM
MM $Z8M7IMNN+++++MM MM
.$$$D ~NNMNN+++++MM MMMM
INNNNM NMNM++++++M M M
NNO:NI=MM+++++++MM MM MM
8M$MMMMMD?+++++++MM .MMMMMMMMMMMMMMM MMMMN MMMMM
M$$NMMMMMM$++++++++MMMMMMM=+++++++++++++MM MMMMM MMMMM
M77$IMMMMMN.,+++++++++++++++++++++++++++MM .MMMMM MMMMM
.??I8,?M777OM.?+++++++++++++++++++++++++MM MM MM
O==?M7MM$MMI7$.~M+++++++++++++++++++++++MM .M M
NMMM+~M??MMMMMMMMMMMI$$++++++++++++++++++++MM MMMM
MMMM++++MM~=+I$OMMMOO?7M$Z$$$+++++++++++++++++MM MM
NMMM++++++++~~MO~7$OM8O8OMZZ$Z$M$$M++++++++++++++MM7MMM MM
MMMM++++++++++++==D~M~:8N88MMOMMZDM$$Z$$M+++++++++++MM77777MMM
MMM+++++++++++++++~MM~~M $O,NM88MOMMZ$$MM$$$+++++++++MM777777777MMMM
MMM++++++++++++M~M~IMMMO888NMOMMOZM$ZZDZ$$+++++++MM7777777777777OMMZ
MMM+++++++++++~~M~~MDOOMMO8NOOOOZZ$$Z.Z$$M++++MM77777777777777777MMM
MMM++++++++M.Z, D+ 8O88M8D,OOMDZZ$D.$$$N+++M7MMMMMD77777777777777MMM
.MM+++++++MM:.D:ZMMM8888OOOOOOZZ$ND$$$M++MM777777MMMM7777777777777MMD
MMM+++++~M.$.M~,~7M8?MON MOOZZ$$N$$$M++MD777777777MMMM77777777777MMM
MM=+++=ZMZ.MM MMZOOOO88OOZM$M.$$$$+++M7777777777777MMMM7777777777MM
MMM++MM~,,$M.+~M$OOMOOMZMI$$$$$$$++MM7777777777777777MMM777777777MM
MM++++=. ~$$.$.M~M$MZOM7MMZ$$$$$$++MMMMMMD7777777777777MMMI7777777MMM
.M++++++MM+OMI$7M??N+OZM8MMMD$$M$$++M77777MMMMN77777777777MMM7777777MMM
M++++++++M+=?+++++++++++MNMZN$$N$$+MM777777777MMMM7777777777MMM777777MM,
M+++++M=?7$$M+++++++++++++++$NO$$$$+M7777777777777MMMM777777777MMM77777MM
M++~M$M$M+++++M++MMM++++++++++M=$$D$MMMMMMMM7777777777MMM$7777777MMM77777MM
M+M$$$M+++++++++MM MMMMM+++++++M$Z$$M MMMMMI7777777MMMM7777777MM77777MM
M++7NMIN++Z++NMM MMMMM+++N$M$M MMMM7777777MMM777777MM$777MM
M=++8+++++++MM MMMMMZ$M$M MMMM777777MMM77777MMZ777MM
MM++++++++MM MM$ MMM77777MMM77777MM7777MM
MM++++++MM MMMM7777MMM7777MM777MM
MM++++MMM .MMM7777MM7777MM77$M
MM+++MM M MMM777MMN777MM77MM
NM+MM M MMM77MMM77NMM7MM
MM MM MMM77MMM77MM77M
.MMM MMM7MMM7IMM7MM
MM M MMM7MMM7MM7MM
M MM MM7MMN7MMMM
MMMM MMMM MMMMMIMMMM
MMMM. MMMMM MMMMMMMMM
MMMMM MMMMM MMMMMMMM
MM MM OMMMMMM
M MM MMMMMM
MM M MMMMM
MMM MMM
MM MM
M


NO. NO. STOP BEING LAZY. SERIOUSLY.
DO NOT DO THIS in CM. THIS IS A LIE. IT WILL BREAK THINGS.

To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
Expand Down
8 changes: 4 additions & 4 deletions core/base_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
# Apk and its attachments reside in its own subdir.
ifeq ($(LOCAL_MODULE_CLASS),APPS)
# framework-res.apk doesn't like the additional layer.
ifneq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
ifeq ($(filter true,$(LOCAL_NO_STANDARD_LIBRARIES) $(LOCAL_IGNORE_SUBDIR)),)
my_module_path := $(my_module_path)/$(LOCAL_MODULE)
endif
endif
Expand Down Expand Up @@ -494,7 +494,7 @@ $(cleantarget) : PRIVATE_CLEAN_FILES := \
$(LOCAL_INSTALLED_MODULE) \
$(intermediates)
$(cleantarget)::
@echo "Clean: $(PRIVATE_MODULE)"
@echo -e ${CL_GRN}"Clean:"${CL_RST}" $(PRIVATE_MODULE)"
$(hide) rm -rf $(PRIVATE_CLEAN_FILES)

###########################################################
Expand Down Expand Up @@ -556,12 +556,12 @@ ifndef LOCAL_UNINSTALLABLE_MODULE
$(LOCAL_INSTALLED_MODULE): PRIVATE_POST_INSTALL_CMD := $(LOCAL_POST_INSTALL_CMD)
ifneq ($(LOCAL_ACP_UNAVAILABLE),true)
$(LOCAL_INSTALLED_MODULE): $(LOCAL_BUILT_MODULE) | $(ACP)
@echo "Install: $@"
@echo -e ${CL_CYN}"Install: $@"${CL_RST}
$(copy-file-to-new-target)
$(PRIVATE_POST_INSTALL_CMD)
else
$(LOCAL_INSTALLED_MODULE): $(LOCAL_BUILT_MODULE)
@echo "Install: $@"
@echo -e ${CL_CYN}"Install: $@"${CL_RST}
$(copy-file-to-target-with-cp)
endif

Expand Down
9 changes: 7 additions & 2 deletions core/binary.mk
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ import_includes_deps := $(strip \
$(call intermediates-dir-for,STATIC_LIBRARIES,$(l),$(LOCAL_IS_HOST_MODULE),,$(LOCAL_2ND_ARCH_VAR_PREFIX))/export_includes))
$(import_includes): PRIVATE_IMPORT_EXPORT_INCLUDES := $(import_includes_deps)
$(import_includes) : $(LOCAL_MODULE_MAKEFILE) $(import_includes_deps)
@echo Import includes file: $@
@echo -e ${CL_CYN}Import includes file:${CL_RST} $@
$(hide) mkdir -p $(dir $@) && rm -f $@
ifdef import_includes_deps
$(hide) for f in $(PRIVATE_IMPORT_EXPORT_INCLUDES); do \
Expand Down Expand Up @@ -956,6 +956,11 @@ normal_objects := \

all_objects := $(normal_objects) $(gen_o_objects)

## Allow a device's own headers to take precedence over global ones
ifneq ($(TARGET_SPECIFIC_HEADER_PATH),)
my_c_includes := $(TOPDIR)$(TARGET_SPECIFIC_HEADER_PATH) $(my_c_includes)
endif

my_c_includes += $(TOPDIR)$(LOCAL_PATH) $(intermediates) $(generated_sources_dir)

ifndef LOCAL_SDK_VERSION
Expand Down Expand Up @@ -1120,7 +1125,7 @@ export_includes := $(intermediates)/export_includes
$(export_includes): PRIVATE_EXPORT_C_INCLUDE_DIRS := $(my_export_c_include_dirs)
# Make sure .pb.h are already generated before any dependent source files get compiled.
$(export_includes) : $(LOCAL_MODULE_MAKEFILE) $(proto_generated_headers)
@echo Export includes file: $< -- $@
@echo -e ${CL_CYN}Export includes file:${CL_RST} $< -- $@
$(hide) mkdir -p $(dir $@) && rm -f $@
ifdef my_export_c_include_dirs
$(hide) for d in $(PRIVATE_EXPORT_C_INCLUDE_DIRS); do \
Expand Down
2 changes: 1 addition & 1 deletion core/build_id.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# (like "CRB01"). It must be a single word, and is
# capitalized by convention.

export BUILD_ID=MMB29M
export BUILD_ID=MHC19J
10 changes: 9 additions & 1 deletion core/ccache.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ ifneq ($(USE_CCACHE),)
# We don't really use system headers much so the rootdir is
# fine; ensures these paths are relative for all Android trees
# on a workstation.
export CCACHE_BASEDIR := /
ifeq ($(CCACHE_BASEDIR),)
export CCACHE_BASEDIR := $(ANDROID_BUILD_TOP)
endif

# Workaround for ccache with clang.
# See http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html
Expand All @@ -52,6 +54,12 @@ ifneq ($(USE_CCACHE),)
ifndef CXX_WRAPPER
CXX_WRAPPER := $(ccache)
endif
ifeq ($(ANDROID_CCACHE_DIR), $(CCACHE_DIR))
ifneq ($(ANDROID_CCACHE_SIZE),)
ACCSIZE_RESULT := $(shell $(ccache) -M$(ANDROID_CCACHE_SIZE))
endif
endif
ccache =
ACCSIZE_RESULT =
endif
endif
2 changes: 1 addition & 1 deletion core/checktree
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/env python -E

import sys, os, re

Expand Down
2 changes: 1 addition & 1 deletion core/clang/arm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CLANG_CONFIG_arm_EXTRA_CFLAGS :=
ifneq (,$(filter krait,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
# Android's clang support's krait as a CPU whereas GCC doesn't. Specify
# -mcpu here rather than the more normal core/combo/arch/arm/armv7-a-neon.mk.
CLANG_CONFIG_arm_EXTRA_CFLAGS += -mcpu=krait
CLANG_CONFIG_arm_EXTRA_CFLAGS += -mcpu=krait -mfpu=neon-vfpv4
endif

ifeq ($(HOST_OS),darwin)
Expand Down
5 changes: 3 additions & 2 deletions core/cleanbuild.mk
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ installclean_files := \
$(PRODUCT_OUT)/*.xlb \
$(PRODUCT_OUT)/*.zip \
$(PRODUCT_OUT)/kernel \
$(PRODUCT_OUT)/*.zip.md5sum \
$(PRODUCT_OUT)/data \
$(PRODUCT_OUT)/skin \
$(PRODUCT_OUT)/obj/APPS \
Expand Down Expand Up @@ -232,13 +233,13 @@ endif
dataclean: FILES := $(dataclean_files)
dataclean:
$(hide) rm -rf $(FILES)
@echo "Deleted emulator userdata images."
@echo -e ${CL_GRN}"Deleted emulator userdata images."${CL_RST}

.PHONY: installclean
installclean: FILES := $(installclean_files)
installclean: dataclean
$(hide) rm -rf $(FILES)
@echo "Deleted images and staging directories."
@echo -e ${CL_GRN}"Deleted images and staging directories."${CL_RST}

ifeq "$(force_installclean)" "true"
$(info *** Forcing "make installclean"...)
Expand Down
3 changes: 3 additions & 0 deletions core/clear_vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ LOCAL_MODULE_STEM_64:=
LOCAL_CLANG_32:=
LOCAL_CLANG_64:=

# Include any vendor specific clear_vars.mk file
-include $(TOPDIR)vendor/*/build/core/clear_vars.mk

# Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to
# iterate over thousands of entries every time.
# Leave the current makefile to make sure we don't break anything
Expand Down
13 changes: 12 additions & 1 deletion core/combo/HOST_darwin-x86.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ $(combo_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG := $($(combo_2nd_arch_prefix)HO
$(combo_2nd_arch_prefix)HOST_AR := $(AR)

$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -isysroot $(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version) -DMACOSX_DEPLOYMENT_TARGET=$(mac_sdk_version)
ifeq (,$(wildcard $(mac_sdk_path)/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1))
# libc++ header locations for XCode CLT 7.1+
$(combo_2nd_arch_prefix)HOST_GLOBAL_CPPFLAGS += -isystem $(mac_sdk_path)/usr/include/c++/v1
else
# libc++ header locations for pre-XCode CLT 7.1+
$(combo_2nd_arch_prefix)HOST_GLOBAL_CPPFLAGS += -isystem $(mac_sdk_path)/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
endif
$(combo_2nd_arch_prefix)HOST_GLOBAL_LDFLAGS += -isysroot $(mac_sdk_root) -Wl,-syslibroot,$(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version)

$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -fPIC -funwind-tables
Expand Down Expand Up @@ -102,5 +108,10 @@ endef

# $(1): The file to check
define get-file-size
stat -f "%z" $(1)
GSTAT=$(which gstat) ; \
if [ ! -z "$GSTAT" ]; then \
gstat -c "%s" $(1) ; \
else \
stat -f "%z" $(1) ; \
fi
endef
6 changes: 6 additions & 0 deletions core/combo/HOST_darwin-x86_64.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ HOST_TOOLCHAIN_FOR_CLANG := $(HOST_TOOLCHAIN_ROOT)
HOST_AR := $(AR)

HOST_GLOBAL_CFLAGS += -isysroot $(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version) -DMACOSX_DEPLOYMENT_TARGET=$(mac_sdk_version)
ifeq (,$(wildcard $(mac_sdk_path)/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1))
# libc++ header locations for XCode CLT 7.1+
HOST_GLOBAL_CPPFLAGS += -isystem $(mac_sdk_path)/usr/include/c++/v1
else
# libc++ header locations for pre-XCode CLT 7.1+
HOST_GLOBAL_CPPFLAGS += -isystem $(mac_sdk_path)/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
endif
HOST_GLOBAL_LDFLAGS += -isysroot $(mac_sdk_root) -Wl,-syslibroot,$(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version)

HOST_GLOBAL_CFLAGS += -fPIC -funwind-tables
Expand Down
1 change: 1 addition & 0 deletions core/combo/TARGET_linux-arm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 4.9

ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.9
$(combo_2nd_arch_prefix)TARGET_LEGACY_GCC_VERSION := 4.8
else
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := $(TARGET_GCC_VERSION_EXP)
endif
Expand Down
17 changes: 10 additions & 7 deletions core/combo/arch/arm/armv7-a-neon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,35 @@ ifneq (,$(filter cortex-a15 krait denver,$(TARGET_$(combo_2nd_arch_prefix)CPU_VA
# hardware divide operations are generated. This should be removed and a
# krait CPU variant added to GCC. For clang we specify -mcpu for krait in
# core/clang/arm.mk.
arch_variant_cflags := -mcpu=cortex-a15
arch_variant_cflags := -mcpu=cortex-a15 -mfpu=neon-vfpv4

# Fake an ARM compiler flag as these processors support LPAE which GCC/clang
# don't advertise.
arch_variant_cflags += -D__ARM_FEATURE_LPAE=1
arch_variant_ldflags := \
-Wl,--no-fix-cortex-a8
else
ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a8)
arch_variant_cflags := -mcpu=cortex-a8
ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a9)
arch_variant_cflags := -mcpu=cortex-a9 -mfpu=neon
else
ifneq (,$(filter cortex-a8 scorpion,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
arch_variant_cflags := -mcpu=cortex-a8 -mfpu=neon
arch_variant_ldflags := \
-Wl,--fix-cortex-a8
else
ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a7)
arch_variant_cflags := -mcpu=cortex-a7
arch_variant_cflags := -mcpu=cortex-a7 -mfpu=neon-vfpv4
arch_variant_ldflags := \
-Wl,--no-fix-cortex-a8
else
arch_variant_cflags := -march=armv7-a
arch_variant_cflags := -march=armv7-a -mfpu=neon
# Generic ARM might be a Cortex A8 -- better safe than sorry
arch_variant_ldflags := \
-Wl,--fix-cortex-a8
endif
endif
endif
endif

arch_variant_cflags += \
-mfloat-abi=softfp \
-mfpu=neon
-mfloat-abi=softfp
21 changes: 18 additions & 3 deletions core/combo/mac_version.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,38 @@ ifndef build_mac_version

build_mac_version := $(shell sw_vers -productVersion)

mac_sdk_versions_supported := 10.6 10.7 10.8 10.9
# Caution: Do not add 10.10 to this list until the prebuilts/darwin-x86 toolchains are updated.
# In the meantime, setting mac_sdk_version to 10.9 works on Yosemite (verified on 10.10.1).
mac_sdk_versions_supported := 10.6 10.7 10.8 10.9 10.11
ifneq ($(strip $(MAC_SDK_VERSION)),)
mac_sdk_version := $(MAC_SDK_VERSION)
ifeq ($(filter $(mac_sdk_version),$(mac_sdk_versions_supported)),)
$(warning ****************************************************************)
$(warning * MAC_SDK_VERSION $(MAC_SDK_VERSION) isn't one of the supported $(mac_sdk_versions_supported))
$(warning * MAC_SDK_VERSION $(MAC_SDK_VERSION) isn\'t one of the supported $(mac_sdk_versions_supported))
$(warning ****************************************************************)
$(error Stop.)
endif
else
mac_sdk_versions_installed := $(shell xcodebuild -showsdks | grep macosx | sort | sed -e "s/.*macosx//g")
mac_sdk_versions_installed := $(shell xcodebuild -showsdks 2> /dev/null | grep macosx | sort | sed -e "s/.*macosx//g")
mac_sdk_version := $(firstword $(filter $(mac_sdk_versions_installed), $(mac_sdk_versions_supported)))
ifeq ($(mac_sdk_version),)
mac_sdk_version := $(firstword $(mac_sdk_versions_supported))
endif
endif

mac_sdk_path := $(shell xcode-select -print-path)

ifeq ($(strip "$(mac_sdk_path)"), "/Library/Developer/CommandLineTools")
# Accept any modern version of Apple Command Line Tools
mac_sdk_root := /

# Override mac_sdk_version with build_mac_version (aka the version of the OSX host), but assume the latest
# supported mac_sdk_version if the build_mac_version is not recognized.
mac_sdk_version := $(shell echo $(build_mac_version) | cut -d '.' -f 1,2)
ifeq ($(filter $(mac_sdk_version),$(mac_sdk_versions_supported)),)
mac_sdk_version := $(lastword $(mac_sdk_versions_supported))
endif
else
# try /Applications/Xcode*.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.?.sdk
# or /Volume/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.?.sdk
mac_sdk_root := $(mac_sdk_path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$(mac_sdk_version).sdk
Expand All @@ -40,6 +54,7 @@ $(warning * Can not find SDK $(mac_sdk_version) at $(mac_sdk_root))
$(warning *****************************************************)
$(error Stop.)
endif
endif # $(mac_sdk_path)

ifeq ($(mac_sdk_version),10.6)
gcc_darwin_version := 10
Expand Down
Loading