- 25 Jan, 2016 2 commits
-
-
Neil Fuller authored
Temporary revert to help out Brillo folks. It will be resubmitted tomorrow. This reverts commit 4495f6af. Change-Id: Id378c7d3a6e72e9be50f9404b19d5763568987a5
-
Neil Fuller authored
To return to OpenJDK 7: export LEGACY_USE_JAVA7=true And run envsetup.sh/lunch again. Bug: 25786468 Change-Id: I8e00591a24d13e3b8b6baaafe0fdff6536c58770
-
- 22 Jan, 2016 9 commits
-
-
Stephen Hines authored
-
Stephen Hines authored
Change-Id: I33a73c4c2b19aa17bc18a64c92a86565111de3d0
-
Stephen Hines authored
-
James Hawkins authored
-
Tao Bao authored
-
Stephen Hines authored
This change adds new variables for RS_LLVM_* tools, which correspond to the version of LLVM checked in currently to external/, instead of mapping to the latest host prebuilts. This will help prevent version differences for newer IR generated by the updated host prebuilts, which then might not be readable with the on-device LLVM bits we build from external/. Change-Id: I6c7b0fa9082e9c8244cc508cb23960569a057740
-
Alex Klyubin authored
-
Tao Bao authored
-
- 21 Jan, 2016 10 commits
-
-
James Hawkins authored
time across devices. Bug: 21724738 Change-Id: I165e8597103ea235a0826e321a1658823c4b4664
-
Colin Cross authored
-
Tao Bao authored
-
Dan Willemsen authored
-
Tao Bao authored
-
Christopher Wiley authored
-
Christopher Wiley authored
-
Tao Bao authored
For non-Brillo devices using AB update, add the payload signing public key to the system image (system/etc/update_engine/update-payload-key.pub.pem). We first need to sign the payload with some private key, and pack it into an Android OTA package. Then the whole zip package will be signed again with the device key. This is to comply with the two existing OTA flows (Android and CrOS). We use the same device key to do the two signings, but update_engine expects the key in RSA public key format. This CL extracts the public key from x509 certificate and adds it to the system image. Bug: 25715402 Change-Id: I6f6c1148534250ddb6d9e554175c7a35bceda99e
-
Colin Cross authored
New version of build/ execute the tools from prebuilts/sdk/tools in place, old versions copy them to $(HOST_OUT_EXECUTABLES). build/ and prebuilts/sdk often use mixed versions, set a flag that prebuilts/sdk/tools/Android.mk can use to determine when it is using an old build/ directory. Change-Id: Iad2f96c35203fd3b0976946d229bfa8ab4acb150
-
- 20 Jan, 2016 5 commits
-
-
Alex Klyubin authored
APKs are now signed with the usual JAR signature scheme and then with the APK Signature Scheme v2. APK Signature Scheme v2 is a whole-file signature scheme which aims to protect every single bit of the APK as opposed to the JAR signature scheme which protects only the names and uncompressed contents of ZIP entries. The two main goals of APK Signature Scheme v2 are: 1. Detect any unauthorized modifications to the APK. This is achieved by making the signature cover every byte of the APK being signed. 2. Enable much faster signature and integrity verification. This is achieved by requiring only a minimal amount of APK parsing before the signature is verified, thus completely bypassing ZIP entry decompression and by making integrity verification parallelizable by employing a hash tree. Bug: 25794543 Change-Id: I275d2a6d0a98504891985309b9dfff2e0e44b878
-
Alex Klyubin authored
-
Alex Klyubin authored
This change makes signapk not reject the --disable-v2 command-line flag which may be used by build scripts in some branches. The flag is currently ignored. This change is landed separately from the actual support for APK Signature Scheme v2 because of unbundled branches which use prebuilt versions of signapk. Bug: 25794543 Change-Id: I900966244b8b6296b1f443bf98830cc7f7cc81a8
-
Christopher Wiley authored
Both aidl and clang/gcc were putting their dependencies in the same place. Move aidl's dependencies to a file ending with .aidl.P rather than the compiler's .P. While here, inform kati that we have these special dep files. Bug:26409006 Test: Rebuild, note both files being generated Change-Id: I29d2eea822235d60713c2059f3a314e475eb5aa3
-
Christopher Wiley authored
Transform ../ to dotdot/ for C++ generateds from .aidl source files. This forces us to use one layer of indirection to calculate the build rules for .aidl files, since we can no longer use a pattern rule. This was tested by modifying system/tools/aidl's Android.mk to refer to its .aidl files by going up two directories and then repeating the directories again. When I print the build rules with $(info) I see that dotdot/ appears in appropriate places (C++ paths, but not .aidl paths). Bug: 26407018 Test: Described above. Change-Id: I397c9d10408c0c66d8b5a247a1f34eb4bf4f74ce
-
- 19 Jan, 2016 6 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
-
Chih-hung Hsieh authored
-
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
-
Dan Willemsen authored
This effectively changes the default instruction set of assembly files from arm to thumb in order to match the default for C/C++. Change-Id: I8684f144a1195b53b3e0fdd04cacf77f6a131c7e
-
Chih-Hung Hsieh authored
BUG: 26102335 Change-Id: I3b9fa2dfbee361410caf163147945ab448bb8ddf
-
- 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
-