1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
--- build/common.gypi.orig 2014-10-02 17:39:45 UTC
+++ build/common.gypi
@@ -91,7 +91,7 @@
'conditions': [
# ChromeOS and Windows use Aura and Ash.
- ['chromeos==1 or OS=="win" or OS=="linux"', {
+ ['chromeos==1 or OS=="win" or OS=="linux" or OS=="freebsd"', {
'use_ash%': 1,
'use_aura%': 1,
}],
@@ -676,7 +676,7 @@
}],
# DBus usage.
- ['OS=="linux" and embedded==0', {
+ ['(OS=="linux" or OS=="freebsd") and embedded==0', {
'use_dbus%': 1,
}, {
'use_dbus%': 0,
@@ -931,7 +931,7 @@
}, {
'use_openmax_dl_fft%': 0,
}],
- ['OS=="win" or OS=="linux"', {
+ ['OS=="win" or OS=="linux" or OS=="freebsd"', {
'enable_mdns%' : 1,
}],
@@ -954,7 +954,7 @@
# except when building Android WebView or Chromecast.
# TODO(jshin): Handle 'use_system_icu' on Linux (Chromium).
# Set the data reduction proxy origin for Android Webview.
- ['android_webview_build==0 and android_webview_telemetry_build==0 and chromecast==0', {
+ ['android_webview_build==0 and OS!="freebsd" and OS!="openbsd" and android_webview_telemetry_build==0 and chromecast==0', {
'icu_use_data_file_flag%' : 1,
'spdy_proxy_auth_origin%': '',
'data_reduction_proxy_probe_url%': '',
@@ -1193,6 +1193,10 @@
# able to turn it off for various reasons.
'linux_disable_pie%': 0,
+ # XXX(rene) More options, keep them?
+ 'os_ver%': 0,
+ 'use_system_libjpeg%': 0,
+
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
# The default is 'all', which does no channel-specific filtering.
@@ -4280,6 +4284,13 @@
'ldflags': [
'-Wl,--no-keep-memory',
],
+ 'ldflags!': [
+ '-ldl',
+ '-pie',
+ ],
+ 'libraries!': [
+ '-ldl',
+ ],
},
}],
# Android-specific options; note that most are set above with Linux.
|