Commit Graph

53666 Commits

Author SHA1 Message Date
Justin Yun fe113213fd Merge "Rename product_services to system_ext" am: b7a50ece30
am: 8f11ad5d40

Change-Id: I0de1702f60e307d0ca1d860b1ccc6f96ec9d3dc6
2019-07-09 02:25:26 -07:00
Justin Yun 8f11ad5d40 Merge "Rename product_services to system_ext"
am: b7a50ece30

Change-Id: I7a56d76d3543b2bc4b1d0b24e54e8dd82ab7f15a
2019-07-09 02:14:55 -07:00
Treehugger Robot b7a50ece30 Merge "Rename product_services to system_ext" 2019-07-09 08:58:04 +00:00
Justin Yun 6151e3f1ea Rename product_services to system_ext
Bug: 134359158
Test: build and check if system_ext.img is created
Change-Id: I67f2e95dd29eac6a28e07e24ea973d3a134c3bfc
2019-07-09 08:57:19 +00:00
Tao Bao 9b82724e26 Merge "releasetools: Make merge_target_files and its test Python 3 compatible." am: 6e3ae4e849
am: ec2f3da2a2

Change-Id: Ia42bceb60b8d5a0870b9623953a4972aecc44541
2019-07-08 21:28:54 -07:00
Tao Bao ec2f3da2a2 Merge "releasetools: Make merge_target_files and its test Python 3 compatible."
am: 6e3ae4e849

Change-Id: I0ee3f8801e194f140f32a4123100aa0e4f449a70
2019-07-08 21:19:53 -07:00
Tao Bao 6e3ae4e849 Merge "releasetools: Make merge_target_files and its test Python 3 compatible." 2019-07-09 03:58:32 +00:00
nelsonli b15f35c0b8 Merge "Build: Fix test data no present in test suite zip files." am: 98b9c5dded
am: 4cb85b5865

Change-Id: I9e6657014f1407ba68db345f85f7af98431b4291
2019-07-08 18:06:40 -07:00
nelsonli 4cb85b5865 Merge "Build: Fix test data no present in test suite zip files."
am: 98b9c5dded

Change-Id: Ifd655c5d413e8db73d0220b454a28aacc5a5173a
2019-07-08 17:57:40 -07:00
Treehugger Robot 98b9c5dded Merge "Build: Fix test data no present in test suite zip files." 2019-07-09 00:26:41 +00:00
Justin Yun dbc22f4f15 Revert "Do not allow building product_services image"
This reverts commit 25065c44cc.

Bug: 134359158
Test: N/A
Change-Id: I874b7a7766a569613dcd3ae526eaa6e1d4b78866
2019-07-08 23:30:21 +00:00
Tao Bao 2ad4b82d45 releasetools: Make merge_target_files and its test Python 3 compatible.
And a few minor clean-ups to the styling.

Bug: 131631303
Test: python -m unittest test_merge_target_files
Test: python3 -m unittest test_merge_target_files
Test: Use `python merge_target_files` to merge two target_files zips.
Test: Use `python3 merge_target_files` to merge two target_files zips.
Change-Id: I8502dfb243408f658d022e8d5e5fbb60066e4ff0
2019-07-08 16:06:15 -07:00
Kiyoung Kim e762621586 Merge "Split merge_target_files function" am: 09736b4aaf
am: dc6566f3b2

Change-Id: I08c275688cfc71e03189fc9f7b2efb4847c88dad
2019-07-08 00:00:33 -07:00
Kiyoung Kim dc6566f3b2 Merge "Split merge_target_files function"
am: 09736b4aaf

Change-Id: Ic077a4bf1276ead627c1d09f67636626623a45ab
2019-07-07 23:51:33 -07:00
Treehugger Robot 09736b4aaf Merge "Split merge_target_files function" 2019-07-08 06:33:18 +00:00
Kiyoung Kim 7cbeda728d Split merge_target_files function
Split merge_target_files function into several steps, so we can increate
readability and add conditional flows for other *SSI mixed build with less effort

Test: m -j & atest passed
Change-Id: I558f9dd5bca31b132a09cb36d9dfcd30c92efbc9
2019-07-08 12:13:05 +09:00
Justin Yun ff34e7bba9 Do not allow building product_services image
am: 25065c44cc

Change-Id: I4875e7fe5d54de699b03d2900c940bf8da264d24
2019-07-07 16:37:32 -07:00
nelsonli 068d101077 Build: Fix test data no present in test suite zip files.
my_installed_test_data (LOCAL_TEST_DATA) no present in test
 suite zip files for device tests

Bug: 135957483
Test: 1. Remove the patch aosp/1008195
      2. m general-tests
      3. unzip general-tests.zip
      4. data files should exist in target/testcases/toybox-tests

Change-Id: I3f0a4d87e284c809625843d55dc5d35ef77e79bb
2019-07-05 23:52:45 +08:00
SzuWei Lin 51f75b6e6d Add default LMK properties to GSI
am: 9547929af4

Change-Id: I9e3ccc7f73f97434951a6ac666cdef12a17a4971
2019-07-05 07:46:04 -07:00
Justin Yun 25065c44cc Do not allow building product_services image
product_services partition is designed for the test purpose only. It
must not be included in the target devices.

Bug: 134359158
Test: Build configuration for product_services partition must return
      error message.

Change-Id: I6f8cdf73d18ad3174c7b31edb5d5ee10df75a776
2019-07-05 20:38:01 +09:00
Bill Peckham 7634fc9bc0 Merge "Move definition of create-vendor-odm-symlink within BUILDING_VENDOR_IMAGE" am: 150c4b1f32
am: 653e527b5a

Change-Id: I1d05c1d127b4a49235cad39a0fc171d4d4fdc15c
2019-07-03 21:10:51 -07:00
Bill Peckham 653e527b5a Merge "Move definition of create-vendor-odm-symlink within BUILDING_VENDOR_IMAGE"
am: 150c4b1f32

Change-Id: Idd62c9cfc5e38c0e896e09877f3fc44a58c28091
2019-07-03 20:54:39 -07:00
Bill Peckham 150c4b1f32 Merge "Move definition of create-vendor-odm-symlink within BUILDING_VENDOR_IMAGE" 2019-07-04 03:16:04 +00:00
Bill Peckham 1f9b8f0cc6 Move definition of create-vendor-odm-symlink within BUILDING_VENDOR_IMAGE
When we build the system image separately from the vendor image, we need the
/vendor/odm link (if any) to be created in the vendor build, not the system
build. This change moves the create-vendor-odm-symlink function outside the
BUILDING_SYSTEM_IMAGE gaurd, and inside the BUILDING_VENDOR_IMAGE gaurd.

Bug: 136516335
Test: Build vendor image, verify that /vendor/odm -> /odm
Change-Id: I6edf5d6d1fa0b2f632f67113f69a49b43f719941
2019-07-03 15:58:48 -07:00
SzuWei Lin 9547929af4 Add default LMK properties to GSI
These LMK properties are product properties. The configuration will
be absent when GSI is installed as GSI doesn't mount the product
partition. Without these settings, some CTS test cases could
fail due to an aggressive LMK.

The patch puts these properties in GSI as default values.

Bug: 136212765
Bug: 134460917
Test: `run cts -m CtsFileSystemTestCases`, all pass
Change-Id: I6fde8db51debcb9bb269aece3a3e4c7e5bb991f6
2019-07-03 17:59:03 +08:00
Anton Hansson e4f48a9440 Revert "Make mainline device use apex"
am: 7d5dbf2be0

Change-Id: Ie08c5a43a92760eeb58bc3f0ef8b7550051c7619
2019-07-02 16:02:09 -07:00
Jiyong Park e39ec1ecaf updatable_apex.mk is not inherited from mainline_system.mk
am: 09dcc68663

Change-Id: I1a3b9b064ba41d546d87a59626d8a0adf0944db3
2019-07-02 15:17:30 -07:00
Xin Li 31eb4d47c5 [automerger skipped] Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master" into stage-aosp-master
am: 218adad125 -s ours
am skip reason: subject contains skip directive

Change-Id: I3354d2dbf78385a0a3a0b2359a47f054d1fb731a
2019-07-02 12:14:33 -07:00
Xin Li a3e642e7df [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
am: f8a2ca5abb -s ours
am skip reason: subject contains skip directive

Change-Id: I1f97f1577a4d19260e383f46847def9a89404f21
2019-07-02 10:01:44 -07:00
Anton Hansson 7d5dbf2be0 Revert "Make mainline device use apex"
This reverts commit 5284b77e6f.

Reason for revert: broke sdk_gphone_x86_64

Change-Id: I5cbaa767900d17039e8113f29b40d61c977764dc
Merged-In: I5cbaa767900d17039e8113f29b40d61c977764dc
(cherry picked from commit 1cb902e510)
2019-07-02 13:42:16 +00:00
Jiyong Park 09dcc68663 updatable_apex.mk is not inherited from mainline_system.mk
mainline_system.mk is inherited by not only Pixels but also products
like GSI and sdk_gphone where kernel isn't capable of supporting
updatable APEX.

Stop inheriting updatable_apex.mk from mainline_system.mk and let each
product to decide whether or not to inherit updatable_apex.mk.

Also, TARGET_FLATTEN_APEX is not set to true for GSI as it is the
default setting.

Bug: 132664085
Test: choosecombo 1 aosp_arm64 userdebug; get_build_var
TARGET_FLATTEN_APEX shows true
choosecombo 1 sdk_gphone userdebug; get_build_var TARGET_FLATTEN_APEX
shows true

Change-Id: I3c4e1e4b2bbebd675904d148dd18acb57ecbdfe9
Merged-In: I3c4e1e4b2bbebd675904d148dd18acb57ecbdfe9
(cherry picked from commit 5fd45bbeb0)
2019-07-02 13:38:23 +00:00
TreeHugger Robot 218adad125 Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master" into stage-aosp-master 2019-07-02 07:40:58 +00:00
Daniel Norman 6a6244caee Merge "Uses the KNOWN_HIDL_INTERFACES file in host_init_verifier." am: 28142690ba
am: c3443e59a6

Change-Id: I62ba9b100a778c6fb354453e61e88d9442d9ce9b
2019-07-01 15:09:24 -07:00
Yifan Hong e871201492 Merge "Change the condition for building super_empty.img." am: f166825c4c
am: 79c94f0c7c

Change-Id: Idd4baf5232a1294f0e3a4b087af329f708929ea5
2019-07-01 15:08:28 -07:00
Daniel Norman c3443e59a6 Merge "Uses the KNOWN_HIDL_INTERFACES file in host_init_verifier."
am: 28142690ba

Change-Id: Ibf879b8eeaab7de8fbe667a441dc7879815ac495
2019-07-01 14:59:23 -07:00
Yifan Hong 79c94f0c7c Merge "Change the condition for building super_empty.img."
am: f166825c4c

Change-Id: I51017892da56ef5082cfd5ac8c48acfa6d77d9bb
2019-07-01 14:58:44 -07:00
Daniel Norman 28142690ba Merge "Uses the KNOWN_HIDL_INTERFACES file in host_init_verifier." 2019-07-01 21:15:38 +00:00
Xin Li f8a2ca5abb DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
Bug: 134405016
Change-Id: Ic49ed266f2c33c6b2d97d40d6a9fce03e6c67db2
2019-07-01 20:58:36 +00:00
Yifan Hong f166825c4c Merge "Change the condition for building super_empty.img." 2019-07-01 20:51:38 +00:00
Kavi Gupta 3ff8608d6f Merge "Modify build to put dumpcoverage agent into /system/lib" am: 4d77e4da45
am: 8532af0f29

Change-Id: If4b5a5dce624e064778f2175a1b153a1e12be98c
2019-06-28 16:17:00 -07:00
Kavi Gupta 8532af0f29 Merge "Modify build to put dumpcoverage agent into /system/lib"
am: 4d77e4da45

Change-Id: Ia1eb965b2179b26e31976676365fa059ee5ba4ec
2019-06-28 16:01:41 -07:00
Treehugger Robot 4d77e4da45 Merge "Modify build to put dumpcoverage agent into /system/lib" 2019-06-28 22:41:14 +00:00
Tao Bao 48a2feb670 Change the condition for building super_empty.img.
This CL changes the condition for building super_empty.img from
PRODUCT_BUILD_SUPER_PARTITION to PRODUCT_USE_DYNAMIC_PARTITIONS, as a
follow-up to the change in [1].

With the CL in [1], it skips building super.img and super_empty.img both
when turning off PRODUCT_BUILD_SUPER_PARTITION. However, the latter
should be mandatory whenever dynamic partitions is enabled. Because
fastboot relies on this file to properly flash dynamic partitions. Plus,
the cost for building super_empty.img is much lower than the one for
super.img.

As part of the change, it'll write group info into target_files when
building with PRODUCT_BUILD_SUPER_PARTITION == false. It's the work for
target_files merging script to determine the values to be picked up. The
current logic in merge_target_files.py always uses the one from vendor
target_files. This CL adds a testcase to ensure the behavior.

[1] https://android-review.googlesource.com/c/platform/build/+/928756

Bug: 135752763
Test: `m dist` with a target that sets PRODUCT_BUILD_SUPER_PARTITION to
      false. Check the built artifacts contain super_empty.img. Verify
      that the build can be flashed properly.
Change-Id: I277f087eab45663a6c3b33333d16e9e576c1c25c
2019-06-28 14:23:53 -07:00
Anton Hansson 81c61780bb Merge "Move board config variable from mainline_system" am: bf95d43dc6
am: a17c7a1005

Change-Id: I1d945c577a363716f4389f05681c5d2c3ba22f07
2019-06-28 08:37:52 -07:00
Anton Hansson a17c7a1005 Merge "Move board config variable from mainline_system"
am: bf95d43dc6

Change-Id: Ia83dae93f93a2ce9e884e314b5d9b4d872c9ead0
2019-06-28 07:36:47 -07:00
Anton Hansson bf95d43dc6 Merge "Move board config variable from mainline_system" 2019-06-28 09:31:40 +00:00
Tao Bao c1c52e7b3b Merge "releasetools: Prefer the avbtool specified in target_files." am: 63cf1326da
am: d84a0531e9

Change-Id: Ieb93952f093a2d6e3d3c9796d61819c46cc4fcea
2019-06-27 19:04:51 -07:00
Kiyoung Kim f5fa68352a Merge "Add Linkerconfig to base system target" am: 4ec56d9214
am: 3d2f8e0661

Change-Id: I0c9a95b3b3796cd633dd6590fc8cc4e9bfb0591c
2019-06-27 19:01:47 -07:00
Tao Bao d84a0531e9 Merge "releasetools: Prefer the avbtool specified in target_files."
am: 63cf1326da

Change-Id: I814a098c4401ad16e03d9a0fbfff614319fc2947
2019-06-27 18:44:37 -07:00
Kiyoung Kim 3d2f8e0661 Merge "Add Linkerconfig to base system target"
am: 4ec56d9214

Change-Id: Ic92a7cbf82630e6966ebef8785589302a8a0ebab
2019-06-27 18:30:36 -07:00