Commit Graph

57407 Commits

Author SHA1 Message Date
Chih-hung Hsieh 9b88d8f8b1 Merge "Split warn.py into multiple files" 2019-12-19 04:30:08 +00:00
Jiyong Park 54aec677da Revert submission 1194828-revert-1191937-art_apex_available-DWXQGTKMAR
Reason for revert: relanding with fix
Reverted Changes:
Ic4119368c:Revert submission 1191937-art_apex_available
Ia084976bb:Revert submission 1191937-art_apex_available
Iada86226d:Revert submission 1191937-art_apex_available
Ic76735eac:Revert submission 1191937-art_apex_available
I1eb30e355:Revert submission 1191937-art_apex_available
Icaf95d260:Revert submission 1191937-art_apex_available
Ie8bace4be:Revert submission 1191937-art_apex_available
I8961702cf:Revert submission 1191937-art_apex_available
I39316f9ef:Revert submission 1191937-art_apex_available
I522a7e83b:Revert submission 1191937-art_apex_available
I8b9424976:Revert submission 1191937-art_apex_available
I48b998629:Revert submission 1191937-art_apex_available

Change-Id: Ie2314d1f4cb2b92f005dfc77fcfd7ebace88e48f
2019-12-19 12:35:29 +09:00
Automerger Merge Worker 8e8f3dcb6d Merge changes from topic "revert-1191937-art_apex_available-DWXQGTKMAR" am: 7378ff158c am: 61042b72cf
Change-Id: Ia021d65f88d87230ba6b0341cea7debd34bc649b
2019-12-19 01:47:45 +00:00
Automerger Merge Worker 8bdad16235 Revert submission 1191937-art_apex_available am: 9bc1c0032c am: 86af17a5f2
Change-Id: I4568fda53491979e336b2b0f0742871a755f3eef
2019-12-19 01:47:37 +00:00
Joseph Murphy 61042b72cf Merge changes from topic "revert-1191937-art_apex_available-DWXQGTKMAR"
am: 7378ff158c

Change-Id: Ic73ed24de50252561c6b3acaa95382eff93d18c9
2019-12-18 17:23:55 -08:00
Joseph Murphy 86af17a5f2 Revert submission 1191937-art_apex_available
am: 9bc1c0032c

Change-Id: Ic97aeb0e1441de4720f2a8b200baad33d7cb845d
2019-12-18 17:23:51 -08:00
Joseph Murphy 7378ff158c Merge changes from topic "revert-1191937-art_apex_available-DWXQGTKMAR"
* changes:
  Revert submission 1191937-art_apex_available
  Revert submission 1191937-art_apex_available
2019-12-19 01:20:03 +00:00
Joseph Murphy 92e1a0bea0 Revert submission 1191937-art_apex_available
Original Commit Message:
"""
Rename modules that are APEX-only

The renamed modules are only available for APEXes, but not for the
platform. Use the <module_name>.<apex_name> syntax to correctly install
the APEX variant of the modules.
"""

Reason for revert: Build Cop - Breaks about 15 AOSP targets, with high confidence due to these changes being the only non-robot changes in those builds.

Reverted Changes:
I190ce2d10:Use apex_available property
I990e0a67e:Use apex_available property
I0d1295683:Revert "Avoid duplicated classes for boot dex jars...
I5fb725403:Find the jar libraries in APEX from the correct pa...
I322b1efcc:Rename modules that are APEX-only
Ifa2bd0f8f:Use apex_available property
Iac6533177:Use apex_available property
Ie999602c6:Use apex_available property
I2a3d73397:Use apex_available property
Ic91bcbb9a:Use apex_available property
Ia6c324eed:Use apex_available property
I964d0125c:Use apex_available property

Change-Id: I8961702cfb414ebec55014f57e0be3347b34cea9
2019-12-19 01:06:41 +00:00
Joseph Murphy 9bc1c0032c Revert submission 1191937-art_apex_available
Original Commit Message:
"""
Rename modules that are APEX-only

The renamed modules are only available for APEXes, but not for the
platform. Use the <module_name>.<apex_name> syntax to correctly install
the APEX variant of the modules.
"""

Reason for revert: Build Cop - Breaks about 15 AOSP targets, with high confidence due to these changes being the only non-robot changes in those builds.

Reverted Changes:
I190ce2d10:Use apex_available property
I990e0a67e:Use apex_available property
I0d1295683:Revert "Avoid duplicated classes for boot dex jars...
I5fb725403:Find the jar libraries in APEX from the correct pa...
I322b1efcc:Rename modules that are APEX-only
Ifa2bd0f8f:Use apex_available property
Iac6533177:Use apex_available property
Ie999602c6:Use apex_available property
I2a3d73397:Use apex_available property
Ic91bcbb9a:Use apex_available property
Ia6c324eed:Use apex_available property
I964d0125c:Use apex_available property

Change-Id: I39316f9ef2b0cd6c0a347f6b51d011748d0681aa
2019-12-19 01:06:36 +00:00
Automerger Merge Worker 628aedb95f Merge changes from topic "art_apex_available" am: e09efa6473 am: 750862ab53
Change-Id: I403313672b8d375e4a6254a62393f6e4d4890c4d
2019-12-19 00:42:02 +00:00
Jiyong Park 750862ab53 Merge changes from topic "art_apex_available"
am: e09efa6473

Change-Id: Ibe994399f043a67cffc5de9482c51ee9de30cab4
2019-12-18 16:25:12 -08:00
Jiyong Park e09efa6473 Merge changes from topic "art_apex_available"
* changes:
  Find the jar libraries in APEX from the correct path
  Use apex_available property
2019-12-19 00:21:43 +00:00
Automerger Merge Worker bd95cb7c87 Merge "Raise an error when partition setting is wrong" am: 0cb1ca1c4c am: 8953f65fa8
Change-Id: Ie1d52d2326f212742e47d63ca7312db6aa7acf37
2019-12-19 00:19:27 +00:00
Jeongik Cha 8953f65fa8 Merge "Raise an error when partition setting is wrong"
am: 0cb1ca1c4c

Change-Id: Ic57a72ec8ac6eaf8cf874a823e7c9fab7cb054e8
2019-12-18 16:01:15 -08:00
Treehugger Robot 0cb1ca1c4c Merge "Raise an error when partition setting is wrong" 2019-12-18 23:56:44 +00:00
Automerger Merge Worker 01f83a5120 Merge "releasetools: Pass --virtual-ab to lpmake." am: 2e44964719 am: a34cc298a1
Change-Id: I05f7a41987d706767be79cf06d696e4313d4d0f2
2019-12-18 16:14:12 +00:00
David Anderson a34cc298a1 Merge "releasetools: Pass --virtual-ab to lpmake."
am: 2e44964719

Change-Id: I776c121fc4ab2150234ecaf5311d28cf3a904e3e
2019-12-18 08:02:41 -08:00
David Anderson 2e44964719 Merge "releasetools: Pass --virtual-ab to lpmake." 2019-12-18 15:42:44 +00:00
Nikita Ioffe 1d0f32f6a6 Add userspace_reboot.mk and include it in mainline_system.mk
The intention of userspace_reboot.mk is to provide a default
configuration (e.g. userspace reboot watchdog timeout) for devices that
are supporting userspace reboot feature. So far it only contains one
property that tells whenever device supports userspace reboot, more to
follow in separate CLs.

Test: flashed blueline, checked that property is set to true
Bug: 135984674
Change-Id: I32e6281ccc36236ec4fa5cde299753b6e0ece181
2019-12-18 13:33:27 +00:00
markchien bf4be9b5b8 [Tether16] Build Tethering package
Create com.android.tethering apex to pack Tethering.apk and
framework-tethering.jar together.
For go devices, tethering would run in system server process by
InProcessTethering.apk

Bug: 144320246
Test: -build, boot
Change-Id: Id2d68117e99173682908168e99ee28670bd71871
Merged-In: Id2d68117e99173682908168e99ee28670bd71871
2019-12-18 13:05:30 +00:00
Automerger Merge Worker e8167c6a87 Merge "Update Security String to 2020-02-05 bug:146378789" into qt-qpr1-dev am: ef94d3e0aa
Change-Id: Icbcecbffecb70edfb14b1f6d4c627bf5febe0e55
2019-12-18 08:26:00 +00:00
Lubo Hristov ef94d3e0aa Merge "Update Security String to 2020-02-05 bug:146378789" into qt-qpr1-dev 2019-12-18 08:13:45 +00:00
Lubo Hristov 9b687f04ca Update Security String to 2020-02-05
bug:146378789
2019-12-18 05:34:05 +00:00
Automerger Merge Worker 7de4cd5dc5 Merge "Remove Soong intermdiates after moving image mutator" am: ff81b9d1d0 am: a69bb55b5b
Change-Id: Iedb49b8965ed3fb473f739112f5d58d5451c0824
2019-12-18 03:22:29 +00:00
Colin Cross a69bb55b5b Merge "Remove Soong intermdiates after moving image mutator"
am: ff81b9d1d0

Change-Id: I44fcdafad97049e17ac0ca085d051b63022f8594
2019-12-17 19:06:58 -08:00
Treehugger Robot ff81b9d1d0 Merge "Remove Soong intermdiates after moving image mutator" 2019-12-18 02:34:35 +00:00
Automerger Merge Worker 91aaca279e Merge "Do not include linkerconfig for recovery" am: b80f88f424 am: 7fbd89d0de
Change-Id: If98266257509dbaae2b2fb6ce51c37aa156fbf5a
2019-12-18 01:13:41 +00:00
Kiyoung Kim 7fbd89d0de Merge "Do not include linkerconfig for recovery"
am: b80f88f424

Change-Id: Ia75f4ea3a87aeafad91b7420f556fa1cec2aa137
2019-12-17 17:01:38 -08:00
Kiyoung Kim b80f88f424 Merge "Do not include linkerconfig for recovery" 2019-12-18 00:55:03 +00:00
Automerger Merge Worker 2eb26fae22 [automerger skipped] Merge "Adding developer_gsi_keys.mk" into qt-qpr1-dev am: 1c4a406f2c -s ours
am skip reason: Change-Id I8fdefa0fb26c2d385dda1f72503d12e6fc306694 with SHA-1 851f144d90 is in history

Change-Id: I64c6e9c25cd8d5eb74acecb97a091f15e3cf5ddb
2019-12-18 00:44:25 +00:00
Automerger Merge Worker 8532b310a1 [automerger skipped] Adding developer_gsi_keys.mk am: 851f144d90 -s ours
am skip reason: Change-Id I8fdefa0fb26c2d385dda1f72503d12e6fc306694 with SHA-1 01c6f6f215 is in history

Change-Id: If0ca4c82ef5e65d1925602f493204b5ae9470622
2019-12-18 00:43:57 +00:00
TreeHugger Robot 1c4a406f2c Merge "Adding developer_gsi_keys.mk" into qt-qpr1-dev 2019-12-18 00:31:04 +00:00
Chih-Hung Hsieh 888d143e4c Split warn.py into multiple files
* Split warning patterns into *_warn_patterns.py
* Split project list into android_project_list.py
* Split out the Severity class, to be changed later
* Split core of warn.py into warn_common.py and
  leave only platform dependent code in warn.py.
  This allows the core logic be used with different
  parallel processing libraries.
* Old warn.py just calls -m warn.warn.

Test: path_to_build/tools/warn.py build.log
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Change-Id: I6734e4472a21018cd5ce06d549f6dbca24f4de54
2019-12-17 15:12:31 -08:00
Colin Cross 78f86aa083 Remove Soong intermdiates after moving image mutator
Bug: 142286466
Test: m
Change-Id: I76f19a4504b8231755009ab200447613f02b85cf
Merged-In: I76f19a4504b8231755009ab200447613f02b85cf
(cherry picked from commit 559ab613ae)
2019-12-17 14:53:49 -08:00
Automerger Merge Worker 3b9b4ffc95 Merge "Move CtsShim and CtsPrivShim APKs out of system." am: 20d1b7d966 am: 6b0308921b
Change-Id: If7799ae7bd9e6613b3ff5eb06801b7c31b17ff97
2019-12-17 20:19:49 +00:00
Dario Freni 6b0308921b Merge "Move CtsShim and CtsPrivShim APKs out of system."
am: 20d1b7d966

Change-Id: I6c79a985f2210042600901ef08f9865b70c26eea
2019-12-17 12:02:05 -08:00
Treehugger Robot 20d1b7d966 Merge "Move CtsShim and CtsPrivShim APKs out of system." 2019-12-17 19:55:35 +00:00
android-build-team Robot 64e7944ca9 Version bump to QQ1A.200105.003 [core/build_id.mk]
Change-Id: I69a014b59414010794997c8283bc7945e37b008c
2019-12-17 19:20:46 +00:00
Dario Freni d5ed6019c9 Move CtsShim and CtsPrivShim APKs out of system.
These packages are now available in the shim apex package, which is made
available in both flattened and unflattened apex configurations.

Bug: 138429615
Test: atest CtsPrivilegedUpdateTests CtsPermissionTestCases
CtsStagedInstallHostTestCases; (on both flattened and unflattened
configurations)
Merged-In: I03939f6c3e711d5887da201e32173f86a6b0289e
Change-Id: I03939f6c3e711d5887da201e32173f86a6b0289e
2019-12-17 13:47:17 +00:00
Jeongik Cha bb688a9fa9 Raise an error when partition setting is wrong
When setting target out path at root(/product, /system_ext), either file
system type or prebuilt image must be set. If not, we'd rather raise an
error.

Without raising an error, the artifacts in these directory are not
included in any image.

And also, extract these logics into function, and check product, odm, system_ext
For now, exempt vendor image because of some targets with prebuilt
vendor image.
Bug: 137169253
Test: set TARGET_COPY_OUT_PRODUCT := product
          BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE :=
	  BOARD_PREBUILT_PRODUCTIMAGE :=
      and then check if it causes an error.
Test: set TARGET_COPY_OUT_PRODUCT := system/product
          BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4 or
	  BOARD_PREBUILT_PRODUCTIMAGE := someimage.img
      and then check if it causes an error.

Change-Id: Ibf0f7838111075ba3649e198e5649aa7e8e29d7c
2019-12-17 22:41:56 +09:00
Automerger Merge Worker a219cab736 Merge "Add libdl_android.so to the system partition absence check." am: 4d5458d1f0 am: 5db15db9cc
Change-Id: If437adf2de2ceab88ac20d44513c6d786eb79eee
2019-12-17 13:21:03 +00:00
Martin Stjernholm 5db15db9cc Merge "Add libdl_android.so to the system partition absence check."
am: 4d5458d1f0

Change-Id: Idc4b95669dd059f17d2c60a0a14f3b4df1510588
2019-12-17 05:11:43 -08:00
Treehugger Robot 4d5458d1f0 Merge "Add libdl_android.so to the system partition absence check." 2019-12-17 13:07:26 +00:00
Jiyong Park 439b829b42 Find the jar libraries in APEX from the correct path
JAR libraries in the ART and conscrypt APEXes are no longer built for
the platform. Therefore, the path out/target/common/<name>_intermediates
does not exist. Instead use the path
out/target/common/<libname>.<apexname>_intermediates paths for those
APEX-only jars.

Bug: 128708192
Bug: 133140750
Test: m

Change-Id: I5fb725403ac22198e5ce6d77ca97c5f3392fabfd
2019-12-17 21:16:34 +09:00
Jiyong Park 0d7bd6be90 Use apex_available property
Use apex_available property to prevent modules that are only for the ART
apex from being used outside of the APEX.

Bug: 128708192
Bug: 133140750
Bug: 129006418
Test: m
Test: m libnativeloader doesn't install anything. (because it doesn't
have "//apex_available:platform".
Test: Add "libnativeloader" to shared_libs of "libvndksupport" which is
installed to /system/lib. Then the build fails with following error:

  error: system/core/libvndksupport/Android.bp:3:1: module
  "libvndksupport" variant "android_arm_armv8-a_core_shared": depends on
  //art/libnativeloader:libnativeloader which is not visible to this
  module

Change-Id: I964d0125cfedb454a60c098bf1a1797201d5dd40
2019-12-17 21:16:20 +09:00
Kiyoung Kim 2cf6c27240 Do not include linkerconfig for recovery
Linkerconfig should be built as static, but recovery does not have
enough space for static binary. As recovery linker configuration is
quite static and simple, this can be generated from build time. As a
first step linkerconfig binary should be removed from recovery.

Bug: 146384333
Test: m -j passed && crosshatch recovery worked with this change
Change-Id: Ie82da787424c5d1ddd2724808aa2323ea881f75b
2019-12-17 15:27:02 +09:00
Automerger Merge Worker 0c081b6d76 Merge "Revert "Revert "Remove ro.apex.updatable=false in GSI""" am: 2f4a8bb534 am: 23886a3c4d
Change-Id: I89e5e260944124823c3098ee42e693545c9c0aba
2019-12-17 06:14:22 +00:00
Yo Chiang 23886a3c4d Merge "Revert "Revert "Remove ro.apex.updatable=false in GSI"""
am: 2f4a8bb534

Change-Id: I3ee8f69b34adca073f2dac31fb2c20b5d387ab10
2019-12-16 21:58:47 -08:00
Treehugger Robot 2f4a8bb534 Merge "Revert "Revert "Remove ro.apex.updatable=false in GSI""" 2019-12-17 05:51:34 +00:00
Automerger Merge Worker dd779885eb Merge "Define PRODUCT_SYSTEM_* props for mainline_system" am: de5b0d2a73 am: 0ea258ae16
Change-Id: I341b3baed1b0e97b1fdb8f924d290c500b19428a
2019-12-17 05:13:12 +00:00