This commit is contained in:
Hannes Verschore 2014-02-21 08:49:35 -08:00
Родитель de3298fe8e
Коммит 2027308e09
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -93,7 +93,14 @@ class Nitro(Engine):
return env
def build(self):
# Hack 1: Remove reporting errors for warnings that currently are present.
Run(["sed","-i.bac","s/-Wimplicit-fallthrough//","Source/JavaScriptCore/Configurations/Base.xcconfig"])
Run(["sed","-i.bac","s/-Wglobal-constructors//","Source/JavaScriptCore/Configurations/Base.xcconfig"])
with utils.FolderChanger(os.path.join('Tools', 'Scripts')):
# Hack 2: This check fails currently. Disable checking to still have a build.
os.rename("check-for-weak-vtables-and-externals", "check-for-weak-vtables-and-externals2");
if self.cpu == 'x86':
args = ['/usr/bin/perl', 'build-jsc', '--32-bit']
else:
@ -101,6 +108,10 @@ class Nitro(Engine):
args.extend(self.extra)
Run(args)
os.rename("check-for-weak-vtables-and-externals2", "check-for-weak-vtables-and-externals");
Run(["svn","revert","Source/JavaScriptCore/Configurations/Base.xcconfig"])
def shell(self):
return os.path.join('WebKitBuild', 'Release', 'jsc')