- 18 Jul, 2015 1 commit
-
-
Colin Cross authored
Using $(BUILD_NUMBER) inside a rule causes odd behavior, as the rule is different every time make is run, but since make doesn't depend on the command line it only ends up being built with the new value if some other dependency has changed. To allow ninja, which does depend on the command line, to provide the same behavior, store the build number in out/build_number.txt, and use a shell expansion to cat the file in rules that use it. This will cause the rule command to stay identical between builds, while still getting the new build number if the rule is rerun for a dependency. Also use the same trick for BUILD_FINGERPRINT, and the date in droiddoc rules. Change-Id: I6c5e6b6b3ef4c613563d7f5604df0e401575ba5f
-
- 17 Jul, 2015 2 commits
-
-
Colin Cross authored
-
Colin Cross authored
Move the @echo command that prints the rule description to be the first command in each rule so that the kati tool can find it to use as a ninja rule description. Change-Id: I90f27c35bb719d327a7f2109f8d00d3589082f19
-
- 16 Jul, 2015 2 commits
-
-
Nick Kralevich authored
-
Miodrag Dinic authored
This fixes the issue with the emulator "-shell" option. Init tries to open the console which is passed through the kernel androidboot.console property, but fails to open it because "avc" denies it. Init only has permissions to open console_device in rw mode. This ensures that /dev/ttyS2 is properly labeled as console_device. Replaced tabs with spaces. Change-Id: I9ef94576799bb724fc22f6be54f12de10ed56768
-
- 15 Jul, 2015 4 commits
-
-
Tao Bao authored
-
Nick Kralevich authored
-
Evgenii Stepanov authored
-
Tao Bao authored
Change-Id: I7246c59c79ccf6a7589c884391d0f690746fc129
-
- 14 Jul, 2015 5 commits
-
-
Tao Bao authored
-
Tao Bao authored
With block-based OTA v2 and v3, it requires stash space on the /cache partition to back up blocks during an update. We need to ensure that it doesn't exceed the partition size. Since there might be other files on /cache as well, we use cache_size * threshold as the maximum allowed size. The threshold defaults to 0.8, which can be overridden by command line option '--stash_threshold'. Change-Id: I5c2e353ea4716328d6cdc6a7f758520de8d88b8e (cherry picked from commit 23ac4042)
-
Evgenii Stepanov authored
Another change in bionic/linker adds linker_asan/linker_asan64 that know where to find ASan shared libraries. Also, include linker_asan to the required packages list when building for ASan. Change-Id: I8ebe7c0091bbeb0c135708a891d33d9844373d37
-
Evgenii Stepanov authored
-
Evgenii Stepanov authored
This is a temporary change pending code cleanup. We are already disabling detection of ODR violations. As it turns out, an ODR between an ASan-instrumented library and a non-instrumented library may actually crash ASan, and there is no obvious way out, and one of those prevents us from booting a SANITIZE_TARGET image right now. Bug: 21951850 Change-Id: I49508242ec96089a3d4d8b7e45f36323d62f2be9
-
- 13 Jul, 2015 1 commit
-
-
William Roberts authored
Change-Id: I7a97e00c7ef5ac179333303d89511c2f72cbd100 Signed-off-by:
William Roberts <william.c.roberts@intel.com>
-
- 11 Jul, 2015 2 commits
- 10 Jul, 2015 4 commits
-
-
Tao Bao authored
-
Tao Bao authored
file_contexts (specified by SELINUX_FC) is needed both when building and (re)packaging. We used to use the copy in out/ when building, and looked for the copy in BOOT/RAMDISK/ when packaging from target_files zip. With system_root_image enabled, the file_contexts needed for building and packaging might be different from the one on device. So we explicitly pack the file as META/file_contexts in target_files zip. Also refactor out the overriding of selinux_fc property into common.LoadInfoDict(). Change-Id: I94f9ea6671b3792c12c1c21573840743d63da39a (cherry picked from commit aa7318c3)
-
Tao Bao authored
-
Tao Bao authored
dm-verity may touch some blocks that are not in the care_map due to block device read-ahead. It will fail if such blocks contain non-zeroes. As a workaround, we mark them as extended blocks and zero out explicitly to avoid dm-verity failures. Bug: 20881595 Change-Id: Id097138bfd065c84eac088b3ad49758010b2927b (cherry picked from commit 2fd2c9bf)
-
- 09 Jul, 2015 2 commits
-
-
Elliott Hughes authored
-
Elliott Hughes authored
Change-Id: I6c01ed5b059c230d7382dc6158103f31d4bf9dbb
-
- 08 Jul, 2015 8 commits
-
-
Elliott Hughes authored
-
Elliott Hughes authored
-
Elliott Hughes authored
It's only ever referred to directly. (Should probably move to system/core/include, but that's orthogonal to this change.) Change-Id: I353afff031a29206aaa5a0991fe0ccb39e4731e2
-
Elliott Hughes authored
-
Elliott Hughes authored
Change-Id: I9f4ce70696dd7df5922b3c80501fac9c7d4b7149
-
Elliott Hughes authored
Change-Id: If1cd88ee14bf9cbb4a0a1f608b0d015c9181c2c2
-
Tao Bao authored
-
- 07 Jul, 2015 1 commit
-
-
Tao Bao authored
-
- 06 Jul, 2015 3 commits
- 02 Jul, 2015 5 commits
-
-
Ying Wang authored
-
Ying Wang authored
Change-Id: If2486e4861071df6b225fe7f387530a38f554484
-
Elliott Hughes authored
-
Stephen Hines authored
-
Ying Wang authored
This can be used to compile independent libraries without the need for libgcc.a. Change-Id: I924200995569d9a978ddbaa6ec321d80734f1374
-