Commit Graph

58043 Commits

Author SHA1 Message Date
Yifan Hong
fe1bb53543 Merge "device_(manifest|matrix).xml -> vendor_*"
am: 2e4f20f540

Change-Id: I291ec3a86cb4bfb08559abb61b54e1184b2459d8
2020-01-15 20:10:10 -08:00
Yifan Hong
2e4f20f540 Merge "device_(manifest|matrix).xml -> vendor_*" 2020-01-16 04:09:08 +00:00
Hsin-Yi Chen
62de555119 Compare existing ABI dump list with LSDUMP_PATHS
This commit fixes the check for redundant files in prebuilts/abi-dumps.
Some ABI dump file names are different from the module names. The list
of existing files should be compared with LSDUMP_PATHS which are the
files generated by soong.

This commit also adds the check for the files in
prebuilts/abi-dumps/platform.

Bug: 147409497
Test: make
Change-Id: If304afb116e9b5d3cb7ceaf74822d5a19ebe1a35
2020-01-16 10:46:30 +08:00
android-build-team Robot
c3a9cb18ab Version bump to QQ2A.200305.002 [core/build_id.mk]
Change-Id: I91a18ae5d0c7f7ecc01ccaba25819e571681d419
2020-01-16 01:59:23 +00:00
Xin Li
6764f473a5 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master
Bug: 146167222
Change-Id: I5adf4130f45200f3abfa2d65178a1640918e5a06
2020-01-15 15:56:28 -08:00
David Zeuthen
04c33dab31 Merge "Add Identity Credential 1.0"
am: 4026911ba1

Change-Id: If273a885fa6b4982423dd7c903977954a3fcadea
2020-01-15 15:22:12 -08:00
Treehugger Robot
4026911ba1 Merge "Add Identity Credential 1.0" 2020-01-15 23:19:03 +00:00
Dan Willemsen
3abf2ee080 Merge "Document the m4 prebuilts"
am: 474de20a36

Change-Id: If16ce1087669b3768316489ff2d6dab3c5acd8ff
2020-01-15 11:41:07 -08:00
Treehugger Robot
474de20a36 Merge "Document the m4 prebuilts" 2020-01-15 19:38:22 +00:00
Ryan Mitchell
f174a2da23 Merge "Do not remove RRO resources"
am: b55ea658ba

Change-Id: I178c85c75e54ee74517daf35af213709e58b600a
2020-01-15 06:01:13 -08:00
Treehugger Robot
b55ea658ba Merge "Do not remove RRO resources" 2020-01-15 13:18:03 +00:00
Jeongik Cha
3ff51e5346 Turn on PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE if PRODUCT_SHIPPING_API_LEVEL > 29
Set PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE true if
 1. PRODUCT_SHIPPING_API_LEVEL > 29
 2. OVERRIDE_PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE is set

Bug: 147711383
Test: Set PRODUCT_SHIPPING_API_LEVEL higher than 29, m nothing
Change-Id: Ib6aa2fd908b4bc13e3f759a07ece0e60dd3cc12f
2020-01-15 16:48:51 +09:00
Vic Yang
4873e65c8d Always check VNDK variant identicalness
Previously, we only check VNDK core and vendor variants are identical
when a VNDK library is not declared to have different variants AND the
target has TARGET_VNDK_USE_CORE_VARIANT set.  Therefore, it is fairly
easily to break a TARGET_VNDK_USE_CORE_VARIANT target as it needs to be
tested explicitly.

This change uses the new LOCAL_CHECK_SAME_VNDK_VARIANTS and expands the
check to run regardless of TARGET_VNDK_USE_CORE_VARIANT.  Also adds
support for VNDK-in-product.

Bug: 145157349
Test: Build success for targets with and without
      TARGET_VNDK_USE_CORE_VARIANT.
Test: With the corresponding change in build/make, remove libbinder
      from build/soong/cc/config/vndk.go and check build fails even
      when TARGET_VNDK_USE_CORE_VARIANT is not set.

Change-Id: Iec708b971072e6580f77a03e243b30b89b3b054d
2020-01-14 20:05:49 -08:00
Chih-hung Hsieh
c410b8e63d Merge "Call a writer to dump html; new warning patterns."
am: c339abd467

Change-Id: I6806faf28a2772c6b20b0e838edd7972024d7fad
2020-01-14 18:27:40 -08:00
Chih-hung Hsieh
c339abd467 Merge "Call a writer to dump html; new warning patterns." 2020-01-15 02:23:25 +00:00
Ryan Mitchell
15e6042b29 Do not remove RRO resources
Resource configs should not be deduped when building RROs since it
would be impossible to override some resource configs with the same
value as the default config. Also, aapt2 removes resources that do not
have default configurations. If an overlay attempts to overlay a
non-default configuration without overlaying the default, the resource
will be removed and the value will not be overlaid at all.

Bug: 146227008
Test: m-j
Change-Id: I1465b599cbf7f464d1b5b75a87e7dafa2cf734b0
2020-01-14 17:00:13 -08:00
Dan Willemsen
2bfffb9f48 Document the m4 prebuilts
Test: view in gitiles
Change-Id: I2defdb433313fb6744b09685d289e16d094cffdc
2020-01-14 15:08:41 -08:00
Yifan Hong
975474a5b8 Remove BUILT_VENDOR_MANIFEST variable.
This was used by BUILT_SYSTEM_MATRIX and BUILT_ASSEMBLED_VENDOR_MANIFEST, but they
are deleted now.

Test: builds
Change-Id: Ie7e242dce9c6511b90fcf06ae4b6926b230b9873
2020-01-14 14:25:38 -08:00
Yifan Hong
605ea043c8 Reland "Improve BUILT_ASSEMBLED_*_MANIFEST checks"
This reverts commit d00ebcd740.

Reason for revert: reland CL

Test: m check-vintf-all

Change-Id: I6544197048a18745c80a954b9eccf69e7e438e9d
2020-01-14 14:25:31 -08:00
Yifan Hong
bcd46bc540 Reland "Add check-vintf-all target."
This reverts commit 152a783e2b.

Reason for revert: reland CL

Test: m check-vintf-all

Change-Id: I80fc789313edd3a9cc439a0b3a81e524e39b41b1
2020-01-14 14:25:16 -08:00
Yifan Hong
51be69f063 device_(manifest|matrix).xml -> vendor_*
Building device_manifest.xml or device_compatibility_matrix.xml only
builds vendor manifest / matrices, but not all device manifest /
matrices (e.g. vintf_fragments, ODM manifest, etc.). Make the name more
accurate.

Test: m check-vintf-all

Change-Id: Ib017507c421355263d53a9e5b357f169c77da36d
2020-01-14 14:24:51 -08:00
Harry Zhang
f03f60ea81 Merge "Revert "Add check-vintf-all target.""
am: 02e7851e02

Change-Id: I34a60d92c9305c3a30c05eea9cd5ae60cc512ba2
2020-01-14 13:37:14 -08:00
Harry Zhang
02e7851e02 Merge "Revert "Add check-vintf-all target."" 2020-01-14 21:34:51 +00:00
Harry Zhang
4192ca4845 Merge "Revert "Improve BUILT_ASSEMBLED_*_MANIFEST checks""
am: 19705c6987

Change-Id: I7422b0a3bdedaa1edeb15693452fe17c82ea3881
2020-01-14 13:15:48 -08:00
Harry Zhang
19705c6987 Merge "Revert "Improve BUILT_ASSEMBLED_*_MANIFEST checks"" 2020-01-14 21:12:40 +00:00
Chih-Hung Hsieh
5392cdbeb1 Call a writer to dump html; new warning patterns.
* HTML emit functions now take a writer parameter.
  This makes warn_common.py one step closer to the ChromeOS version.
* Add new found warning patterns from java and yacc.

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I5c446ca767746598f07603591fdf98f7d82cae17
2020-01-14 11:57:12 -08:00
Harry Zhang
152a783e2b Revert "Add check-vintf-all target."
Revert submission 1202895-build_time_vintf

Reason for revert: Build breakage at b/147648187
Reverted Changes:
I9791abc44: Improve BUILT_ASSEMBLED_*_MANIFEST checks
I6ee79910d: Add check-vintf-all target.

Change-Id: I6d9fd1747eaea492a3ebfe98c13ea4a5a2d22a33
2020-01-14 18:40:23 +00:00
Harry Zhang
d00ebcd740 Revert "Improve BUILT_ASSEMBLED_*_MANIFEST checks"
Revert submission 1202895-build_time_vintf

Reason for revert: Build breakage at b/147648187
Reverted Changes:
I9791abc44: Improve BUILT_ASSEMBLED_*_MANIFEST checks
I6ee79910d: Add check-vintf-all target.

Change-Id: If580207415d6ca54eb5fc653efc54d07b086f804
2020-01-14 18:40:23 +00:00
David Zeuthen
dcc85ca5dd Add Identity Credential 1.0
Bug: 111446262
Test: VtsHalIdentityCredentialTargetTest
Test: android.hardware.identity-support-lib-test
Test: CtsIdentityTestCases
Change-Id: I91bf3a0551c4c0358d5f0de066739dcc05de1642
2020-01-14 11:21:03 -05:00
Yifan Hong
ea624d0c66 Merge changes from topic "build_time_vintf"
am: 997661002a

Change-Id: Ide4f47dec243b823ebd0b9d0e8c05ad0434ede35
2020-01-13 18:01:04 -08:00
android-build-team Robot
135a6c88d9 Make change and version bump to QQ2A.200305.001
Change-Id: Ie4db9e5a6cf9a839804080ab3a2324ce21659de2
2020-01-14 01:56:23 +00:00
Paul Scovanner
62e01138c0 Update Security String to 2020-03-05
Bug:147450082
(cherry picked from commit 20c6e7dbe1)

Change-Id: If91cd1ba76ca9ce141bf10eff9df71ceb555518d
2020-01-14 01:40:01 +00:00
Yifan Hong
997661002a Merge changes from topic "build_time_vintf"
* changes:
  Improve BUILT_ASSEMBLED_*_MANIFEST checks
  Add check-vintf-all target.
2020-01-14 01:29:47 +00:00
android-build-team Robot
eddbc5f01f Version bump to QQ2A.200301.001 [core/build_id.mk]
Change-Id: Ic73d8f01f6eecd105b30dbc95be8ce2d53ecb4df
2020-01-14 00:14:08 +00:00
LuK1337
3e3a93ca25 Merge "Make allmod() and pathmod() py3 compatible"
am: 5740e22d7c

Change-Id: Idcb7ff1903d720355bf23ff6ac9562130335ffef
2020-01-13 15:01:00 -08:00
Treehugger Robot
5740e22d7c Merge "Make allmod() and pathmod() py3 compatible" 2020-01-13 22:49:44 +00:00
Chih-hung Hsieh
966a03c534 Merge "Clean up cpp warning patterns"
am: 9c65671b91

Change-Id: Ibb54c5316a805e33fee2a2e21305a4eddb363b84
2020-01-13 14:09:35 -08:00
Chih-hung Hsieh
9c65671b91 Merge "Clean up cpp warning patterns" 2020-01-13 21:59:27 +00:00
Chih-Hung Hsieh
8724ff72ef Clean up cpp warning patterns
* Remove the useless 'option' key.
  It is only used in some C/C++ warning patterns
  to give a hint of options to turn to -Werror.
  Now the global default is -Werror.
* Factor out common code patterns into high/medium/low functions.

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: Ibd3f768b1552ada925eb5afb0f01ab674c968a87
2020-01-13 11:10:54 -08:00
Ulyana Trafimovich
1448ba3a01 Merge "Use boot image extension in the JIT-zygote experiment."
am: d99a1faccc

Change-Id: I3a511eca1571f957cc96310b25f1242109096f63
2020-01-13 03:02:51 -08:00
Ulyana Trafimovich
d99a1faccc Merge "Use boot image extension in the JIT-zygote experiment." 2020-01-13 10:38:01 +00:00
Jiyong Park
ad7f7a9eec Merge "Correctly gather boot jars from APEXes"
am: 7434764cce

Change-Id: I46f39494e352cfee375271244c744ab8ad7e539c
2020-01-12 18:03:49 -08:00
Jiyong Park
7434764cce Merge "Correctly gather boot jars from APEXes" 2020-01-13 01:16:16 +00:00
android-build-team Robot
5a8f8f0118 Make change and version bump to QQ2A.200113.001
Change-Id: I2a78e03432d63ae730c1927512e5cc376bd4ba20
2020-01-12 21:20:52 +00:00
LuK1337
b6a7819be6 Make allmod() and pathmod() py3 compatible
Change-Id: I8d58f2f64c03d54449844269974367f31de6ad31
2020-01-12 03:12:17 +01:00
android-build-team Robot
c428ebe5c8 Make change and version bump to QQ2A.200112.001
Change-Id: I5b5a11dfe2e32b38a6b8bf994f73f822e0abcbc2
2020-01-12 00:24:00 +00:00
Yifan Hong
8bdfe365d6 Improve BUILT_ASSEMBLED_*_MANIFEST checks
They are moved into check-vintf-all, which is more
accurate and do not require building full OS images.

Also move kernel check code down to check_vintf_compatible. There
is no assembled manifest to put kernel configs now, but they are still
required for build time OTA VINTF checks.

Test: builds
Test: change a vintf_fragment file to cause a conflict with main manifest file
(add health@2.0 to boot@1.1.xml), and check_vintf_vendor_log fails

Change-Id: I9791abc440a40e1537b4387eb67575ff2e22df08
2020-01-11 19:06:18 +00:00
Automerger Merge Worker
4e58211e92 Merge "Disallow unnamed package on the bootclasspath." am: 56772d7213 am: 270568dce5
Change-Id: Id27e23f919dcdfbc140daf0f3f680b59fbfd1c47
2020-01-11 17:10:48 +00:00
Tobias Thierer
270568dce5 Merge "Disallow unnamed package on the bootclasspath."
am: 56772d7213

Change-Id: Ibad1b6bbf94fdbb85c9eb3c73dcc3f025f560287
2020-01-11 09:02:02 -08:00
Treehugger Robot
56772d7213 Merge "Disallow unnamed package on the bootclasspath." 2020-01-11 16:42:21 +00:00