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

N7.1 #40

Open
wants to merge 524 commits into
base: cm-14.1
Choose a base branch
from
Open

N7.1 #40

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
524 commits
Select commit Hold shift + click to select a range
01b8436
build: Fix py2 support
luca020400 Aug 25, 2016
1828aa0
releasetools: Fix mismerge
chirayudesai Aug 25, 2016
78302d4
ninja: build: dt: Move to in-build directory search
luca020400 May 9, 2016
54154d0
releasetools: Fix LoadRecoveryFSTab args order
luca020400 Aug 25, 2016
64cca8c
kernel: Fix libelf location on nougat
bmc08gt Aug 25, 2016
8e9e117
repopick: try to use remote's default revision
invisiblek Aug 25, 2016
4e2687c
qcom: Properly select media hal root
intervigilium Aug 24, 2016
867294e
All operating systems are beautiful
raymanfx Sep 16, 2015
d4b3767
build: Kill colors
luca020400 Aug 25, 2016
a748372
releasetools: don't attempt to read fingerprint on unified devices
invisiblek Oct 15, 2015
fda150c
build: Don't add cm jars if cm sdk is disabled
luca020400 Aug 26, 2016
391238c
envsetup: fix lunch
chirayudesai Aug 26, 2016
73f6887
AICPfy
LorDClockaN Aug 27, 2016
64987e9
build: Port Changelog from lp5.1
akhilnarang Nov 11, 2015
0e8f496
repopick: don't re-pick duplicate changes
fourkbomb Aug 26, 2016
9bd4349
build: don't overwrite flags from BoardConfig
fourkbomb Aug 27, 2016
1e5e8fe
Revert "build: don't overwrite flags from BoardConfig"
moetayuko Aug 28, 2016
fd7ca28
Use MM roomservice
LorDClockaN Aug 28, 2016
6aa786d
build: AICPfy Part XX
semdoc Aug 29, 2016
e0a81a5
repopick: handle revisions with slashes
invisiblek Aug 31, 2016
e9ac166
core: Fix build_{date,number}
luca020400 Aug 31, 2016
e50fba8
main: Use date -d on OSX
bmc08gt Aug 31, 2016
f044668
build: Re-add I_WANT_A_QUAIL_STAR
luca020400 Aug 30, 2016
e0cb1c9
build: No more Java check
semdoc Aug 28, 2016
7097c44
Merge "build: Re-add I_WANT_A_QUAIL_STAR" into n7.0
semdoc Sep 2, 2016
ef8542b
build: add BOARD_GLOBAL_C[PP]FLAGS to TARGET_GLOBAL_C[PP]FLAGS
fourkbomb Aug 28, 2016
a59d8a4
build: Don't force checkapi-cm on system image gen.
semdoc Aug 31, 2016
62d9ff0
releasetools: Fix py3 issue in QC change
Sep 4, 2016
28a89fb
kernel: Add MAKE_FLAGS to kernel header generation
bmc08gt Sep 1, 2016
72425a1
Revert "Remove mkyaffs2image references."
mikeNG Oct 11, 2015
4dda427
Allow finer control over how product variables are inherited.
Dec 17, 2014
a21c66e
build_image: Unbreak verity/FEC generation
rmcc Sep 7, 2016
5d7845d
build: Fix a few mis-merges
rmcc Sep 7, 2016
3506b99
build: don't dex preopt by default on linux
invisiblek Sep 5, 2016
adab216
build: Don't create /system/vendor symlink in recovery ramdisk
moetayuko Sep 4, 2016
c07b8f2
build: remove dotfiles on a make clean as well
invisiblek Sep 5, 2016
3acd5f8
libart: Allow adjustment of the base address
flintman Dec 17, 2014
0942e60
build: repopick: Support projects with less than 10 commits
AdrianDC Sep 8, 2016
081d9f7
build: repopick: Support squashed commits for Change-Id detection
AdrianDC Sep 8, 2016
855ebbc
qcom: Fix media pathmap for AOSP variant
rmcc Sep 11, 2016
7cc1a9a
kernel: default to gcc 4.9; auto-set prefix based on TARGET_ARCH
invisiblek Aug 29, 2016
7810e2d
Merge tag 'android-7.0.0_r6' into n7.0
semdoc Sep 14, 2016
f5099ff
Merge "kernel: default to gcc 4.9; auto-set prefix based on TARGET_AR…
LorDClockaN Sep 18, 2016
03dccdf
envsetup: Always look up JAVA_HOME path
darkeyes84 Mar 9, 2016
ed2809f
Revert "main: Use date -d on OSX"
bmc08gt Sep 1, 2016
7ace3f3
Revert "envsetup: Always look up JAVA_HOME path"
LorDClockaN Sep 20, 2016
89515d7
Merge "Revert "envsetup: Always look up JAVA_HOME path"" into n7.0
LorDClockaN Sep 20, 2016
38c2617
Add command brunchopen to envsetup
Raienryu97 Sep 25, 2016
e3dd381
build: add maintainers to build.prop
eyosen Sep 9, 2015
2299061
support macOS sdk 10.12
amartinz Sep 15, 2016
04b2f4b
build: use the system's ccache by default
antdking Feb 8, 2015
01ec68f
Move AICP build additions to vendor/aicp/build
mikeNG Aug 25, 2016
d602c8c
Revert "Move AICP build additions to vendor/aicp/build"
semdoc Sep 26, 2016
3ef40be
kernel: Default to androidkernel toochains
mikeNG Sep 29, 2016
bd59615
Revert "kernel: Default to androidkernel toochains"
LorDClockaN Sep 29, 2016
0e73423
Revert "Revert "kernel: Default to androidkernel toochains""
LorDClockaN Sep 29, 2016
b2c9a72
ninja: use host's ninja if it exists
invisiblek Sep 21, 2016
73d74fd
qcom: Properly select media hal root
intervigilium Oct 1, 2016
51eb7dd
build: Add back AICP flash script output
LorDClockaN Oct 2, 2016
307c0d6
build: Add back missing part from fix for unified devices
HashBang173 Oct 3, 2016
9ea29df
randomly generate aicp logo colors in build output
chezbel Oct 4, 2016
b4fd38c
Merge tag 'android-7.0.0_r14' into n7.0
semdoc Oct 5, 2016
7abcbd7
Show complete command with args when ComputePatch fails
SteadyQuad Oct 4, 2016
1e3d9f9
We want Browser
ngoquang2708 Sep 25, 2016
342bc71
Add LOCAL_AIDL_FLAGS
greniaz Jul 13, 2016
6937d81
Show new Aicp logo during flash
OptX Oct 9, 2016
b885a1a
ninja: increase maximum suffix length
fourkbomb Oct 7, 2016
d631db5
Merge "Show new Aicp logo during flash" into n7.0
LorDClockaN Oct 9, 2016
3ce2e9b
Edit letter a in ANSCII flash logo
LorDClockaN Oct 9, 2016
44afc08
build: Edit letter a in ANSCII flash logo once more
OptX Oct 9, 2016
3405231
Revert "build: Don't force checkapi-cm on system image gen."
Raienryu97 Oct 13, 2016
6edf41c
Add WITHOUT_CHECK_API guard around checkapi
bmc08gt Sep 1, 2016
9e58724
easy to port AICP to unoffcial devices.
droidfivex Oct 19, 2016
2fcb8f1
do not show the error message when device makefile does not exist.
droidfivex Oct 19, 2016
b4c0040
Updated makefile to reflect the new logo
wartomato Oct 22, 2016
f004989
envsetup: Fix cafremote/aospremote for projects with non-standard paths
mikeNG Oct 24, 2016
79b9836
envsetup: dopush: fix test if device is in recovery
morckx Oct 26, 2016
abe69a7
envsetup: dopush: allow (symbolic) host names for adb connect
morckx Oct 26, 2016
19cab52
envsetup: dopush: fix finding files to be pushed with ninja
morckx Oct 26, 2016
b11928e
Fix a race condition while building the recovery patch (needed for ms…
xdarklight Mar 6, 2016
bba8a65
Merge tag 'android-7.1.0_r4' into n7.1
LorDClockaN Oct 26, 2016
44572bb
build: Fix a race condition while building the recovery patch (needed…
xdarklight Mar 6, 2016
1f5ea6a
build: ReStore The Shit
LorDClockaN Oct 27, 2016
d6ba96d
Merge "build: Fix a race condition while building the recovery patch …
LorDClockaN Oct 27, 2016
14ccc31
cm: mka nicer
Oct 28, 2016
8fe78df
roomservice: update for n7.1
HashBang173 Oct 28, 2016
6fb2322
build: Fix LOCAL_PROTOC_OUTPUT
Oct 28, 2016
713f7d0
binary: fix proto generation
HashBang173 Oct 29, 2016
658b1ef
build: Increase diff timeout
AndropaX Nov 2, 2016
6f3a78f
build: Always create a kernel defconfig build artifact
sam3000 Nov 5, 2016
aab6ea9
Build options for enabling proprietary Clang compiler
Apr 6, 2016
4e10387
Replace hard-coded flags with variables-based
Jun 8, 2016
f60382e
Add -Wno-vectorizer-no-neon flag for all compiles
Jun 17, 2016
d87cd2b
Control building shared libs, static libs and executables with SDLLVM…
May 20, 2016
6b8c6b2
Fix bug in the handling of LOCAL_HAL_STATIC_LIBRARIES
boedhack Aug 8, 2016
2f5ed8e
build: Require devices to opt-in for SDCLANG
Nov 8, 2016
5b9bdff
Merge tag 'android-7.1.0_r7' of https://android.googlesource.com/plat…
Nov 9, 2016
57645f7
build: qcom_target: Enable BOARD_USES_ADRENO
zwliew Nov 10, 2016
962bde8
build: kernel: Set prefix based on KERNEL_ARCH
zwliew Nov 11, 2016
c81324e
build: Autodetect SDCLANG in prebuilts/snapdragon-llvm
Nov 11, 2016
192cea1
envsetup: block SDCLANG on Darwin for now
amartinz Nov 11, 2016
5f83d2d
qcom_target: Remove unused support for CAF manifests
intervigilium Nov 14, 2016
344f4cc
qcom_target: Remove unused sony HAL support
intervigilium Nov 14, 2016
1d0c135
build: Remove unneeded endif
semdoc Nov 14, 2016
200e9b5
build: Set android jack args to global jack server args if existing
luca020400 Nov 24, 2016
61dcb00
build: kernel: Remove duplicated targets
luca020400 Nov 25, 2016
c07e093
binary: Append cc/cxx wrapper to sdclang
luca020400 Nov 29, 2016
45ad7a6
build: Conditionally disable ccache for modules with FDO enabled
Nov 29, 2016
4343758
merge in nyc-mr1-release history after reset to nyc-mr1-dev
Dec 1, 2016
6fe5e98
NMF62
Dec 1, 2016
ec0073a
Updating Security String to 2017-01-01 on nyc-dev
Nov 16, 2016
cbb44f2
Updating Security String to 2017-01-05 on nyc-dev
Nov 16, 2016
1988cd3
NMF26R
Dec 1, 2016
ad30fe9
repopick: default to our own gerrit
Raienryu97 Dec 4, 2016
b367c52
roomservice: Add support for authenticated GitHub API requests
HashBang173 Dec 4, 2016
373adac
NMF26S
Dec 6, 2016
98ba555
build: merge tag 'android-7.1.1_r4' into n7.1
semdoc Dec 7, 2016
59f3ddc
blockimgdiff: plz don't spam my terminal, thx
invisiblek Dec 6, 2016
4791655
OMS7-N: adb shell command to access OverlayManagerService
amhk Jul 27, 2015
e30cdc4
core: allow specifying building ramdisk(s) with lzma
invisiblek Dec 2, 2016
a3bfabf
build: envsetup: Add mmmap command
zwliew Dec 10, 2016
926baee
repopick: Avoid failing on commits lookup
AdrianDC Dec 11, 2016
44f3bdf
NOF26T
Dec 13, 2016
d46fc65
Merge tag 'android-7.1.1_r6'
invisiblek Dec 13, 2016
4d4d492
envsetup: Split cached vars
luca020400 Dec 18, 2016
3dfc147
Roomservice: allow adding remove-project
SpiritCroc Dec 16, 2016
82c876c
Add hosts and custom files persistance on flash
LorDClockaN Jun 12, 2016
d3449e8
Merge "Roomservice: allow adding remove-project" into n7.1
LorDClockaN Dec 19, 2016
e789b3b
Update Security String to 2017-02-01 on nyc-dev
Dec 7, 2016
e0183ab
Update Security String to 2017-02-05 on nyc-dev
Dec 7, 2016
3c17cdf
NOF26U
Dec 19, 2016
b5e9a77
build: envsetup: Ensure that we can always run roomservice
zwliew Dec 21, 2016
709feb0
core: finish using PRIVATE_RECOVERY_OUT rather than hard-coding "RECO…
invisiblek Dec 29, 2016
a4c1563
lunch: Use cd - instead of popd
luca020400 Jan 1, 2017
1545d1d
Merge tag 'android-7.1.1_r9' into n7.1
semdoc Jan 5, 2017
ce76065
build: envsetup: Update CAF remote
zwliew Jan 8, 2017
962578a
build: qcom_target: Clean up QCOM_HARDWARE_VARIANT checks
zwliew Jan 8, 2017
56e483c
build: qcom_target: Define MSM_VIDC_TARGET_LIST
zwliew Jan 8, 2017
d15452f
build: core: include platform helper macros in target makefiles
invisiblek Jan 8, 2017
57b2669
core: move platform-specific helper macros to target makefiles
invisiblek Jan 8, 2017
cf2e7d8
build: kernel: build arm kernel modules with -fno-pic
Ziyann Jan 12, 2017
c89d463
Revert "build: Enable custom ccache cache dir for Android"
mdmower Jan 10, 2017
e18db36
NOF26V
Jan 13, 2017
72e4bc9
NOF26W
Jan 13, 2017
bd4692b
cm: build: kernel: Remove obsolete checks
zwliew Jan 14, 2017
baf05d2
build sign_target_files_apks.py: clean tmp on exit
sam3000 Jan 17, 2017
830f780
build: Append -dtb to kernel image name if TARGET_KERNEL_APPEND_DTB i…
Rashed97 Jan 19, 2017
96d82f4
releasetools: Add script to sign zips
Jan 11, 2017
3ab0042
releasetools: support reading release keys out of some sort of command
zifnab06 Jan 21, 2017
463724a
core: include libf2fs_fmt_host_dyn in otatools
zifnab06 Jan 22, 2017
4d4ab9b
ota_from_target_files: Remove device dependent arguments
Jan 10, 2017
a9b27ac
core: Fix unified trees with no TARGET_OTA_ASSERT_DEVICE
Jan 22, 2017
9752213
envsetup: Use GNU sed commands if GNU sed is detected
Rashed97 Jan 19, 2017
f0b5c3d
Move ro.bootimage.build.fingerprint to build.prop
Jan 25, 2017
7e00570
Revert "releasetools: Don't extract BOOTABLE_IMAGES when signing targ…
Jan 25, 2017
2cf8a6f
Always copy bootable images in BOOTABLE_IMAGES/
Jan 25, 2017
1d2522f
Merge changes Idbb5329e,If4c8c70e,I51c8ae75 into n7.1
LorDClockaN Jan 30, 2017
2b25066
Build: Switch to Magisk as the built in root [2/2]
LorDClockaN Feb 1, 2017
df89413
releasetools: Generate recovery-from-boot.p with bsdiff if necessary
Feb 9, 2017
36fbc6b
tasks: dt: add flag to optionally compress dt with lz4
invisiblek Feb 11, 2017
95ba5e4
Merge "Build: Switch to Magisk as the built in root [2/2]" into n7.1
eyosen Feb 11, 2017
f6c501a
fix link to our github
mosimchah Feb 21, 2017
12d552d
build: Pass path into grep instead of using cat
frk1 Feb 23, 2017
26a85e8
Merge tag 'android-7.1.1_r21' into 2102aa
semdoc Feb 25, 2017
91e57ac
Add aicp web address to flash message
LorDClockaN Mar 4, 2017
e9da1c5
build: core: Remove BUILD_TINY_ANDROID checks
zwliew Mar 5, 2017
a248451
build: Merge tag 'android-7.1.1_r25' into cm-14.1
invisiblek Mar 6, 2017
4265275
qcom: Automatically set TARGET_USES_COLOR_METADATA for msm8996/8
Rashed97 Mar 8, 2017
458ff62
Avoid adding an extra slash if OUT_DIR_COMMON_BASE ends in a slash
crpalmer Jan 31, 2017
995d034
Kill some log spam
deadman96385 Jan 1, 2015
37c1b43
Update combined build.ninja to depend on Soong's build.ninja
danw Nov 2, 2016
eede347
Revert "Remove -d keepdepfile from ninja command line"
colincross Oct 3, 2016
645ca7f
exec makeparallel
colincross Oct 3, 2016
95f041f
Propagate signals through makeparallel
colincross Oct 3, 2016
667cdb1
Don't prune $(OUT_DIR) from findleaves.py
colincross Oct 4, 2016
e8037b1
zipalign missing header
Oct 17, 2016
1894080
Switch back to mksh as the default
Jun 16, 2011
ae5f271
Ccache configuration improvements
nathanchance Dec 9, 2016
38b4357
Convert -j to a reasonable parallelism for kati
colincross Jan 18, 2017
0c872d1
Don't pass empty arguments to ninja
colincross Jan 19, 2017
f84e3f5
Prevent Kati from seeing MAKEFLAGS
danw Sep 9, 2016
2679f96
Update prebuilt build tools path
colincross Apr 19, 2016
a5a203d
Use more prebuilt build-tools
danw Jun 6, 2016
5747e22
Use ASAN prebuilts if SANITIZE_HOST includes address
danw Oct 6, 2016
1083dfc
Remove static libraries from Jack classpath
Apr 21, 2016
7b9f597
Remove bootclasspath handling for Jack
Apr 21, 2016
8a29e1d
Merge changes from topic 'build_improvements' into n7.1
eyosen Mar 15, 2017
dcb9a7a
Merge changes from topic 'build_improvements' into n7.1
eyosen Mar 15, 2017
b890cb9
Add root support for Tasker when using Magisk SU
kantjer01 Mar 5, 2017
a4c1d2f
kernel: Include openssl headers and dylibs on darwin
Rashed97 Apr 9, 2017
16258a0
kernel: Fix broken C_INCLUDE_PATH for Darwin
raymanfx Apr 12, 2017
3b8156a
core: use 0 compression when creating the target_files package
arter97 Mar 31, 2017
83e8e73
Merge tag 'android-7.1.2_r2' into n7.1
invisiblek Apr 5, 2017
f3d5525
Fix build the fuck up!
LorDClockaN Apr 15, 2017
f29352b
fix "ERROR: couldn't find ro.product.model in build.prop"
LorDClockaN Apr 16, 2017
936a9e1
Merge "core: use 0 compression when creating the target_files package…
LorDClockaN Apr 16, 2017
f4321db
Merge "fix "ERROR: couldn't find ro.product.model in build.prop"" int…
wartomato Apr 16, 2017
287a48c
core: use 0 compression target_files package only if block based ota
koron393 Apr 18, 2017
21c5668
Revert "fix "ERROR: couldn't find ro.product.model in build.prop""
semdoc Apr 19, 2017
486e6cf
build: Add back missing part from fix for unified devices
HashBang173 Apr 19, 2017
64d9668
envsetup: Add an option to hide including messages
nathanchance Apr 19, 2017
ddf5a7e
build: fix verity generation
invisiblek Apr 14, 2017
68b5d4f
brunchopen: fix deprecated message
LorDClockaN Apr 25, 2017
904ddc2
Revert "brunchopen: fix deprecated message"
LorDClockaN Apr 28, 2017
db47240
Revert "build: releasetools: ota: Add support for 32-64 bit upgrades"
mikeNG Apr 28, 2017
bb17ac1
Revert "We want Browser"
mikeNG Apr 28, 2017
a9b9140
Merge tag 'android-7.1.2_r8' into n7.1
invisiblek May 1, 2017
30b52cc
Introduce a whitelist for core apps used by system server.
Mar 22, 2017
c082f80
Don't preopt system server apps in system_other.
Mar 24, 2017
8bd2cb6
Make the default preopt 'interpret-only'.
Mar 30, 2017
1559af5
apicheck_msg_current: Don't do this in LineageOS
qjohn May 16, 2017
75ff25d
build: Remove slash in the end
danparidae May 19, 2017
0e470af
Merge "apicheck_msg_current: Don't do this in LineageOS" into n7.1
Miccia94 May 22, 2017
8f5f07a
Merge tag 'android-7.1.2_r17' into n7.1
invisiblek Jun 5, 2017
8110382
Revert "Build: Switch to Magisk as the built in root [2/2]"
mosimchah May 15, 2017
357c26d
Add dumpvar for WITH_SU
ciwrl Feb 8, 2017
ad0c34a
build: Fix Version in releasetools
csolanol May 26, 2017
d35a6cf
Merge "build: Fix Version in releasetools" into n7.1
Miccia94 Jun 15, 2017
3f58dd0
Disable recovery resource warning
deadman96385 Apr 16, 2017
06b69f2
build: qcom_target: Define MASTER_SIDE_CP_TARGET_LIST
mikeNG Jun 30, 2017
a13c8b1
qcom_utils: Cleanup supported QCOM_BOARD_PLATFORMS
mikeNG Jun 30, 2017
a3f0a4d
enable PERMISSIONS_REVIEW_REQUIRED feature
coderobe Jul 2, 2017
4cf9c52
Merge tag 'android-7.1.2_r24' into n7.1
invisiblek Jul 5, 2017
dc3486d
Merge "enable PERMISSIONS_REVIEW_REQUIRED feature" into n7.1
Miccia94 Jul 7, 2017
952eef4
Revert "enable PERMISSIONS_REVIEW_REQUIRED feature"
eyosen Jul 7, 2017
5a57369
Merge "Revert "enable PERMISSIONS_REVIEW_REQUIRED feature"" into n7.1
eyosen Jul 7, 2017
8e35bea
qcom: Enable TARGET_USES_QCOM_MM_AUDIO
luca020400 Jul 12, 2017
1643126
repopick: don't bail on drafts
invisiblek Jul 9, 2017
084160d
kernel: Add savedefconfig target
mikeNG Jul 12, 2017
a0e05b3
Stop calling , remove HOST_JDK_IS_64BIT_VERSION
danw Jul 26, 2017
54f1cdd
Only run Kati twice on a clean build due to clean_steps.mk
danw Jul 25, 2017
41740a7
Run Linux x86_64 once, don't use python for HOST_OS_EXTRA
danw Jul 26, 2017
b9ac3e5
qcom: Allow setting custom audio, display, and media HALs
Rashed97 Aug 1, 2017
9d0078d
Merge tag 'android-7.1.2_r29' into n7.1
invisiblek Aug 7, 2017
8f7fc91
repopick: Add 'reset' option
harryyoud Jul 18, 2017
95db738
build: qcom_target: Add sdm660
moetayuko Aug 17, 2017
64081a6
Fix hosts/... persistence across flashes
SpiritCroc Aug 26, 2017
31d3a11
qcom_target: Commonize UM target HALs
mikeNG Sep 13, 2017
279ecf1
Updating Security String to 2017-09-05 Bug:63846344
Jul 19, 2017
108383b
Fix warning with AAPT2 and LOCAL_STATIC_ANDROID_LIBRARIES
colincross Nov 29, 2016
866f84b
build: logo adjustments
wartomato Sep 24, 2017
daf7715
build: minor flash logo adjustments
wartomato Sep 24, 2017
2da3065
[DO NOT MERGE] Update platform security string to 2017-10-01 in nyc-d…
Aug 21, 2017
c6cde8c
[DO NOT MERGE] Update platform security string to 2017-10-05 in nyc-d…
Aug 21, 2017
65780e2
core: Prefix and build bison host executable if needed
xingrz Oct 3, 2017
b933af6
Update Security String to 2017-11-05
Sep 13, 2017
8c36a9b
Bump Security String to 2017-11-06
bgcngm Nov 17, 2017
c1e0bdc
build: Fix build after 65780e281c68b204a6268e430289024af4070756
semdoc Nov 18, 2017
7d65b91
Merge changes from topic 'n_asb_11-2017' into n7.1
semdoc Nov 19, 2017
73ebd9f
Bump security string to 2017-12-05
alial04 Dec 11, 2017
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
628 changes: 546 additions & 82 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 LineageOS. 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: 6 additions & 2 deletions core/base_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,11 @@ 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 ($(LOCAL_NO_STANDARD_LIBRARIES),true)
# Neither do Runtime Resource Overlay apks, which contain just the overlaid resources.
else ifeq ($(LOCAL_IS_RUNTIME_RESOURCE_OVERLAY),true)
else ifeq ($(LOCAL_IGNORE_SUBDIR),true)
else
my_module_path := $(my_module_path)/$(LOCAL_MODULE)
endif
endif
Expand Down Expand Up @@ -265,7 +269,7 @@ $(cleantarget) : PRIVATE_CLEAN_FILES := \
$(LOCAL_INSTALLED_MODULE) \
$(intermediates)
$(cleantarget)::
@echo "Clean: $(PRIVATE_MODULE)"
@echo "Clean:"" $(PRIVATE_MODULE)"
$(hide) rm -rf $(PRIVATE_CLEAN_FILES)

###########################################################
Expand Down
82 changes: 74 additions & 8 deletions core/binary.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ else
endif
endif

# Many qcom modules don't correctly set a dependency on the kernel headers. Fix it for them,
# but warn the user.
ifneq (,$(findstring $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include,$(LOCAL_C_INCLUDES)))
ifeq (,$(findstring $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr,$(LOCAL_ADDITIONAL_DEPENDENCIES)))
$(warning $(LOCAL_MODULE) uses kernel headers, but does not depend on them!)
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
endif
endif

# The following LOCAL_ variables will be modified in this file.
# Because the same LOCAL_ variables may be used to define modules for both 1st arch and 2nd arch,
# we can't modify them in place.
Expand Down Expand Up @@ -209,6 +218,8 @@ ifdef LOCAL_CLANG_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)
my_clang := $(strip $(LOCAL_CLANG_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)))
endif

my_sdclang := $(strip $(LOCAL_SDCLANG))

# clang is enabled by default for host builds
# enable it unless we've specifically disabled clang above
ifdef LOCAL_IS_HOST_MODULE
Expand Down Expand Up @@ -251,6 +262,14 @@ endif
my_cppflags := $(my_cpp_std_version) $(my_cppflags)


ifeq ($(SDCLANG),true)
ifeq ($(my_sdclang),)
ifeq ($(TARGET_USE_SDCLANG),true)
my_sdclang := true
endif
endif
endif

# arch-specific static libraries go first so that generic ones can depend on them
my_static_libraries := $(LOCAL_STATIC_LIBRARIES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_STATIC_LIBRARIES_$(my_32_64_bit_suffix)) $(my_static_libraries)
my_whole_static_libraries := $(LOCAL_WHOLE_STATIC_LIBRARIES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_WHOLE_STATIC_LIBRARIES_$(my_32_64_bit_suffix)) $(my_whole_static_libraries)
Expand All @@ -261,8 +280,8 @@ include $(BUILD_SYSTEM)/cxx_stl_setup.mk
ifdef LOCAL_HAL_STATIC_LIBRARIES
$(foreach lib, $(LOCAL_HAL_STATIC_LIBRARIES), \
$(eval b_lib := $(filter $(lib).%,$(BOARD_HAL_STATIC_LIBRARIES)))\
$(if $(b_lib), $(eval my_static_libraries += $(b_lib)),\
$(eval my_static_libraries += $(lib).default)))
$(if $(b_lib), $(eval my_static_libraries := $(b_lib) $(my_static_libraries)),\
$(eval my_static_libraries := $(lib).default $(my_static_libraries))))
b_lib :=
endif

Expand Down Expand Up @@ -294,10 +313,32 @@ ifneq ($(filter true always, $(LOCAL_FDO_SUPPORT)),)
my_cflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_FDO_OPTIMIZE_CFLAGS)
my_fdo_build := true
endif
# Disable ccache (or other compiler wrapper) except gomacc, which
# can handle -fprofile-use properly.
my_cc_wrapper := $(filter $(GOMA_CC),$(my_cc_wrapper))
my_cxx_wrapper := $(filter $(GOMA_CC),$(my_cxx_wrapper))
# Disable ccache (or other compiler wrapper) except gomacc, unless
# it can handle -fprofile-use properly.

# ccache supports -fprofile-use as of version 3.2. Parse the version output
# of each wrapper to determine if it's ccache 3.2 or newer.
is_cc_ccache := $(shell if [ "`$(my_cc_wrapper) -V 2>/dev/null | head -1 | cut -d' ' -f1`" = ccache ]; then echo true; fi)
ifeq ($(is_cc_ccache),true)
cc_ccache_version := $(shell $(my_cc_wrapper) -V | head -1 | grep -o '[[:digit:]]\+\.[[:digit:]]\+')
vmajor := $(shell echo $(cc_ccache_version) | cut -d'.' -f1)
vminor := $(shell echo $(cc_ccache_version) | cut -d'.' -f2)
cc_ccache_ge_3_2 = $(shell if [ $(vmajor) -gt 3 -o $(vmajor) -eq 3 -a $(vminor) -ge 2 ]; then echo true; fi)
endif
is_cxx_ccache := $(shell if [ "`$(my_cxx_wrapper) -V 2>/dev/null | head -1 | cut -d' ' -f1`" = ccache ]; then echo true; fi)
ifeq ($(is_cxx_ccache),true)
cxx_ccache_version := $(shell $(my_cxx_wrapper) -V | head -1 | grep -o '[[:digit:]]\+\.[[:digit:]]\+')
vmajor := $(shell echo $(cxx_ccache_version) | cut -d'.' -f1)
vminor := $(shell echo $(cxx_ccache_version) | cut -d'.' -f2)
cxx_ccache_ge_3_2 = $(shell if [ $(vmajor) -gt 3 -o $(vmajor) -eq 3 -a $(vminor) -ge 2 ]; then echo true; fi)
endif

ifneq ($(cc_ccache_ge_3_2),true)
my_cc_wrapper := $(filter $(GOMA_CC),$(my_cc_wrapper))
endif
ifneq ($(cxx_ccache_ge_3_2),true)
my_cxx_wrapper := $(filter $(GOMA_CC),$(my_cxx_wrapper))
endif
endif

###########################################################
Expand Down Expand Up @@ -326,6 +367,14 @@ my_target_global_cflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_CFL
my_target_global_conlyflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_CONLYFLAGS)
my_target_global_cppflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_CPPFLAGS)
my_target_global_ldflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_LDFLAGS)
ifeq ($(my_sdclang),true)
ifeq ($(strip $(my_cc)),)
my_cc := $(my_cc_wrapper) $(SDCLANG_PATH)/clang $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon
endif
ifeq ($(strip $(my_cxx)),)
my_cxx := $(my_cxx_wrapper) $(SDCLANG_PATH)/clang++ $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon
endif
endif
else
my_target_global_cflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GLOBAL_CFLAGS)
my_target_global_conlyflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GLOBAL_CONLYFLAGS)
Expand Down Expand Up @@ -655,13 +704,25 @@ proto_sources_fullpath := $(addprefix $(LOCAL_PATH)/, $(proto_sources))
proto_generated_cpps := $(addprefix $(proto_gen_dir)/, \
$(patsubst %.proto,%.pb$(my_proto_source_suffix),$(proto_sources_fullpath)))

define copy-proto-files
$(if $(PRIVATE_PROTOC_OUTPUT), \
$(if $(call streq,$(PRIVATE_PROTOC_INPUT),$(PRIVATE_PROTOC_OUTPUT)),, \
$(eval proto_generated_path := $(dir $(subst $(PRIVATE_PROTOC_INPUT),$(PRIVATE_PROTOC_OUTPUT),$@)))
@mkdir -p $(dir $(proto_generated_path))
@echo "Protobuf relocation: $(basename $@).h => $(proto_generated_path)"
@cp -f $(basename $@).h $(proto_generated_path) ),)
endef

# Ensure the transform-proto-to-cc rule is only defined once in multilib build.
ifndef $(my_host)$(LOCAL_MODULE_CLASS)_$(LOCAL_MODULE)_proto_defined
$(proto_generated_cpps): PRIVATE_PROTO_INCLUDES := $(TOP)
$(proto_generated_cpps): PRIVATE_PROTOC_FLAGS := $(LOCAL_PROTOC_FLAGS) $(my_protoc_flags)
$(proto_generated_cpps): PRIVATE_PROTOC_OUTPUT := $(LOCAL_PROTOC_OUTPUT)
$(proto_generated_cpps): PRIVATE_PROTOC_INPUT := $(LOCAL_PATH)
$(proto_generated_cpps): PRIVATE_RENAME_CPP_EXT := $(my_rename_cpp_ext)
$(proto_generated_cpps): $(proto_gen_dir)/%.pb$(my_proto_source_suffix): %.proto $(my_protoc_deps) $(PROTOC)
$(transform-proto-to-cc)
$(copy-proto-files)

$(my_host)$(LOCAL_MODULE_CLASS)_$(LOCAL_MODULE)_proto_defined := true
endif
Expand Down Expand Up @@ -830,7 +891,7 @@ y_yacc_cs := $(addprefix \
ifneq ($(y_yacc_cs),)
$(y_yacc_cs): $(intermediates)/%.c: \
$(TOPDIR)$(LOCAL_PATH)/%.y \
$(my_additional_dependencies)
$(my_additional_dependencies) | $(BISON)
$(call transform-y-to-c-or-cpp)
$(call track-src-file-gen,$(y_yacc_sources),$(y_yacc_cs))

Expand All @@ -843,7 +904,7 @@ yy_yacc_cpps := $(addprefix \
ifneq ($(yy_yacc_cpps),)
$(yy_yacc_cpps): $(intermediates)/%$(LOCAL_CPP_EXTENSION): \
$(TOPDIR)$(LOCAL_PATH)/%.yy \
$(my_additional_dependencies)
$(my_additional_dependencies) | $(BISON)
$(call transform-y-to-c-or-cpp)
$(call track-src-file-gen,$(yy_yacc_sources),$(yy_yacc_cpps))

Expand Down Expand Up @@ -1227,6 +1288,11 @@ my_tracked_gen_files :=
$(foreach f,$(my_tracked_src_files),$(eval my_src_file_obj_$(s):=))
my_tracked_src_files :=

## 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
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=NMF26Q
export BUILD_ID=NJH47F
25 changes: 25 additions & 0 deletions core/build_rro_package.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#############################################################################
## Standard rules for installing runtime resouce overlay APKs.
##
## Set LOCAL_RRO_THEME to the theme name if the package should apply only to
## a particular theme as set by ro.boot.vendor.overlay.theme system property.
##
## If LOCAL_RRO_THEME is not set, the package will apply always, independent
## of themes.
##
#############################################################################

LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true

ifneq ($(LOCAL_SRC_FILES),)
$(error runtime resource overlay package should not contain sources)
endif

ifeq (S(LOCAL_RRO_THEME),)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/overlay
else
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/overlay/$(LOCAL_RRO_THEME)
endif

include $(BUILD_SYSTEM)/package.mk

14 changes: 11 additions & 3 deletions core/ccache.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,22 @@ ifneq ($(filter-out false,$(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
export CCACHE_CPP2 := true

CCACHE_HOST_TAG := $(HOST_PREBUILT_TAG)
ccache := prebuilts/misc/$(CCACHE_HOST_TAG)/ccache/ccache
# Detect if the system already has ccache installed to use instead of the prebuilt
ccache := $(shell command -v ccache)

ifeq ($(ccache),)
CCACHE_HOST_TAG := $(HOST_PREBUILT_TAG)
ccache := prebuilts/misc/$(CCACHE_HOST_TAG)/ccache/ccache
endif

# Check that the executable is here.
ccache := $(strip $(wildcard $(ccache)))
ifdef ccache
Expand Down
24 changes: 13 additions & 11 deletions core/checktree
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/python -E
#!/usr/bin/env python -E

from __future__ import print_function

import sys, os, re

Expand All @@ -11,7 +13,7 @@ excludes = [r'.*?/\.obj.*?',
r'.*?/out/.*?',
r'.*?/install/.*?']

excludes_compiled = map(re.compile, excludes)
excludes_compiled = list(map(re.compile, excludes))

def filter_excludes(str):
for e in excludes_compiled:
Expand Down Expand Up @@ -60,9 +62,9 @@ def run(command, regex, filt):
filt_compiled = re.compile(filt)

if len(lines) >= 1:
lines = filter(filterit, lines)
lines = list(filter(filterit, lines))
if len(lines) >= 1:
return map(matchit, lines)
return list(map(matchit, lines))
return None

try:
Expand All @@ -71,24 +73,24 @@ try:
elif len(sys.argv) == 2 and sys.argv[1] == "-a":
do_exclude = False
else:
print "usage: checktree [-a]"
print " -a don't filter common crud in the tree"
print("usage: checktree [-a]")
print(" -a don't filter common crud in the tree")
sys.exit(1)

have = run("p4 have ...", r'[^#]+#[0-9]+ - (.*)', r'.*')

cwd = os.getcwd()
files = run("find . -not -type d", r'.(.*)', r'.*')
files = map(lambda s: cwd+s, files)
files = [cwd+s for s in files]

added_depot_path = run("p4 opened ...", r'([^#]+)#.*', r'.*?#[0-9]+ - add .*');
added = []
if added_depot_path:
added_depot_path = map(quotate, added_depot_path)
added_depot_path = list(map(quotate, added_depot_path))

where = "p4 where " + " ".join(added_depot_path)
added = run(where, r'(.*)', r'.*')
added = map(split_perforce_parts, added)
added = list(map(split_perforce_parts, added))

extras = []

Expand All @@ -106,8 +108,8 @@ try:
extras = filter(filter_excludes, extras)

for s in extras:
print s.replace(" ", "\\ ")
print(s.replace(" ", "\\ "))

except PerforceError, e:
except PerforceError as e:
sys.exit(2)

3 changes: 2 additions & 1 deletion core/clang/HOST_x86_common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ endif
ifeq ($(HOST_OS),linux)
CLANG_CONFIG_x86_LINUX_HOST_EXTRA_ASFLAGS := \
--gcc-toolchain=$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG) \
--sysroot $($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/sysroot
--sysroot $($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/sysroot \
-B$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/x86_64-linux/bin

CLANG_CONFIG_x86_LINUX_HOST_EXTRA_CFLAGS := \
--gcc-toolchain=$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)
Expand Down
Loading