- 19 Jan, 2016 3 commits
-
-
Tao Bao authored
It calls brillo_update_payload to generate the payload for A/B update. And packages the payload according to Android OTA package format. Note that it only supports generating full/incremental OTAs with this CL. Signing for release may not work properly at the moment. Bug: 25715402 Change-Id: I4ac8505bacad28a572a9320dc8b52dd0f1ce47f5
-
Tao Bao authored
-
Tao Bao authored
brillo_update_payload and shflags are the scripts to generate A/B OTA package (payload). Include them into otatools.zip. brillo_update_payload was already included in previous CL. Move it to the folder for executables. Bug: 25715402 Change-Id: Idf9c05767c24c55d058cc30e696f06d4eb5fd53b
-
- 18 Jan, 2016 1 commit
-
-
Neil Fuller authored
-
- 16 Jan, 2016 1 commit
-
-
Dan Willemsen authored
-
- 15 Jan, 2016 3 commits
-
-
Tianjie Xu authored
-
Neil Fuller authored
The information is not useful. Javadoc hasn't included this information for years. Bug: 25767152 (cherry-picked from commit a37bdc89) Change-Id: Id03a6e383118ab716ce870a1d7a3740656420fe7
-
Tianjie Xu authored
The total number of blocks to pack as new data was printed incorrectly. Fix printing. Change-Id: I6a6bb8dd6682d9c57943ceb1a728995f9529e2fd
-
- 14 Jan, 2016 3 commits
-
-
Tianjie Xu authored
-
Tianjie Xu authored
Modify the number of max blocks per transfer to reduce splitting of large files during patch generation. This will reduce the size of final incremental OTA updater package. In specific, the size limit for each file to transfer is set to 1/8 cachesize instead of a fix number. Bug: 26472126 Change-Id: Iffb135e378c4c7a91640f2fc4c40e9e93d1fe4bb
-
Dan Willemsen authored
-
- 13 Jan, 2016 7 commits
-
-
Dan Willemsen authored
This uses far fewer hacks in order to build these host tools, but will require more libraries(libc++,etc) from unbundled and stripped down branches. Once this becomes the only option, all builds will happen after soong runs. Then the toolchain / global cflags information will be able to be moved from make to soong (and exported back to make). Change-Id: I270b1d92bcef28a96fbc3ec9910d9bd0c101ac0f
-
Stephen Hines authored
-
Colin Cross authored
-
Colin Cross authored
-
Alex Klyubin authored
-
Stephen Hines authored
Bug: http://b/26524325 Bug: http://b/25282907 The latest Clang/LLVM requires Vista APIs in order to execute, so we need to bump the minimum required Windows version for our host tools. Change-Id: Ic1a760bc240060f5de39ce3a68484886021ff3d9
-
Dan Willemsen authored
-
- 12 Jan, 2016 12 commits
-
-
Dan Willemsen authored
This was marked as unsupported only on arm[64], even though it works. For soong, we want to keep a single list of unsupported clang flags for all architectures. Change-Id: I9c4ae0f255c549d2346ba7abae57e22c86ddcc61
-
Tao Bao authored
-
Alex Klyubin authored
SHA-1 is deprecated, but the replacement SHA-256 is only supported for JAR/APK and OTA update package signatures on API Level 18 and newer. This change thus adds a --min-sdk-version command-line parameter to signapk. When this parameter is set to 18 or higher, SHA-256 is used instead of SHA-1. When the parameter is not provided, SHA-1 is used same as before. This change also removes any other digests from the MANIFEST.MF. This is to ignore any MANIFEST.MF digests already there in the APK, such as when re-signing an already signed APK. Build scripts will be modified to provide the --min-sdk-version parameter in a follow-up change. This is not done in this change because of prebuilts which require a prebuilt version of signapk to support this parameter before the build scripts can be modified. Bug: 25643280 Change-Id: I6a2782e465600fe2a3ad0c10bd80db2b80a6fb76
-
Alex Klyubin authored
-
Alex Klyubin authored
Due to a bug introduced in 8562fd47 SHA-1 digests of APK entries' contents were listed under wrong attribute name. The effect is equivalent to not listing SHA-1 digests. This change fix the issue by listing SHA-1 digests under the correct attribute name. However, these digests are not that useful because: (1) typically the digest of the MANIFEST.MF verifies and thus the per-entry digests are ignored, and (2) per-entry digests of entries with names longer than 64 characters are wrong in any case because the digest generation code does not take into account that such names are split over multiple lines. An alternative to this change would be to completely omit outputting per-entry sections of .SF files, thus saving space and speeding up APK verification (.SF files would decompress faster). Bug: 26513901 Change-Id: If95d58e9baa62b1113639fe70724e1e9c9f4e15c
-
Tom Cherry authored
-
Tao Bao authored
The CL in [1] changed to create a symlink to /storage/self/primary for /sdcard. It breaks the mount of /sdcard under recovery. [1] commit 595003a3d06a13862052ef2f4f578371dae5ad65 Bug: 26509280 Change-Id: I98d02d54d707c2c8826c5ee119cf1a3ffa0c4bc9
-
Clay Murphy authored
-
Clay Murphy authored
Bug: 26452230 Change-Id: I8069d5087775a38f23e2aae86eb16fea81a65cd3
-
Ying Wang authored
-
Ying Wang authored
-
Ying Wang authored
- For .l/.y source files, generate .c files; for .ll/.yy source files, generate c++ files. - Simplified the rules by adding the generated sources to my_generated_sources. - Simplified generated header file naming by always using .h extension with bison's "--defines=" option. - Removed the unnecesarry conditional inclusion to the generated headers. Bison already automatically generates such things. Bug: 26492989 Change-Id: I9ab6dc149c258f7642bc36c3fa32f90ff7ee51a4
-
- 11 Jan, 2016 5 commits
-
-
Colin Cross authored
If ninja is missing makeparallel prints an unhelpful error: out/host/linux-x86/bin/makeparallel: exec failed: No such file or directory which suggests that makeparallel is what is missing, not what is reporting the error. Print the path passed to exec as well. Change-Id: Ic04c1cde6da9c3a974b5c43e3fb3bdb6da6605f7
-
Colin Cross authored
When USE_SOONG=true, ignore any Android.mk file that has an Android.bp file in the same directory. Change-Id: Id79bd90c2aed5dafc2f8ad2c5b7eb0aa6e81dc18
-
Ying Wang authored
Move "include configure_local_jack.mk" out of the scope of "ifdef LOCAL_RESOURCE_DIR". Change-Id: I67bbb4e6b59414559219d24136ff91ba799fda25
-
Tom Cherry authored
Currently, properties that begin with "ro." are special cased to skip over the "ro." part of the prefix before matching with entries in property_contexts. A change to init is removing this special case and therefore, the "ro." prefixes must be explicitly added to property_contexts. Bug 26425619 Change-Id: I735eb9fc208eeec284cda8d778db946eeec24192
-
Narayan Kamath authored
-
- 09 Jan, 2016 1 commit
-
-
Dan Willemsen authored
The lack of a changing timestamp improves reproducibility of builds, and helps create smaller OTAs. Bug: 24204119 Change-Id: I68acfb53be962ffd5c488337517dadb950a13b6f
-
- 08 Jan, 2016 4 commits
-
-
Gina Dimino authored
-
Narayan Kamath authored
It's only used by libcore tests so there's no need to ship it on all products. bug: 26457850 Change-Id: I907f781d215e94e1cbf554d81fda9e6eed07a4de
-
Tianjie Xu authored
-
Gina Dimino authored
Bug: 26452230 Change-Id: I716b773ed649dea4634f3db3fcb9daba0d0fab86
-