Returns flags that need to be added to .mm compilations.
(self, configname)
| 775 | return cflags_objc |
| 776 | |
| 777 | def GetCflagsObjCC(self, configname): |
| 778 | """Returns flags that need to be added to .mm compilations.""" |
| 779 | self.configname = configname |
| 780 | cflags_objcc = [] |
| 781 | self._AddObjectiveCGarbageCollectionFlags(cflags_objcc) |
| 782 | self._AddObjectiveCARCFlags(cflags_objcc) |
| 783 | self._AddObjectiveCMissingPropertySynthesisFlags(cflags_objcc) |
| 784 | if self._Test("GCC_OBJC_CALL_CXX_CDTORS", "YES", default="NO"): |
| 785 | cflags_objcc.append("-fobjc-call-cxx-cdtors") |
| 786 | self.configname = None |
| 787 | return cflags_objcc |
| 788 | |
| 789 | def GetInstallNameBase(self): |
| 790 | """Return DYLIB_INSTALL_NAME_BASE for this target.""" |
no test coverage detected