Returns flags that need to be passed to the static linker. Args: configname: The name of the configuration to get ld flags for.
(self, configname)
| 998 | return ldflags |
| 999 | |
| 1000 | def GetLibtoolflags(self, configname): |
| 1001 | """Returns flags that need to be passed to the static linker. |
| 1002 | |
| 1003 | Args: |
| 1004 | configname: The name of the configuration to get ld flags for. |
| 1005 | """ |
| 1006 | self.configname = configname |
| 1007 | libtoolflags = [] |
| 1008 | |
| 1009 | for libtoolflag in self._Settings().get("OTHER_LDFLAGS", []): |
| 1010 | libtoolflags.append(libtoolflag) |
| 1011 | # TODO(thakis): ARCHS? |
| 1012 | |
| 1013 | self.configname = None |
| 1014 | return libtoolflags |
| 1015 | |
| 1016 | def GetPerTargetSettings(self): |
| 1017 | """Gets a list of all the per-target settings. This will only fetch keys |
no test coverage detected