platform_build_soong/android
Jiyong Park 37b252096a Don't create non-primary arch variant for recovery-only module
To save space, only the primary arch variant is installed to the
recovery partition. This has been done in the imageMutator by not
creating recovery variant for the non-primary arch.

However, this caused a problem for recover-only module, i.e., recovery:
true. Such module ends up creating no variant for the non-primary arch.
Since every other modules are at least in one image variant, any
dependency fro such module with no image variant can't be satisfied.

In order to solve the problem, archMutator is modified to create only
the primary arch for recovery-only modules.

Bug: 111321972
Test: m -j (TestRecovery added)
Change-Id: Ie32ae06fb094efcfd8531cdf6071139d292d93ab
2018-07-12 10:49:30 +09:00
..
androidmk.go Introduce runtime_libs to cc_binary and cc_library 2018-04-25 14:47:50 +08:00
api_levels.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
arch.go Don't create non-primary arch variant for recovery-only module 2018-07-12 10:49:30 +09:00
config.go Fix: recovery module is disabled on 32-bit targets 2018-07-08 09:43:10 +09:00
config_test.go Add VendorConfig for board-level Soong plugin configuration 2018-04-11 01:45:37 +00:00
defaults.go Update soong for blueprint change to allow multiple deps 2018-06-20 22:56:36 +00:00
defs.go Make binaries executable 2017-08-31 13:48:52 -07:00
env.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
expand.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
expand_test.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
filegroup.go Fix few issues with filegroups 2018-04-18 18:56:33 +00:00
hooks.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
makevars.go Use manifest merger in Soong 2018-07-11 19:46:38 +00:00
module.go Use WalkDeps instead of VisitDepsDepthFirst 2018-06-22 12:44:35 -07:00
mutator.go Move namespace mutator earlier to support defaults 2018-01-26 20:21:18 -08:00
namespace.go Fix module rename inside namespace 2018-04-16 21:38:15 +00:00
namespace_test.go Fix module rename inside namespace 2018-04-16 21:38:15 +00:00
neverallow.go Allow VNDK extensions under vendor or device 2018-03-15 11:02:38 +08:00
neverallow_test.go Allow VNDK extensions under vendor or device 2018-03-15 11:02:38 +08:00
onceper.go Add OncePer.Get() 2017-11-07 13:36:44 -08:00
package_ctx.go Switch PackageContext functions to take a ctx 2018-03-12 15:48:26 -07:00
paths.go Recovery partition has same layout as system 2018-06-09 01:57:00 +09:00
paths_test.go Support recovery and recovery_available 2018-05-15 16:27:12 +09:00
prebuilt.go Fix few issues with filegroups 2018-04-18 18:56:33 +00:00
prebuilt_etc.go Add prebuilt_etc_xml 2018-04-28 00:13:00 +09:00
prebuilt_test.go Fix few issues with filegroups 2018-04-18 18:56:33 +00:00
proto.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
register.go Convert a missed Singleton 2017-11-30 00:42:49 +00:00
singleton.go Use WalkDeps instead of VisitDepsDepthFirst 2018-06-22 12:44:35 -07:00
testing.go Don't create non-primary arch variant for recovery-only module 2018-07-12 10:49:30 +09:00
util.go RemoveFromList() should remove all matches 2018-03-09 13:41:56 +08:00
util_test.go RemoveFromList() should remove all matches 2018-03-09 13:41:56 +08:00
variable.go Allow disabling LTO on eng 2018-07-11 18:24:49 +00:00
variable_test.go Support %s in product variable properties 2017-05-05 18:22:30 -07:00
writedocs.go Allow Soong to generate its own build documentation 2017-12-12 11:12:32 -08:00