File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,6 @@ Make sure all of the following are in the `PATH`:
67
67
* gperf as ` gperf `
68
68
* bison as ` bison `
69
69
70
- Also, ensure that ` TEMP ` and ` TMP ` environment variables point to existing directories.
71
-
72
70
See ` build.py ` for more on customizing the build environment or process.
73
71
74
72
### Build
Original file line number Diff line number Diff line change @@ -702,6 +702,7 @@ class WindowsBuilder(Builder):
702
702
703
703
syzygy_archive = None
704
704
patch_command = ["patch" , "-p1" ]
705
+ python2_command = "python"
705
706
use_depot_tools_toolchain = False
706
707
707
708
@staticmethod
@@ -769,6 +770,13 @@ def generate_build_configuration(self):
769
770
append_environ = {"DEPOT_TOOLS_WIN_TOOLCHAIN" : "0" }
770
771
self ._gyp_generate_ninja (self ._get_gyp_flags (), append_environ )
771
772
773
+ def build (self ):
774
+ # Try to make temporary directories so ninja won't fail
775
+ os .makedirs (os .environ ["TEMP" ], exist_ok = True )
776
+ os .makedirs (os .environ ["TMP" ], exist_ok = True )
777
+
778
+ super (WindowsBuilder , self ).build ()
779
+
772
780
def generate_package (self ):
773
781
# Derived from chrome/tools/build/make_zip.py
774
782
# Hardcoded to only include files with buildtype "dev" and "official", and files for 32bit
You can’t perform that action at this time.
0 commit comments