parameters: (self, configname)
docstring: Converts or warns on conditional keys.  Xcode supports conditional keys,
      such as CODE_SIGN_IDENTITY[sdk=iphoneos*].  This is a partial implementation
      with some keys converted while the rest force a warning.
docstring_summary: Converts or warns on conditional keys.  Xcode supports conditional keys,
      such as CODE_SIGN_IDENTITY[sdk=iphoneos*].  This is a partial implementation
      with some keys converted while the rest force a warning.
docstring_tokens: Converts or warns on conditional keys . Xcode supports conditional keys such as CODE_SIGN_IDENTITY [ sdk = iphoneos * ] . This is a partial implementation with some keys converted while the rest force a warning .
function: def _ConvertConditionalKeys(self, configname):
          """Converts or warns on conditional keys.  Xcode supports conditional keys,
      such as CODE_SIGN_IDENTITY[sdk=iphoneos*].  This is a partial implementation
      with some keys converted while the rest force a warning."""
          settings = self.xcode_settings[configname]
          conditional_keys = [key for key in settings if key.endswith("]")]
          for key in conditional_keys:
              # If you need more, speak up at http://crbug.com/122592
              if key.endswith("[sdk=iphoneos*]"):
                  if configname.endswith("iphoneos"):
                      new_key = key.split("[")[0]
                      settings[new_key] = settings[key]
              else:
                  print(
                      "Warning: Conditional keys not implemented, ignoring:",
                      " ".join(conditional_keys),
                  )
              del settings[key]
function_tokens: def _ConvertConditionalKeys ( self , configname ) : settings = self . xcode_settings [ configname ] conditional_keys = [ key for key in settings if key . endswith ( "]" ) ] for key in conditional_keys : # If you need more, speak up at http://crbug.com/122592 if key . endswith ( "[sdk=iphoneos*]" ) : if configname . endswith ( "iphoneos" ) : new_key = key . split ( "[" ) [ 0 ] settings [ new_key ] = settings [ key ] else : print ( "Warning: Conditional keys not implemented, ignoring:" , " " . join ( conditional_keys ) , ) del settings [ key ]