Skip to content

Commit 5da33db

Browse files
committed
make sure the build creates the output dir if it does not exist
1 parent 28224de commit 5da33db

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
build
55
.cipd
66
.gclient_entries
7+
8+
# ignore libs for now
9+
*.a

.gitmodules

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[submodule "deps/v8"]
22
path = deps/v8
33
url = https://chromium.googlesource.com/v8/v8.git
4-
branch = 7.6.303
54
[submodule "deps/depot_tools"]
65
path = deps/depot_tools
76
url = https://chromium.googlesource.com/chromium/tools/depot_tools.git

deps/build.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ def main():
8888
env=env)
8989

9090
lib_fn = os.path.join(build_path, "obj/libv8_monolith.a")
91-
dest_fn = os.path.join(deps_path, os_arch(), 'libv8.a')
91+
dest_path = os.path.join(deps_path, os_arch())
92+
if not os.path.exists(dest_path):
93+
os.makedirs(dest_path)
94+
dest_fn = os.path.join(dest_path, 'libv8.a')
9295
shutil.copy(lib_fn, dest_fn)
9396

9497

deps/v8

Submodule v8 updated from 2cb2573 to 27646c1

0 commit comments

Comments
 (0)