summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_angle_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_angle_BUILD.gn')
-rw-r--r--www/chromium/files/patch-third__party_angle_BUILD.gn15
1 files changed, 12 insertions, 3 deletions
diff --git a/www/chromium/files/patch-third__party_angle_BUILD.gn b/www/chromium/files/patch-third__party_angle_BUILD.gn
index 6939f4bbfb6c..a7f1e053523b 100644
--- a/www/chromium/files/patch-third__party_angle_BUILD.gn
+++ b/www/chromium/files/patch-third__party_angle_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/angle/BUILD.gn.orig 2017-01-26 00:50:09 UTC
+--- third_party/angle/BUILD.gn.orig 2017-03-09 20:05:21 UTC
+++ third_party/angle/BUILD.gn
@@ -16,6 +16,12 @@ if (ozone_platform_gbm) {
}
@@ -13,7 +13,7 @@
angle_git_is_present = exec_script("src/commit_id.py",
[
"check",
-@@ -340,11 +346,7 @@ static_library("libANGLE") {
+@@ -343,11 +349,7 @@ static_library("libANGLE") {
if (use_x11) {
sources += rebase_path(gles_gypi.libangle_gl_glx_sources, ".", "src")
deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
@@ -26,7 +26,7 @@
}
if (is_mac) {
sources += rebase_path(gles_gypi.libangle_gl_cgl_sources, ".", "src")
-@@ -486,7 +488,7 @@ util_gypi = exec_script("//build/gypi_to
+@@ -545,7 +547,7 @@ util_gypi = exec_script("//build/gypi_to
config("angle_util_config") {
include_dirs = [ "util" ]
@@ -35,3 +35,12 @@
libs = [ "X11" ]
}
}
+@@ -572,7 +574,7 @@ foreach(is_shared_library,
+ sources += rebase_path(util_gypi.util_win32_sources, ".", "util")
+ }
+
+- if (is_linux) {
++ if (is_linux && !is_bsd) {
+ sources += rebase_path(util_gypi.util_linux_sources, ".", "util")
+ libs = [
+ "rt",