Loading android/variable.go +4 −2 Original line number Diff line number Diff line Loading @@ -45,6 +45,8 @@ type variableProperties struct { Malloc_not_svelte struct { Cflags []string `android:"arch_variant"` Shared_libs []string `android:"arch_variant"` Whole_static_libs []string `android:"arch_variant"` Exclude_static_libs []string `android:"arch_variant"` } `android:"arch_variant"` Safestack struct { Loading cc/linker.go +5 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,9 @@ type BaseLinkerProperties struct { // local file name to pass to the linker as --version_script Version_script *string `android:"path,arch_variant"` // list of static libs that should not be used to build this module Exclude_static_libs []string } func NewBaseLinker(sanitize *sanitize) *baseLinker { Loading Loading @@ -209,6 +212,8 @@ func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps { deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, linker.Properties.Export_shared_lib_headers...) deps.ReexportGeneratedHeaders = append(deps.ReexportGeneratedHeaders, linker.Properties.Export_generated_headers...) deps.WholeStaticLibs = removeListFromList(deps.WholeStaticLibs, linker.Properties.Exclude_static_libs) if Bool(linker.Properties.Use_version_lib) { deps.WholeStaticLibs = append(deps.WholeStaticLibs, "libbuildversion") } Loading Loading
android/variable.go +4 −2 Original line number Diff line number Diff line Loading @@ -45,6 +45,8 @@ type variableProperties struct { Malloc_not_svelte struct { Cflags []string `android:"arch_variant"` Shared_libs []string `android:"arch_variant"` Whole_static_libs []string `android:"arch_variant"` Exclude_static_libs []string `android:"arch_variant"` } `android:"arch_variant"` Safestack struct { Loading
cc/linker.go +5 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,9 @@ type BaseLinkerProperties struct { // local file name to pass to the linker as --version_script Version_script *string `android:"path,arch_variant"` // list of static libs that should not be used to build this module Exclude_static_libs []string } func NewBaseLinker(sanitize *sanitize) *baseLinker { Loading Loading @@ -209,6 +212,8 @@ func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps { deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, linker.Properties.Export_shared_lib_headers...) deps.ReexportGeneratedHeaders = append(deps.ReexportGeneratedHeaders, linker.Properties.Export_generated_headers...) deps.WholeStaticLibs = removeListFromList(deps.WholeStaticLibs, linker.Properties.Exclude_static_libs) if Bool(linker.Properties.Use_version_lib) { deps.WholeStaticLibs = append(deps.WholeStaticLibs, "libbuildversion") } Loading