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

Unified Diff: build/common.gypi

Issue 1919283007: Match the linux build configuration on openbsd and freebsd. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 3ca0957941fb1ce7db7ae24d2aa79e1d6a16b8c9..dcc9ffceb1592f313ae5fa2caf99202d38e86e3f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -107,7 +107,7 @@
'conditions': [
# Windows and Linux use Aura, but not Ash.
- ['OS=="win" or OS=="linux"', {
+ ['OS=="win" or OS=="linux" or OS=="openbsd" or OS=="freebsd"', {
'use_aura%': 1,
}],
@@ -248,13 +248,13 @@
}],
# Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS).
- ['OS=="mac" or OS=="win" or OS=="linux"', {
+ ['OS=="mac" or OS=="win" or OS=="linux" or OS=="openbsd" or OS=="freebsd"', {
'enable_hidpi%': 1,
}],
# Enable Top Chrome Material Design on Chrome OS, Windows, and Linux,
- # and Mac.
- ['chromeos==1 or OS=="win" or OS=="linux" or OS=="mac"', {
+ # Mac, and *BSD.
+ ['chromeos==1 or OS=="win" or OS=="linux" or OS=="mac" or OS=="openbsd" or OS=="freebsd"', {
'enable_topchrome_md%': 1,
}],
@@ -768,7 +768,7 @@
}],
# DBus usage.
- ['OS=="linux" and embedded==0', {
+ ['(OS=="linux" or OS=="openbsd" or OS=="freebsd") and embedded==0', {
'use_dbus%': 1,
}, {
'use_dbus%': 0,
@@ -869,8 +869,8 @@
}],
# Use GPU accelerated cross process image transport by default
- # on linux builds with the Aura window manager
- ['use_aura==1 and OS=="linux"', {
+ # on linux and *BSD builds with the Aura window manager
+ ['use_aura==1 and (OS=="linux" or OS=="openbsd" or OS=="freebsd")', {
'ui_compositor_image_transport%': 1,
}, {
'ui_compositor_image_transport%': 0,
@@ -983,7 +983,7 @@
# --help for more information. Meant to be overriden with GYP_DEFINES.
# TODO(maruel): Remove the conditions as more configurations are
# supported.
- ['OS!="ios" and OS!="android" and chromeos==0', {
+ ['OS!="ios" and OS!="android" and chromeos==0 and OS!="openbsd" and OS!="freebsd"', {
'test_isolation_mode%': 'check',
}, {
'test_isolation_mode%': 'noop',
@@ -999,7 +999,7 @@
}, {
'use_openmax_dl_fft%': 0,
}],
- ['OS=="win" or OS=="linux"', {
+ ['OS=="win" or OS=="linux" or OS=="openbsd" or OS=="freebsd"', {
'enable_mdns%' : 1,
}],
@@ -4701,9 +4701,9 @@
],
},
}],
- # FreeBSD-specific options; note that most FreeBSD options are set above,
+ # *BSD-specific options; note that most *BSD options are set above,
# with Linux.
- ['OS=="freebsd"', {
+ ['OS=="openbsd" or OS=="freebsd"', {
'target_defaults': {
'ldflags': [
'-Wl,--no-keep-memory',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698