diff --git a/gfx/layers/d3d11/genshaders.py b/gfx/layers/d3d11/genshaders.py old mode 100755 new mode 100644 index e1101d3fed8a..95b58a3667fb --- a/gfx/layers/d3d11/genshaders.py +++ b/gfx/layers/d3d11/genshaders.py @@ -10,7 +10,6 @@ import subprocess import sys import tempfile import yaml -import buildconfig def shell_main(): parser = argparse.ArgumentParser() @@ -71,10 +70,8 @@ def run_fxc(shader_model, shader_file, shader_name, output_fp): - fxc_location = buildconfig.substs['FXC'] - argv = [ - fxc_location, + 'fxc', '-nologo', '-T{0}'.format(shader_model), shader_file, @@ -82,8 +79,6 @@ def run_fxc(shader_model, '-Vn{0}'.format(shader_name), '-Vi', ] - if 'Linux' in buildconfig.substs['HOST_OS_ARCH']: - argv.insert(0, buildconfig.substs['WINE']) if shader_model.startswith('vs_'): argv += ['-DVERTEX_SHADER'] elif shader_model.startswith('ps_'): @@ -97,7 +92,7 @@ def run_fxc(shader_model, proc_stdout = subprocess.check_output(argv) proc_stdout = decode_console_text(sys.stdout, proc_stdout) deps = find_dependencies(proc_stdout) - assert 'fxc2' in fxc_location or len(deps) > 0 + assert len(deps) > 0 with open(temp_filename, 'r') as temp_fp: output_fp.write(temp_fp.read()) diff --git a/gfx/layers/moz.build b/gfx/layers/moz.build old mode 100755 new mode 100644 diff --git a/moz.configure b/moz.configure index 2c498e64671b..e2639a02fd71 100755 --- a/moz.configure +++ b/moz.configure @@ -470,9 +470,6 @@ def nsis_flags(host): set_config('MAKENSISU_FLAGS', nsis_flags) -fxc = check_prog('FXC', ('fxc.exe', 'fxc2.exe'), when=depends(target)(lambda t: t.kernel == 'WINNT')) -wine = check_prog('WINE', ['wine'], when=depends(target, host)(lambda t, h: t.kernel == 'WINNT' and h.kernel == 'Linux')) - # Fallthrough to autoconf-based configure include('build/moz.configure/old.configure')