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

Unified Diff: scripts/slave/recipes/boringssl.py

Issue 1932803002: Add a BoringSSL builder for OPENSSL_NO_THREADS. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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
Index: scripts/slave/recipes/boringssl.py
diff --git a/scripts/slave/recipes/boringssl.py b/scripts/slave/recipes/boringssl.py
index 6fd8913ecdd5798571e89c733c43d3bbc02bf2cf..0b155bf56c261413c17eb1c77eb79ac83d282b2a 100644
--- a/scripts/slave/recipes/boringssl.py
+++ b/scripts/slave/recipes/boringssl.py
@@ -82,6 +82,9 @@ def _GetTargetCMakeArgs(buildername, bot_utils):
if _HasToken(buildername, 'small'):
_AppendFlags(args, 'CMAKE_CXX_FLAGS', '-DOPENSSL_SMALL=1')
_AppendFlags(args, 'CMAKE_C_FLAGS', '-DOPENSSL_SMALL=1')
+ if _HasToken(buildername, "nothreads"):
+ _AppendFlags(args, 'CMAKE_CXX_FLAGS', '-DOPENSSL_NO_THREADS=1')
+ _AppendFlags(args, 'CMAKE_C_FLAGS', '-DOPENSSL_NO_THREADS=1')
return args
@@ -180,6 +183,7 @@ def GenTests(api):
('linux_noasm_asan', api.platform('linux', 64)),
('linux32_noasm_asan', api.platform('linux', 64)),
('linux_small', api.platform('linux', 64)),
+ ('linux_nothreads', api.platform('linux', 64)),
('mac', api.platform('mac', 64)),
('mac_small', api.platform('mac', 64)),
('win32', api.platform('win', 64)),

Powered by Google App Engine
This is Rietveld 408576698