platform_build_soong/android
Jiyong Park 5a8d1bee89 Add prebuilt_etc_xml
prebuilt_etc_xml installs an xml file to <partition>/etc[/<subdir>] and
validates the xml file against the given DTD file before installing it.

This change also includes some fixes for prebuilt_etc which is the super
module of prebuilt_etc_xml:

1) The module is changed to arch-specific module as the prebuilts are only
for devices (installed under the etc dir), but not for hosts.

2) Dependency to android.Prebuilt is removed because android.Prebuilt is
intended to be used for the case when a module can exist as prebuilts,
source or both. These prebuilt_etc_* modules are prebuilt only.

3) srcs property which accepts a list of source files is changed to src
that only accepts single source file, which makes more sense for
prebuilts.

Bug: 65686190
Test: m -j (xml_test.go)
Change-Id: I40484f3f6615b99f6b8d43176db0c40c5bfd838e
2018-04-28 00:13:00 +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 Consistently use Bool instead of proptools.Bool 2018-04-10 22:50:34 -07:00
config.go Fix aapt2 --min-sdk-version after finalized SDK 2018-04-18 12:39:25 -07:00
config_test.go Add VendorConfig for board-level Soong plugin configuration 2018-04-11 01:45:37 +00:00
defaults.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07: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 Make Config.ProductVariables private 2018-04-11 01:45:29 +00:00
module.go Adding java_sdk_library 2018-04-19 08:57:30 +09: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 Reverse RRO dir paths when passing to Make 2018-04-17 10:53:54 -07:00
paths_test.go Reverse RRO dir paths when passing to Make 2018-04-17 10:53:54 -07: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 Make SingletonContext.Rule take a blueprint.RuleParams 2017-12-12 11:12:32 -08:00
testing.go Add unit tests for android/neverallow.go 2018-03-15 11:02:38 +08: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 Fix aapt2 --min-sdk-version after finalized SDK 2018-04-18 12:39:25 -07: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