platform_build_soong/cc
Colin Cross 324a457440 Consolidate ldflags that are used on all devices
Move ldflags that are specified for all devices into
deviceGlobalLdflags, and add them to linker.go:
-Wl,-z,noexecstack
-Wl,-z,relro
-Wl,-z,now
-Wl,--build-id=md5
-Wl,--warn-shared-textrel
-Wl,--fatal-warnings
-Wl,--no-undefined-version

Bug: 68855788
Test: m checkbuild
Change-Id: I82561b4189287d7638006f9e298c5151f9930c5e
2017-11-03 22:28:03 -07:00
..
config Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
androidmk.go Revert "Build system changes for CFI (Soong)" 2017-10-31 21:01:00 +00:00
binary.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
builder.go Convert abi warnings to errors. 2017-11-01 17:32:26 -07:00
cc.go Revert "Revert "Build system changes for CFI (Soong)"" 2017-11-01 12:50:01 -07:00
cc_test.go Export cc library factories. 2017-11-03 00:05:54 +00:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Run gofmt 2017-05-09 13:44:49 -07:00
compiler.go Switch instruction_set to *string 2017-10-25 15:20:50 -07:00
coverage.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
gen.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
genrule.go Add cc_genrule 2017-09-18 23:33:25 -07:00
installer.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go Export cc library factories. 2017-11-03 00:05:54 +00:00
linker.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
llndk_library.go LLNDK can re-export headers 2017-10-25 10:30:05 +09:00
lto.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
makevars.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
ndk_headers.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
ndk_library.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
ndk_prebuilt.go Refactor factories 2017-06-30 21:08:36 +00:00
ndk_sysroot.go Add support for packaging static libs in the NDK. 2017-10-26 12:19:29 -07:00
object.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
pgo.go Add enable_profile_use property 2017-10-16 13:36:29 -07:00
prebuilt.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
proto.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
rs.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
sabi.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
sanitize.go Don't install both variants for host or non-make builds. 2017-11-02 03:03:50 -07:00
stl.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
strip.go Separate cc.go 2016-07-29 15:17:58 -07:00
test.go Add $ORIGIN to rpath for host tests 2017-10-21 16:04:14 +00:00
test_data_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go soong: add __clang_analyzer__ to clang-tidy 2017-05-04 01:19:02 +00:00
toolchain_library.go Refactor factories 2017-06-30 21:08:36 +00:00
util.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
vndk.go vendor_available:false hides a lib from vendors 2017-10-10 19:38:06 +09:00