Skip to content

Commit

Permalink
make sure the build creates the output dir if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rogchap committed Aug 29, 2019
1 parent 28224de commit 5da33db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
build
.cipd
.gclient_entries

# ignore libs for now
*.a
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[submodule "deps/v8"]
path = deps/v8
url = https://chromium.googlesource.com/v8/v8.git
branch = 7.6.303
[submodule "deps/depot_tools"]
path = deps/depot_tools
url = https://chromium.googlesource.com/chromium/tools/depot_tools.git
5 changes: 4 additions & 1 deletion deps/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ def main():
env=env)

lib_fn = os.path.join(build_path, "obj/libv8_monolith.a")
dest_fn = os.path.join(deps_path, os_arch(), 'libv8.a')
dest_path = os.path.join(deps_path, os_arch())
if not os.path.exists(dest_path):
os.makedirs(dest_path)
dest_fn = os.path.join(dest_path, 'libv8.a')
shutil.copy(lib_fn, dest_fn)


Expand Down
2 changes: 1 addition & 1 deletion deps/v8
Submodule v8 updated from 2cb257 to 27646c

0 comments on commit 5da33db

Please sign in to comment.