1- --- a/third_party/iccjpeg/BUILD.gn 2017-11-25 15:29:43.897890000 +0400
2- +++ b/third_party/iccjpeg/BUILD.gn 2017-11-25 15:30:07.905164000 +0400
3- @@ -3,7 +3,7 @@
4- # found in the LICENSE file.
1+ --- a/third_party/ffmpeg/ffmpeg_generated.gni 2017-11-25 17:52:29.528877000 +0400
2+ +++ b/third_party/ffmpeg/ffmpeg_generated.gni 2017-11-25 10:19:04.663888000 +0400
3+ @@ -176,7 +176,7 @@
4+ ]
5+ }
56
6- config("iccjpeg_config") {
7- - include_dirs = [ "." ]
8- + include_dirs = [ ".", "/usr/local/include", ]
7+ -if ((current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "arm" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || ((is_linux | is_bsd) && current_cpu == "x86" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_win && ffmpeg_branding == "Chrome")) {
8+ +if ((current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "arm" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || ((is_linux || is_bsd) && current_cpu == "x86" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_win && ffmpeg_branding == "Chrome")) {
9+ ffmpeg_c_sources += [
10+ "libavcodec/aac_ac3_parser.c",
11+ "libavcodec/aac_parser.c",
12+ --- a/third_party/angle/src/third_party/libXNVCtrl/BUILD.gn 2017-11-25 15:19:45.500682000 +0400
13+ +++ b/third_party/angle/src/third_party/libXNVCtrl/BUILD.gn 2017-11-25 15:20:25.698303000 +0400
14+ @@ -11,6 +11,7 @@
15+ cflags = [
16+ "-Wno-incompatible-pointer-types-discards-qualifiers",
17+ ]
18+ + include_dirs = [ "/usr/local/include", ]
919 }
1020
11- static_library("iccjpeg ") {
21+ source_set("libXNVCtrl ") {
1222--- a/base/BUILD.gn 2017-11-25 15:33:28.844747000 +0400
1323+++ b/base/BUILD.gn 2017-11-25 16:01:49.441283000 +0400
1424@@ -1507,7 +1507,8 @@
2131 }
2232
2333 defines += [ "USE_SYMBOLIZE" ]
34+ --- a/third_party/iccjpeg/BUILD.gn 2017-11-25 15:29:43.897890000 +0400
35+ +++ b/third_party/iccjpeg/BUILD.gn 2017-11-25 15:30:07.905164000 +0400
36+ @@ -3,7 +3,7 @@
37+ # found in the LICENSE file.
38+
39+ config("iccjpeg_config") {
40+ - include_dirs = [ "." ]
41+ + include_dirs = [ ".", "/usr/local/include", ]
42+ }
43+
44+ static_library("iccjpeg") {
2445--- a/net/BUILD.gn 2017-11-25 17:30:07.837877000 +0400
2546+++ b/net/BUILD.gn 2017-11-25 17:18:02.786524000 +0400
2647@@ -53,7 +53,7 @@
2748 "DLOPEN_KERBEROS",
2849 "NET_IMPLEMENTATION",
2950 ]
3051-
31- + include_dirs = [ "../third_party/icu/source/common", "../third_party/icu/source/i18n", ]
52+ + include_dirs = [ "../third_party/icu/source/common", "../third_party/icu/source/i18n", "../third_party/protobuf/src", ]
3253 if (use_kerberos) {
3354 defines += [ "USE_KERBEROS" ]
3455 if (is_android) {
@@ -53,3 +74,44 @@ diff -ru a/ui/base/BUILD.gn b/ui/base/BUILD.gn
5374 sources = [
5475 "android/gfx_jni_registrar.cc",
5576 "android/gfx_jni_registrar.h",
77+ --- a/third_party/angle/BUILD.gn 2017-11-25 15:25:36.291113000 +0400
78+ +++ b/third_party/angle/BUILD.gn 2017-11-25 16:08:18.478818000 +0400
79+ @@ -421,11 +421,7 @@
80+ if (is_win) {
81+ sources += rebase_path(gles_gypi.libangle_gl_wgl_sources, ".", "src")
82+ }
83+ - if (use_x11) {
84+ - sources += rebase_path(gles_gypi.libangle_gl_glx_sources, ".", "src")
85+ - deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
86+ - configs += [ ":x11" ]
87+ - }
88+ +
89+ if (is_mac) {
90+ sources += rebase_path(gles_gypi.libangle_gl_cgl_sources, ".", "src")
91+ libs += [
92+ @@ -478,7 +474,13 @@
93+ ]
94+
95+ public_configs = [ ":libANGLE_config" ]
96+ -
97+ +
98+ + if (use_x11) {
99+ + sources += rebase_path(gles_gypi.libangle_gl_glx_sources, ".", "src")
100+ + deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
101+ + configs += [ ":x11" ]
102+ + }
103+ +
104+ if (is_win) {
105+ data_deps = [
106+ ":copy_compiler_dll"
107+ --- a/content/browser/BUILD.gn 2018-03-04 11:24:27.565814000 +0400
108+ +++ b/content/browser/BUILD.gn 2018-03-04 11:19:56.545315000 +0400
109+ @@ -28,7 +28,7 @@
110+ defines = []
111+ libs = []
112+ ldflags = []
113+ -
114+ + include_dirs = [ "../../third_party/protobuf/src", ]
115+ deps = [
116+ "//base",
117+ "//base:base_static",
0 commit comments