Use == instead of is operator for checking string equality in AMBuild scripts (bug 6043, r=dvander).

This commit is contained in:
Scott Ehlert
2014-02-09 22:50:20 -06:00
parent 8476832dc2
commit e00e879af5
16 changed files with 47 additions and 49 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ for sdk_name in SM.sdks:
if sdk.name != 'ep1':
binary.compiler.defines += ['HOOKING_ENABLED']
if binary.compiler.cxx.behavior is 'gcc':
if binary.compiler.cxx.behavior == 'gcc':
binary.compiler.cxxflags += ['-Wno-invalid-offsetof']
binary.sources += [