OSDN Git Service
Treehugger Robot [Tue, 18 Feb 2020 06:04:01 +0000 (06:04 +0000)]
Merge "Remove extra using statements" am:
28133def11 am:
de106d8a2d am:
f06d838b57
Change-Id: I252010db64b9f8e771b30b362044189414b297a3
Treehugger Robot [Tue, 18 Feb 2020 05:45:53 +0000 (05:45 +0000)]
Merge "Remove extra using statements" am:
28133def11 am:
de106d8a2d
Change-Id: Ida676cfd0249a0134df4f8afa79e7e9bfd42721e
Treehugger Robot [Tue, 18 Feb 2020 05:30:16 +0000 (05:30 +0000)]
Merge "Remove extra using statements" am:
28133def11
Change-Id: Iab0964273993949a3eb3c0c331eb58bc75e3c5e1
Treehugger Robot [Tue, 18 Feb 2020 05:20:14 +0000 (05:20 +0000)]
Merge "Remove extra using statements"
Howard Ro [Mon, 17 Feb 2020 09:00:54 +0000 (09:00 +0000)]
Merge "Add com.android.os.statsd to linkerconfig"
TreeHugger Robot [Fri, 14 Feb 2020 23:50:37 +0000 (23:50 +0000)]
Merge changes from topic "revert-
149538115"
* changes:
Revert "Update linkerConfig for libstatspull"
Revert "Add libstatssocket to linkerconfig"
Wonsik Kim [Fri, 14 Feb 2020 19:15:54 +0000 (11:15 -0800)]
Revert "Update linkerConfig for libstatspull"
This reverts commit
9548694cad549d02d2f6e53398d0674255a71646.
Reason for revert: major functional regression
Exempt-From-Owner-Approval: revert
Bug:
149538115
Change-Id: I2510f2ae628832b5b856bc9319749e5d8bb2396a
Wonsik Kim [Fri, 14 Feb 2020 19:15:45 +0000 (11:15 -0800)]
Revert "Add libstatssocket to linkerconfig"
This reverts commit
56ce2c746dfb2a75e7a544296caf84efd1308847.
Reason for revert: major functional regression
Exempt-From-Owner-Approval: revert
Bug:
149538115
Change-Id: Ie947834b213f5b3cd771c634c362f61a4dcf4bf2
Jeffrey Huang [Fri, 14 Feb 2020 22:57:43 +0000 (22:57 +0000)]
Merge "Fix Camera bug" am:
5c811ebf1c am:
4291671637 am:
e905991783
Change-Id: I757438f9c0f7cbc1e252d86448e8bcfb35fb4318
Jeffrey Huang [Fri, 14 Feb 2020 22:33:24 +0000 (22:33 +0000)]
Merge "Fix Camera bug" am:
5c811ebf1c am:
4291671637
Change-Id: I7a4bd4b68772d59e1085799bdadfe8ddfd1562f8
Jeffrey Huang [Fri, 14 Feb 2020 22:11:39 +0000 (22:11 +0000)]
Merge "Fix Camera bug" am:
5c811ebf1c
Change-Id: I78f49c50833251698c1fc5351e3a5ee66819e872
Jeffrey Huang [Fri, 14 Feb 2020 21:57:31 +0000 (21:57 +0000)]
Merge "Fix Camera bug"
Tom Cherry [Fri, 14 Feb 2020 20:27:19 +0000 (12:27 -0800)]
Remove extra using statements
android::base::Errorf and android::base::ErrnoErrorf are now #define's
instead of functions, so remove their using statements.
Test: build
Change-Id: I7333b916ee87668fb9fd15b9293de5da41c43409
Jeffrey Huang [Fri, 14 Feb 2020 20:08:20 +0000 (12:08 -0800)]
Fix Camera bug
Bug:
149538115
Test: Flash and take a picture, verified no crash
Change-Id: Idd455f8803cf6f1b1f4c95d854a6077e33bae5e1
Jeffrey Huang [Fri, 14 Feb 2020 04:31:26 +0000 (04:31 +0000)]
Allow libincident.so to be linked from apex am:
4e15bf53f0 am:
b741643a5c am:
adbf2d62cd
Change-Id: Ica4fa575d8cc92707e70a4b4a241ae05985a82d2
Jeffrey Huang [Fri, 14 Feb 2020 04:18:14 +0000 (04:18 +0000)]
Allow libincident.so to be linked from apex am:
4e15bf53f0 am:
b741643a5c
Change-Id: I965b1fba687d5b8a82a11a5ce6f52ec9eea185e1
Jeffrey Huang [Fri, 14 Feb 2020 04:07:02 +0000 (04:07 +0000)]
Allow libincident.so to be linked from apex am:
4e15bf53f0
Change-Id: Iea0a310c93367544a21a0964a7985647f888ef52
Jeffrey Huang [Thu, 13 Feb 2020 23:40:36 +0000 (15:40 -0800)]
Allow libincident.so to be linked from apex
Bug:
145923087
Test: m -j
Change-Id: I787f15750e19c5028b334161c5a7d4fa13003c6f
Muhammad Qureshi [Wed, 12 Feb 2020 15:49:48 +0000 (07:49 -0800)]
Add libstatssocket to linkerconfig
Bug:
145923416
Test: m
Test: fastboot flashall
Change-Id: If3936e1a22fb7b0c055fb8fbf121c423e30b068e
Jeffrey Huang [Thu, 13 Feb 2020 19:10:41 +0000 (19:10 +0000)]
Merge "Update linkerConfig for libstatspull"
Automerger Merge Worker [Thu, 13 Feb 2020 07:08:47 +0000 (07:08 +0000)]
Fix linkerconfig_backward_compatibility_test am:
2dd4e4d2cb am:
b94abc04ad am:
20effc1bdc
Change-Id: Ifa2b1a23ad20a5b6cc55f83eb1dd1420e380f42c
Automerger Merge Worker [Thu, 13 Feb 2020 06:54:14 +0000 (06:54 +0000)]
Fix linkerconfig_backward_compatibility_test am:
2dd4e4d2cb am:
b94abc04ad
Change-Id: Ifa52778d8d084fd1b0828a6c0f1e04479eb0cf1f
Automerger Merge Worker [Thu, 13 Feb 2020 06:42:09 +0000 (06:42 +0000)]
Fix linkerconfig_backward_compatibility_test am:
2dd4e4d2cb
Change-Id: I978ed22941f49942163419544398f8925af3ddaa
Tej Singh [Thu, 13 Feb 2020 01:21:01 +0000 (17:21 -0800)]
Add com.android.os.statsd to linkerconfig
Adds com.android.os.statsd to System BuildSection. I believe this is to
get the namespace the proper visibility for jni.
Test: build/boots
Change-Id: Id516e79e12fde608888587ec15ab0f3358f4918d
Jooyung Han [Wed, 12 Feb 2020 23:41:15 +0000 (08:41 +0900)]
Fix linkerconfig_backward_compatibility_test
The current GetValue() falls back to GetProperty(). This makes the test
show different result on different running environment. For consistent
test result, MockVariables() now overrides all product/vendor variables.
Bug: n/a
Test: atest --host linkerconfig_backward_compatibility_test
atest linkerconfig_backward_compatibility_test
Change-Id: I4b7533e10058b0236a8aef4c54fbb58f3bec0ccc
Automerger Merge Worker [Wed, 12 Feb 2020 19:08:40 +0000 (19:08 +0000)]
Read vndk libraries txt files from vndk apex am:
7c2b73a71f am:
1b5d7bf6e8 am:
a7fe564aeb
Change-Id: I2212ea8e9945a173bd8c0b8979d1a78548ea4cc5
Automerger Merge Worker [Wed, 12 Feb 2020 19:08:39 +0000 (19:08 +0000)]
Generate vendor stuff only if vndk is avilable am:
3f83cfb602 am:
3ea9bdb598 am:
61c2b726de
Change-Id: I3af075af6abab4806a7e1c84d1730847e2731120
Automerger Merge Worker [Wed, 12 Feb 2020 18:57:07 +0000 (18:57 +0000)]
Read vndk libraries txt files from vndk apex am:
7c2b73a71f am:
1b5d7bf6e8
Change-Id: Ibe7a89be985750a6362ea047844c6829ef9c0508
Automerger Merge Worker [Wed, 12 Feb 2020 18:57:03 +0000 (18:57 +0000)]
Generate vendor stuff only if vndk is avilable am:
3f83cfb602 am:
3ea9bdb598
Change-Id: Ia13c12dff6af00263d8b69c70f3a34ba2ce82315
Automerger Merge Worker [Wed, 12 Feb 2020 18:42:25 +0000 (18:42 +0000)]
Read vndk libraries txt files from vndk apex am:
7c2b73a71f
Change-Id: I24a5c1482e9a059025dac3aba1ea1e1cf485b7b2
Automerger Merge Worker [Wed, 12 Feb 2020 18:42:22 +0000 (18:42 +0000)]
Generate vendor stuff only if vndk is avilable am:
3f83cfb602
Change-Id: I90769d8e5ae9ea3116454aa3bf4d43d04021a877
Jooyung Han [Tue, 11 Feb 2020 23:53:51 +0000 (08:53 +0900)]
Read vndk libraries txt files from vndk apex
Vndk apex contains some txt files which list libraries it contains.
- llndk.libraries.txt
- vndksp.libraries.txt
- vndkcore.libraries.txt
- vndkprivate.libraries.txt
These files can be read from vndk apex instead of /system/etc.
Bug:
145184886
Test: build / flash / boot
Change-Id: I2b242b71768af2a30de519ccd4d73b1a86e46382
Jooyung Han [Tue, 11 Feb 2020 23:43:31 +0000 (08:43 +0900)]
Generate vendor stuff only if vndk is avilable
Linkerconfig runs even when there is no apexes available. When vndk apex
is not available, having vendor section or namespaces requiring vndk
libraries is meaningless.
This is necessary because we'd like to load some variables from vndk
apex, but relying on those variables when vndk apex is not available may
fail to generate linker configuration.
Bug:
145184886
Test: build / flash / boot
Change-Id: I7c77757254a63c8bc7470c4ae87f2db3779e6465
Jeffrey Huang [Tue, 11 Feb 2020 22:47:02 +0000 (14:47 -0800)]
Update linkerConfig for libstatspull
Bug:
145922701
Test: m -j and phone boots
Change-Id: I10c0b14910375dec419677883dc197e8eda1e052
Automerger Merge Worker [Tue, 11 Feb 2020 23:42:26 +0000 (23:42 +0000)]
Merge "Add required modules for linkerconfig" am:
bade76eb13 am:
abc420f2ba am:
62e0695b47
Change-Id: I242d0593e58a25341ed12161f924db78a7ff7c04
Automerger Merge Worker [Tue, 11 Feb 2020 23:25:28 +0000 (23:25 +0000)]
Merge "Add required modules for linkerconfig" am:
bade76eb13 am:
abc420f2ba
Change-Id: I1bf9881155249401cf79d43505b0a8562945a54d
Automerger Merge Worker [Tue, 11 Feb 2020 23:18:21 +0000 (23:18 +0000)]
Merge "2 more missing Result::ok() calls in system/linkerconfig" am:
ffacdd9477 am:
284084a3d1 am:
cddac24651
Change-Id: I5deac7437bc3191a15b527cb711e251636a8bac4
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
Automerger Merge Worker [Tue, 11 Feb 2020 23:02:58 +0000 (23:02 +0000)]
Merge "2 more missing Result::ok() calls in system/linkerconfig" am:
ffacdd9477 am:
284084a3d1
Change-Id: I9eacc7a5aa22b823d0d4bca8666d6f9eaf01282c
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
Automerger Merge Worker [Tue, 11 Feb 2020 22:36:18 +0000 (22:36 +0000)]
Merge changes I2ead6a77,I6bf2204a am:
4add3c0b71 am:
e9070610f2 am:
33dc30359d
Change-Id: Ia102ce69177e8b458fd08e8dea7b4e22dcf23164
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:24:03 +0000 (22:24 +0000)]
Merge changes I2ead6a77,I6bf2204a am:
4add3c0b71 am:
e9070610f2
Change-Id: If41dada9442fbd754ea1a963f69fb7551b3d9351
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:40:08 +0000 (19:40 +0000)]
Merge "Use apex_name for the name of linker namespace" am:
2fa82ebd25 am:
0449c685fb am:
bd0a37b31a
Change-Id: I0279beb93c0c0a5157c86a49a95a09bb631f423c
Automerger Merge Worker [Tue, 11 Feb 2020 19:27:25 +0000 (19:27 +0000)]
Merge "Use apex_name for the name of linker namespace" am:
2fa82ebd25 am:
0449c685fb
Change-Id: Icaed65a2bfc461da6c6ea196a164f4eb75bf2b82
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:49:32 +0000 (08:49 +0000)]
Last missing Result::ok() calls in system/linkerconfig am:
51be4fe748 am:
5beb96375e am:
8499357c18
Change-Id: Idf6111c0cdaffb3e4342b650defaa2e1cff224c8
Automerger Merge Worker [Sun, 9 Feb 2020 08:31:17 +0000 (08:31 +0000)]
Last missing Result::ok() calls in system/linkerconfig am:
51be4fe748 am:
5beb96375e
Change-Id: I653eebadb4580e9712bd2776754712ce9c45a972
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 02:14:40 +0000 (02:14 +0000)]
Remove unused files am:
35df8b6140 am:
71239daad0 am:
eba5724268
Change-Id: I2c3f882bea7b1f940a7d75324f9f555f9e337392
Automerger Merge Worker [Sat, 8 Feb 2020 01:54:01 +0000 (01:54 +0000)]
Remove unused files am:
35df8b6140 am:
71239daad0
Change-Id: I92ac09a5d326fe0e06859192782d73d000ce1a07
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 08:20:49 +0000 (08:20 +0000)]
Auto-generate runtime namespace am:
b818280515 am:
a9b9bcfd10 am:
d9dbef9ced
Change-Id: Iee4ede2864614a3e1955184a7c7efb8cbabbcdf1
Automerger Merge Worker [Fri, 7 Feb 2020 08:20:38 +0000 (08:20 +0000)]
Auto-generate media namespace am:
834efc8c45 am:
3a3e8a5e81 am:
f33ff13ddd
Change-Id: Ia96a804379148b9070a7422bdaad41e885fb63ea
Automerger Merge Worker [Fri, 7 Feb 2020 08:20:36 +0000 (08:20 +0000)]
Auto-generate apex namespaces: cronet,nn,conscrypt am:
9960aca469 am:
0a034f67e0 am:
03e9fef1e7
Change-Id: I6e5de6622b83499982973717e4353fd92c20be73
Automerger Merge Worker [Fri, 7 Feb 2020 08:06:33 +0000 (08:06 +0000)]
Auto-generate runtime namespace am:
b818280515 am:
a9b9bcfd10
Change-Id: I9feeae2be4f8ddb34a379d281510baa2fe1bfc58
Automerger Merge Worker [Fri, 7 Feb 2020 08:06:22 +0000 (08:06 +0000)]
Auto-generate media namespace am:
834efc8c45 am:
3a3e8a5e81
Change-Id: Ie37051dbb631537f8b061acb728d37a82c5e7635
Automerger Merge Worker [Fri, 7 Feb 2020 08:06:21 +0000 (08:06 +0000)]
Auto-generate apex namespaces: cronet,nn,conscrypt am:
9960aca469 am:
0a034f67e0
Change-Id: I1bfb32e3c30f7b083f70df444eab94e394fc0c32
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 04:14:17 +0000 (04:14 +0000)]
Merge "Configuration for special APEX binaries" am:
ce9da40b83 am:
b2e5192c1f am:
ff828e9499
Change-Id: I29daa01cbcdf62e1e032ac96094d210d2bf28fa5
Automerger Merge Worker [Fri, 7 Feb 2020 04:02:59 +0000 (04:02 +0000)]
Merge "Configuration for special APEX binaries" am:
ce9da40b83 am:
b2e5192c1f
Change-Id: I6cea090c1f2d00d10ea6e09ace322160d25156b6
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:45:42 +0000 (23:45 +0000)]
Convert system/linkerconfig to Result::ok() am:
5c325567e2 am:
9dfd5dc389 am:
9301bf5636
Change-Id: I8852b78152318bc844ac7ed45750ac7cd9918b37
Automerger Merge Worker [Thu, 6 Feb 2020 23:32:31 +0000 (23:32 +0000)]
Convert system/linkerconfig to Result::ok() am:
5c325567e2 am:
9dfd5dc389
Change-Id: Id387d0ff30bdc4269ca3881a313dd612050bbdb8
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:46:17 +0000 (05:46 +0000)]
Move part of Context into modules::BaseContext am:
32c2ef7510 am:
fded559ebc am:
a1e9c78fa0
Change-Id: I6b4a10212bcf7682689ca6ce2bbf9be22cb33417
Automerger Merge Worker [Wed, 5 Feb 2020 05:46:07 +0000 (05:46 +0000)]
Add default "provides" list to system namespace am:
91079f0f9b am:
9e61bf8ea9 am:
76fb7a465e
Change-Id: Ic0fcbbba85b8bd81c8d5516a7925e0312e958a05
Automerger Merge Worker [Wed, 5 Feb 2020 05:46:05 +0000 (05:46 +0000)]
Add "--strict" flag am:
b4af747146 am:
f5593d9e47 am:
e1ac29f114
Change-Id: I5c652a596be93488de0f57d13c57fa65ec269e61
Automerger Merge Worker [Wed, 5 Feb 2020 05:46:03 +0000 (05:46 +0000)]
Build adbd/resolv namespace automatically am:
7482996bd3 am:
a5c0b57481 am:
b47af44b99
Change-Id: Ied913e76764c00fd7ab6300d560157054bf39416
Automerger Merge Worker [Wed, 5 Feb 2020 05:35:04 +0000 (05:35 +0000)]
Move part of Context into modules::BaseContext am:
32c2ef7510 am:
fded559ebc
Change-Id: Ib548efd43970c4f0bf2c7e5fbc40b6b580822d22
Automerger Merge Worker [Wed, 5 Feb 2020 05:34:54 +0000 (05:34 +0000)]
Add default "provides" list to system namespace am:
91079f0f9b am:
9e61bf8ea9
Change-Id: Ia4f3bcf0a2ae0a47f520d7872b8125db04b52f9e
Automerger Merge Worker [Wed, 5 Feb 2020 05:34:52 +0000 (05:34 +0000)]
Add "--strict" flag am:
b4af747146 am:
f5593d9e47
Change-Id: I103e823b93f8804dc3ead1c263907a320fdd00c8
Automerger Merge Worker [Wed, 5 Feb 2020 05:34:51 +0000 (05:34 +0000)]
Build adbd/resolv namespace automatically am:
7482996bd3 am:
a5c0b57481
Change-Id: I6a13e46015e3bafda9613082b703b1511f247597
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