aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-20Merge "clang now supports -fdebug-prefix-map=."brillo-m10-releasebrillo-m10-devElliott Hughes
2016-02-19clang now supports -fdebug-prefix-map=.Elliott Hughes
Change-Id: Id0569831f09845871d8e6990c310516bea5a2510
2016-02-17Merge "Switch to production constant for v2 signing scheme ID."Alex Klyubin
2016-02-17Merge "Add support for testing obfuscated app with Jack"Yohann Roussel
2016-02-17Add support for testing obfuscated app with JackYohann Roussel
Bug: 17481317 Change-Id: I80cb4e3991e858a39e7415fb7f1896d6992c950f
2016-02-16Merge "Include Brillo's cannonical .clang-format file."Alex Deymo
2016-02-16Include Brillo's cannonical .clang-format file.Alex Deymo
Many Brillo repositories need to share a common .clang-format file to ensure the same formatting rules. This patch moves the .clang-format file already in system/core/metricsd to a common location to be shared by other Brillo repositories. Bug: 27121653 TEST=symlink from system/update_engine, ran clang-format. Change-Id: Ie04a5a9cf54b9cc24f180fe3896501db4d883a64
2016-02-16Merge "Clear logd intermediates"Sami Tolvanen
2016-02-16Merge "Define a class for renderscript bitcode files"Dan Willemsen
2016-02-16Merge "makeparallel: unset MAKEFLAGS and MAKELEVEL"Colin Cross
2016-02-16Switch to production constant for v2 signing scheme ID.Alex Klyubin
Bug: 25794543 Change-Id: I0e06f31ea3117c6865d18f853f99304964b323b4
2016-02-16Merge "Add new package: java.util.function"Neil Fuller
2016-02-16Add new package: java.util.functionNeil Fuller
Bug: 26814204 (cherry-picked from commit 9429a880a347de14ecc4971cb9fe25b52fab7950) Change-Id: Ibd4f7a985ddcdb7564a79326ce846257882e294f
2016-02-13Define a class for renderscript bitcode filesDan Willemsen
These have been using SHARED_LIBRARIES, but aren't elf shared libraries. Continue installing them to /system/lib[64], but do not apply any other normal shared library logic to them. Change-Id: I3055ff86bb7b116c7107c41578ed6f0f304b1cf1
2016-02-12Merge "Remove debug statement"Dan Willemsen
2016-02-12Merge "Use newest clang static analyzers."Chih-hung Hsieh
2016-02-11Use newest clang static analyzers.Chih-Hung Hsieh
* When WITH_STATIC_ANALYZER is set and non-zero, and clang compiler is used, call new clang ccc-analyzer or c++-analyzer. * Otherwise, if WITH_SYNTAX_CHECK is set and non-zero, call compiler with -fsyntax-only. * Replace "--sysroot=path" with "--sysroot path", to work with ccc-analyzer. * ccc-analyzer executes the original compilation command to generate object files before calling clang with --analyze to do static analysis. * When clang is called with --analyze, macro __clang_analyzer__ is defined. BUG: 13287788 Change-Id: I5edb25b52998d871385dd000778db2ce83224078
2016-02-11Merge "fs_config: error on multiple specifications of ↵Dan Willemsen
android_filesystem_config.h"
2016-02-11Merge "Makefile: Add the missing library in otatools.zip."Tao Bao
2016-02-11Makefile: Add the missing library in otatools.zip.Tao Bao
With the change in [1], delta_generator now needs libprotobuf-cpp-lite.so instead of libprotobuf-cpp-lite-rtti.so to generate A/B payloads. [1] commit ab5bd668f6be600a8cceb8772e426c0aa902a5e1 Bug: 27145830 Change-Id: Ib9a93bf0fbe7fa44fc5fb94668d17fa1a2e07b05 (cherry picked from commit fdd2693b650d24d98dd694508724b901f50f278f)
2016-02-11fs_config: error on multiple specifications of android_filesystem_config.hWilliam Roberts
Multiple files added to TARGET_ANDROID_FILESYSTEM_CONFIG_H will build, however the tooling will only respect the first header found. The sanity check in the makefile will only check the first path found for proper naming convention. One can end up with a successful build that does not respect all files in the TARGET_ANDROID_FILESYSTEM_CONFIG_H. Check that one and only one item is set to TARGET_ANDROID_FILESYSTEM_CONFIG_H variable. Output: *** Multiple fs_config files specified, see "device/lge/bullhead/two/android_filesystem_config.h device/lge/bullhead/one/android_filesystem_config.h".. Change-Id: I70a43f44713b273cb9a78f54ff16854b9e11af4a Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-02-11Merge "Remove usages of jill.jar, use jack instead"Sebastien Hertz
2016-02-10Clear logd intermediatesSami Tolvanen
Needed by changes from Idcdc5bff133f13c1267f0ec0a75cc8cf1ddbda0d Bug: 26902605 Change-Id: Id3ca7889ede30b54b7af73dd50653ca1a20d59aa
2016-02-10Remove debug statementDan Willemsen
Change-Id: Ic8b6082a61e2fb1b09b2b254312d3dc7ef59d987
2016-02-10Merge "Sign APKs using SHA-256 instead of SHA-1 when possible."Alex Klyubin
2016-02-10Merge "Fix metadata location when file system doesn't span the partition"Sami Tolvanen
2016-02-10Merge "Tell Soong about HOST_CROSS_*"Dan Willemsen
2016-02-10Sign APKs using SHA-256 instead of SHA-1 when possible.Alex Klyubin
This changes the build system to provide the signapk tool with the minSdkVersion of the APK being signed. signapk in turn will then use SHA-256 instead of SHA-1 if minSdkVersion is 18 (JB MR2) or higher (see c2c49ed0c13846f7f96249c7419971dfcddc9215). To avoid increasing incremental OTA update package sizes for already released platforms, release build scripts disable the above logic when signing target files ZIPs for pre-N platforms. Bug: 25643280 Change-Id: I3f2faaf49c6fa392ffbf1ee9f30de476f9f73231
2016-02-10Fix metadata location when file system doesn't span the partitionSami Tolvanen
Pad the sparse image with a zero fill chunk to correctly position verity and FEC metadata at the end of the partition. Bug: 27073791 Change-Id: I9f70d579a42e5007d50e9c02a98a608d2815f0ed
2016-02-10Remove usages of jill.jar, use jack insteadYohann Roussel
Bug: 27113650 (cherry picked from commit d0bb7bdf5a62fd1cd0469e0b5d6b54feaecb3cdd) Change-Id: Ie9be0d5c7e43ea857411431bb79db5cbb476484f
2016-02-10Merge "releasetools: Add two new entries to metadata."Tao Bao
2016-02-10Merge "improve performance of blockimgdiff"Doug Zongker
2016-02-10improve performance of blockimgdiffDoug Zongker
Substantially improves the performance of some BlockImageDiff steps on large images. GenerateDigraph and AssertSequenceGood are now linear in the number of blocks in the target image rather than quadratic in the size of the partition. FindVertexSequence tracks the score of each vertex, the set of sources and sinks, and maintains a heap for finding the best vertex to use for the greedy step, instead of repeatedly re-scanning the set of remaining vertexes. Change-Id: Ifeea5053d80ef4f06a5aa239c9a1797dd5e47841
2016-02-10Merge "Use Jan 1 2009 as timestamp in OTA update ZIPs."Alex Klyubin
2016-02-09Tell Soong about HOST_CROSS_*Dan Willemsen
This configures Soong to build windows binaries, which requires support for 64-bit windows binaries in BUILD_PREBUILT for USE_SOONG=true. module_arch_supported.mk did not support 64-bit being the secondary architecture when evaluating multilib conditionals. All other uses of HOST_*_IS_64_BIT already check the proper version. Change-Id: Iff664733e6991f4adbe8ddd620b091bbb55d1d86
2016-02-09Merge "Allow java targets to support 1.8 source / target"Neil Fuller
2016-02-09Use Jan 1 2009 as timestamp in OTA update ZIPs.Alex Klyubin
This is a follow-up to 6c41036bcf35fe39162b50d27533f0f3bfab3028 where I forgot to update a section of OTA update ZIP code. Bug: 26864066 Change-Id: Idbcde71d6377a16807e41c999120eeddd5b4d8a4
2016-02-09Merge "Add 64-bit windows cross-compiles"Dan Willemsen
2016-02-09Merge "Disable java when JAVA_NOT_REQUIRED is set"Dan Willemsen
2016-02-08Disable java when JAVA_NOT_REQUIRED is setDan Willemsen
Change-Id: Id3056cde93302be20000bf7af33aeed0fa8fdf52
2016-02-08Merge "Revert "Do not diff .odex files""Dan Willemsen
2016-02-08Revert "Do not diff .odex files"Dan Willemsen
The bug has been fixed, .odex files are deterministic. This reverts commit c4438d3d29389d0df0b744c339d67f4a673be96c. Bug: 26956807 Change-Id: Iaa42dfba5cf79ee64ac20cf4f1f3a4598f4275f4
2016-02-08releasetools: Add two new entries to metadata.Tao Bao
Add "ota-required-cache" into the metadata file in an OTA package, which shows the minimum free space on /cache to apply the update. Add "ota-type" into the metadata file, which shows the OTA type for this package (i.e. one of FILE, BLOCK and AB). Also add the cache free space check into updater-script when generating block-based incremental OTAs (we only had such lines for file-based incrementals before). Bug: 26731903 Change-Id: Id6ff0fc4cdfb1443636b0b3800b0f8bddb5bb1d0
2016-02-05Add 64-bit windows cross-compilesDan Willemsen
This is mostly the same as the existing 2ND_HOST / HOST_CROSS support. The interesting thing I did here was make x86 the 'first' architecture, and x86_64 the second. This way LOCAL_MULTILIB := first defaults to 32-bit windows modules. windows-x86/bin <- defaults to 32-bit executables windows-x86/lib <- 32-bit libraries, like before windows-x86/lib64 <- 64-bit libraries windows-x86/obj <- 32-bit intermediates windows-x86/obj64 <- 64-bit intermediates Then modules are registered with the names: host_cross_liblog <- 32-bit, like before host_cross_liblog_64 <- 64-bit Bug: 26957718 Change-Id: I9f119411acb43e973ec1e6bca3c1dc291c91556c
2016-02-05Merge "ota_from_target_files: Include the payload properties."Alex Deymo
2016-02-05Merge "Fix unused src tracking for generated .o files"Dan Willemsen
2016-02-05makeparallel: unset MAKEFLAGS and MAKELEVELColin Cross
makeparallel inherits values for MAKEFLAGS and MAKELEVEL from make through the environment, but they should not be propagated to the child process in case the child process tries to run make again. Change-Id: I4c5df10ea8055cd1f1f61a892d5b1a7acb287bbb
2016-02-04ota_from_target_files: Include the payload properties.Alex Deymo
When building an A/B OTA package, include the payload.bin properties as a key-value pairs text file, so it can easily be passed to update_engine during payload application. Bug: 26991255 TEST=`ota_from_target_files out/dist/${BOARD}-target_files.zip full-ota.zip` includes the properties. Change-Id: I445c8a8e412a8e16b48b6ee626db8e27d48a38a9
2016-02-04Merge "Don't build otatools for PDK"Colin Cross
2016-02-04Merge "Remove USE_CLANG_PLATFORM_BUILD in BoardConfig.mk"Chih-hung Hsieh