Commit graph

49839 commits

Author SHA1 Message Date
Patrik Fimml
8fcc95e2b9 Merge "Push cameraserver downstream from base_system.mk." into pi-dev-plus-aosp
am: 9f0e7c70de

Change-Id: I2c534ae60139fdf08ec8b6bea98bc39c9cd2076b
2018-12-06 10:12:21 -08:00
Patrik Fimml
9f0e7c70de Merge "Push cameraserver downstream from base_system.mk." into pi-dev-plus-aosp 2018-12-06 17:53:27 +00:00
Pawin Vongmasa
24584d1c04 Add Codec2 to mainline_system
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 112362730
Bug: 119853704
Change-Id: I563748d4cea04ab09f03109fa8fa7697d35de581
2018-12-06 07:40:18 -08:00
Tianjie Xu
81c88ad58b Generate the recovery text images at build time
We used to manually generate the background text images for recovery. That
process requires opening various emulators and takes a long time. Now that
the host Java tool is ready to generate these images, we can embed the
generation step into the build of the recovery image.

Since there's currently no make variable that defines screen width of the
device, we put the commonly used values for pixels here, i.e. 1440 for
xxxhdpi and 1080 for xxhdpi. Devices with other dpi can still use this
feature if they define the screen width in their config files.

Test: build bootimage with screen with set/unset
Change-Id: Ic8389a527e6e7194de58a9c50763e841e886652b
2018-12-06 01:10:38 -08:00
Vic Yang
1a1968e8ea Merge "Move android_ids from .data.rel.ro to .rodata" am: 4379a28921 am: 7699a2e468
am: 0451e75be4

Change-Id: I38f1a3581ea6bcdcdf1c8b279ba1d63b289f375e
2018-12-05 22:58:58 -08:00
Vic Yang
0451e75be4 Merge "Move android_ids from .data.rel.ro to .rodata" am: 4379a28921
am: 7699a2e468

Change-Id: Ibd176ac6e9783964eb6e022bf2be53992cd6d5bb
2018-12-05 22:34:39 -08:00
Vic Yang
7699a2e468 Merge "Move android_ids from .data.rel.ro to .rodata"
am: 4379a28921

Change-Id: Ic9331c06c045c21180356107607ccc0f29617b23
2018-12-05 22:27:26 -08:00
Vic Yang
4379a28921 Merge "Move android_ids from .data.rel.ro to .rodata" 2018-12-06 06:04:23 +00:00
TreeHugger Robot
bc9910817c Merge "Fix hiddenapi-greylist.csv generation." 2018-12-06 00:17:50 +00:00
TreeHugger Robot
7463c1c4ab Merge "Revert "Revert "Audio VNDK: add V5 HIDL libraries""" 2018-12-05 23:59:22 +00:00
Evgenii Stepanov
8607d84d7c Merge "[make] Disable CFI when building with HWASan." am: 696dd3bd93 am: fbf0759fa3
am: cb4bad2ca0

Change-Id: Ie3e0896ae5036b6b0c721572c31fbc10ea3d7bce
2018-12-05 14:42:40 -08:00
Evgenii Stepanov
cb4bad2ca0 Merge "[make] Disable CFI when building with HWASan." am: 696dd3bd93
am: fbf0759fa3

Change-Id: I02aa73c87e4bbf422ea17bf39e85a458250cdce5
2018-12-05 14:38:22 -08:00
Evgenii Stepanov
fbf0759fa3 Merge "[make] Disable CFI when building with HWASan."
am: 696dd3bd93

Change-Id: I5627f51b0907e1ca5a37a3d3ccd68ef66bf683da
2018-12-05 14:30:02 -08:00
Treehugger Robot
696dd3bd93 Merge "[make] Disable CFI when building with HWASan." 2018-12-05 22:00:21 +00:00
Chih-hung Hsieh
9cfaff6157 Merge "Disable implicit-integer-sign-change by default." am: a441818a10 am: 9cd06f247d
am: 0f045393b1

Change-Id: I6ad0a5c551feb2530b2a62b91cb3b42572842ca6
2018-12-05 11:11:26 -08:00
Chih-hung Hsieh
0f045393b1 Merge "Disable implicit-integer-sign-change by default." am: a441818a10
am: 9cd06f247d

Change-Id: I8fe4865ee845387fbaeca69b764c12f0932828d6
2018-12-05 11:07:09 -08:00
Chih-hung Hsieh
9cd06f247d Merge "Disable implicit-integer-sign-change by default."
am: a441818a10

Change-Id: I804b76d61d87d3d7913cfbacb5bbed530aca998d
2018-12-05 10:52:50 -08:00
Chih-hung Hsieh
a441818a10 Merge "Disable implicit-integer-sign-change by default." 2018-12-05 18:24:12 +00:00
Mathew Inwood
8626c8ea95 Fix hiddenapi-greylist.csv generation.
It was referring to a non-existant macro paramater resulting in empty
output.

Test: m out/target/common/obj/PACKAGING/hiddenapi-greylist.csv
& then check output.

Change-Id: Ib48042ecca320c4d7c3a27959e41e5c55099b27a
2018-12-05 17:51:37 +00:00
Anton Hansson
c3eeaf2f1a Merge "Add RRO partition specification in Makefiles" am: 6983776cdb am: e04a4b983e
am: d5bdad5ee9

Change-Id: I6118798d859a77e9f188f3c75c17b26414f57a02
2018-12-05 07:18:57 -08:00
Anton Hansson
d5bdad5ee9 Merge "Add RRO partition specification in Makefiles" am: 6983776cdb
am: e04a4b983e

Change-Id: I0db700da17756d2bbb8562bdf531fc992ca5d335
2018-12-05 07:14:24 -08:00
Anton Hansson
e04a4b983e Merge "Add RRO partition specification in Makefiles"
am: 6983776cdb

Change-Id: I103fbe2c90cf7848a9d13770a2408d7e2d2e22ef
2018-12-05 07:10:04 -08:00
Anton Hansson
6983776cdb Merge "Add RRO partition specification in Makefiles" 2018-12-05 14:43:19 +00:00
Vic Yang
5b3a7c0069 Move android_ids from .data.rel.ro to .rodata
Pages in .data.rel.ro are always dirty.  Move whatever we can to
.rodata so that we reduce memory pressure.

The size of rodata, text, and data.rel.ro sections of libc on cuttlefish
before/after this change:
    rodata: 0xfd70 -> 0x101d0 (+1120 bytes)
    text: 0xb5715 -> 0xb56e5 (-48 bytes)
    data.rel.ro: 0x57e0 -> 0x5230 (-1456 bytes)

While this change alone doesn't reduce the number of dirty pages
from data.rel.ro on cuttlefish, it is a step in that direction.

Test: Build and boot cuttlefish
Change-Id: Iff8203940495109dd01c40f31b034cfb2882e7f4
2018-12-05 00:10:19 -08:00
Kevin Rocard
5f341dd8fc Merge "Do not install unused arch variant of audio libs" 2018-12-05 02:49:20 +00:00
Evgenii Stepanov
88a95a35fa [make] Disable CFI when building with HWASan.
Same as soong. This needs do match, otherwise, for example, CFI may be
disable in a static library in soong, and left enabled in a shared
library in make; that would not work as CFI only supports DSO granularity.

Bug: 120508119, 112709969
Change-Id: I00d6b1c9c373bcb6804c135407c6eeae88b375b6
Test: hwasan build of master branch boots
2018-12-05 01:15:01 +00:00
Yifan Hong
2b1fa27907 Merge changes from topic "super_target_files" am: 5df29604b9 am: c452235483
am: f1aebb02fb

Change-Id: Ia67bf05e83edc2c45d17013118bb7c8e647ed76f
2018-12-04 16:09:41 -08:00
Yifan Hong
f1aebb02fb Merge changes from topic "super_target_files" am: 5df29604b9
am: c452235483

Change-Id: I74b7bfcf0cc8834c55eeae4071ec3281fdb65c3f
2018-12-04 15:52:54 -08:00
Yifan Hong
c452235483 Merge changes from topic "super_target_files"
am: 5df29604b9

Change-Id: Iba83bad72030a543ea4d653ac04d075a8b1b161b
2018-12-04 15:45:11 -08:00
Yifan Hong
5df29604b9 Merge changes from topic "super_target_files"
* changes:
  add_img_to_target_files uses build_super_image
  Build super_empty with build_super_image.py
  Build super.img from images in target_files
2018-12-04 23:20:21 +00:00
Kevin Rocard
f43f5dff0d Do not install unused arch variant of audio libs
PRODUCT_PACKAGES installs the primary arch variant of executables
and both the primary and secondary arch variant of shared libraries.
It also installs the dependencies of each files.

A lot of audio libraries were listed in PRODUCT_PACKAGES although
they are dependencies of audioserver.
Thus those libraries where installed in both archs whereas
only the arch of the audioserver is needed.

Thus remove all audio libraries from PRODUCT_PACKAGES and have them
installed automatically as a dependency of audioserver in the arch
variant of audioserver.

That should also save ~3MB of space on the system partition.

Test: m -j; du -a $ANDROID_PRODUCT_OUT/system > before
      # apply this patch
      rm -r $ANDROID_PRODUCT_OUT
      m -j; du -a $ANDROID_PRODUCT_OUT/system > after
      meld before after
      # lib64 is not changed, lib32 does not have audio libs
Signed-off-by: Kevin Rocard <krocard@google.com>

Change-Id: Icbcf4c92d60819ca2f9c14ba0aec043584ed081f
2018-12-04 22:57:32 +00:00
Ryan Mitchell
8dd846c45f Add RRO partition specification in Makefiles
This adds support for overlays to be placed in the product and
product_services partitions.

   LOCAL_VENDOR_MODULE :=  true #/vendor/overlay
   LOCAL_ODM_MODULE := true #/vendor/odm/overlay
   LOCAL_PRODUCT_MODULE := true #/system/product/overlay
   LOCAL_PRODUCT_SERVICES_MODULE := true #
   /system/product_services/overlay

Bug: 110869880
Test: built overlay with different partitions and verified correct apk
location

Change-Id: I21f594e784a18cf59f4ff03c00e30b463ec85008
2018-12-04 20:53:29 +00:00
Chih-Hung Hsieh
1871062b28 Disable implicit-integer-sign-change by default.
* New clang compiler makes some integer santizers enabling
  implicit-integer-sign-change, but Android code does not
  boot with this new sanitizer yet.

Bug: 119329758
Test: build and boot with new clang compiler
Change-Id: Ic80cde49d3ef51277fbe2a0aa8c1b8f2f8bfd80c
2018-12-04 19:52:14 +00:00
Bill Rassieur
1e2d9d2c35 Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform release.BUG: 120448245 2018-12-04 10:48:09 -08:00
Kevin Rocard
40edfdcf02 [automerger skipped] Merge "Audio VNDK: add V5 HIDL libraries" am: 5cf5594818 am: aabe14f84b
am: bdec022734  -s ours

Change-Id: I477ce14d71577d737d3fff3479c0ba92378586f1
2018-12-04 10:11:02 -08:00
Kevin Rocard
bdec022734 Merge "Audio VNDK: add V5 HIDL libraries" am: 5cf5594818
am: aabe14f84b

Change-Id: I0efdc011ed27964307255da945d7fdaa94f92471
2018-12-04 10:03:51 -08:00
Kevin Rocard
aabe14f84b Merge "Audio VNDK: add V5 HIDL libraries"
am: 5cf5594818

Change-Id: I052ec22a2f7dc34d521b3bb79b7a5d3ea3d199f5
2018-12-04 09:58:43 -08:00
Anton Hansson
08ff4221e6 Merge "Reenable avb for mainline" am: 4a46570ff2 am: 0127f7dd4f
am: 5c50562aab

Change-Id: I8d33806ed913928f936f75d2ccc7cda99353ca97
2018-12-04 09:45:33 -08:00
Treehugger Robot
5cf5594818 Merge "Audio VNDK: add V5 HIDL libraries" 2018-12-04 17:44:07 +00:00
Anton Hansson
5c50562aab Merge "Reenable avb for mainline" am: 4a46570ff2
am: 0127f7dd4f

Change-Id: Iab503123f0691cfcb3f4392283d5fb6fcd7dc38c
2018-12-04 09:41:22 -08:00
Anton Hansson
0127f7dd4f Merge "Reenable avb for mainline"
am: 4a46570ff2

Change-Id: I2fce5d10bcb19479eddb2f771116d5ce877c3195
2018-12-04 09:36:07 -08:00
Anton Hansson
4a46570ff2 Merge "Reenable avb for mainline" 2018-12-04 17:22:25 +00:00
Anton Hansson
de6f4cfdc8 Reenable avb for mainline
Partial rollback of Id5d114bde8b93800fe52c791ccc47cdffd86f382.

It is likely mainline also wants some of the BOARD_AVB_SYSTEM.. flags,
but I'm not entirely sure which ones.

Test: run build_mixed with this patch
Change-Id: I6ef3c01f6c74e6d93cf798b26b8c7a4785bbefb4
2018-12-04 16:56:33 +00:00
patricktu
913c6cd6a5 Merge "AIDEGen: Adopt prebuilt mechanism to bypass 'm aidegen'." am: ed9baf88dd am: 5d717bfb0f
am: cbae9ed600

Change-Id: Iec0d1c1625da1522e51dfdc182d5d6902cedc585
2018-12-04 01:56:45 -08:00
patricktu
cbae9ed600 Merge "AIDEGen: Adopt prebuilt mechanism to bypass 'm aidegen'." am: ed9baf88dd
am: 5d717bfb0f

Change-Id: Ie3c7ea184f3926df1d0e4f0f8dc532b0e83f66bb
2018-12-04 01:52:32 -08:00
patricktu
5d717bfb0f Merge "AIDEGen: Adopt prebuilt mechanism to bypass 'm aidegen'."
am: ed9baf88dd

Change-Id: I0c4bb61c81ca7da61f2fb58b27ffc9d4dddb433b
2018-12-04 01:47:25 -08:00
Treehugger Robot
ed9baf88dd Merge "AIDEGen: Adopt prebuilt mechanism to bypass 'm aidegen'." 2018-12-04 09:29:14 +00:00
Kevin Rocard
c11d2e4caf Revert "Revert "Audio VNDK: add V5 HIDL libraries""
This reverts commit 6162caa5bf.

Reason for revert: revert the revert

Change-Id: Ife6daf2559d9fae6633f257628e7b7756bf94075
2018-12-04 02:32:50 +00:00
Kevin Rocard
6162caa5bf Revert "Audio VNDK: add V5 HIDL libraries"
Marlin is full for now.
This reverts commit ede0ba0c3b.

Reason for revert: Marlin is full, those library take too much space for now

Change-Id: I3f355058db318fa77cfce8171fc91d73dc9cc1ca
2018-12-04 02:09:51 +00:00
Elisa Pascual Trevino
704d7ace7e [automerger skipped] Merge "[DO NOT MERGE] Security String update to 2019-02-05 Bug: 120144419" into pi-dev am: b25932150d
am: 35af547bc4  -s ours

Change-Id: I95abf6e75d4d07c531d3421d5f4ac40ecab3a524
2018-12-03 16:14:34 -08:00