platform_build_soong/android
Chih-Hung Hsieh 02b4da53a7 Add USE_CLANG_LLD and use_clang_lld.
* USE_CLANG_LLD is unedefined in current builds.
* When USE_CLANG_LLD is defined to 'true' or '1',
  use clang's lld instead of ld or ld.gold.
* When lld is enabled:
  * ld-only flags are not passed to 'lld'.
  * location_packer is disabled.
  * Use new lld's --pack-dyn-relocs=android.
* When lld does not work:
  * In Android.mk files use LOCAL_USE_CLANG_LLD := false.
  * In Android.bp files use use_clang_lld: false.
* Only arm, arm64, x86, and x86_64_devices have LLD flags;
  all other hosts and targets do not call lld yet.

Bug: 73768157
Test: make checkbuild and boot
Change-Id: I06b8a1e868a600997a7e70fe05c299d751d23d5f
2018-04-12 14:37:35 -07:00
..
androidmk.go Make Config.ProductVariables private 2018-04-11 01:45:29 +00: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 Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -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
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 Add vintf_fragments. 2018-04-05 20:33:01 +00:00
mutator.go Move namespace mutator earlier to support defaults 2018-01-26 20:21:18 -08:00
namespace.go Make ninja file deterministic even with dup module names 2017-12-04 17:44:32 -08:00
namespace_test.go Extract failIfErrored() to android/testing.go 2018-03-15 11:02:38 +08: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 Make Config.ProductVariables private 2018-04-11 01:45:29 +00:00
paths_test.go Propagate errors out of validatePath 2018-02-22 14:43:36 -08:00
prebuilt.go Add VisitDirectDepsWithTag 2018-01-02 18:23:43 -08:00
prebuilt_test.go Extract failIfErrored() to android/testing.go 2018-03-15 11:02:38 +08: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 Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -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