-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
tweezy23
wants to merge
10,000
commits into
abstrakraft:master
Choose a base branch
from
CyanogenMod:cm-12.1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...seriously, who uses it now? Change-Id: I5416562f19b5df5097c0df54cf4ccecdb4dab80f
Fastboot packages should include radio images, if they exist. Also generate a flash-radio.sh file if a filesmap file exists to indicate the partition that a radio image should be flashed to. Change-Id: I8f603b1509a5c1b55fee1cb6f6a49a7efb8cc594
Exit gracefully if server cannot be reached or if it reports an error. Change-Id: I86a1a45d3a1f8dfdb49a0400cb728c965dbad8df
From AOSP upstream: https://android-review.googlesource.com/#/c/111311/ ---- Add -Wno-unused-command-line-argument to clang cflags to enable ccache. Previously ccache is disabled when it fails calling clang's preprocessor with unused arguments (such as '-Wa,--noexecstack') in the command line. See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html. (-Qunused-arguments suppresses more than -Wno-unused-command-line-argument does.) Change-Id: I6cde307632c8395c053eb28063d7844d93070562
Change-Id: If666c8390b3c095c16e66df777c67a46511f4916
Change-Id: I0fb6d8f8a33f209d5593f133c2e891fe9be102c2
Change-Id: Ic34caa26bf53fc882e685794844ecfa27519e580
Improves performance for LOCAL_WHOLE_STATIC_LIBS by copying the first .a to the new .a rather than extracting and recreating Change-Id: Iecdb5e4bb2ce987bb41a70c3393d18a6d72ae689
Change-Id: I1bc7638ff92b61be6c3212dbd5a3f1c354093458
Change-Id: I87e92d3cbfa35367d87f55c92a6d12a6d4282232
* This is optional and done to save gerrit server bandwidth, however it may fail in cases where the 'github' remote is a mirror which doesn't sync the changes. * Let it try fetching from gerrit if fetching from github fails. Change-Id: I6d183ff83572d817d78633280d8b20e3efdaf8f0
* previous commit did exactly nothing... Change-Id: I66876aff83528596d628d24e60b5d4c0d81577bd
Don't do this. handheld_core_hardware.xml includes feature declarations that aren't mandatory, particularly cameras and magnetometers, but also things like managed users. According to the CDD, these are optional. Go back to the pre-L mechanism of including the declarations per-device to make them accurate. This reverts commit dccce7b. Conflicts: target/product/full_base_telephony.mk Change-Id: I6db55082295171b78fe595e783799ee54458c4fd
There is no phone directory in frameworks/base. Remove this to reduce build warnings. This reverts commit 7d36e15. Change-Id: Ia495461189e75b23deb2f4bdc393ec7de993527a
Change-Id: Icecf9c322102a3d5489d165d53f21c62835dcca7
Change-Id: I4e294c05eacc8bef8273247bcf1bf382291a3d31
`dopush mm`, as an example, tried to do mm, ignored its result, and went to push. Now, it does mm, and if mm exits successfully it continues to push the results, but if mm fails dopush stops, returning mm's return code. This is useful for having things like: $ mmp && adb reboot which now reboot the device weather the changes were pushed or not. With this patch, the device will only get rebooted if the compilation succeeds. Change-Id: I001e3dd83e25a775919adbccbd49914da1e94cde
Change-Id: I33ae5c6f2787017a62e679aa0c28d4b909d45935
We don't want to force this since we need to be able to re-sign boot images with proper keys, which requires rebuilding of the images. This also has an error in it from merging (dropped _MK). This reverts commit 22913de. Change-Id: Id1353e9883c3f24bbc10e685f43bede779430025
Target files packages may be used for signing images separate from the build process. Store the device tree image file in the target files package so it can be used during the signing process. Change-Id: Ie8507121fa9c4ba57ecffeab05bd859ae5f5b788
This is still needed, per this discussion here: http://review.cyanogenmod.org/#/c/76919/ This reverts commit 78d216b. Change-Id: If494c2c6468185bc0e10cdb92847a9f8429b79c4
`cp -R` is not a frequently used pattern in AOSP and has interoperability problems between BSD cp and GNU cp. First, the build is not resilient to old builds that did not complete, since BSD cp does not overwrite by default when used recursively: Copying baseline ramdisk... cp: symlink: /sbin/healthd: File exists make: *** [/Volumes/code/client/out/target/product/hammerhead/ramdisk-recovery.img] Error 1 make: *** Waiting for unfinished jobs.... ... #### make failed to build some targets (06:57 (mm:ss)) #### Second, BSD cp -R begins the source tree inside the specified source, resulting in a broken recovery on a brand new build. $ uname -s Darwin $ cp -R root/ recovery $ ls recovery/root ls: recovery/root: No such file or directory Change-Id: Ia47ac1ef2c25c7a9a34a587ce71e63dadb2b750c
* Property ro.build.type is not part of the default.prop we can't use this to decide how to apply adb by default within this function Change-Id: Ib3eb24c655353966d64c7148d7530244b628ce94
Change-Id: Ie6ecb4af88a20163aceb3c38b38e10af10f1720f
Set PRODUCT_PRIVATE_KEY to the path of the boot image signing certificate to sign an image for secure boot. Change-Id: I2c767c6f9c3740bed3d7094d2d0b50a075e08abc
* Add support for TARGET_KERNEL_ADDITIONAL_CONFIG which will append a config snippet from arch/$ARCH/configs/ to the main defconfig. * This can be used for various things, such as including DIAG support into debuggable builds. Change-Id: Ifa48688a3f951dd8ecc9a13a27de3a476e7bf633
Modifies "build: ota: Support for install tools in /tmp/install" to support signing steps being split from build steps. Package install files into target-files INSTALL path Read from target-files for OTA package creation Change-Id: I64f919c2a757b5474f6cc5f82bd6c33c2a8b558a
Ticket: CYNGNOS-1404 Android 5.1.1 release 33 Change-Id: I1eb8c8ccd5c2b527ad0ae4c9416e84d77b7acc8a
b/26499556 Change-Id: I18a5ad9d8d08e2050053bcebc1a9a0c46db86733
Build modules and dtbs only if enabled. The make commands were allowed to fail silently to support builds that did not have these options enabled. This had a side effect of allowing builds to complete even if modules failed to build. Don't suppress these error anymore. Change-Id: I842124b465d9e14edd6a09ffe54f09da32f10632
Fix some rules that listed directories as their dependencies. Directories are always out-of-date because the rules that depend on them touch file under the directories they depend on them. Replace the directory dependencies with stamp file rules that handle directory creation. Change-Id: I2b36c846b6565b7f9aba5bb7583576ad300983b8
Add a new shortcut to short circuit the long build process that walks the entire tree collecting all Android.mks. The resulting dependency list is sufficient to rebuild the kernel, copy product files and repack the system image with updated modules. This shortcut allows Kernel devs to rebuild just the boot.img and kernel modules very quickly (20s vs 3min). Change-Id: Ie0a69f241ea7b920859ff1e02c3542b79952462c
* x86_64 defconfigs live in arch/x86/configs * Use KERNEL_ARCH instead of TARGET_KERNEL_ARCH Change-Id: Idc191ea658fc4100bc7ad40958023c5f936daf44
This patch forces a regeneration of the .config if either the contents of TARGET_KERNEL_ADDITIONAL_CONFIG changes or the value of TARGET_KERNEL_ADDITIONAL_CONFIG changes. OPO-360 Change-Id: Ide28be3fab01b9f9ad72aa9d8706131e2b9ac0c7
Android 5.1.1 release 34 Ticket: CYNGNOS-1522 Change-Id: I0022d2edeaf620ccb6b6eced60dbbab9127c2f2f
b/27272697 Change-Id: I99c2c892a21f4c36226ea5f8d94689d6218ccf7e
Android 5.1.1 release 35 Ticket: CYNGNOS-1854
Ticket: CYNGNOS-2213 Android 5.1.1 release 37
…or May 2016 Security OTA Ticket: CYNGNOS-2373 b/27724973 Change-Id: I572123586730e45b304f352c8b0fd6371ff5788b
When invoking clang for the host to assemble .S files, the -B flag would not be provided, which allowed the host prebuilt clang to use an 'as' from the native environment. Most of the time this "just works", but some newer 'as' versions cause problems with the older prebuilt toolchain, for example by generating unsupported relocation types. To avoid this problem, simply use the -B flag to tell clang to invoke the assembler from the correct prebuilt gcc prefix. Change-Id: I18ea4f37ae637b652cfd7321c41929f8be075342 Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
b/28269112 Ticket: CYNGNOS-2707 Change-Id: Icf65bbf784951d1f9b56ce88f59b50661af1a32c (cherry picked from commit 0a3b3d4)
b/28912173 CYNGNOS-3020 Change-Id: Ib40892d3185285cf4e95abb655a96c76258e17b1 (cherry picked from commit 45ff24a)
Ticket: CYNGNOS-3177 Change-Id: Ia8b92f07a1fb16b5274d5cbf3cdc9b145beabe97
…tion for 2016 September OTA CYNGNOS-3235 b/30224278 Change-Id: I8032d58d2965fcf2c412a098cfa1d1e4c0add01d
CYNGNOS-3286 Change-Id: If6d3cd562ceff218136185cd16b52ab92ed8d0f2
CYNGNOS-3303 Change-Id: Ib31ba11912f144ff34edb66dc693b92f6fc0c24b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.