From 4934263a777975f9b9f0ed7ffadb53cc425cd856 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Tue, 7 Jan 2014 09:09:24 +0000 Subject: [PATCH] Remove generated makefiles on linux when running gyp_v8 BUG=331475 R=machenbach@chromium.org LOG=n Review URL: https://codereview.chromium.org/108293006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18460 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- build/gyp_v8 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/gyp_v8 b/build/gyp_v8 index ddf88ce..f2a60d1 100755 --- a/build/gyp_v8 +++ b/build/gyp_v8 @@ -159,6 +159,9 @@ if __name__ == '__main__': # Generate for the architectures supported on the given platform. gyp_args = list(args) if platform.system() == 'Linux': + # Work around for crbug.com/331475. + for f in glob.glob(os.path.join(v8_root, 'out', 'Makefile.*')): + os.unlink(f) # --generator-output defines where the Makefile goes. gyp_args.append('--generator-output=out') # -Goutput_dir defines where the build output goes, relative to the -- 2.7.4