| Index: make.py
|
| diff --git a/make.py b/make.py
|
| index fc959a05ced5963461d85d001e4f83bd73588787..cb6c2a47faf4982dc763ff27504c1ab83b8f87e0 100644
|
| --- a/make.py
|
| +++ b/make.py
|
| @@ -92,8 +92,9 @@ def MakeWindows(targets):
|
| parameters:
|
| targets: build targets as a list of strings
|
| """
|
| - # TODO(epoger): I'm not sure if this is needed for ninja builds.
|
| - CheckWindowsEnvironment()
|
| + if os.environ.get('CHROME_HEADLESS', '0') != '1':
|
| + # TODO(epoger): I'm not sure if this is needed for ninja builds.
|
| + CheckWindowsEnvironment()
|
|
|
| # Run gyp_skia to prepare Visual Studio projects.
|
| cd(SCRIPT_DIR)
|
|
|