OSDN Git Service
Automerger Merge Worker [Tue, 11 Feb 2020 23:07:32 +0000 (23:07 +0000)]
Merge "Add required modules for linkerconfig" am:
bade76eb13
Change-Id: I9cad270d6fbfa1125f1524954f2b8f7765228499
Treehugger Robot [Tue, 11 Feb 2020 22:59:27 +0000 (22:59 +0000)]
Merge "Add required modules for linkerconfig"
Automerger Merge Worker [Tue, 11 Feb 2020 22:47:37 +0000 (22:47 +0000)]
Merge "2 more missing Result::ok() calls in system/linkerconfig" am:
ffacdd9477
Change-Id: I0fbc15f0cb04554567ee042fb97a91e09a6faf6f
Treehugger Robot [Tue, 11 Feb 2020 22:35:08 +0000 (22:35 +0000)]
Merge "2 more missing Result::ok() calls in system/linkerconfig"
Automerger Merge Worker [Tue, 11 Feb 2020 22:08:19 +0000 (22:08 +0000)]
Merge changes I2ead6a77,I6bf2204a am:
4add3c0b71
Change-Id: I3b673660490dc97f6d080a9c0112a6b62a98c99c
Treehugger Robot [Tue, 11 Feb 2020 21:49:17 +0000 (21:49 +0000)]
Merge changes I2ead6a77,I6bf2204a
* changes:
Remove ResolveVariables()
Make ConfigWriter simpler
Jooyung Han [Tue, 11 Feb 2020 19:21:16 +0000 (04:21 +0900)]
Add required modules for linkerconfig
linkerconfig relies on some txt files.
Adding those modules as required:
- llndk.libraries.txt
- vndkprivate.libraries.txt
- vndkcore.libraries.txt
- vndkcorevariant.libraries.txt
- vndksp.libraries.txt
- sanitizer.libraries.txt
Bug: N/A
Test: m installclean; m linkerconfig
check if those txt files are installed together
Change-Id: I8ab98591026dad06b3140043c54b7134ca3dac33
Bernie Innocenti [Tue, 11 Feb 2020 20:09:44 +0000 (05:09 +0900)]
2 more missing Result::ok() calls in system/linkerconfig
Test: cd system/linkerconfig && atest
Change-Id: I2c6f8eb4b81065b90512f88a9f248affecacf019
Automerger Merge Worker [Tue, 11 Feb 2020 19:16:38 +0000 (19:16 +0000)]
Merge "Use apex_name for the name of linker namespace" am:
2fa82ebd25
Change-Id: I92d3bdbf307e06d8439d957d779312498c12e20f
Treehugger Robot [Tue, 11 Feb 2020 19:00:40 +0000 (19:00 +0000)]
Merge "Use apex_name for the name of linker namespace"
Jooyung Han [Fri, 7 Feb 2020 16:08:22 +0000 (01:08 +0900)]
Remove ResolveVariables()
ResolveVariables() takes long because it uses regex pattern search and
replace them with values. It can be avoided by resolving variables while
configurations are being built.
For easy transition, "Var()" utility function is introduced which should
be called after LoadVariables(). This will be enforced by moving Var()
into Context so that it only be called when Context is available (which
is, after LoadVariables() is called)
Bug:
149020353
Test: atest --test-mapping system/linkerconfig
build / flash / boot
Change-Id: I2ead6a77dcc9ec14b4e083897a2818714438beb5
Jooyung Han [Fri, 7 Feb 2020 06:38:16 +0000 (15:38 +0900)]
Make ConfigWriter simpler
- Remove varg WriteLine
- No prefix
- Add WriteVars for writing multiple lines using "="/ "+="
This refactoring is a prep for removing "ResolveVariables()" which is very slow.
Bug:
149020353
Test: atest --test-mapping system/linkerconfig
Change-Id: I6bf2204a9ac0794b0bdf8028999a3543821a26be
Automerger Merge Worker [Sun, 9 Feb 2020 08:21:56 +0000 (08:21 +0000)]
Last missing Result::ok() calls in system/linkerconfig am:
51be4fe748
Change-Id: I71de5d9c437049101bdf9c185242058776981c35
Bernie Innocenti [Sat, 8 Feb 2020 19:12:18 +0000 (04:12 +0900)]
Last missing Result::ok() calls in system/linkerconfig
No functionality change.
Test: cd system/linkerconfig && atest
Change-Id: I5ffa14d1d935c8e01c694338400e366a19895ba6
Automerger Merge Worker [Sat, 8 Feb 2020 01:37:40 +0000 (01:37 +0000)]
Remove unused files am:
35df8b6140
Change-Id: I3d3de0df7afb119313feb7704d5e03a054b09510
Jooyung Han [Fri, 7 Feb 2020 17:59:10 +0000 (02:59 +0900)]
Use apex_name for the name of linker namespace
Till now short names are used for apex namespaces but there are no
explicit rule for this. Instead of extracting namespace name from apex
name (com.android.foo => foo), we'd better use apex name as it is
because it is well-established identifier for apexes.
Bug:
148826508
Test: build/flash/boot
atest
Change-Id: I4f77eb85652a999274844436ba14b5c05831cf5b
Jooyung Han [Fri, 7 Feb 2020 17:51:00 +0000 (02:51 +0900)]
Remove unused files
conscrypt and neuralnetworks namespaces are now generated automatically.
Bug: N/A
Test: build
Change-Id: Ic13d3f4206ecfda1937adf2111977b279fba05ef
Automerger Merge Worker [Fri, 7 Feb 2020 07:44:06 +0000 (07:44 +0000)]
Auto-generate runtime namespace am:
b818280515
Change-Id: I9ae5f026915c98aa1070560fd1923536c0a8d3b7
Automerger Merge Worker [Fri, 7 Feb 2020 07:43:57 +0000 (07:43 +0000)]
Auto-generate media namespace am:
834efc8c45
Change-Id: Idff81f99b6a7baf98882615653563e7cc69b09f2
Automerger Merge Worker [Fri, 7 Feb 2020 07:43:55 +0000 (07:43 +0000)]
Auto-generate apex namespaces: cronet,nn,conscrypt am:
9960aca469
Change-Id: I7e6ecab4463e0c50864ef186952d549b6a63b40f
Jooyung Han [Thu, 6 Feb 2020 11:46:02 +0000 (20:46 +0900)]
Auto-generate runtime namespace
runtime apex provides bionic(libc/libm/libdl) libraries. But actually
they are supposed to be accessed via symlinks in /system/lib (i.e.
system namespace).
By amending soong not to emit those bionic libs as providing libs of
runtime apex, now runtime apex can be auto-generated by linkerconfig.
Bug:
144664390
Test: build / flash / boot
Change-Id: Idda42801a608e5fcb495bfccdd07ca6c0666a53d
Jooyung Han [Thu, 6 Feb 2020 11:39:02 +0000 (20:39 +0900)]
Auto-generate media namespace
Now, media namespace is auto-generated.
This is done by adding /apex/<name>/lib as permitted path as well as
search path, because media apex needs a permitted path
/com.android.media/lib/extractors.
Bug:
144664390
Test: build / flash / boot
atest --test-mapping system/linkerconfig
Change-Id: I9186b0768b3bce3ad19f3d14010725af0bbf5861
Jooyung Han [Thu, 6 Feb 2020 11:17:53 +0000 (20:17 +0900)]
Auto-generate apex namespaces: cronet,nn,conscrypt
Some visible namespaces are now auto-generated using activated apex
info. This is quite a significant change for init/bootstrap stages.
For example, at init stage which has no apexes activated, linkerconfig
dosn't generate apex namespaces at all. Previously, it was statically
generated whether those apexes are available or not.
Amon remaining apexes, media and runtime will be removed soon.
Bug:
144664390
Test: compare generated ld.config.txt between changes
build / flash / boot
atest --test-mapping system/linkerconfig
Change-Id: I334071dd59273e194ccdca1ef2cff0b7ee1b5c35
Automerger Merge Worker [Fri, 7 Feb 2020 03:47:15 +0000 (03:47 +0000)]
Merge "Configuration for special APEX binaries" am:
ce9da40b83
Change-Id: I182bca74f03de286823a6f0b61b04043e819920f
Kiyoung Kim [Fri, 7 Feb 2020 03:25:42 +0000 (03:25 +0000)]
Merge "Configuration for special APEX binaries"
Kiyoung Kim [Wed, 29 Jan 2020 05:56:54 +0000 (14:56 +0900)]
Configuration for special APEX binaries
Some of the linker configuration for APEX binaries are not enough just
to use auto-generated contents. This change implements some of the
additional namespaces for some special APEXes with binaries - ART and
Media SWCodec.
Bug:
147987608
Test: m -j passed
Test: Tested adbd and swcodec(Youtube) on Cuttlefish and Crosshatch
Change-Id: I58345dc31bb97138c9c632039a10ab000e23bcb6
Automerger Merge Worker [Thu, 6 Feb 2020 23:19:49 +0000 (23:19 +0000)]
Convert system/linkerconfig to Result::ok() am:
5c325567e2
Change-Id: I3d10df9aaaa1dbb9456960c24b20c7d7c4f6bab4
Bernie Innocenti [Thu, 6 Feb 2020 14:16:23 +0000 (23:16 +0900)]
Convert system/linkerconfig to Result::ok()
No functionality changes, this is a mechanical cleanup.
Test: m
Change-Id: I759398fdf01d1703b0c128fb4f34d33a6f1a2027
Automerger Merge Worker [Wed, 5 Feb 2020 05:24:37 +0000 (05:24 +0000)]
Move part of Context into modules::BaseContext am:
32c2ef7510
Change-Id: Ie1318021f558fce908222f5df2c174fe1db33812
Automerger Merge Worker [Wed, 5 Feb 2020 05:24:27 +0000 (05:24 +0000)]
Add default "provides" list to system namespace am:
91079f0f9b
Change-Id: Ie67d2b6d6bd4f5762a03f7559a6ff1ebcdd2c7ec
Automerger Merge Worker [Wed, 5 Feb 2020 05:24:25 +0000 (05:24 +0000)]
Add "--strict" flag am:
b4af747146
Change-Id: Ic1e6d5a1e28fedc98470dc8a3f0ef9375fedf85f
Automerger Merge Worker [Wed, 5 Feb 2020 05:24:23 +0000 (05:24 +0000)]
Build adbd/resolv namespace automatically am:
7482996bd3
Change-Id: I7edb3004451f2b94e2f0f019ca603c4c1b423b72
Jooyung Han [Tue, 4 Feb 2020 10:46:06 +0000 (19:46 +0900)]
Move part of Context into modules::BaseContext
ApexInfo/strict is used in Section::Resolve and it's very generic.
Moving it into BaseContext makes code simpler
Bug: N/A
Test: atest --test-mapping system/linkerconfig
Change-Id: I8acbdb7ed3368b6c10474be1c30a12fbc81c8ca6
Jooyung Han [Mon, 3 Feb 2020 10:32:33 +0000 (19:32 +0900)]
Add default "provides" list to system namespace
Contrary to APEX modules, system doesn't have meta data represening
"provides". So adding the "provides" list to system namespaces.
Bug:
144664390
Test: build / flash / boot
Test: atest --test-mapping system/linkerconfig
Change-Id: I808736814221a0d0cff2f163d64da01b398dc265
Jooyung Han [Mon, 3 Feb 2020 09:07:12 +0000 (18:07 +0900)]
Add "--strict" flag
--strict flag tells linkerconfig to resolve constraints in strict mode.
In strict mode, when a required module is not found, resolution fails.
Otherwise, missing requirements are ignored silently.
Linkerconfig may run at a very early stage when there is no apexes or
only bootstrap apexes are activated. --strict mode can be turned on when
all apexes are activated.
Bug:
144664390
Test: build / flash / boot
Change-Id: I13cab3aabb605338d031f825fe4af5f9a410a715
Jooyung Han [Mon, 3 Feb 2020 08:35:56 +0000 (17:35 +0900)]
Build adbd/resolv namespace automatically
adbd/resolv APEXes can be generated automatically.
Bug:
144664390
Test: build / flash / boot
Change-Id: I025bf186d7071e6051bd65d94ec9b3185b8c1a43
Automerger Merge Worker [Tue, 4 Feb 2020 05:52:14 +0000 (05:52 +0000)]
Merge "Pass Context to Build.*Configuration" am:
0d45fe440d
Change-Id: Iced94b1a39b5f8393f0b44a2f55aa8be01bca1d4
Treehugger Robot [Tue, 4 Feb 2020 05:42:40 +0000 (05:42 +0000)]
Merge "Pass Context to Build.*Configuration"
Automerger Merge Worker [Mon, 3 Feb 2020 20:17:53 +0000 (20:17 +0000)]
Merge "Add libadbd_auth.so to stub library list." am:
18c7e5691e
Change-Id: I5a1c64b8a1b0034dadcbed117dd0914c1dbfbe4a
Josh Gao [Mon, 3 Feb 2020 20:15:20 +0000 (20:15 +0000)]
Merge "Add libadbd_auth.so to stub library list."
Jooyung Han [Mon, 3 Feb 2020 05:23:06 +0000 (14:23 +0900)]
Pass Context to Build.*Configuration
Context is prepared with activated APEX modules and passed to the
configuration builders.
This doesn't change the current behavior, and there will be follow-up
changes which uses Context to generate APEX-related configuration
dynamically.
Bug:
144664390
Test: compare geneated ld.config.txt files with old ones.
Change-Id: Ice4c7e57d8f5894e4b18510a116e5b38da8d8462
Automerger Merge Worker [Fri, 31 Jan 2020 07:28:33 +0000 (07:28 +0000)]
Merge "Fix handling mkdir failure" am:
e2b32b57df
Change-Id: I30369633a9c3d5cfed6b3937d5b0d6f6b45326b0
Treehugger Robot [Fri, 31 Jan 2020 07:22:27 +0000 (07:22 +0000)]
Merge "Fix handling mkdir failure"
Josh Gao [Fri, 31 Jan 2020 00:19:29 +0000 (16:19 -0800)]
Add libadbd_auth.so to stub library list.
Test: treehugger
Change-Id: I90cc7906e73f90234fcd13aad42e1affb69ff9dc
Automerger Merge Worker [Thu, 30 Jan 2020 17:44:36 +0000 (17:44 +0000)]
Use provide/require to link namespaces am:
6bc990e58b
Change-Id: I73db78d92bb9d68376ee272ed4091a3fb5afee73
Jooyung Han [Wed, 29 Jan 2020 18:29:10 +0000 (03:29 +0900)]
Use provide/require to link namespaces
Add provide/require information for adbd/art/conscrypt/neuralnetworks
namespace and use it to link namespaces.
With this change, this information is hard-coded but will come from
apex_manifest.pb.
Bug:
144659031
Test: Cuttlefish boots
Change-Id: I617818744b6e015c81170b345f9dfa8ca9b993ec
Jooyung Han [Thu, 30 Jan 2020 03:57:34 +0000 (12:57 +0900)]
Fix handling mkdir failure
The commit(
98a691144d433bd05ad0d26f4caab38e8a3d9c39) was simply wrong
because mkdir() returns -1 and set errno instead of returning it.
Bug: n/a
Test: run linkerconfig twice with same target_dir
Change-Id: Iea8a7357219153abd00f342a1d7794b787bf09dc
Kiyoung Kim [Tue, 28 Jan 2020 10:44:39 +0000 (02:44 -0800)]
Merge "Link to system namespace using stub libraries"
am:
ad91df7caf
Change-Id: Ieccc2683b327886544caffb634629cfaf2d4f30b
Kiyoung Kim [Tue, 28 Jan 2020 10:39:38 +0000 (10:39 +0000)]
Merge "Link to system namespace using stub libraries"
Jooyung Han [Tue, 28 Jan 2020 10:04:26 +0000 (02:04 -0800)]
Sort namespaces in a section
am:
cfb788f92d
Change-Id: I8689f1f90dc6c0c83ec7e223863fd7e37104bce2
Jooyung Han [Tue, 28 Jan 2020 09:56:30 +0000 (01:56 -0800)]
Skip log when mkdir fails with EEXIST
am:
98a691144d
Change-Id: I931757987681937ab26e0dcb29357152116225e0
Jooyung Han [Tue, 28 Jan 2020 09:36:32 +0000 (01:36 -0800)]
Do UpdatePermission only on target.
am:
5f2463648e
Change-Id: I588612191400ea71c45b413710c144c199bfa916
Jooyung Han [Tue, 28 Jan 2020 07:30:11 +0000 (16:30 +0900)]
Sort namespaces in a section
The order of namespaces doesn't matter.
It would be easier to compare when they are sorted, especially when we
generate them with dynamic APEX information.
Bug: N/A
Test: atest --test-mapping system/linkerconfig
Change-Id: I5845247152895c2503c49f7eafd52fb5665b24ba
Jooyung Han [Tue, 28 Jan 2020 07:22:47 +0000 (16:22 +0900)]
Skip log when mkdir fails with EEXIST
This is useful when running linkerconfig many times with the same
target_directory.
Bug: N/A
Test: run linkerconfig on host
Change-Id: I38b70a5078afdc0f79d26789c04ec2ed075be491
Jooyung Han [Tue, 28 Jan 2020 06:44:14 +0000 (15:44 +0900)]
Do UpdatePermission only on target.
Otherwise, UpdatePermission fails when running on host.
Bug: N/A
Test: run linkerconfig on host
Change-Id: I37207beb2404daa052b8011075d2c5eaaefa63c2
Kiyoung Kim [Mon, 13 Jan 2020 02:44:05 +0000 (11:44 +0900)]
Link to system namespace using stub libraries
As stub libraries list is generated, linkerconfig can use this to
generalize list of libraries linked to system namespace from other
(usually APEX) libraries.
Bug:
147210213
Test: m -j passed && Cuttlefish succeeded to boot
Change-Id: I350390a023c0d186da11844152b51b06ace60e8a
Josh Gao [Fri, 24 Jan 2020 22:10:06 +0000 (14:10 -0800)]
Merge "Add adbd apex configuration."
am:
3a81b768ff
Change-Id: I024f54fa24be27fcdc55e818bc4e418ef599f0cb
Treehugger Robot [Fri, 24 Jan 2020 22:06:11 +0000 (22:06 +0000)]
Merge "Add adbd apex configuration."
Automerger Merge Worker [Fri, 24 Jan 2020 07:47:11 +0000 (07:47 +0000)]
Merge "Add liblog to system libraries." am:
c5be7e7196
Change-Id: I2e0b8b69c2b098392c464101f0ed4319a95f1715
Treehugger Robot [Fri, 24 Jan 2020 07:34:10 +0000 (07:34 +0000)]
Merge "Add liblog to system libraries."
Josh Gao [Thu, 23 Jan 2020 02:04:26 +0000 (18:04 -0800)]
Add adbd apex configuration.
The JDWP socket abstraction is moving from a server shared library
in the ART apex loaded by adbd, to a client shared library in the
adbd apex.
Test: manually booted internal, attached jdb to a random app twice
Change-Id: Ic8c9c7470321c965d1d614d7c99179b772dfd8c8
Josh Gao [Thu, 23 Jan 2020 20:36:40 +0000 (12:36 -0800)]
Add liblog to system libraries.
Test: treehugger
Change-Id: I79954cfd6a3a32f0988a24a18954db8f8459fd04
Kiyoung Kim [Wed, 22 Jan 2020 08:04:34 +0000 (00:04 -0800)]
Merge "Generate linkerconfig for APEX binaries"
am:
a18a241e40
Change-Id: I6b7e9b386f792b13d4f0c79bdbd04b4f11f2ced5
Kiyoung Kim [Wed, 22 Jan 2020 07:58:43 +0000 (07:58 +0000)]
Merge "Generate linkerconfig for APEX binaries"
Kiyoung Kim [Mon, 20 Jan 2020 04:33:00 +0000 (13:33 +0900)]
Generate linkerconfig for APEX binaries
Generate linkerconfig for APEX binaries. Dependency can be resolved with
platform namespace which offers stub libraries, and other APEX modules
based on its providing library list.
Bug:
147987608
Test: m -j passed && checked linkerconfig generated per binary APEX
Change-Id: I27a872d5e82618dc0621ed9a86c176171d2f00ab
Kiyoung Kim [Tue, 21 Jan 2020 04:04:24 +0000 (20:04 -0800)]
Read product vndk libraries only when available
am:
fec6e10f9b
Change-Id: I4796410af07b78d535d401b5abfd6b5a27c816ef
Kiyoung Kim [Mon, 20 Jan 2020 10:55:40 +0000 (19:55 +0900)]
Read product vndk libraries only when available
Current linkerconfig implementation tries to read vndk library list with
product vndk version even when the version is not specified. This change
will let linkerconfig load those files only when product vndk version is
available.
Test: m -j passed && Checked execution from cuttlefish
Change-Id: Ifb861d7c71a43ac77b27a6c29419b5f965d6097d
Automerger Merge Worker [Wed, 8 Jan 2020 08:13:10 +0000 (08:13 +0000)]
Merge "Add product section for product interface enforcement" am:
9a3e85c31f am:
c1765189e9
Change-Id: I217376ea52b7a5883aeff1ea9608b38994a8d804
Justin Yun [Wed, 8 Jan 2020 08:04:14 +0000 (00:04 -0800)]
Merge "Add product section for product interface enforcement"
am:
9a3e85c31f
Change-Id: I66e83612faf7a5a74bc7c11d1ac2f325d4ca1de9
Treehugger Robot [Wed, 8 Jan 2020 07:42:01 +0000 (07:42 +0000)]
Merge "Add product section for product interface enforcement"
Automerger Merge Worker [Tue, 7 Jan 2020 12:15:23 +0000 (12:15 +0000)]
Scan Active APEXes am:
86b57f60c6 am:
8984d415ac
Change-Id: I0531f81da91f608b857e682edae1a687be8a83c6
Jooyung Han [Tue, 7 Jan 2020 12:02:22 +0000 (04:02 -0800)]
Scan Active APEXes
am:
86b57f60c6
Change-Id: Ia8d73abd04d846c42148b9b3711129e034b19814
Jooyung Han [Mon, 6 Jan 2020 09:09:30 +0000 (18:09 +0900)]
Scan Active APEXes
Added a helper function ScanActiveApexes() which returns active APEXes.
Bug:
144659031
Test: atest --host linkerconfig_modules_unittest
Change-Id: Id953e9b3db7e63641571b8e36377ef2c29e70eb9
Justin Yun [Mon, 16 Dec 2019 08:47:02 +0000 (17:47 +0900)]
Add product section for product interface enforcement
If ro.product.vndk.version is defined, product partition will have
seprate section from system section.
Modules in /product allowed to use VNDKs only from /system partition.
Modules in /system or /system_ext are not allowed to link to the
libraries in /product.
Bug:
124024578
Bug:
120954888
Test: build with "PRODUCT_PRODUCT_VNDK_VERSION := current"
check device boot and basic functions
Change-Id: I0f9cd8b27c56c6a786b10aa23ffc4b197cea714d
Automerger Merge Worker [Thu, 2 Jan 2020 04:41:18 +0000 (04:41 +0000)]
Target out directory am:
5c8366d2d7 am:
e5de40e6b1
Change-Id: I65df3e311ebda718131ca4b53c3f7a45c9051097
Kiyoung Kim [Thu, 2 Jan 2020 04:20:10 +0000 (20:20 -0800)]
Target out directory
am:
5c8366d2d7
Change-Id: Ide99573170d89ba43ac200381b6a70b9623cf71a
Kiyoung Kim [Mon, 30 Dec 2019 09:43:00 +0000 (18:43 +0900)]
Target out directory
Linkerconfig will generate more than 1 file, based on APEX modules and
emulation. To support this, linkerconfig should take out target
directory as argument rather than out target file.
Bug:
146993126
Test: m -j passed && Cuttlefish succeeded to boot
Change-Id: Iabc611ad0dc31a5ab5627356a8552796ab452d7e
Automerger Merge Worker [Tue, 31 Dec 2019 01:20:30 +0000 (01:20 +0000)]
Remove VNDK version for using core variant libraries am:
11b05d5011 am:
c3a0781c6d
Change-Id: I118b70ffadbea8284da879e12381c5fcc9b95a3f
Kiyoung Kim [Tue, 31 Dec 2019 01:04:26 +0000 (17:04 -0800)]
Remove VNDK version for using core variant libraries
am:
11b05d5011
Change-Id: Iba0e621f4d1ea186db94e6b1618d6cd5aae38a7e
Kiyoung Kim [Mon, 30 Dec 2019 01:51:10 +0000 (10:51 +0900)]
Remove VNDK version for using core variant libraries
In current, name of the file contains VNDK using core variant library
list goes with VNDK version like other library list files. However, this
list is dependent on the system image not the VNDK version. To meet this
condition, this file name should not contain VNDK version number to avoid confusion.
This change removes VNDK version number from the file name.
Bug:
142599349
Test: m -j passed && aosp_cf_x86_go_phone booted
Change-Id: Ie167639e5ae2bae2ad269ffde168cfa5ac7de217
Automerger Merge Worker [Mon, 23 Dec 2019 08:16:32 +0000 (08:16 +0000)]
Add --legacy for easy of testing am:
5bbb123cd1 am:
8bf4479157
Change-Id: Ide272e724ed15d897232a596ce9624daeaab2d36
Jooyung Han [Mon, 23 Dec 2019 08:05:30 +0000 (00:05 -0800)]
Add --legacy for easy of testing
am:
5bbb123cd1
Change-Id: Id84e31765d199c017dc1e85436b01222283ab67f
Jooyung Han [Mon, 23 Dec 2019 04:35:00 +0000 (13:35 +0900)]
Add --legacy for easy of testing
Generate linker config for targets which are not treble-ized.
This argument is only for test on host.
Test: m linkerconfig && linkerconfig --legacy --root $OUT --vndk R
Change-Id: Id1ca59de2016de2de6b9a52f1ac217edea7c71f0
Automerger Merge Worker [Fri, 20 Dec 2019 07:24:33 +0000 (07:24 +0000)]
Build linker configuration for recovery in build time am:
722dad6819 am:
4b76d66377
Change-Id: Ia74cfb235d6fca9be0fdd31863f40ca2d8c51ca5
Kiyoung Kim [Fri, 20 Dec 2019 07:13:45 +0000 (23:13 -0800)]
Build linker configuration for recovery in build time
am:
722dad6819
Change-Id: I3849985c6cc0160db23452cec47cf6a29d836796
Kiyoung Kim [Thu, 19 Dec 2019 06:59:55 +0000 (15:59 +0900)]
Build linker configuration for recovery in build time
As recovery has not enough space for linkerconfig binary, and also
linker configuration for recovery is does not require any environmental
variables, so linker configuration for recovery better be generated
from build time. This change enables to build linker configuration for
recovery from build and install into recovery system/etc.
Bug:
146414198
Test: m -j passed
Test: Checked linker config generated under recovery's system/etc
Change-Id: I08b77aa96191d3ccb67f8b8ca8fd918ca126de92
Automerger Merge Worker [Wed, 18 Dec 2019 01:13:39 +0000 (01:13 +0000)]
Merge "Do not build linkerconfig for recovery" am:
5e4fe4fbf8 am:
eecf7477e7
Change-Id: Ieb12fd37ca46d0c11d130404c3bd88f0feafb2ff
Kiyoung Kim [Wed, 18 Dec 2019 01:01:41 +0000 (17:01 -0800)]
Merge "Do not build linkerconfig for recovery"
am:
5e4fe4fbf8
Change-Id: I2a687c9c66d0ddfdaaa119c13f12597b302f2b7a
Kiyoung Kim [Wed, 18 Dec 2019 00:55:03 +0000 (00:55 +0000)]
Merge "Do not build linkerconfig for recovery"
Automerger Merge Worker [Tue, 17 Dec 2019 16:20:06 +0000 (16:20 +0000)]
Add Cronet namespace am:
8217ced04e am:
eb34a39735
Change-Id: I42ad0deae2fdcda1817e17fa2941fff3dbef65d6
Luke Huang [Tue, 17 Dec 2019 16:03:54 +0000 (08:03 -0800)]
Add Cronet namespace
am:
8217ced04e
Change-Id: I697295a39c84de4058be48a3db33d263dc00bb8b
Luke Huang [Tue, 17 Dec 2019 05:10:09 +0000 (13:10 +0800)]
Add Cronet namespace
Bug:
139397529
Test: build
Test: manual test with Cronet
Change-Id: I1728747fcb6e04bf528266957695378f8d2b28fa
Kiyoung Kim [Tue, 17 Dec 2019 06:23:38 +0000 (15:23 +0900)]
Do not build 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: Ia4155c3295feb518bcfd0ab6e6eef8f794e0b1f9
Automerger Merge Worker [Thu, 12 Dec 2019 02:27:54 +0000 (02:27 +0000)]
s/ANROID/ANDROID am:
76614bbdd3 am:
e62be1cb75
Change-Id: I7ede0b6e5195caf64c426e667cdd214a18917738
Josh Gao [Thu, 12 Dec 2019 02:05:46 +0000 (18:05 -0800)]
s/ANROID/ANDROID
am:
76614bbdd3
Change-Id: I82b5373879daf8b1f02c7921a53baf25c629682a
Josh Gao [Wed, 11 Dec 2019 23:28:30 +0000 (15:28 -0800)]
s/ANROID/ANDROID
Test: treehugger
Change-Id: If112b4dfd77d772c2feec2c931190d63bea7cb2b
Jooyung Han [Tue, 10 Dec 2019 05:18:43 +0000 (21:18 -0800)]
Merge "Read apex_manifest and generate Namespace" am:
5fa6e715d4
am:
6e04984957
Change-Id: I57477b4fa730f95ed45dbf43f42efe69951ee86e
Jooyung Han [Tue, 10 Dec 2019 05:16:11 +0000 (21:16 -0800)]
Merge "Read apex_manifest and generate Namespace"
am:
5fa6e715d4
Change-Id: I9da8e4ab2f96e0487ca1c28857a7d13d19a87ee1
Jooyung Han [Tue, 10 Dec 2019 05:09:45 +0000 (05:09 +0000)]
Merge "Read apex_manifest and generate Namespace"
Jooyung Han [Fri, 6 Dec 2019 10:47:30 +0000 (19:47 +0900)]
Read apex_manifest and generate Namespace
Add a small utility to initialize a Namespace with APEX.
Until we can just scan all "activated" APEXes and generate all
namespaces with them, we could use this to fill in namespaces for
APEXes.
Bug:
144659031
Bug:
144659057
Test: atest --host linkerconfig_modules_unittest
Change-Id: If9787ff6c7bc680b5d778b03813103e661a2d0a0