OSDN Git Service

android-x86/build.git
7 years agoRemove -host
Baligh Uddin [Mon, 30 Jan 2017 20:41:31 +0000 (12:41 -0800)]
Remove -host

Bug: 34689537
Change-Id: Idd6b24a14caa863857303633ba15bd3b41a3a624

7 years agoAdd libext2_misc to otatools package
Baligh Uddin [Mon, 30 Jan 2017 15:47:35 +0000 (07:47 -0800)]
Add libext2_misc to otatools package

Bug: 34689537
Change-Id: I4323acdbadb1c4c8faa6dbb17a79bce72c063407

7 years agoEmulator builds: Disable camera service Treble mode for now
Eino-Ville Talvala [Tue, 24 Jan 2017 20:17:25 +0000 (12:17 -0800)]
Emulator builds: Disable camera service Treble mode for now

Until all backwards-compatibility support is in place, the emulator
targets need to not use the Treble path.

Bug: 32991422
Bug: 32989965
Test: Built aosp_x86_64-eng and verified build.prop has the new key
Change-Id: I72487126b0ec7c7794bb3f57f4b1a649a2ec140b

7 years agoMerge "Put back LLVM_PREBUILTS_BASE." am: c921add339 am: 3dadeece2a am: 9d581bbcdb
Chih-Hung Hsieh [Thu, 26 Jan 2017 20:31:50 +0000 (20:31 +0000)]
Merge "Put back LLVM_PREBUILTS_BASE." am: c921add339 am: 3dadeece2a am: 9d581bbcdb
am: 478210f500

Change-Id: I90c78974817f5452815989ef584d30d83e17af49

7 years agoMerge "Put back LLVM_PREBUILTS_BASE." am: c921add339 am: 3dadeece2a
Chih-Hung Hsieh [Thu, 26 Jan 2017 20:29:16 +0000 (20:29 +0000)]
Merge "Put back LLVM_PREBUILTS_BASE." am: c921add339 am: 3dadeece2a
am: 9d581bbcdb

Change-Id: I4eaa1d0c11b1e4659405c022e460d042090c89ac

7 years agoMerge "Put back LLVM_PREBUILTS_BASE." am: c921add339
Chih-Hung Hsieh [Thu, 26 Jan 2017 20:26:45 +0000 (20:26 +0000)]
Merge "Put back LLVM_PREBUILTS_BASE." am: c921add339
am: 3dadeece2a

Change-Id: I1da666f886eb051ddedde1d5db8823ffd58ee8a2

7 years agoMerge "Put back LLVM_PREBUILTS_BASE."
Chih-Hung Hsieh [Thu, 26 Jan 2017 20:23:47 +0000 (20:23 +0000)]
Merge "Put back LLVM_PREBUILTS_BASE."
am: c921add339

Change-Id: I06e11c06dfa37b9ef9419cbc0de35a4026ee5bf7

7 years agoMerge "Put back LLVM_PREBUILTS_BASE."
Treehugger Robot [Thu, 26 Jan 2017 20:16:13 +0000 (20:16 +0000)]
Merge "Put back LLVM_PREBUILTS_BASE."

7 years agoMerge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a am: 1030be9543
Yifan Hong [Thu, 26 Jan 2017 18:32:15 +0000 (18:32 +0000)]
Merge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a am: 1030be9543
am: 21a7e626f2

Change-Id: I930f8a5cccc341178e0d25c1c8599753bb7a4e47

7 years agoMerge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a
Yifan Hong [Thu, 26 Jan 2017 18:29:14 +0000 (18:29 +0000)]
Merge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a
am: 1030be9543

Change-Id: I3e1458a8d4b4938dfdbe657303847bb743184138

7 years agoMerge "Add lshal to embedded.mk." am: cbc8f16656
Yifan Hong [Thu, 26 Jan 2017 18:25:44 +0000 (18:25 +0000)]
Merge "Add lshal to embedded.mk." am: cbc8f16656
am: 1a375ded9a

Change-Id: Ie627b77505bfcd27ec2a08e847f58b5a13b2de7f

7 years agoPut back LLVM_PREBUILTS_BASE.
Chih-Hung Hsieh [Thu, 26 Jan 2017 18:23:54 +0000 (10:23 -0800)]
Put back LLVM_PREBUILTS_BASE.

Without this, WITH_TIDY is disabled because
PATH_TO_CLANG_TIDY uses LLVM_PREBUILTS_BASE.

Test: build with WITH_TIDY=1
Change-Id: I607ae45550f4574b3cee8e91c3d5b7eaa5f0a96c

7 years agoMerge "Add lshal to embedded.mk."
Yifan Hong [Thu, 26 Jan 2017 18:22:52 +0000 (18:22 +0000)]
Merge "Add lshal to embedded.mk."
am: cbc8f16656

Change-Id: I675717ad530ba111d3b8cab1b79a6325a7232c02

7 years agoMerge "Add lshal to embedded.mk."
Yifan Hong [Thu, 26 Jan 2017 18:18:19 +0000 (18:18 +0000)]
Merge "Add lshal to embedded.mk."

7 years agoAdd lshal to embedded.mk.
Yifan Hong [Thu, 26 Jan 2017 05:53:38 +0000 (21:53 -0800)]
Add lshal to embedded.mk.

Test: make -j64 and flash the device and
ensure that lshal is available on the device.

Bug: 34712252
Change-Id: If61047afb27f9da9f8825ce18e2dfc0b3dec10e2

7 years agoMerge "Makefile: Pack libsparse-host.so into otatools.zip." am: a85248b489 am: 3d7e6c...
Tao Bao [Thu, 26 Jan 2017 16:44:19 +0000 (16:44 +0000)]
Merge "Makefile: Pack libsparse-host.so into otatools.zip." am: a85248b489 am: 3d7e6ca49c am: f6b6de96b1
am: 69850da494

Change-Id: Ic8d66c86198b15c8b442afb2bc59753f50d98c2a

7 years agoMakefile: Pack libsparse-host.so into otatools.zip. am: 04c8a03c85 am: 3258ac18c9...
Tao Bao [Thu, 26 Jan 2017 16:44:04 +0000 (16:44 +0000)]
Makefile: Pack libsparse-host.so into otatools.zip. am: 04c8a03c85 am: 3258ac18c9 am: 0d7ffe6c5e
am: b27135b236

Change-Id: I30d1955badb31234f1ab76c61ba642d4ddf60da3

7 years agoMerge "Makefile: Pack libsparse-host.so into otatools.zip." am: a85248b489 am: 3d7e6ca49c
Tao Bao [Thu, 26 Jan 2017 16:41:19 +0000 (16:41 +0000)]
Merge "Makefile: Pack libsparse-host.so into otatools.zip." am: a85248b489 am: 3d7e6ca49c
am: f6b6de96b1

Change-Id: I45ca14927f59809c16f20267a8f697fb68a992c2

7 years agoMakefile: Pack libsparse-host.so into otatools.zip. am: 04c8a03c85 am: 3258ac18c9
Tao Bao [Thu, 26 Jan 2017 16:41:04 +0000 (16:41 +0000)]
Makefile: Pack libsparse-host.so into otatools.zip. am: 04c8a03c85 am: 3258ac18c9
am: 0d7ffe6c5e

Change-Id: Ibffb9f9810e9ba2c24b4d0fe6fe9f5039a391bb8

7 years agoMerge "Makefile: Pack libsparse-host.so into otatools.zip." am: a85248b489
Tao Bao [Thu, 26 Jan 2017 16:38:17 +0000 (16:38 +0000)]
Merge "Makefile: Pack libsparse-host.so into otatools.zip." am: a85248b489
am: 3d7e6ca49c

Change-Id: I45301ccf8adb56289ffd2262f2f9aae8bc890a96

7 years agoMakefile: Pack libsparse-host.so into otatools.zip. am: 04c8a03c85
Tao Bao [Thu, 26 Jan 2017 16:38:04 +0000 (16:38 +0000)]
Makefile: Pack libsparse-host.so into otatools.zip. am: 04c8a03c85
am: 3258ac18c9

Change-Id: Ib8e513ad7ff9de309294b79fceef3cf28ae64b56

7 years agoMerge "Makefile: Pack libsparse-host.so into otatools.zip."
Tao Bao [Thu, 26 Jan 2017 16:33:36 +0000 (16:33 +0000)]
Merge "Makefile: Pack libsparse-host.so into otatools.zip."
am: a85248b489

Change-Id: Ia88d643f21891df7514a5d3500e897607ef23260

7 years agoMakefile: Pack libsparse-host.so into otatools.zip.
Tao Bao [Thu, 26 Jan 2017 16:33:35 +0000 (16:33 +0000)]
Makefile: Pack libsparse-host.so into otatools.zip.
am: 04c8a03c85

Change-Id: Ib65a7358f8626243b3eba6dd06a2c442e4f35c32

7 years agoMakefile: Pack libsparse-host.so into otatools.zip.
Tao Bao [Thu, 26 Jan 2017 16:16:57 +0000 (08:16 -0800)]
Makefile: Pack libsparse-host.so into otatools.zip.

delta_generator has a dependency on that.

Bug: 34731113
Bug: 34723547
Test: m otatools-package
Change-Id: I70752a8c283bf98cb6106d3999515d0fd01f43b2
(cherry picked from commit 04c8a03c855173066a5e7a62a0ac5f19fc975aa6)

7 years agoMerge "Makefile: Pack libsparse-host.so into otatools.zip."
Tao Bao [Thu, 26 Jan 2017 16:28:16 +0000 (16:28 +0000)]
Merge "Makefile: Pack libsparse-host.so into otatools.zip."

7 years agoMakefile: Pack libsparse-host.so into otatools.zip.
Tao Bao [Thu, 26 Jan 2017 16:16:57 +0000 (08:16 -0800)]
Makefile: Pack libsparse-host.so into otatools.zip.

delta_generator has a dependency on that.

Bug: 34731113
Bug: 34723547
Test: m otatools-package
Change-Id: I70752a8c283bf98cb6106d3999515d0fd01f43b2

7 years agoMerge "Revert "Switch to clang-3625443."" am: 4932b9fb59 am: a7a3e4719d am: 52005b072d
Brian Carlstrom [Thu, 26 Jan 2017 08:19:14 +0000 (08:19 +0000)]
Merge "Revert "Switch to clang-3625443."" am: 4932b9fb59 am: a7a3e4719d am: 52005b072d
am: a439927293

Change-Id: I5a68d9558e7144cf70387963b480eb876ceec5ac

7 years agoMerge "Revert "Switch to clang-3625443."" am: 4932b9fb59 am: a7a3e4719d
Brian Carlstrom [Thu, 26 Jan 2017 08:16:09 +0000 (08:16 +0000)]
Merge "Revert "Switch to clang-3625443."" am: 4932b9fb59 am: a7a3e4719d
am: 52005b072d

Change-Id: I802fb68f3f1666fcecc53e2134adfeac0fa0230f

7 years agoMerge "Revert "Switch to clang-3625443."" am: 4932b9fb59
Brian Carlstrom [Thu, 26 Jan 2017 08:13:10 +0000 (08:13 +0000)]
Merge "Revert "Switch to clang-3625443."" am: 4932b9fb59
am: a7a3e4719d

Change-Id: I880c175120c5d39abb93196c890ed0068fc2b50d

7 years agoMerge "Revert "Switch to clang-3625443.""
Brian Carlstrom [Thu, 26 Jan 2017 08:09:58 +0000 (08:09 +0000)]
Merge "Revert "Switch to clang-3625443.""
am: 4932b9fb59

Change-Id: I4b778ae7dba56cf15079dfa516ebe4fdd343e98a

7 years agoMerge "Revert "Switch to clang-3625443.""
Brian Carlstrom [Thu, 26 Jan 2017 08:05:34 +0000 (08:05 +0000)]
Merge "Revert "Switch to clang-3625443.""

7 years agoRevert "Switch to clang-3625443."
Stephen Hines [Thu, 26 Jan 2017 07:59:53 +0000 (07:59 +0000)]
Revert "Switch to clang-3625443."

This reverts commit 296af27303646fc7cd9e59f63d968f8513b79a8f.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I524c2c89004c79352bf2be3727c7ddcceca9b2e7

7 years agoMerge "Switch to clang-3625443." am: 296c345be9 am: 7c88a2f902 am: 2b711fb78f
Stephen Hines [Thu, 26 Jan 2017 07:35:29 +0000 (07:35 +0000)]
Merge "Switch to clang-3625443." am: 296c345be9 am: 7c88a2f902 am: 2b711fb78f
am: 0d0d2ee04a

Change-Id: I243ec2266123da5c7d46f51c0608789740430cbb

7 years agoMerge "Switch to clang-3625443." am: 296c345be9 am: 7c88a2f902
Stephen Hines [Thu, 26 Jan 2017 07:30:07 +0000 (07:30 +0000)]
Merge "Switch to clang-3625443." am: 296c345be9 am: 7c88a2f902
am: 2b711fb78f

Change-Id: I644f40bab1287a9f8b0a34fb3596a120cc31e61d

7 years agoMerge "Switch to clang-3625443." am: 296c345be9
Stephen Hines [Thu, 26 Jan 2017 07:25:05 +0000 (07:25 +0000)]
Merge "Switch to clang-3625443." am: 296c345be9
am: 7c88a2f902

Change-Id: I8ad1085548ea629670d5b8e088752f2a1f953772

7 years agoMerge "Switch to clang-3625443."
Stephen Hines [Thu, 26 Jan 2017 07:19:53 +0000 (07:19 +0000)]
Merge "Switch to clang-3625443."
am: 296c345be9

Change-Id: I874c41aacd7e3f17f88a4f2ff54a16c6fac10042

7 years agoMerge "Switch to clang-3625443."
Treehugger Robot [Thu, 26 Jan 2017 07:13:16 +0000 (07:13 +0000)]
Merge "Switch to clang-3625443."

7 years agoMerge "Add keymaster hal implementation and service"
TreeHugger Robot [Thu, 26 Jan 2017 00:39:24 +0000 (00:39 +0000)]
Merge "Add keymaster hal implementation and service"

7 years agoMerge "Add screenrecord to master (emulator)"
Joshua Duong [Wed, 25 Jan 2017 22:12:27 +0000 (22:12 +0000)]
Merge "Add screenrecord to master (emulator)"

7 years agoMerge changes from topic 'yahan_incr_image_size'
Joshua Lang [Wed, 25 Jan 2017 21:53:58 +0000 (21:53 +0000)]
Merge changes from topic 'yahan_incr_image_size'

* changes:
  Increase system image size for arm64 to 2.5G to fix buildbot
  Increase system image size for x64 to 2.5G
  Increase system image size to 2GB for the emulator

7 years agoAdd keymaster hal implementation and service
Joshua Lang [Wed, 25 Jan 2017 21:27:02 +0000 (13:27 -0800)]
Add keymaster hal implementation and service

Fixes emulator boot

Test: boot emulator
Change-Id: I28b2fb81a7f740406fc06512d5dee336bc64d1e0

7 years agoMerge "Revert "Revert "releasetools: Generate streamable A/B OTA packages.""" am...
Tao Bao [Wed, 25 Jan 2017 19:04:11 +0000 (19:04 +0000)]
Merge "Revert "Revert "releasetools: Generate streamable A/B OTA packages.""" am: 499e53f607 am: 865aa42cae am: 58d7d9b10a
am: 85c942232d

Change-Id: I224412bb433ddd851b0931d34e8ba9915a1e3718

7 years agoMerge "Revert "Revert "releasetools: Generate streamable A/B OTA packages.""" am...
Tao Bao [Wed, 25 Jan 2017 19:01:41 +0000 (19:01 +0000)]
Merge "Revert "Revert "releasetools: Generate streamable A/B OTA packages.""" am: 499e53f607 am: 865aa42cae
am: 58d7d9b10a

Change-Id: I7da94902e6f7b3244d57dd48c1202cd151bef196

7 years agoMerge "Revert "Revert "releasetools: Generate streamable A/B OTA packages.""" am...
Tao Bao [Wed, 25 Jan 2017 18:59:11 +0000 (18:59 +0000)]
Merge "Revert "Revert "releasetools: Generate streamable A/B OTA packages.""" am: 499e53f607
am: 865aa42cae

Change-Id: Ie7da9dc789f0bed594d5051869699236a5553e5b

7 years agoMerge "Revert "Revert "releasetools: Generate streamable A/B OTA packages."""
Tao Bao [Wed, 25 Jan 2017 18:56:40 +0000 (18:56 +0000)]
Merge "Revert "Revert "releasetools: Generate streamable A/B OTA packages."""
am: 499e53f607

Change-Id: I1d1cece713f23ba51f6ba73e404e5cd9b4b2ef34

7 years agoMerge "Revert "Revert "releasetools: Generate streamable A/B OTA packages."""
Tao Bao [Wed, 25 Jan 2017 18:54:22 +0000 (18:54 +0000)]
Merge "Revert "Revert "releasetools: Generate streamable A/B OTA packages."""

7 years agoAdd screenrecord to master (emulator)
Grigory Dzhavadyan [Sat, 3 Dec 2016 01:50:35 +0000 (17:50 -0800)]
Add screenrecord to master (emulator)

Change-Id: Idda25f9bd0195f608efb20a0b16e277ba09a18bd
(cherry picked from commit c3de1a6cca058a67924f06be21bce092d502a846)

7 years agoMerge "Prevent abuse of property overrides" am: 7ae18449ec am: c96ffae29f am: 5675d28df7
Jaekyun Seok [Wed, 25 Jan 2017 07:25:55 +0000 (07:25 +0000)]
Merge "Prevent abuse of property overrides" am: 7ae18449ec am: c96ffae29f am: 5675d28df7
am: c77a9a7888

Change-Id: I705e6aab4a7ae6df62e73c79d10ce27392f415f0

7 years agoMerge "Prevent abuse of property overrides" am: 7ae18449ec am: c96ffae29f
Jaekyun Seok [Wed, 25 Jan 2017 07:23:25 +0000 (07:23 +0000)]
Merge "Prevent abuse of property overrides" am: 7ae18449ec am: c96ffae29f
am: 5675d28df7

Change-Id: I716b89ef4b1b2fef99725b170ea5be0c09822374

7 years agoMerge "Prevent abuse of property overrides" am: 7ae18449ec
Jaekyun Seok [Wed, 25 Jan 2017 07:21:24 +0000 (07:21 +0000)]
Merge "Prevent abuse of property overrides" am: 7ae18449ec
am: c96ffae29f

Change-Id: Ife1f31f6e33f5fdaacb5bb8acf51b9c1c8a2a098

7 years agoMerge "Prevent abuse of property overrides"
Jaekyun Seok [Wed, 25 Jan 2017 07:18:54 +0000 (07:18 +0000)]
Merge "Prevent abuse of property overrides"
am: 7ae18449ec

Change-Id: I035eab9562c13747d6a6917bb7be3dad81348ff6

7 years agoMerge "Prevent abuse of property overrides"
Treehugger Robot [Wed, 25 Jan 2017 07:15:07 +0000 (07:15 +0000)]
Merge "Prevent abuse of property overrides"

7 years agoRevert "Revert "releasetools: Generate streamable A/B OTA packages.""
Tao Bao [Wed, 25 Jan 2017 06:10:49 +0000 (22:10 -0800)]
Revert "Revert "releasetools: Generate streamable A/B OTA packages.""

This reverts commit ea4325baf8a673e869cac8981781cf57c4821cb5 to re-land
commit ef1bb4360f0b9ccc54afd7a39077b7ca4d8a9a36. It fixes the bug when
handling a package without care_map.txt (e.g. dm-verity not enabled).

In order to support streaming A/B OTA packages, we pack
payload_properties.txt and care_map.txt in ZIP_STORED mode. These two
entries along with payload.bin (already in ZIP_STORED prior to this CL)
can be fetched directly based on the offset and length info.

We write the offset and length info into the package metadata entry
(META-INF/com/android/metadata), which can be parsed by the OTA server.

payload_properties.txt and care_map.txt are usually less than 1-KiB. So
the change only incurs marginal size increase.

Bug: 33382114
Test: Generate an A/B OTA package. Verify the 'streaming-property-files'
      entry in the metadata file.
Test: Generate an A/B OTA package on a device with dm-verity not enabled.

Change-Id: I3469c8b62385a1fc58b4fb82e3f9d4690aef52ba

7 years agoPrevent abuse of property overrides
Jaekyun Seok [Fri, 20 Jan 2017 04:17:12 +0000 (13:17 +0900)]
Prevent abuse of property overrides

To prevent abuse of PRODUCT_*PROPERTY_OVERRIDES and
ADDITIONAL*PROPERTIES, the following rules should be applied.

- Mark PRODUCT_*PROPERTY_OVERRIDES readonly after reading product
 specs.
- Disallow any changes on ADDITIONAL*PROPERTIES from product specs
 and BoardConfig.mk.
- Mark ADDITIONAL*PROPERTIES readonly before reading Android.mk
 files.

Test: building succeeded on marlin-userdebug.
Bug: 34116668
Change-Id: I93d8de086ec85ba787165a156bdcc7df04310be1
(cherry picked from commit 294286d95c7647c1c20c3537f065c21e85371695)

7 years agoMerge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463...
Tao Bao [Wed, 25 Jan 2017 01:55:03 +0000 (01:55 +0000)]
Merge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463 am: e8468634be am: 44c7467c11
am: f327bff73f

Change-Id: I864fb9dbde378e9d260d138ce49656a1f4c471af

7 years agoMerge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463...
Tao Bao [Wed, 25 Jan 2017 01:53:01 +0000 (01:53 +0000)]
Merge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463 am: e8468634be
am: 44c7467c11

Change-Id: Ifcfd1100edbe52221a9e11a263a6990ecdf87377

7 years agoMerge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463
Tao Bao [Wed, 25 Jan 2017 01:51:01 +0000 (01:51 +0000)]
Merge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463
am: e8468634be

Change-Id: I96d5798141d580cb6648cebe5d675c16a9c244ea

7 years agoMerge "Revert "releasetools: Generate streamable A/B OTA packages.""
Tao Bao [Wed, 25 Jan 2017 01:49:00 +0000 (01:49 +0000)]
Merge "Revert "releasetools: Generate streamable A/B OTA packages.""
am: 5ce7034463

Change-Id: If2a3ee497124b87d1ff3c6bb10a05065c856bd96

7 years agoMerge "Revert "releasetools: Generate streamable A/B OTA packages.""
Tao Bao [Wed, 25 Jan 2017 01:45:44 +0000 (01:45 +0000)]
Merge "Revert "releasetools: Generate streamable A/B OTA packages.""

7 years agoMerge "Prevent abuse of property overrides"
TreeHugger Robot [Wed, 25 Jan 2017 01:42:59 +0000 (01:42 +0000)]
Merge "Prevent abuse of property overrides"

7 years agoRevert "releasetools: Generate streamable A/B OTA packages."
Tao Bao [Wed, 25 Jan 2017 01:41:13 +0000 (01:41 +0000)]
Revert "releasetools: Generate streamable A/B OTA packages."

This reverts commit ef1bb4360f0b9ccc54afd7a39077b7ca4d8a9a36.

It has broken the builds that don't have care_map.txt entry.

Change-Id: I343455e66be5e79457968dfc2813c7c1c234b6dc

7 years agoMerge "change mediaanalytics to mediametrics"
Ray Essick [Wed, 25 Jan 2017 01:01:08 +0000 (01:01 +0000)]
Merge "change mediaanalytics to mediametrics"

7 years agoMerge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f am: 62bc53...
Tao Bao [Wed, 25 Jan 2017 00:04:24 +0000 (00:04 +0000)]
Merge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f am: 62bc5301ec am: ac5a36e56b
am: 56677596ff

Change-Id: Icfc372710ad90be02d1590149e079675e7f16774

7 years agoMerge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f am: 62bc5301ec
Tao Bao [Wed, 25 Jan 2017 00:02:52 +0000 (00:02 +0000)]
Merge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f am: 62bc5301ec
am: ac5a36e56b

Change-Id: I4589d78f4adc7ae9af3a77407cfee8a4f4b9c4e6

7 years agoMerge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f
Tao Bao [Wed, 25 Jan 2017 00:00:54 +0000 (00:00 +0000)]
Merge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f
am: 62bc5301ec

Change-Id: I6b70d99f0e3d944852938a4e7fdcf34dcde06e07

7 years agoMerge "releasetools: Generate streamable A/B OTA packages."
Tao Bao [Tue, 24 Jan 2017 23:59:24 +0000 (23:59 +0000)]
Merge "releasetools: Generate streamable A/B OTA packages."
am: 41130f495f

Change-Id: I33e4eb9cc536c7d49535a4c393a6b3303add9742

7 years agoMerge "releasetools: Generate streamable A/B OTA packages."
Tao Bao [Tue, 24 Jan 2017 23:55:52 +0000 (23:55 +0000)]
Merge "releasetools: Generate streamable A/B OTA packages."

7 years agoMerge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49 am: 7254e730a9...
Hiroshi Yamauchi [Tue, 24 Jan 2017 22:27:44 +0000 (22:27 +0000)]
Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49 am: 7254e730a9 am: 0e2a7399da
am: d1a5cf176f

Change-Id: Id062e9704ee3be622089e6a36908509a5f883687

7 years agoMerge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048...
Calin Juravle [Tue, 24 Jan 2017 22:27:00 +0000 (22:27 +0000)]
Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048 am: 79ff8975b6
am: e674f92620

Change-Id: I7a891430c883e7e6f4b79c7daacb8b9ce58929bb

7 years agoMerge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49 am: 7254e730a9
Hiroshi Yamauchi [Tue, 24 Jan 2017 22:24:23 +0000 (22:24 +0000)]
Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49 am: 7254e730a9
am: 0e2a7399da

Change-Id: I02955c2b729673771844f3e1c3b7099e7eb50d7b

7 years agoMerge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048
Calin Juravle [Tue, 24 Jan 2017 22:23:32 +0000 (22:23 +0000)]
Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048
am: 79ff8975b6

Change-Id: I18428fe7cfb49a70dcf55b77dd0d92d839acdf01

7 years agoMerge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49
Hiroshi Yamauchi [Tue, 24 Jan 2017 22:22:08 +0000 (22:22 +0000)]
Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49
am: 7254e730a9

Change-Id: If496e17ca32097e2b5c5d1b16097ba68f52c2587

7 years agoMerge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7
Calin Juravle [Tue, 24 Jan 2017 22:21:28 +0000 (22:21 +0000)]
Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7
am: 9be4363048

Change-Id: I09bb657dfa3a3d5ca5a2410313ee061235f56c74

7 years agoMerge "Enable PRODUCT_ART_USE_READ_BARRIER by default."
Hiroshi Yamauchi [Tue, 24 Jan 2017 22:20:19 +0000 (22:20 +0000)]
Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default."
am: 131731fd49

Change-Id: I434953132243db254adf8513240e33257b917b21

7 years agoMerge "Add dexoptanalyzer to art PRODUCT_PACKAGES"
Calin Juravle [Tue, 24 Jan 2017 22:19:32 +0000 (22:19 +0000)]
Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES"
am: eddf3adec7

Change-Id: I3405653797259f6529e1fd4e10434a435a3365fd

7 years agoMerge "Enable PRODUCT_ART_USE_READ_BARRIER by default."
Hiroshi Yamauchi [Tue, 24 Jan 2017 22:14:43 +0000 (22:14 +0000)]
Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default."

7 years agoMerge "Add dexoptanalyzer to art PRODUCT_PACKAGES"
Calin Juravle [Tue, 24 Jan 2017 22:14:10 +0000 (22:14 +0000)]
Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES"

7 years agoMerge "Force Thumb for CFI targets." am: 34eb9f7f60 am: 9e8e3de9d8 am: 682a87a7f5
Evgenii Stepanov [Tue, 24 Jan 2017 21:00:55 +0000 (21:00 +0000)]
Merge "Force Thumb for CFI targets." am: 34eb9f7f60 am: 9e8e3de9d8 am: 682a87a7f5
am: 999ea7f160

Change-Id: I84f7f7107c8166f93ffe3c47d2743b6c7e427e2f

7 years agoMerge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1 am: e729e80...
Evgenii Stepanov [Tue, 24 Jan 2017 21:00:40 +0000 (21:00 +0000)]
Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1 am: e729e804fe am: 629002835a
am: d79d664dc9

Change-Id: Ia2d4f0a4748f3e7964d384e58c386c8678f810c4

7 years agoMerge "Force Thumb for CFI targets." am: 34eb9f7f60 am: 9e8e3de9d8
Evgenii Stepanov [Tue, 24 Jan 2017 20:58:55 +0000 (20:58 +0000)]
Merge "Force Thumb for CFI targets." am: 34eb9f7f60 am: 9e8e3de9d8
am: 682a87a7f5

Change-Id: I9a586f57a8988bdb8d772705acef8f5f8b967e8d

7 years agoMerge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1 am: e729e804fe
Evgenii Stepanov [Tue, 24 Jan 2017 20:58:41 +0000 (20:58 +0000)]
Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1 am: e729e804fe
am: 629002835a

Change-Id: Ia09b6fa057b4aada743d82ffcf5af87ab1b149f9

7 years agoMerge "Force Thumb for CFI targets." am: 34eb9f7f60
Evgenii Stepanov [Tue, 24 Jan 2017 20:56:54 +0000 (20:56 +0000)]
Merge "Force Thumb for CFI targets." am: 34eb9f7f60
am: 9e8e3de9d8

Change-Id: I4f997927ff4357799afe8ca5d78255ea4e563beb

7 years agoMerge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1
Evgenii Stepanov [Tue, 24 Jan 2017 20:56:41 +0000 (20:56 +0000)]
Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1
am: e729e804fe

Change-Id: I8a20ce05dffbf33b7c3480e13ee40cf0257dc06a

7 years agoMerge "Force Thumb for CFI targets."
Evgenii Stepanov [Tue, 24 Jan 2017 20:54:57 +0000 (20:54 +0000)]
Merge "Force Thumb for CFI targets."
am: 34eb9f7f60

Change-Id: Ie28255f6d8eb78ff5813623e167ad51ea1ab768b

7 years agoMerge "Run $(AR) with LLVMgold.so plugin for CFI targets."
Evgenii Stepanov [Tue, 24 Jan 2017 20:54:42 +0000 (20:54 +0000)]
Merge "Run $(AR) with LLVMgold.so plugin for CFI targets."
am: 96c81711c1

Change-Id: I914f2c1e037ad8988181801f7689636952beb5b2

7 years agoMerge "Force Thumb for CFI targets."
Evgenii Stepanov [Tue, 24 Jan 2017 20:52:25 +0000 (20:52 +0000)]
Merge "Force Thumb for CFI targets."

7 years agoMerge "Run $(AR) with LLVMgold.so plugin for CFI targets."
Evgenii Stepanov [Tue, 24 Jan 2017 20:50:36 +0000 (20:50 +0000)]
Merge "Run $(AR) with LLVMgold.so plugin for CFI targets."

7 years agoIncrease system image size for arm64 to 2.5G to fix buildbot
Yahan Zhou [Fri, 4 Nov 2016 16:40:34 +0000 (09:40 -0700)]
Increase system image size for arm64 to 2.5G to fix buildbot

This CL increases system image size for arm64 to 2.5G to fit in the
packages.

Change-Id: I5ae52c5f64e7d54b70e36bb0bce68e8197365017

7 years agoIncrease system image size for x64 to 2.5G
Yahan Zhou [Fri, 4 Nov 2016 00:51:26 +0000 (17:51 -0700)]
Increase system image size for x64 to 2.5G

x64 uses more space than others.

Change-Id: I67674823960874164f6d40ad07c6e865eaacefc5

7 years agoIncrease system image size to 2GB for the emulator
Yahan Zhou [Tue, 1 Nov 2016 22:59:00 +0000 (15:59 -0700)]
Increase system image size to 2GB for the emulator

This is needed as GTS requires us to pre-install more google apps into
the system image.

Change-Id: Iaf72f745df97604c2d0bc3fbdca01730ca7be94d

7 years agoEnable PRODUCT_ART_USE_READ_BARRIER by default.
Hiroshi Yamauchi [Tue, 24 Jan 2017 19:08:44 +0000 (11:08 -0800)]
Enable PRODUCT_ART_USE_READ_BARRIER by default.

Bug: 34084559
Bug: 34576638
Test: Boot gce_x86_phone on master
Change-Id: If284beb9551e55a4a698679399feb26e4acfd3d9

7 years agoPrevent abuse of property overrides
Jaekyun Seok [Fri, 20 Jan 2017 04:17:12 +0000 (13:17 +0900)]
Prevent abuse of property overrides

To prevent abuse of PRODUCT_*PROPERTY_OVERRIDES and
ADDITIONAL*PROPERTIES, the following rules should be applied.

- Mark PRODUCT_*PROPERTY_OVERRIDES readonly after reading product
 specs.
- Disallow any changes on ADDITIONAL*PROPERTIES from product specs
 and BoardConfig.mk.
- Mark ADDITIONAL*PROPERTIES readonly before reading Android.mk
 files.

Test: building succeeded on marlin-userdebug.
Bug: 34116668
Change-Id: I93d8de086ec85ba787165a156bdcc7df04310be1

7 years agoRun $(AR) with LLVMgold.so plugin for CFI targets.
Evgenii Stepanov [Tue, 24 Jan 2017 00:57:38 +0000 (16:57 -0800)]
Run $(AR) with LLVMgold.so plugin for CFI targets.

Bug: 34623182
Test: add LOCAL_SANITIZE:=cfi to some static libraries under libstagefright
Change-Id: I4f0d8cbd794e0ce4737c59a4617e93c7a5defec1

7 years agoSwitch to clang-3625443.
Stephen Hines [Mon, 23 Jan 2017 23:03:55 +0000 (15:03 -0800)]
Switch to clang-3625443.

Bug: http://b/31532493
Test: Manual validation.
Change-Id: I0490b60c996052669fbfd545d7c3eed17fdd3547

7 years agochange mediaanalytics to mediametrics
Ray Essick [Mon, 23 Jan 2017 20:04:17 +0000 (12:04 -0800)]
change mediaanalytics to mediametrics

mediaanalytics has been renamed to mediametrics; set up
so that we build the new component name instead of the old one.

Bug: 34615027
Test: clean build, proper binary generated

7 years agoIncrease the generic_arm64 system image partition size to to 2G.
Hiroshi Yamauchi [Mon, 23 Jan 2017 18:49:43 +0000 (10:49 -0800)]
Increase the generic_arm64 system image partition size to to 2G.

Bug: 34571380
Test: build sdk_google_phone_arm64.

Change-Id: I53c8980417bfac3651d71c13111a0c1dc0022d6c

7 years agoForce Thumb for CFI targets.
Evgenii Stepanov [Fri, 20 Jan 2017 22:12:08 +0000 (14:12 -0800)]
Force Thumb for CFI targets.

Bug: 22033465
Test: bionic device tests
Change-Id: I66eb83bc7153cc34dde4fa1abfa861182a10f1fa

7 years agoMerge changes from topic 'emu_audio_fixes'
Joshua Lang [Fri, 20 Jan 2017 21:33:59 +0000 (21:33 +0000)]
Merge changes from topic 'emu_audio_fixes'

* changes:
  Add audio HIDL *-impl and -service libraries to product packages
  Add default audio_submix module to sdk_base build
  Switch video codec config xml to goldfish version
  Adding goldfish_audio_legacy hal to emulator build
  Switch emulator sdk build audio_conf to goldfish

7 years agoreleasetools: Generate streamable A/B OTA packages.
Tao Bao [Wed, 11 Jan 2017 19:57:10 +0000 (11:57 -0800)]
releasetools: Generate streamable A/B OTA packages.

In order to support streaming A/B OTA packages, we pack
payload_properties.txt and care_map.txt in ZIP_STORED mode. These two
entries along with payload.bin (already in ZIP_STORED prior to this CL)
can be fetched directly based on the offset and length info.

We write the offset and length info into the package metadata entry
(META-INF/com/android/metadata), which can be parsed by the OTA server.

payload_properties.txt and care_map.txt are usually less than 1-KiB. So
the change only incurs marginal size increase.

Bug: 33382114
Test: Generate an A/B OTA package. Verify the 'streaming-property-files'
      entry in the metadata file.

Change-Id: I04504e834eb36e18876c5f5a5a09289ee05c6f9a

7 years agoMerge "Add framework sysconfig content to the build"
TreeHugger Robot [Fri, 20 Jan 2017 02:55:25 +0000 (02:55 +0000)]
Merge "Add framework sysconfig content to the build"