OSDN Git Service

android-x86/system-linkerconfig.git
18 months agoAdd "/vendor/${LIB}/hw" search path for non trebelized builds (s-x86) s-x86
Mauro Rossi [Mon, 12 Dec 2022 12:40:25 +0000 (13:40 +0100)]
Add "/vendor/${LIB}/hw" search path for non trebelized builds (s-x86)

Required by libvulkan loader in legacy mode, when (!is_fully_trebelized) is true,
or vulkan HAL modules will not work with android-x86 non trebelized builds.

Based on suggestion by Micheal Goffioul

2 years agoSnap for 7783058 from c2872fa4275e06224164986525c0157c117773dc to sc-v2-release
Android Build Coastguard Worker [Thu, 30 Sep 2021 23:16:53 +0000 (23:16 +0000)]
Snap for 7783058 from c2872fa4275e06224164986525c0157c117773dc to sc-v2-release

Change-Id: If42a197e3ab3b4fd0a3eb855aaa6a9886ff02581

2 years agoMake VNDK namespace isolated am: 3a5b9836b9
Kiyoung Kim [Thu, 30 Sep 2021 06:22:50 +0000 (06:22 +0000)]
Make VNDK namespace isolated am: 3a5b9836b9

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/15839497

Change-Id: I2e28aa4ce272b59082782e706955099f8129fad9

2 years agoMake VNDK namespace isolated
Kiyoung Kim [Fri, 10 Sep 2021 06:35:46 +0000 (15:35 +0900)]
Make VNDK namespace isolated

VNDK namespace was not isolated from vendor / product section
previously, which caused to allow symlinks for VNDK libraries from
vendor lib to system lib. This change isolates VNDK namespace to block
any symlinks to unallowed path for VNDK libraries.

Bug: 197949658
Test: N/A
Change-Id: I8b0d881a530497642b38698b8ec2b5a10694a77e
Merged-In: I8b0d881a530497642b38698b8ec2b5a10694a77e

3 years agoSnap for 7487213 from 3591d8acd01556c4e8227ffe91fa7f3c0834e80d to sc-v2-release
Android Build Coastguard Worker [Thu, 24 Jun 2021 01:15:25 +0000 (01:15 +0000)]
Snap for 7487213 from 3591d8acd01556c4e8227ffe91fa7f3c0834e80d to sc-v2-release

Change-Id: Idf156615d97fc5527487f9b24ac520806d016f45

3 years agoFix remaining permitted path inconsistencies for the system namespaces. am: f0552b0d59
Martin Stjernholm [Wed, 23 Jun 2021 13:35:16 +0000 (13:35 +0000)]
Fix remaining permitted path inconsistencies for the system namespaces. am: f0552b0d59

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/15078170

Change-Id: I94d0231f48e13d4bab9ee0573ed8a010310708fe

3 years agoFix remaining permitted path inconsistencies for the system namespaces.
Martin Stjernholm [Fri, 18 Jun 2021 09:22:30 +0000 (10:22 +0100)]
Fix remaining permitted path inconsistencies for the system namespaces.

- Set up the same permitted paths for the system namespace config used
  in the [vendor] and [isolated] sections.
- Move one more path into the common setup that was still left in the
  system default namespace in https://r.android.com/1734696.

Cherry-picked from https://r.android.com/1741014.

Test: system/linkerconfig/rundiff.sh
Bug: 190807485
Change-Id: I9f44d1af7be212d61630852f7c21612f53a1ffbd
Merged-In: I9f44d1af7be212d61630852f7c21612f53a1ffbd

3 years agoSnap for 7472272 from d66b2092c80fe52fd18c85e907addda7c3e274ad to sc-v2-release
android-build-team Robot [Sat, 19 Jun 2021 03:10:58 +0000 (03:10 +0000)]
Snap for 7472272 from d66b2092c80fe52fd18c85e907addda7c3e274ad to sc-v2-release

Change-Id: I121c412adf39a53c83cf6c1d8d3e03d5923817bc

3 years agoUse the same set of permitted paths for the "system" namespace for am: 0e5ff0b97f
Martin Stjernholm [Fri, 18 Jun 2021 09:06:12 +0000 (09:06 +0000)]
Use the same set of permitted paths for the "system" namespace for am: 0e5ff0b97f

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/15012952

Change-Id: I63ee4bdc63f440344e843b008e1797f5931e1a0c

3 years agoUse the same set of permitted paths for the "system" namespace for
Martin Stjernholm [Fri, 11 Jun 2021 13:18:31 +0000 (14:18 +0100)]
Use the same set of permitted paths for the "system" namespace for
APEXes.

E.g. /apex/com.android.art/bin/dalvikvm{32,64} relies on permitted
paths in it to load oat and odex files in the system/product/vendor
images.

Cherry-picked from https://r.android.com/1734696.

Test: adb logcat -c
      atest art-run-test-615-checker-arm64-store-zero
      adb logcat -d
  Check that no "E linker" lines are logged.
Test: system/linkerconfig/rundiff.sh
Bug: 190807485
Change-Id: I2feb9deb86c9a6aefe9612d4bda8f5c8700d9864
Merged-In: I2feb9deb86c9a6aefe9612d4bda8f5c8700d9864

3 years agoSnap for 7390572 from 5fac5a31b85f568136ab4f937c9f2454f267261e to sc-v2-release
android-build-team Robot [Sat, 22 May 2021 23:10:01 +0000 (23:10 +0000)]
Snap for 7390572 from 5fac5a31b85f568136ab4f937c9f2454f267261e to sc-v2-release

Change-Id: I6c26ffb226bd0d1afa218bf95c329e5c95e2c4ee

3 years agoMerge "Revert "Add libneuralnetworks_shim.so to be visible by vendor processes."...
Michael Butler [Fri, 21 May 2021 18:26:03 +0000 (18:26 +0000)]
Merge "Revert "Add libneuralnetworks_shim.so to be visible by vendor processes."" into sc-dev am: 8e4d95768e

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/14631702

Change-Id: Iea8f164a30eb28362f061a61771038e3fc6308b7

3 years agoMerge "Revert "Add libneuralnetworks_shim.so to be visible by vendor processes."...
Michael Butler [Fri, 21 May 2021 17:56:59 +0000 (17:56 +0000)]
Merge "Revert "Add libneuralnetworks_shim.so to be visible by vendor processes."" into sc-dev

3 years agoSnap for 7379850 from 1fed6cd1d94021e3286ea79bf8a417aba194a305 to sc-v2-release
android-build-team Robot [Thu, 20 May 2021 01:10:12 +0000 (01:10 +0000)]
Snap for 7379850 from 1fed6cd1d94021e3286ea79bf8a417aba194a305 to sc-v2-release

Change-Id: I8a493f4bd24a7c57537b50a1e89844c27ca66b71

3 years agoClean up now unnecessary ART special code. am: 2e96d06f93 am: 346e690a6f
Martin Stjernholm [Wed, 19 May 2021 10:44:29 +0000 (10:44 +0000)]
Clean up now unnecessary ART special code. am: 2e96d06f93 am: 346e690a6f

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/14608031

Change-Id: I8761699bf18ca4a5a2e0e7b72e1f5afda8ca07e3

3 years agoRemove special visibility setting for com.android.art. am: d1ad9bc9de am: bef9a9d46c
Martin Stjernholm [Wed, 19 May 2021 10:44:28 +0000 (10:44 +0000)]
Remove special visibility setting for com.android.art. am: d1ad9bc9de am: bef9a9d46c

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/14608030

Change-Id: I518f6aa4749e680e9921846200c7a32931d22df8

3 years agoRevert "Add libneuralnetworks_shim.so to be visible by vendor processes."
Michael Butler [Wed, 19 May 2021 00:12:20 +0000 (00:12 +0000)]
Revert "Add libneuralnetworks_shim.so to be visible by vendor processes."

This reverts commit 971c76cfa3531703848bd1f27d9318c8d869774c.

Reason for revert: Removing libneuralnetworks_shim.so from Android S

Bug: 188587379
Test: mma
Change-Id: Id63bd00b2a6f9920f2caba4dbd248525122f2f86

3 years agoClean up now unnecessary ART special code. am: 2e96d06f93
Martin Stjernholm [Mon, 17 May 2021 11:39:54 +0000 (11:39 +0000)]
Clean up now unnecessary ART special code. am: 2e96d06f93

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1678685

Bug: 130340935
Change-Id: I2c0726623082b539c24fd094b9479673037049c5
(cherry picked from commit 7912274689977297af8eabf555f3a6fc6248790f)

3 years agoRemove special visibility setting for com.android.art. am: d1ad9bc9de
Martin Stjernholm [Mon, 17 May 2021 11:39:53 +0000 (11:39 +0000)]
Remove special visibility setting for com.android.art. am: d1ad9bc9de

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1703687

Change-Id: Ifc843c5b9afd04c959381099b1565b5d86646bf1
(cherry picked from commit f7e1ab21fec1a74e96abb09aef451748e2b33fff)
Bug: 130340935

3 years agoSnap for 7362794 from a2efa9d626219f190b580fbbc474647e526c6fb1 to sc-v2-release
android-build-team Robot [Sat, 15 May 2021 03:10:26 +0000 (03:10 +0000)]
Snap for 7362794 from a2efa9d626219f190b580fbbc474647e526c6fb1 to sc-v2-release

Change-Id: I4245e240d7253893cee7b2bc69c50d0a786d6a92

3 years agoDrop AllowAllSharedLibs from the ART APEX namespace. am: 8b49d731c4 am: b270f2dec4...
Martin Stjernholm [Fri, 14 May 2021 17:20:05 +0000 (17:20 +0000)]
Drop AllowAllSharedLibs from the ART APEX namespace. am: 8b49d731c4 am: b270f2dec4 am: 263d238df1

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/14519305

Change-Id: If8dc40ea6d2d936f39948fd7c669dd2b57609a0b

3 years agoSnap for 7357013 from 263d238df1b5c330b1e3e5369f431968e73f9880 to sc-v2-release
android-build-team Robot [Thu, 13 May 2021 01:10:32 +0000 (01:10 +0000)]
Snap for 7357013 from 263d238df1b5c330b1e3e5369f431968e73f9880 to sc-v2-release

Change-Id: Ieebef413bf6e4b7f3c2f7c4ef83e82eee3481df8

3 years agoDrop AllowAllSharedLibs from the ART APEX namespace. am: 8b49d731c4 am: b270f2dec4
Martin Stjernholm [Wed, 12 May 2021 18:24:36 +0000 (18:24 +0000)]
Drop AllowAllSharedLibs from the ART APEX namespace. am: 8b49d731c4 am: b270f2dec4

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/14519305

Change-Id: If7156e96717d5dbe7403e651a87d315bf4ce7b6f

3 years agoDrop AllowAllSharedLibs from the ART APEX namespace. am: 8b49d731c4
Martin Stjernholm [Wed, 12 May 2021 18:06:39 +0000 (18:06 +0000)]
Drop AllowAllSharedLibs from the ART APEX namespace. am: 8b49d731c4

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/14519305

Change-Id: I8b92acb1c007ccd54fb0fdcb59bf2f196300c5b7

3 years agoDrop AllowAllSharedLibs from the ART APEX namespace.
Martin Stjernholm [Tue, 13 Apr 2021 15:07:29 +0000 (16:07 +0100)]
Drop AllowAllSharedLibs from the ART APEX namespace.

It is an isolation problem, and due to an overcaching issue in the
linker (b/142941232) it can also result in system libraries overriding
libraries with the same name in the ART APEX when they are loaded from
the ART linker namespace.

With fixes in ART to use the system namespace rather than its internal
APEX namespace, this can now be dropped.

Test: system/linkerconfig/rundiff.sh
Bug: 130340935
Change-Id: I334846e72f1ad9366e933795dc4763e990b9d96c

3 years agoSnap for 7306623 from 1ae769f939dc384b1fc34e96f9bd127a0867966e to sc-v2-release
android-build-team Robot [Fri, 23 Apr 2021 01:09:42 +0000 (01:09 +0000)]
Snap for 7306623 from 1ae769f939dc384b1fc34e96f9bd127a0867966e to sc-v2-release

Change-Id: I27d973907d5e4929872cad50c15266a1bcbca550

3 years agoMerge "LOG on failure to access VNDK APEX during linkerconfig variable loading."...
Treehugger Robot [Thu, 22 Apr 2021 09:53:57 +0000 (09:53 +0000)]
Merge "LOG on failure to access VNDK APEX during linkerconfig variable loading." am: 762da228de am: 03bca89985 am: 829bd8ca1e am: 1ae769f939

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674985

Change-Id: I51c3b83c464563a011b9adb77bdf8451d3b92334

3 years agoMerge "LOG on failure to access VNDK APEX during linkerconfig variable loading."...
Treehugger Robot [Thu, 22 Apr 2021 09:34:12 +0000 (09:34 +0000)]
Merge "LOG on failure to access VNDK APEX during linkerconfig variable loading." am: 762da228de am: 03bca89985 am: 829bd8ca1e

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674985

Change-Id: I62a59331b6ce18696651ac81163e6005c5ae9b0c

3 years agoMerge "LOG on failure to access VNDK APEX during linkerconfig variable loading."...
Treehugger Robot [Thu, 22 Apr 2021 09:11:50 +0000 (09:11 +0000)]
Merge "LOG on failure to access VNDK APEX during linkerconfig variable loading." am: 762da228de am: 03bca89985

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674985

Change-Id: I08791c76003b2b8ea45566b431e3bf3d83de8154

3 years agoMerge "LOG on failure to access VNDK APEX during linkerconfig variable loading."...
Treehugger Robot [Thu, 22 Apr 2021 08:42:44 +0000 (08:42 +0000)]
Merge "LOG on failure to access VNDK APEX during linkerconfig variable loading." am: 762da228de

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674985

Change-Id: Id19c2249224b55ada27b0c39244d39466c64beee

3 years agoMerge "LOG on failure to access VNDK APEX during linkerconfig variable loading."
Treehugger Robot [Thu, 22 Apr 2021 08:00:01 +0000 (08:00 +0000)]
Merge "LOG on failure to access VNDK APEX during linkerconfig variable loading."

3 years agoLOG on failure to access VNDK APEX during linkerconfig variable loading.
Daniel Norman [Tue, 13 Apr 2021 22:49:45 +0000 (22:49 +0000)]
LOG on failure to access VNDK APEX during linkerconfig variable loading.

This should help expose a previously-silent error that leads to missing
linkerconfig variables.

Bug: b/169420191#comment6
Change-Id: I202ecf19a1a594c78650fef47f49b0b62fef5a1a

3 years agoSnap for 7286185 from ffedf0b533d22d99364d3ed1ff509b9876eccd3e to sc-v2-release
android-build-team Robot [Fri, 16 Apr 2021 01:09:55 +0000 (01:09 +0000)]
Snap for 7286185 from ffedf0b533d22d99364d3ed1ff509b9876eccd3e to sc-v2-release

Change-Id: Ib0c411d1ebb6f5a76f86b24a3ae96b315aea2ea0

3 years agoMerge "Add doc about linker.config.pb" am: 49734cf39a am: cd55c7bc33 am: 120732594d...
Jooyung Han [Thu, 15 Apr 2021 05:26:58 +0000 (05:26 +0000)]
Merge "Add doc about linker.config.pb" am: 49734cf39a am: cd55c7bc33 am: 120732594d am: ffedf0b533

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1675849

Change-Id: Ib27becdbb7f1608e39e5782637906f59dc9409a2

3 years agoMerge "Add doc about linker.config.pb" am: 49734cf39a am: cd55c7bc33 am: 120732594d
Jooyung Han [Thu, 15 Apr 2021 04:42:18 +0000 (04:42 +0000)]
Merge "Add doc about linker.config.pb" am: 49734cf39a am: cd55c7bc33 am: 120732594d

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1675849

Change-Id: Ibe7d90ab1ab707767a24a542b12ecc8af6da15ef

3 years agoMerge "Add doc about linker.config.pb" am: 49734cf39a am: cd55c7bc33
Jooyung Han [Thu, 15 Apr 2021 03:52:20 +0000 (03:52 +0000)]
Merge "Add doc about linker.config.pb" am: 49734cf39a am: cd55c7bc33

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1675849

Change-Id: I82c0ad887d8220b8a6dc514b4b1468ae083179d5

3 years agoMerge "Add doc about linker.config.pb" am: 49734cf39a
Jooyung Han [Thu, 15 Apr 2021 03:05:51 +0000 (03:05 +0000)]
Merge "Add doc about linker.config.pb" am: 49734cf39a

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1675849

Change-Id: I44dea104b0a1af183de69708bd2614964038dae2

3 years agoMerge "Add doc about linker.config.pb"
Jooyung Han [Thu, 15 Apr 2021 02:22:17 +0000 (02:22 +0000)]
Merge "Add doc about linker.config.pb"

3 years agoAdd doc about linker.config.pb
Jooyung Han [Wed, 14 Apr 2021 18:12:07 +0000 (03:12 +0900)]
Add doc about linker.config.pb

Since there's no mention about linker.config.pb, one may get confused
they want to find the artifact from the device.

Especially, /system/etc/linker.config.pb is not just compiled into .pb,
but is amended during "make" to populated(or append) "provideLibs" key
at make phase.

Because /system/etc/linker.config.pb is a very crucial part of the
system, it deserves more explanation.

Bug: n/a
Test: documentation
Change-Id: Ib6db77a42ec842ab0ecea15a44f9557345b57a58

3 years agoSnap for 7283897 from 69800dd35b1101e673ac705e7e06b84c3a42b698 to sc-v2-release
android-build-team Robot [Thu, 15 Apr 2021 01:09:47 +0000 (01:09 +0000)]
Snap for 7283897 from 69800dd35b1101e673ac705e7e06b84c3a42b698 to sc-v2-release

Change-Id: Ic5441eb611171e9136f92f85d2544fb9ef335e54

3 years agoMerge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc...
Martin Stjernholm [Wed, 14 Apr 2021 15:10:00 +0000 (15:10 +0000)]
Merge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc am: a01abc17c5 am: 52064d10a6 am: 69800dd35b

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674518

Change-Id: Ide414bad548bebdad26d04e226c4dfb5dfc785a3

3 years agoMerge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc...
Martin Stjernholm [Wed, 14 Apr 2021 14:26:51 +0000 (14:26 +0000)]
Merge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc am: a01abc17c5 am: 52064d10a6

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674518

Change-Id: Id810c974934a9c850c927e5aa3ceb619da962316

3 years agoMerge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc...
Martin Stjernholm [Wed, 14 Apr 2021 13:32:21 +0000 (13:32 +0000)]
Merge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc am: a01abc17c5

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674518

Change-Id: I1d90ec6e042b276b185f34f56354ec85478262cf

3 years agoMerge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc
Martin Stjernholm [Wed, 14 Apr 2021 13:06:51 +0000 (13:06 +0000)]
Merge "Remove hardcoded requires from the ART APEX default namespace." am: 15f6f99ccc

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674518

Change-Id: I37963422417eba5495b03957105af6b2dccfefcb

3 years agoMerge "Remove hardcoded requires from the ART APEX default namespace."
Martin Stjernholm [Wed, 14 Apr 2021 12:29:59 +0000 (12:29 +0000)]
Merge "Remove hardcoded requires from the ART APEX default namespace."

3 years agoSnap for 7280565 from 46c54fee2a7aed05bb0ed5c72c2c82c49cc8eb78 to sc-v2-release
android-build-team Robot [Wed, 14 Apr 2021 01:09:39 +0000 (01:09 +0000)]
Snap for 7280565 from 46c54fee2a7aed05bb0ed5c72c2c82c49cc8eb78 to sc-v2-release

Change-Id: Ifab2e1fbfcd5812362f40dda5246d4bfab8d7d7d

3 years agoRemove hardcoded requires from the ART APEX default namespace.
Martin Stjernholm [Tue, 13 Apr 2021 15:44:18 +0000 (16:44 +0100)]
Remove hardcoded requires from the ART APEX default namespace.

It should get the links from the manifest, just like in the
com_android_art namespace.

Test: system/linkerconfig/rundiff.sh
Bug: 147082642
Change-Id: Id5789e69bede78dea60e952a1cd95f8ec0de8730

3 years agoAdd default value("") for SANITIZER_RUNTIME_LIBRARIES am: fece76d589 am: d25d1f9f99...
Jooyung Han [Tue, 13 Apr 2021 14:39:14 +0000 (14:39 +0000)]
Add default value("") for SANITIZER_RUNTIME_LIBRARIES am: fece76d589 am: d25d1f9f99 am: 9b5478f6ec

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674407

Change-Id: Id24888ec14c7b0f6440ba1c2f7cd237885f5b5ba

3 years agoAdd default value("") for SANITIZER_RUNTIME_LIBRARIES am: fece76d589 am: d25d1f9f99
Jooyung Han [Tue, 13 Apr 2021 13:46:08 +0000 (13:46 +0000)]
Add default value("") for SANITIZER_RUNTIME_LIBRARIES am: fece76d589 am: d25d1f9f99

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674407

Change-Id: I270ef63c093cdcf5d0b675a0fdb923f389eac68d

3 years agoAdd default value("") for SANITIZER_RUNTIME_LIBRARIES am: fece76d589
Jooyung Han [Tue, 13 Apr 2021 13:00:49 +0000 (13:00 +0000)]
Add default value("") for SANITIZER_RUNTIME_LIBRARIES am: fece76d589

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1674407

Change-Id: Ie1e0f5e17ec99e7dcdd179721f09e0ebe4af739e

3 years agoAdd default value("") for SANITIZER_RUNTIME_LIBRARIES
Jooyung Han [Tue, 13 Apr 2021 07:10:30 +0000 (16:10 +0900)]
Add default value("") for SANITIZER_RUNTIME_LIBRARIES

Without the default value set, linkerconfig fails when generating
configs for apexes.

Bug: 185199923
Test: linkerconfig runs in microdroid
Change-Id: I0697f332fb816b63230c621c96ddec56e71e7727

3 years agoSnap for 7263361 from 8c92ba1d419c39d3180bb567ca4fc1d0de6e4418 to sc-v2-release
android-build-team Robot [Wed, 7 Apr 2021 01:10:06 +0000 (01:10 +0000)]
Snap for 7263361 from 8c92ba1d419c39d3180bb567ca4fc1d0de6e4418 to sc-v2-release

Change-Id: I093b4dba7eef5c047f8bbcfe6dce5689ba6715f9

3 years agolibdexfile_external is replaced by libdexfile (reland). am: 6d609ffff0 am: ac727d87fa...
Martin Stjernholm [Tue, 6 Apr 2021 17:41:03 +0000 (17:41 +0000)]
libdexfile_external is replaced by libdexfile (reland). am: 6d609ffff0 am: ac727d87fa am: 0035421ad1

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1664395

Change-Id: Ieece2043a20765e07a10194d3eb093438f0c0157

3 years agolibdexfile_external is replaced by libdexfile (reland). am: 6d609ffff0 am: ac727d87fa
Martin Stjernholm [Tue, 6 Apr 2021 16:49:30 +0000 (16:49 +0000)]
libdexfile_external is replaced by libdexfile (reland). am: 6d609ffff0 am: ac727d87fa

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1664395

Change-Id: I0b354e18fe82703c3761136ee7b7c010863fe627

3 years agolibdexfile_external is replaced by libdexfile (reland). am: 6d609ffff0
Martin Stjernholm [Tue, 6 Apr 2021 16:02:46 +0000 (16:02 +0000)]
libdexfile_external is replaced by libdexfile (reland). am: 6d609ffff0

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1664395

Change-Id: I2cf0b3c7f69d3d0328ebc2ecdd55844e631a5a9f

3 years agolibdexfile_external is replaced by libdexfile (reland).
Martin Stjernholm [Thu, 18 Mar 2021 03:13:52 +0000 (03:13 +0000)]
libdexfile_external is replaced by libdexfile (reland).

Only update the test data to avoid confusing discrepancy.

This relands https://r.android.com/1643427 after decoupling it from the
topic that caused b/184239856.

Test: system/linkerconfig/rundiff.sh
Bug: 143978909
Change-Id: I1ca20568a77c4487e815bbfa32f108964bed00a4

3 years agoSnap for 7253016 from a4ff6ac72f73be7eedf2860dfbcaeb5da5880e16 to sc-v2-release
android-build-team Robot [Fri, 2 Apr 2021 01:09:20 +0000 (01:09 +0000)]
Snap for 7253016 from a4ff6ac72f73be7eedf2860dfbcaeb5da5880e16 to sc-v2-release

Change-Id: Ie20fb51ad8b4e1a6e095cb4633232ba0804709e1

3 years agoRevert "libdexfile_external is replaced by libdexfile." am: 06a50e5e80 am: 715a2d1f2d...
Nikita Ioffe [Thu, 1 Apr 2021 16:29:00 +0000 (16:29 +0000)]
Revert "libdexfile_external is replaced by libdexfile." am: 06a50e5e80 am: 715a2d1f2d am: 3fce22fe92

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1660246

Change-Id: I59ed9a508cbcf254f75ebbcb83b73c21e6f5838f

3 years agoRevert "libdexfile_external is replaced by libdexfile." am: 06a50e5e80 am: 715a2d1f2d
Nikita Ioffe [Thu, 1 Apr 2021 15:44:27 +0000 (15:44 +0000)]
Revert "libdexfile_external is replaced by libdexfile." am: 06a50e5e80 am: 715a2d1f2d

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1660246

Change-Id: I92d271709998fd06f7454cea4370cc5cb01e74d6

3 years agoRevert "libdexfile_external is replaced by libdexfile." am: 06a50e5e80
Nikita Ioffe [Thu, 1 Apr 2021 15:03:23 +0000 (15:03 +0000)]
Revert "libdexfile_external is replaced by libdexfile." am: 06a50e5e80

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1660246

Change-Id: Ie374f0f6760d78802b9b09c492c0c5f45ea23657

3 years agoRevert "libdexfile_external is replaced by libdexfile."
Nikita Ioffe [Thu, 1 Apr 2021 10:58:24 +0000 (10:58 +0000)]
Revert "libdexfile_external is replaced by libdexfile."

Revert "Rename libdexfile_external_static to libdexfile_static."

Revert "Rename libdexfile_external_static to libdexfile_static."

Revert "Allow dependencies from platform variants to APEX modules."

Revert submission 1658000

Reason for revert: Breaks full-eng build: b/184239856
Reverted Changes:
I4f8ead785:Avoid internal APEX stubs for libsigchain and clea...
I68affdf69:Allow dependencies from platform variants to APEX ...
I54b33784e:Rename libdexfile_external_static to libdexfile_st...
Id68ae9438:libdexfile_external is being replaced by libdexfil...
I12ac84eb4:libdexfile_external is replaced by libdexfile.
If05dbffc8:Rename libdexfile_external_static to libdexfile_st...
Ia011fa3a8:Merge libdexfile_external into libdexfile.

Change-Id: Iab9f8b5b839eb0c3ade2019bf7af579cccae81d9

3 years agolibdexfile_external is replaced by libdexfile. am: e474e0ce21 am: 32141b04f9 am:...
Martin Stjernholm [Thu, 1 Apr 2021 09:05:44 +0000 (09:05 +0000)]
libdexfile_external is replaced by libdexfile. am: e474e0ce21 am: 32141b04f9 am: 8e108c483c

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1643427

Change-Id: I323568e6325c2865894079445bfc924d494b8758

3 years agolibdexfile_external is replaced by libdexfile. am: e474e0ce21 am: 32141b04f9
Martin Stjernholm [Thu, 1 Apr 2021 08:18:58 +0000 (08:18 +0000)]
libdexfile_external is replaced by libdexfile. am: e474e0ce21 am: 32141b04f9

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1643427

Change-Id: I892ba9f15ff9ca6616ea52b5faf630815094628a

3 years agolibdexfile_external is replaced by libdexfile. am: e474e0ce21
Martin Stjernholm [Thu, 1 Apr 2021 07:37:21 +0000 (07:37 +0000)]
libdexfile_external is replaced by libdexfile. am: e474e0ce21

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1643427

Change-Id: I2c79b7dc0aec6dfb94815a77ee77254a817f04e6

3 years agoSnap for 7230642 from 880664c1db644243b02f8972822880e9a0f4e356 to sc-v2-release
android-build-team Robot [Wed, 24 Mar 2021 01:09:49 +0000 (01:09 +0000)]
Snap for 7230642 from 880664c1db644243b02f8972822880e9a0f4e356 to sc-v2-release

Change-Id: Idd7ec55b405fd8a8b63db03379c688ec0a399ce5

3 years agoAdd libneuralnetworks_shim.so to be visible by vendor processes. am: 971c76cfa3 am...
Przemysław Szczepaniak [Tue, 23 Mar 2021 21:33:45 +0000 (21:33 +0000)]
Add libneuralnetworks_shim.so to be visible by vendor processes. am: 971c76cfa3 am: 3cba8e777e am: 85572a57ce

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1585004

Change-Id: I4bb1dffb8cf06a011448c89e3e93cac3c45e756d

3 years agolibdexfile_external is replaced by libdexfile.
Martin Stjernholm [Thu, 18 Mar 2021 03:13:52 +0000 (03:13 +0000)]
libdexfile_external is replaced by libdexfile.

Only update the test data to avoid confusing discrepancy.

Test: system/linkerconfig/rundiff.sh
Bug: 143978909
Change-Id: I12ac84eb41d461d1607b0c3b45be58dccdb78460

3 years agoAdd libneuralnetworks_shim.so to be visible by vendor processes. am: 971c76cfa3 am...
Przemysław Szczepaniak [Tue, 23 Mar 2021 21:08:25 +0000 (21:08 +0000)]
Add libneuralnetworks_shim.so to be visible by vendor processes. am: 971c76cfa3 am: 3cba8e777e

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1585004

Change-Id: Idfd10e0183104f22480eaa8d80bf74a60b35d427

3 years agoAdd libneuralnetworks_shim.so to be visible by vendor processes. am: 971c76cfa3
Przemysław Szczepaniak [Tue, 23 Mar 2021 20:27:55 +0000 (20:27 +0000)]
Add libneuralnetworks_shim.so to be visible by vendor processes. am: 971c76cfa3

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1585004

Change-Id: I691c317132be13f1ce4415af9e0c1ffe2bf3ea92

3 years agoAdd libneuralnetworks_shim.so to be visible by vendor processes.
Przemysław Szczepaniak [Wed, 10 Feb 2021 17:46:41 +0000 (17:46 +0000)]
Add libneuralnetworks_shim.so to be visible by vendor processes.

Test: Run sample vendor service on cf device
Bug: 172925288
Change-Id: Ieaafe94fe2ebf39e9e326a65d394c81f49c1f403
(cherry picked from commit c0a452718689cadffd7469133e0728f9e3f65d9f)

3 years agoSnap for 7160059 from d6b090381367ceabfe825c9e004a49397f7c62c9 to sc-v2-release
android-build-team Robot [Sun, 21 Feb 2021 00:09:28 +0000 (00:09 +0000)]
Snap for 7160059 from d6b090381367ceabfe825c9e004a49397f7c62c9 to sc-v2-release

Change-Id: I245c0917f1bd863bde39c18083d706cb0456dc18

3 years ago[automerger skipped] Mark ab/7061308 as merged in stage. am: 2b2e8c6c4b -s ours am...
Xin Li [Sat, 20 Feb 2021 10:05:42 +0000 (10:05 +0000)]
[automerger skipped] Mark ab/7061308 as merged in stage. am: 2b2e8c6c4b -s ours am: 1b4e62ead2 -s ours

am skip reason: Change-Id I25413a905b3bb8802278397da89432ad70b60a3e with SHA-1 d319cecaf9 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifc3d69d092858f48d6c8bc4fc29403e6e2c5862b

3 years ago[automerger skipped] Mark ab/7061308 as merged in stage. am: 2b2e8c6c4b -s ours
Xin Li [Sat, 20 Feb 2021 09:36:15 +0000 (09:36 +0000)]
[automerger skipped] Mark ab/7061308 as merged in stage. am: 2b2e8c6c4b -s ours

am skip reason: Change-Id I25413a905b3bb8802278397da89432ad70b60a3e with SHA-1 d319cecaf9 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I772c700fe9355ccf86fd267f0a48c121c5bac8ac

3 years agoMark ab/7061308 as merged in stage.
Xin Li [Sat, 20 Feb 2021 08:24:40 +0000 (00:24 -0800)]
Mark ab/7061308 as merged in stage.

Bug: 180401296
Merged-In: I25413a905b3bb8802278397da89432ad70b60a3e
Change-Id: Id2b763fa5b36294a46bc3d8c65ca03a1220e2ab0

3 years agoSnap for 7128142 from 09e2782c769c0b641aee8b01f408e45a44bf28f3 to sc-v2-release
android-build-team Robot [Sat, 6 Feb 2021 02:10:44 +0000 (02:10 +0000)]
Snap for 7128142 from 09e2782c769c0b641aee8b01f408e45a44bf28f3 to sc-v2-release

Change-Id: I2fa18e670d9ebace8281ce588d79001307ec145e

3 years ago[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig am: 2da5198851 am: 92e65f04dd...
Bob Badour [Fri, 5 Feb 2021 21:34:07 +0000 (21:34 +0000)]
[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig am: 2da5198851 am: 92e65f04dd am: 32b3b3e104

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1576100

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia1ff81cd51e831d7c0639264f46923ed1866dbf8

3 years ago[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig am: 2da5198851 am: 92e65f04dd
Bob Badour [Fri, 5 Feb 2021 20:51:51 +0000 (20:51 +0000)]
[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig am: 2da5198851 am: 92e65f04dd

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1576100

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie757f52ab347d22e02a9c89cf41c84899b27a8e4

3 years ago[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig am: 2da5198851
Bob Badour [Fri, 5 Feb 2021 20:23:32 +0000 (20:23 +0000)]
[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig am: 2da5198851

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1576100

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I75dfbb8edfcd02dcd0fd739a9944ec5f35d6eb63

3 years ago[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig
Bob Badour [Thu, 4 Feb 2021 06:30:12 +0000 (22:30 -0800)]
[LSC] Add LOCAL_LICENSE_KINDS to system/linkerconfig

Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  testmodules/Android.bp
  testmodules/vndkext/Android.bp
  testmodules/vndkext/HelloActivityProduct/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I9c01ac44b3a69eb6bfa8a0022ece238456227b6b

3 years agoSnap for 7101549 from bd302102a443a3d776eda3be84d571525430b899 to sc-v2-release
android-build-team Robot [Mon, 25 Jan 2021 19:57:01 +0000 (19:57 +0000)]
Snap for 7101549 from bd302102a443a3d776eda3be84d571525430b899 to sc-v2-release

Change-Id: I7a5d86f0003678e623d3b7febe65477617910774

3 years agoVerify extra paths from APEX linker config am: c502af5b9c am: 6a573f9f42 am: 1bdd290fd4
Kiyoung Kim [Thu, 21 Jan 2021 02:09:16 +0000 (02:09 +0000)]
Verify extra paths from APEX linker config am: c502af5b9c am: 6a573f9f42 am: 1bdd290fd4

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1518016

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie1378c9d806446b0bcb37aaebadeb43c0ed00f64

3 years agoVerify extra paths from APEX linker config am: c502af5b9c am: 6a573f9f42
Kiyoung Kim [Thu, 21 Jan 2021 01:49:17 +0000 (01:49 +0000)]
Verify extra paths from APEX linker config am: c502af5b9c am: 6a573f9f42

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1518016

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5b264f20878998b3e3da810bf820a976f746ac6e

3 years agoVerify extra paths from APEX linker config am: c502af5b9c
Kiyoung Kim [Thu, 21 Jan 2021 01:10:47 +0000 (01:10 +0000)]
Verify extra paths from APEX linker config am: c502af5b9c

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1518016

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I87fbc63afa5b3c04e67fb938d9b1e814dc44f6f2

3 years agoVerify extra paths from APEX linker config
Kiyoung Kim [Tue, 8 Dec 2020 07:17:50 +0000 (16:17 +0900)]
Verify extra paths from APEX linker config

Extra paths from APEX linker config cannot be verified from linkerconfig
code review. To make sure if path is valid, this change checks if all
extra paths are valid paths.

Bug: 175655717
Test: m -j passed && atest passed
Change-Id: I96740638b240a24a1eafa7def354cc9eebcd15e1

3 years ago[automerger skipped] Add additional vendor lib paths am: 935f98a97b -s ours am: d319c...
Kiyoung Kim [Thu, 17 Dec 2020 21:51:46 +0000 (21:51 +0000)]
[automerger skipped] Add additional vendor lib paths am: 935f98a97b -s ours am: d319cecaf9 -s ours

am skip reason: Change-Id Icba3ee1744b67d48241a53a147009270b0f550ca with SHA-1 86bc987a32 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/13239085

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6264f5d78fd903ac506f61e11895ece0e8e697ce

3 years ago[automerger skipped] Add additional vendor lib paths am: 935f98a97b -s ours
Kiyoung Kim [Thu, 17 Dec 2020 21:26:36 +0000 (21:26 +0000)]
[automerger skipped] Add additional vendor lib paths am: 935f98a97b -s ours

am skip reason: Change-Id Icba3ee1744b67d48241a53a147009270b0f550ca with SHA-1 86bc987a32 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/linkerconfig/+/13239085

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I25413a905b3bb8802278397da89432ad70b60a3e

3 years agoAdd additional vendor lib paths
Kiyoung Kim [Mon, 12 Oct 2020 01:30:03 +0000 (10:30 +0900)]
Add additional vendor lib paths

Some of the vendor lib paths were removed from VNDK 28 due to no usage.
However, Vulkan team requires those vendor lib paths from vendor
section to load SPHAL libraries. To enable this, this change re-adds
addtional vendor lib paths (hw and egl) to vendor default namespace.

Bug: 170258171
Bug: 172267984
Test: atest passed

Merged-In: I85fa6fa6f61d5559c5498163302a99741f6f733f
Merged-In: Icba3ee1744b67d48241a53a147009270b0f550ca
Merged-In: Ifb0a6d2085aefb2729e3c28ab7022d38a3786a38
Change-Id: I85fa6fa6f61d5559c5498163302a99741f6f733f
(cherry picked from commit 7bbcf7ef3738c1c519381a338568faf2358f2a03)

3 years agoDo not fail on missing public.libraries.txt am: 6c7494c780 am: 31932d1ac5 am: b9c60a75c5
Kiyoung Kim [Wed, 16 Dec 2020 14:26:32 +0000 (14:26 +0000)]
Do not fail on missing public.libraries.txt am: 6c7494c780 am: 31932d1ac5 am: b9c60a75c5

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1531360

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If744687b8fd37b8e8edda8a62632041d8a8a78dd

3 years agoDo not fail on missing public.libraries.txt am: 6c7494c780 am: 31932d1ac5
Kiyoung Kim [Wed, 16 Dec 2020 14:06:53 +0000 (14:06 +0000)]
Do not fail on missing public.libraries.txt am: 6c7494c780 am: 31932d1ac5

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1531360

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I14712faa5e3bf382c9fbbfd8d7f06d09ac0867e8

3 years agoDo not fail on missing public.libraries.txt am: 6c7494c780
Kiyoung Kim [Wed, 16 Dec 2020 13:33:47 +0000 (13:33 +0000)]
Do not fail on missing public.libraries.txt am: 6c7494c780

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1531360

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If41c9dd844a6e168f15b8db4fdb6c9ebd7784aa7

3 years agoDo not fail on missing public.libraries.txt
Kiyoung Kim [Wed, 16 Dec 2020 02:51:39 +0000 (11:51 +0900)]
Do not fail on missing public.libraries.txt

public.libraries.txt can be omitted from the environment without ART. To
keep linkerconfig work from this environment, missing
public.libraries.txt should not fail.

Bug: 175734213
Test: cuttlefish build and boot succeeded
Change-Id: I0ee9f0dd5dfd739be055cbfa0248e5eca404045a

3 years agoRemove unused variable am: cf2a7e754d am: 8f36131d9f am: abf1cc42ee
Kiyoung Kim [Mon, 14 Dec 2020 03:48:29 +0000 (03:48 +0000)]
Remove unused variable am: cf2a7e754d am: 8f36131d9f am: abf1cc42ee

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1520662

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2193d91a9a9a93c9dc1ce8103406a4a7152236b7

3 years agoRemove unused variable am: cf2a7e754d am: 8f36131d9f
Kiyoung Kim [Mon, 14 Dec 2020 03:18:42 +0000 (03:18 +0000)]
Remove unused variable am: cf2a7e754d am: 8f36131d9f

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1520662

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0920d592cf78be6121a3ede9365b6a32f883a8ab

3 years agoRemove unused variable am: cf2a7e754d
Kiyoung Kim [Mon, 14 Dec 2020 03:02:09 +0000 (03:02 +0000)]
Remove unused variable am: cf2a7e754d

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1520662

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5c0c0a7bf5ddf82858924c6be13ab3d78a6d901f

3 years agoRemove unused variable
Kiyoung Kim [Wed, 9 Dec 2020 04:36:44 +0000 (13:36 +0900)]
Remove unused variable

Remove library list variable which now gets from linker.config.pb from
the source code.

Test: Cuttlefish boot succeeded
Change-Id: Id667a64857e3818e5b148b4366bc98755e160c4e

3 years agoMerge "Refactor ScanActiveApexes to return android::base::Result" am: a162d8b156...
Kiyoung Kim [Wed, 9 Dec 2020 09:06:34 +0000 (09:06 +0000)]
Merge "Refactor ScanActiveApexes to return android::base::Result" am: a162d8b156 am: 0d6ba5eb82 am: 9103e02db4

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1520657

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If2c2fc6f3755ce2c04c4423e91c6f17cbaa5840e

3 years agoMerge "Refactor ScanActiveApexes to return android::base::Result" am: a162d8b156...
Kiyoung Kim [Wed, 9 Dec 2020 08:37:59 +0000 (08:37 +0000)]
Merge "Refactor ScanActiveApexes to return android::base::Result" am: a162d8b156 am: 0d6ba5eb82

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1520657

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice0038f914a3d9c2f092bc1545513286c7da2af1

3 years agoMerge "Refactor ScanActiveApexes to return android::base::Result" am: a162d8b156
Kiyoung Kim [Wed, 9 Dec 2020 08:21:35 +0000 (08:21 +0000)]
Merge "Refactor ScanActiveApexes to return android::base::Result" am: a162d8b156

Original change: https://android-review.googlesource.com/c/platform/system/linkerconfig/+/1520657

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7fef3f0973d67a0546a5030059db82ef041701bc

3 years agoMerge "Refactor ScanActiveApexes to return android::base::Result"
Kiyoung Kim [Wed, 9 Dec 2020 07:53:35 +0000 (07:53 +0000)]
Merge "Refactor ScanActiveApexes to return android::base::Result"

3 years agoRefactor ScanActiveApexes to return android::base::Result
Kiyoung Kim [Tue, 8 Dec 2020 07:14:57 +0000 (16:14 +0900)]
Refactor ScanActiveApexes to return android::base::Result

ScanActiveApexes returns list of active APEX modules directly, so it is
difficult to get any status or reason of failure from callers. This
change refactors the function into android::base::Result for better
error handling.

Test: Cuttlefish boot succeded && atest passed
Change-Id: I3f3368e8ee21f8bda1df73b5d1751340656deac7