forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deno_third_party as git submodule.
- Loading branch information
Showing
8 changed files
with
85 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
# build | ||
/out/ | ||
*.pyc | ||
|
||
gclient_config.py_entries | ||
# npm deps | ||
node_modules | ||
|
||
# third party deps | ||
/third_party/ | ||
|
||
# RLS generated files | ||
/target/ | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "third_party"] | ||
path = third_party | ||
url = https://github.com/ry/deno_third_party.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule third_party
added at
2dde84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import sys | ||
from util import run | ||
|
||
root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) | ||
third_party_path = os.path.join(root_path, "third_party") | ||
depot_tools_path = os.path.join(third_party_path, "depot_tools") | ||
os.chdir(root_path) | ||
|
||
|
||
def download(fn): | ||
run([ | ||
os.path.join(depot_tools_path + '/download_from_google_storage.py'), | ||
'--no_resume', '--platform=' + sys.platform, '--no_auth', '--bucket', | ||
'chromium-gn', '-s', | ||
os.path.join(root_path, fn) | ||
], | ||
quiet=True) | ||
|
||
|
||
if sys.platform == 'win32': | ||
download("third_party/v8/buildtools/win/gn.exe.sha1") | ||
elif sys.platform == 'darwin': | ||
download("third_party/v8/buildtools/mac/gn.sha1") | ||
elif sys.platform.startswith('linux'): | ||
download("third_party/v8/buildtools/linux64/gn.sha1") | ||
run(['python', 'third_party/v8/tools/clang/scripts/update.py', '--if-needed'], | ||
quiet=True) |