summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_test_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_test_BUILD.gn')
-rw-r--r--www/chromium/files/patch-content_test_BUILD.gn49
1 files changed, 49 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_test_BUILD.gn b/www/chromium/files/patch-content_test_BUILD.gn
new file mode 100644
index 000000000000..6b9b941e091d
--- /dev/null
+++ b/www/chromium/files/patch-content_test_BUILD.gn
@@ -0,0 +1,49 @@
+--- content/test/BUILD.gn.orig 2016-10-06 04:02:19.000000000 +0300
++++ content/test/BUILD.gn 2016-10-27 21:01:00.854720000 +0300
+@@ -377,7 +377,7 @@
+ ".",
+ "//content")
+
+- if (is_android || is_linux || is_mac || is_win) {
++ if (is_android || is_linux || is_bsd || is_mac || is_win) {
+ data = [
+ "$root_out_dir/content_shell.pak",
+ "data/",
+@@ -615,7 +615,7 @@
+ ".",
+ "//content")
+
+- if (is_android || is_linux || is_mac || is_win) {
++ if (is_android || is_linux || is_bsd || is_mac || is_win) {
+ data = [
+ "$root_out_dir/content_shell.pak",
+ "data/",
+@@ -738,7 +738,7 @@
+ "//ui/shell_dialogs:shell_dialogs",
+ ]
+
+- if (is_linux || is_mac || is_win) {
++ if (is_linux || is_bsd || is_mac || is_win) {
+ sources +=
+ [ "../browser/media/capture/desktop_capture_device_unittest.cc" ]
+ deps += [ "//third_party/webrtc/modules/desktop_capture" ]
+@@ -772,7 +772,7 @@
+ "//content")
+ }
+
+- if (is_linux) {
++ if (is_linux || is_bsd) {
+ if (use_dbus) {
+ deps += [ "//dbus:test_support" ]
+ }
+@@ -855,6 +855,10 @@
+ sources -= [ "../common/plugin_list_unittest.cc" ]
+ }
+
++ if (is_bsd) {
++ sources -= [ "../browser/download/file_metadata_unittest_linux.cc"]
++ }
++
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ } else {