Commit graph

80816 commits

Author SHA1 Message Date
Alex Buynytskyy
c66908b638 Revert all previous commits.
Bug: 243966946
Test: time ./build/make/finalize-step-1.sh
Change-Id: Iee5d3d76990d8f1785d34c0898ea86792e2d95fe
2022-09-28 22:32:53 +00:00
Sam Delmerico
7017ac77fd Merge "remove zsh from roboleaf_tests.sh" 2022-09-28 19:40:39 +00:00
Sam Delmerico
43444ec2fe remove zsh from roboleaf_tests.sh
zsh command was not found on the build server. Remove it from this test.

Bug: 249559295
Test: build/make/tests/roboleaf_tests.sh
Change-Id: I7a79b183d9fd40829ab03bc54ce899efaa974a60
2022-09-28 15:34:34 -04:00
Sam Delmerico
f4a5240eb3 Merge changes I5e887932,I648960b3
* changes:
  re-enable b run commands in test suite
  re-enable b test suite
2022-09-28 19:09:24 +00:00
Sam Delmerico
d0c8cf02b6 re-enable b run commands in test suite
Zsh has some incompatibilties that we've been trying to work around in
the b command. Hopefully this prevents future issues.

Bug: 242759256
Test: build/make/tests/roboleaf_tests.sh
Change-Id: I5e887932e943112377d38e77a77a0f294b43d9b6
2022-09-28 09:52:22 -04:00
Sam Delmerico
4f6ca1a546 re-enable b test suite
Bug: 244771601
Test: build/make/tests/roboleaf_tests.sh
Change-Id: I648960b336acd31709aafe858fcbc5be9dc8397a
2022-09-28 09:46:21 -04:00
Sandro Montanari
1bcc569e14 Merge "Rollback "Make com.android.sepolicy mandatory"" 2022-09-28 08:47:37 +00:00
Spandan Das
4f4b3faa84 Merge "Update paths to orchestrator scripts" 2022-09-27 22:02:01 +00:00
Ibrahim Kanouche
8550b25d0a Merge "Added a Breadth-first top down walk function to policy_walk." 2022-09-27 05:14:52 +00:00
Treehugger Robot
0cf4107cbb Merge "Update ota_metadata_pb2.py" 2022-09-26 20:55:57 +00:00
Ibrahim Kanouche
e7c33de179 Added a Breadth-first top down walk function
to policy_walk.

Test: m droid dist
Change-Id: I678d2a2402c7c3ab446e8533c9f862cd8f54f889
2022-09-26 19:04:51 +00:00
Sandro
d571ca6d4a Rollback "Make com.android.sepolicy mandatory"
Rolling back the changes from aosp/2199179.

Bug: 243923977#comment9
Test: adb shell ls /dev/selinux /system/etc/selinux
Change-Id: If205f106230c2f076f72396011b68079ddd4d253
2022-09-26 11:49:30 +00:00
Bob Badour
6196ea23cd Merge "Make notice order more deterministic." 2022-09-23 21:25:12 +00:00
Treehugger Robot
255c1f0e9f Merge "Minor refactor." 2022-09-23 20:53:49 +00:00
Treehugger Robot
770057ca70 Merge "Add sync to m help" 2022-09-23 20:15:09 +00:00
Bob Badour
113c92b0a3 Make notice order more deterministic.
Bug: 230357391

Test: m droid dist
Change-Id: Ib3f771f9fd16743fca3f6c80c2ff85c9e42772a9
2022-09-23 11:27:24 -07:00
Alex Buynytskyy
73e0f97b8c Minor refactor.
- cleanup local state before exiting,
- move cl upload to a separate function for readability.

Bug: 243966946
Test: run locally
Change-Id: If66d52168abc2e4878fe99255397d7432874e141
2022-09-23 11:09:21 -07:00
Treehugger Robot
46e28206eb Merge "Use shell sort command" 2022-09-23 17:38:30 +00:00
Kelvin Zhang
67c69d14f0 Update ota_metadata_pb2.py
Automatically created with aprotoc ota_metadata.pb --python_out=.

Test: th
Change-Id: I5b9522845ba781c6919b893f71e28393b8a505b7
2022-09-23 10:07:04 -07:00
Treehugger Robot
65a2b40d98 Merge "Extract finalization build to a separate script." 2022-09-22 23:44:15 +00:00
Rob Seymour
3f1c9577e8 Add APEX data to checkvintf for compatibility check.
As part of extending libvintf to support VINTF data inside of APEXes:
  Create apex-info-list.xml as part of build to pass into checkvintf.
  Include the /apex data to dirmap

  Extend check_target_files_vintf.py to include APEX data:
    Unzip APEX from partions
    Extract APEX data
    Create apex-info-list.xml

Bug: 239055387
Bug: 242314000
Test: m
Test: m dist
Change-Id: I4b4e159051bacb46dc43b83e006ca0f0eb58d772
2022-09-22 23:01:44 +00:00
Kelvin Zhang
ed714e0f24 Use shell sort command
When using builtin sort() function, make will detect changes in
the find sub-expression, and re-parse the whole makefile. Even though file
list after soring is identical. This is bad for incremental builds, as
everytime a python file is modified, the order files that gets returned
by find changes, resulting in long build time.

Test: th
Change-Id: I8cc347b4473a2b241f2f10e016e5968477c482f3
2022-09-22 12:46:36 -07:00
Alex Buynytskyy
3bd1b91877 Extract finalization build to a separate script.
For finalization CI we'll do multiple builds and tests in a separate
branch.

Bug: 243966946
Test: abdt in nightly
Change-Id: Ie90705de3145c06363536613e57c0de504b5eb1b
2022-09-22 11:32:29 -07:00
Treehugger Robot
80a3e1896d Merge "Policy clarified: No need to share a "distribution medium"" 2022-09-22 16:59:36 +00:00
Bob Badour
085a2c23e7 Policy clarified: No need to share a "distribution medium"
Including code built from restricted sources in a distribution medium
does not require sharing the code for building the distribution medium.

Test: m cts dist

Test: m cts dist gts (requires cherry-pick to internal)

Change-Id: I7fcd889b11a97f8deaf4de9d72fdadd09deebe30
2022-09-22 03:23:23 +00:00
Colin Cross
1778342af2 Add sync to m help
Add sync to the list of targets documented by m help.

Change-Id: Id6cdb9d6e332b85068d895120aa7d344cf287f37
2022-09-22 02:26:10 +00:00
Bob Badour
9a76135e44 Merge "Policy change: GPL+CE is permissive." 2022-09-21 23:33:30 +00:00
Treehugger Robot
ae0ba167d4 Merge "Finalization script, step 1." 2022-09-21 22:10:17 +00:00
Alix Espino
358fe88bf1 Merge "Revert "Revert "Default BuildBrokenClangCFlags & BuildBrokenCla..."" 2022-09-21 19:28:11 +00:00
Treehugger Robot
6829da941d Merge "temporarily disable roboleaf_tests.sh" 2022-09-21 17:41:19 +00:00
Alix Espino
38e07f1baf Revert "Revert "Default BuildBrokenClangCFlags & BuildBrokenCla..."
Revert^2 "deletion of clang_cflags & clang_asflags from Soong"

e9a6865bc7c51028ed348f6d1c6b975ee8b98837

Test: Treehugger
Change-Id: Ibda75c075d0d88f2c11fd10722c9a74481ee965a
2022-09-21 16:45:00 +00:00
Sam Delmerico
3e5fcd8a61 temporarily disable roboleaf_tests.sh
When I enabled the envsetup_tests target on CI, this script was failing.
Rather than break the build again by enabling CI on a potentially
failing script, let's just disable this for now, enable the CI target,
and then this script can be enabled and tested in presubmits before
submitting.

Bug: 244771601
Test: build/make/tests/roboleaf_tests.sh
Change-Id: I7c3469b49258e37c0ff9b49dd8805031216a7570
2022-09-21 10:56:49 -04:00
Treehugger Robot
c017139559 Merge "Simplify PLATFORM_BASE_SDK_EXTENSION_VERSION" 2022-09-21 14:09:20 +00:00
Bob Badour
10f5c48b23 Policy change: GPL+CE is permissive.
Bug: 210546823

Test: m cts compliance_checkshare compliancenotice_bom \
    compliancenotice_shippedlibs compliance_listshare \
    compliance_dumpgraph compliance_dumpresolutions htmlnotice \
    compliance_rtrace textnotice xmlnotice

Change-Id: I7da36972ffbb1494e33fd63db8e5ec851d47704c
2022-09-20 21:50:08 -07:00
Alex Buynytskyy
0842d212b9 Finalization script, step 1.
- cleanup
- revert previous commits
- vndk + resources + sdk finalization + test
- create cls
- send to Gerrit
- (tbd) submit

Bug: 243966946
Test: run scripts locally

Change-Id: Icd4f07c64c2ef93831dc5fc7de2d5e832604e88d
2022-09-20 20:31:04 -07:00
Treehugger Robot
0da3dc63af Merge "Remove fs-verity build manifest for vendor/odm/product" 2022-09-21 00:33:52 +00:00
Spandan Das
ca76205afd Update paths to orchestrator scripts
Now that orchestrator code has moved into its own project, update the
paths in multitree envesetup

Test: multitree_lunch locally
Change-Id: Ic718b9fa169c68ac161ac3448b6e46635ec2ae10
2022-09-21 00:08:34 +00:00
Victor Hsieh
adc94a151a Remove fs-verity build manifest for vendor/odm/product
The build manifest APKs are recently added because we thought it's nicer
for ART to support beyond system_ext for potential partner
customizations.  Jiyong pointed out that having system server JARs
outside of system and system_ext may be a Treble violation. As a result,
delete some of those files.

Bug: 246000387
Bug: 245957815
Test: m; no longer seeing the files under out/
Change-Id: I4c5b118bd2277b5f3265ac4d3c2343cf929822c5
2022-09-20 14:53:51 -07:00
Treehugger Robot
994c4a2583 Merge "[Bugfix] Fix compilation problems" 2022-09-20 19:28:17 +00:00
Edward Liaw
cfb5fb5227 Merge "vts: split kselftests and ltp" 2022-09-20 15:00:58 +00:00
Mårten Kongstad
26ed749f14 Simplify PLATFORM_BASE_SDK_EXTENSION_VERSION
Make PLATFORM_BASE_SDK_EXTENSION_VERSION default to
PLATFORM_SDK_EXTENSION_VERSION: they only need to be different on the
SDK extension branches.

Bug: 247413701
Test: manual install of modules
Change-Id: Iedcd9d6bce4e7346d24146b871d489255a17466c
Merged-In: Iedcd9d6bce4e7346d24146b871d489255a17466c
2022-09-20 15:42:11 +02:00
Treehugger Robot
b2bf9efa32 Merge "Only keep Parcelables if used" 2022-09-20 03:47:31 +00:00
Yike Zhang
d8b3c2901d Merge "Export the target_required property to module-info" 2022-09-20 00:34:28 +00:00
Jared Duke
9d27a928f2 Only keep Parcelables if used
Use `-keepclassmembers` instead of `-keep` for Parcelable types
and their CREATOR members. This allows shrinking of Parcelable types
that aren't referenced while still preserving the necessary CREATOR
member when the classes are kept. This saves ~3MB across various
platform targets.

Bug: 238670321
Test: m + presubmit
Change-Id: I13508073dbc07e28aa93bb6604c8f838bcf72646
2022-09-19 16:26:44 -07:00
Android Build Coastguard Worker
9de99946ed Version bump to TP1A.221105.002 [core/build_id.mk]
Change-Id: I6fe9a60832aca64494c1581e3aadfd5d545e4eed
2022-09-19 18:21:08 +00:00
Yike
450197e265 Export the target_required property to module-info
Some host test modules such as `python_test_host` use the
`target_required` attribute to declare target dependencies that will
be pushed to device. For example, `aidl_integration_test` references
several target dependencies in the `target_required` attribute since
those output files will be searched and pushed to device at runtime.
Besides, those target dependencies can't be declared in the `data`
attribute instead, since some modules' `data` attribute doesn't
support multi-arch.

So that, this information needs to present in module_info.json and
exported to properly generate Bazel targets that include these
dependencies.

Test: m out/target/product/coral/module-info.json
Bug: 222438068
Change-Id: Ia5ee103be1e7a811e1fdbd2b39252912b1a35c18
2022-09-19 16:42:04 +08:00
jiangxu5
2d8a4cbf84 [Bugfix] Fix compilation problems
vbmeta_system does not need to be rebuilt with vendor side

Signed-off-by: jiangxu5 <jiangxu5@xiaomi.com>
Change-Id: Ieb2076055aa3342a6071ec2ed5c976e22f59acd1
2022-09-18 12:38:51 +00:00
Victor Hsieh
90195c958d Merge "Reland: Generate fs-verity build manifst APK for other partitions" 2022-09-15 21:49:43 +00:00
Treehugger Robot
e98964339e Merge "Fix incorrect input for path and entry" 2022-09-15 01:54:29 +00:00
Edward Liaw
f867471865 vts: split kselftests and ltp
Split the location of ltp and kselftest files so that they are not
uploaded together if running individually.  Should improve the
performance of kselftest.

Bug: 190800715
Test: atest vts_ltp_test_x86_64
Test: atest vts_linux_kselftest_x86_64
Signed-off-by: Edward Liaw <edliaw@google.com>
Change-Id: I121e6d5bab8edd185c8d73ad7849dff9e8b5f118
2022-09-14 22:59:11 +00:00