Loading cc/builder.go +0 −9 Original line number Diff line number Diff line Loading @@ -384,9 +384,6 @@ type builderFlags struct { systemIncludeFlags string // True if static libraries should be grouped (using `-Wl,--start-group` and `-Wl,--end-group`). groupStaticLibs bool proto android.ProtoFlags protoC bool // If true, compile protos as `.c` files. Otherwise, output as `.cc`. protoOptionsFile bool // If true, output a proto options file. Loading Loading @@ -752,13 +749,7 @@ func transformObjToDynamicBinary(ctx android.ModuleContext, } } if flags.groupStaticLibs && !ctx.Darwin() && len(staticLibs) > 0 { libFlagsList = append(libFlagsList, "-Wl,--start-group") } libFlagsList = append(libFlagsList, staticLibs.Strings()...) if flags.groupStaticLibs && !ctx.Darwin() && len(staticLibs) > 0 { libFlagsList = append(libFlagsList, "-Wl,--end-group") } if groupLate && !ctx.Darwin() && len(lateStaticLibs) > 0 { libFlagsList = append(libFlagsList, "-Wl,--start-group") Loading cc/cc.go +0 −2 Original line number Diff line number Diff line Loading @@ -217,8 +217,6 @@ type Flags struct { // True if .s files should be processed with the c preprocessor. AssemblerWithCpp bool // True if static libraries should be grouped (using `-Wl,--start-group` and `-Wl,--end-group`). GroupStaticLibs bool proto android.ProtoFlags protoC bool // Whether to use C instead of C++ Loading cc/linker.go +1 −6 Original line number Diff line number Diff line Loading @@ -86,8 +86,7 @@ type BaseLinkerProperties struct { // compiling crt or libc. Nocrt *bool `android:"arch_variant"` // group static libraries. This can resolve missing symbols issues with interdependencies // between static libraries, but it is generally better to order them correctly instead. // deprecated and ignored because lld makes it unnecessary. See b/189475744. Group_static_libs *bool `android:"arch_variant"` // list of modules that should be installed with this module. This is similar to 'required' Loading Loading @@ -543,10 +542,6 @@ func (linker *baseLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags { flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ToolchainLdflags()) if Bool(linker.Properties.Group_static_libs) { flags.GroupStaticLibs = true } // Version_script is not needed when linking stubs lib where the version // script is created from the symbol map file. if !linker.dynamicProperties.BuildStubs { Loading cc/util.go +0 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,6 @@ func flagsToBuilderFlags(in Flags) builderFlags { systemIncludeFlags: strings.Join(in.SystemIncludeFlags, " "), assemblerWithCpp: in.AssemblerWithCpp, groupStaticLibs: in.GroupStaticLibs, proto: in.proto, protoC: in.protoC, Loading Loading
cc/builder.go +0 −9 Original line number Diff line number Diff line Loading @@ -384,9 +384,6 @@ type builderFlags struct { systemIncludeFlags string // True if static libraries should be grouped (using `-Wl,--start-group` and `-Wl,--end-group`). groupStaticLibs bool proto android.ProtoFlags protoC bool // If true, compile protos as `.c` files. Otherwise, output as `.cc`. protoOptionsFile bool // If true, output a proto options file. Loading Loading @@ -752,13 +749,7 @@ func transformObjToDynamicBinary(ctx android.ModuleContext, } } if flags.groupStaticLibs && !ctx.Darwin() && len(staticLibs) > 0 { libFlagsList = append(libFlagsList, "-Wl,--start-group") } libFlagsList = append(libFlagsList, staticLibs.Strings()...) if flags.groupStaticLibs && !ctx.Darwin() && len(staticLibs) > 0 { libFlagsList = append(libFlagsList, "-Wl,--end-group") } if groupLate && !ctx.Darwin() && len(lateStaticLibs) > 0 { libFlagsList = append(libFlagsList, "-Wl,--start-group") Loading
cc/cc.go +0 −2 Original line number Diff line number Diff line Loading @@ -217,8 +217,6 @@ type Flags struct { // True if .s files should be processed with the c preprocessor. AssemblerWithCpp bool // True if static libraries should be grouped (using `-Wl,--start-group` and `-Wl,--end-group`). GroupStaticLibs bool proto android.ProtoFlags protoC bool // Whether to use C instead of C++ Loading
cc/linker.go +1 −6 Original line number Diff line number Diff line Loading @@ -86,8 +86,7 @@ type BaseLinkerProperties struct { // compiling crt or libc. Nocrt *bool `android:"arch_variant"` // group static libraries. This can resolve missing symbols issues with interdependencies // between static libraries, but it is generally better to order them correctly instead. // deprecated and ignored because lld makes it unnecessary. See b/189475744. Group_static_libs *bool `android:"arch_variant"` // list of modules that should be installed with this module. This is similar to 'required' Loading Loading @@ -543,10 +542,6 @@ func (linker *baseLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags { flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ToolchainLdflags()) if Bool(linker.Properties.Group_static_libs) { flags.GroupStaticLibs = true } // Version_script is not needed when linking stubs lib where the version // script is created from the symbol map file. if !linker.dynamicProperties.BuildStubs { Loading
cc/util.go +0 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,6 @@ func flagsToBuilderFlags(in Flags) builderFlags { systemIncludeFlags: strings.Join(in.SystemIncludeFlags, " "), assemblerWithCpp: in.AssemblerWithCpp, groupStaticLibs: in.GroupStaticLibs, proto: in.proto, protoC: in.protoC, Loading