Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: tools/build.py

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/boringssl/boringssl_dart.gyp ('k') | tools/gyp/all.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/build.py
diff --git a/tools/build.py b/tools/build.py
index 0c5e235c16d4b80dada3bf751bb303ae4fb2904c..6472e11934c558919a82f1a9bad21692444d4a81 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -108,7 +108,8 @@ def ProcessOptions(options, args):
return False
options.os = [ProcessOsOption(os_name) for os_name in options.os]
for os_name in options.os:
- if not os_name in ['android', 'freebsd', 'linux', 'macos', 'win32']:
+ if not os_name in ['android', 'freebsd', 'linux', 'macos', 'openbsd',
+ 'win32']:
print "Unknown os %s" % os_name
return False
if os_name != HOST_OS:
@@ -430,7 +431,7 @@ def BuildOneConfig(options, target, target_os, mode, arch, override_tools):
]
else:
make = 'make'
- if HOST_OS == 'freebsd':
+ if HOST_OS in ('freebsd', 'openbsd'):
make = 'gmake'
# work around lack of flock
os.environ['LINK'] = '$(CXX)'
« no previous file with comments | « third_party/boringssl/boringssl_dart.gyp ('k') | tools/gyp/all.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698