Commit 0df964 53.0.2785.92

7 files Authored and Committed by spot 2 years ago
53.0.2785.92

    
1 @@ -3,3 +3,4 @@
2   /policy_templates.zip
3   /chromium-52.0.2743.82-clean.tar.xz
4   /chromium-52.0.2743.116-clean.tar.xz
5 + /chromium-53.0.2785.92-clean.tar.xz
1 @@ -2,6 +2,7 @@
2   Description="Chrome Remote Desktop host daemon"
3   
4   [Service]
5 + Environment=HOME=%h
6   ExecStart=@@CRD_PATH@@/chrome-remote-desktop --start --foreground
7   ExecStop=@@CRD_PATH@@/chrome-remote-desktop --stop
8   ExecReload=@@CRD_PATH@@/chrome-remote-desktop --reload
 1 @@ -0,0 +1,11 @@
 2 + diff -up chromium-53.0.2785.92/third_party/boringssl/src/crypto/x509/by_dir.c.timefix chromium-53.0.2785.92/third_party/boringssl/src/crypto/x509/by_dir.c
 3 + --- chromium-53.0.2785.92/third_party/boringssl/src/crypto/x509/by_dir.c.timefix»       2016-09-06 15:20:06.094396255 -0400
 4 + +++ chromium-53.0.2785.92/third_party/boringssl/src/crypto/x509/by_dir.c»       2016-09-06 15:20:16.893187930 -0400
 5 + @@ -56,6 +56,7 @@
 6 +   * [including the GNU Public Licence.] */
 7 +  
 8 +  #include <string.h>
 9 + +#include <time.h>
10 +  #include <sys/stat.h>
11 +  #include <sys/types.h>
12 +  
  1 @@ -0,0 +1,252 @@
  2 + diff -up chromium-53.0.2785.92/build/linux/unbundle/libjpeg.gn.gnsystem chromium-53.0.2785.92/build/linux/unbundle/libjpeg.gn
  3 + --- chromium-53.0.2785.92/build/linux/unbundle/libjpeg.gn.gnsystem»       2016-09-06 13:27:56.018365168 -0400
  4 + +++ chromium-53.0.2785.92/build/linux/unbundle/libjpeg.gn»       2016-09-06 13:27:56.018365168 -0400
  5 + @@ -0,0 +1,9 @@
  6 + +# Copyright 2016 The Chromium Authors. All rights reserved.
  7 + +# Use of this source code is governed by a BSD-style license that can be
  8 + +# found in the LICENSE file.
  9 + +
 10 + +source_set("libjpeg") {
 11 + +  libs = [
 12 + +    "jpeg",
 13 + +  ]
 14 + +}
 15 + diff -up chromium-53.0.2785.92/build/linux/unbundle/libpng.gn.gnsystem chromium-53.0.2785.92/build/linux/unbundle/libpng.gn
 16 + --- chromium-53.0.2785.92/build/linux/unbundle/libpng.gn.gnsystem»       2016-09-06 13:27:56.018365168 -0400
 17 + +++ chromium-53.0.2785.92/build/linux/unbundle/libpng.gn»       2016-09-06 13:27:56.018365168 -0400
 18 + @@ -0,0 +1,25 @@
 19 + +# Copyright 2016 The Chromium Authors. All rights reserved.
 20 + +# Use of this source code is governed by a BSD-style license that can be
 21 + +# found in the LICENSE file.
 22 + +
 23 + +import("//build/config/linux/pkg_config.gni")
 24 + +import("//build/shim_headers.gni")
 25 + +
 26 + +pkg_config("system_libpng") {
 27 + +  packages = [ "libpng" ]
 28 + +}
 29 + +
 30 + +shim_headers("libpng_shim") {
 31 + +  root_path = "include"
 32 + +  headers = [
 33 + +    "png.h",
 34 + +    "pngconf.h",
 35 + +  ]
 36 + +}
 37 + +
 38 + +source_set("libpng") {
 39 + +  deps = [
 40 + +    ":libpng_shim",
 41 + +  ]
 42 + +  public_configs = [ ":system_libpng" ]
 43 + +}
 44 + diff -up chromium-53.0.2785.92/build/linux/unbundle/libusb.gn.gnsystem chromium-53.0.2785.92/build/linux/unbundle/libusb.gn
 45 + --- chromium-53.0.2785.92/build/linux/unbundle/libusb.gn.gnsystem»       2016-09-06 13:27:56.019365149 -0400
 46 + +++ chromium-53.0.2785.92/build/linux/unbundle/libusb.gn»       2016-09-06 13:27:56.018365168 -0400
 47 + @@ -0,0 +1,24 @@
 48 + +# Copyright 2016 The Chromium Authors. All rights reserved.
 49 + +# Use of this source code is governed by a BSD-style license that can be
 50 + +# found in the LICENSE file.
 51 + +
 52 + +import("//build/config/linux/pkg_config.gni")
 53 + +import("//build/shim_headers.gni")
 54 + +
 55 + +pkg_config("system_libusb") {
 56 + +  packages = [ "libusb-1.0" ]
 57 + +}
 58 + +
 59 + +shim_headers("libusb_shim") {
 60 + +  root_path = "src/libusb"
 61 + +  headers = [
 62 + +    "libusb.h",
 63 + +  ]
 64 + +}
 65 + +
 66 + +source_set("libusb") {
 67 + +  deps = [
 68 + +    ":libusb_shim",
 69 + +  ]
 70 + +  public_configs = [ ":system_libusb" ]
 71 + +}
 72 + diff -up chromium-53.0.2785.92/build/linux/unbundle/opus.gn.gnsystem chromium-53.0.2785.92/build/linux/unbundle/opus.gn
 73 + --- chromium-53.0.2785.92/build/linux/unbundle/opus.gn.gnsystem»       2016-09-06 13:27:56.019365149 -0400
 74 + +++ chromium-53.0.2785.92/build/linux/unbundle/opus.gn»       2016-09-06 13:31:11.546589545 -0400
 75 + @@ -0,0 +1,161 @@
 76 + +# Copyright 2016 The Chromium Authors. All rights reserved.
 77 + +# Use of this source code is governed by a BSD-style license that can be
 78 + +# found in the LICENSE file.
 79 + +
 80 + +import("//build/config/linux/pkg_config.gni")
 81 + +import("//build/shim_headers.gni")
 82 + +import("//testing/test.gni")
 83 + +
 84 + +pkg_config("system_opus") {
 85 + +  packages = [ "opus" ]
 86 + +}
 87 + +
 88 + +shim_headers("opus_shim") {
 89 + +  root_path = "src/include"
 90 + +  headers = [
 91 + +    "opus_custom.h",
 92 + +    "opus_defines.h",
 93 + +    "opus_multistream.h",
 94 + +    "opus_types.h",
 95 + +    "opus.h",
 96 + +  ]
 97 + +}
 98 + +
 99 + +source_set("opus") {
100 + +  deps = [
101 + +    ":opus_shim",
102 + +  ]
103 + +  public_configs = [ ":system_opus" ]
104 + +}
105 + +
106 + +config("opus_test_config") {
107 + +  include_dirs = [
108 + +    "src/celt",
109 + +    "src/silk",
110 + +  ]
111 + +
112 + +  if (is_win) {
113 + +    defines = [ "inline=__inline" ]
114 + +  }
115 + +  if (is_android) {
116 + +    libs = [ "log" ]
117 + +  }
118 + +  if (is_clang) {
119 + +    cflags = [ "-Wno-absolute-value" ]
120 + +  }
121 + +}
122 + +
123 + +executable("opus_compare") {
124 + +  sources = [
125 + +    "src/src/opus_compare.c",
126 + +  ]
127 + +
128 + +  configs -= [ "//build/config/compiler:chromium_code" ]
129 + +  configs += [
130 + +    "//build/config/compiler:no_chromium_code",
131 + +    ":opus_test_config",
132 + +  ]
133 + +
134 + +  deps = [
135 + +    ":opus",
136 + +    "//build/config/sanitizers:deps",
137 + +    "//build/win:default_exe_manifest",
138 + +  ]
139 + +}
140 + +
141 + +executable("opus_demo") {
142 + +  sources = [
143 + +    "src/src/opus_demo.c",
144 + +  ]
145 + +
146 + +  configs -= [ "//build/config/compiler:chromium_code" ]
147 + +  configs += [
148 + +    "//build/config/compiler:no_chromium_code",
149 + +    ":opus_test_config",
150 + +  ]
151 + +
152 + +  deps = [
153 + +    ":opus",
154 + +    "//build/config/sanitizers:deps",
155 + +    "//build/win:default_exe_manifest",
156 + +  ]
157 + +}
158 + +
159 + +test("test_opus_api") {
160 + +  sources = [
161 + +    "src/tests/test_opus_api.c",
162 + +  ]
163 + +
164 + +  configs -= [ "//build/config/compiler:chromium_code" ]
165 + +  configs += [
166 + +    "//build/config/compiler:no_chromium_code",
167 + +    ":opus_test_config",
168 + +  ]
169 + +
170 + +  deps = [
171 + +    ":opus",
172 + +  ]
173 + +}
174 + +
175 + +test("test_opus_encode") {
176 + +  sources = [
177 + +    "src/tests/test_opus_encode.c",
178 + +  ]
179 + +
180 + +  configs -= [ "//build/config/compiler:chromium_code" ]
181 + +  configs += [
182 + +    "//build/config/compiler:no_chromium_code",
183 + +    ":opus_test_config",
184 + +  ]
185 + +
186 + +  deps = [
187 + +    ":opus",
188 + +  ]
189 + +}
190 + +
191 + +# GN orders flags on a target before flags from configs. The default config
192 + +# adds -Wall, and this flag have to be after -Wall -- so they need to
193 + +# come from a config and can't be on the target directly.
194 + +config("test_opus_decode_config") {
195 + +  # test_opus_decode passes a null pointer to opus_decode() for an argument
196 + +  # marked as requiring a non-null value by the nonnull function attribute,
197 + +  # and expects opus_decode() to fail. Disable the -Wnonnull option to avoid
198 + +  # a compilation error if -Werror is specified.
199 + +  if (is_posix) {
200 + +    cflags = [ "-Wno-nonnull" ]
201 + +  }
202 + +}
203 + +
204 + +test("test_opus_decode") {
205 + +  sources = [
206 + +    "src/tests/test_opus_decode.c",
207 + +  ]
208 + +
209 + +  configs -= [ "//build/config/compiler:chromium_code" ]
210 + +  configs += [
211 + +    "//build/config/compiler:no_chromium_code",
212 + +    ":opus_test_config",
213 + +    ":test_opus_decode_config",
214 + +  ]
215 + +
216 + +  deps = [
217 + +    ":opus",
218 + +  ]
219 + +}
220 + +
221 + +test("test_opus_padding") {
222 + +  sources = [
223 + +    "src/tests/test_opus_padding.c",
224 + +  ]
225 + +
226 + +  configs -= [ "//build/config/compiler:chromium_code" ]
227 + +  configs += [
228 + +    "//build/config/compiler:no_chromium_code",
229 + +    ":opus_test_config",
230 + +  ]
231 + +
232 + +  deps = [
233 + +    ":opus",
234 + +  ]
235 + +}
236 + +
237 + diff -up chromium-53.0.2785.92/build/linux/unbundle/replace_gn_files.py.gnsystem chromium-53.0.2785.92/build/linux/unbundle/replace_gn_files.py
238 + --- chromium-53.0.2785.92/build/linux/unbundle/replace_gn_files.py.gnsystem»       2016-09-02 15:02:02.000000000 -0400
239 + +++ chromium-53.0.2785.92/build/linux/unbundle/replace_gn_files.py»       2016-09-06 13:27:56.020365130 -0400
240 + @@ -21,9 +21,13 @@ REPLACEMENTS = {
241 +    'flac': 'third_party/flac/BUILD.gn',
242 +    'harfbuzz-ng': 'third_party/harfbuzz-ng/BUILD.gn',
243 +    'libevent': 'base/third_party/libevent/BUILD.gn',
244 + +  'libjpeg': 'third_party/libjpeg/BUILD.gn',
245 + +  'libpng': 'third_party/libpng/BUILD.gn',
246 + +  'libusb': 'third_party/libusb/BUILD.gn',
247 +    'libwebp': 'third_party/libwebp/BUILD.gn',
248 +    'libxml': 'third_party/libxml/BUILD.gn',
249 +    'libxslt': 'third_party/libxslt/BUILD.gn',
250 + +  'opus': 'third_party/opus/BUILD.gn',
251 +    'snappy': 'third_party/snappy/BUILD.gn',
252 +    'yasm': 'third_party/yasm/yasm_assemble.gni',
253 +    'zlib': 'third_party/zlib/BUILD.gn',
 1 @@ -0,0 +1,28 @@
 2 + diff -up chromium-53.0.2785.92/tools/gn/BUILD.gn.lastcommitfix chromium-53.0.2785.92/tools/gn/BUILD.gn
 3 + --- chromium-53.0.2785.92/tools/gn/BUILD.gn.lastcommitfix»       2016-09-06 13:50:17.540459136 -0400
 4 + +++ chromium-53.0.2785.92/tools/gn/BUILD.gn»       2016-09-06 13:50:27.380269110 -0400
 5 + @@ -259,7 +259,6 @@ executable("gn") {
 6 +  
 7 +    deps = [
 8 +      ":gn_lib",
 9 + -    ":last_commit_position",
10 +      "//base",
11 +      "//build/config/sanitizers:deps",
12 +      "//build/win:default_exe_manifest",
13 + diff -up chromium-53.0.2785.92/tools/gn/gn_main.cc.lastcommitfix chromium-53.0.2785.92/tools/gn/gn_main.cc
14 + --- chromium-53.0.2785.92/tools/gn/gn_main.cc.lastcommitfix»       2016-09-06 13:49:34.620288177 -0400
15 + +++ chromium-53.0.2785.92/tools/gn/gn_main.cc»       2016-09-06 13:49:47.316042652 -0400
16 + @@ -12,13 +12,7 @@
17 +  #include "tools/gn/standard_out.h"
18 +  #include "tools/gn/switches.h"
19 +  
20 + -// Only the GN-generated build makes this header for now.
21 + -// TODO(brettw) consider adding this if we need it in GYP.
22 + -#if defined(GN_BUILD)
23 + -#include "tools/gn/last_commit_position.h"
24 + -#else
25 +  #define LAST_COMMIT_POSITION "UNKNOWN"
26 + -#endif
27 +  
28 +  namespace {
29 +  
  1 @@ -1,6 +1,12 @@
  2   # NEVER EVER EVER turn this on in official builds
  3   %global freeworld 0
  4   
  5 + # gn is the new new new buildtool. *sigh*
  6 + %global use_gn 0
  7 + 
  8 + # Leave this alone, please.
  9 + %global target out/Release
 10 + 
 11   # %%{nil} for Stable; -beta for Beta; -dev for Devel
 12   # dash in -beta and -dev is intentional !
 13   %global chromium_channel %{nil}
 14 @@ -61,7 +67,7 @@
 15   %global bundleicu 1
 16   %endif
 17   
 18 - %global bundlere2 0
 19 + %global bundlere2 1
 20   
 21   # Chromium breaks on wayland, hidpi, and colors with gtk3 enabled.
 22   %global gtk3 0
 23 @@ -86,8 +92,8 @@
 24   %global chromoting_client_id 449907151817-8vnlfih032ni8c4jjps9int9t86k546t.apps.googleusercontent.com 
 25   
 26   Name:»       »       chromium%{chromium_channel}
 27 - Version:»       52.0.2743.116
 28 - Release:»       11%{?dist}
 29 + Version:»       53.0.2785.92
 30 + Release:»       1%{?dist}
 31   Summary:»       A WebKit (Blink) powered web browser
 32   Url:»       »       http://www.chromium.org/Home
 33   License:»       BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
 34 @@ -109,14 +115,10 @@
 35   Patch6:»       »       chromium-47.0.2526.80-pnacl-fgnu-inline-asm.patch
 36   # Ignore broken nacl open fd counter
 37   Patch7:»       »       chromium-47.0.2526.80-nacl-ignore-broken-fd-counter.patch
 38 - # Fixups for gcc6
 39 - Patch8:»       »       chromium-48.0.2564.103-gcc6.patch
 40   # Use libusb_interrupt_event_handler from current libusbx (1.0.21-0.1.git448584a)
 41   Patch9:»       »       chromium-48.0.2564.116-libusb_interrupt_event_handler.patch
 42   # Fix re2 unbundle gyp
 43   Patch10:»       chromium-50.0.2661.94-unbundle-re2-fix.patch
 44 - # Fix PNGImageDecoder code
 45 - Patch11:»       chromium-52.0.2723.2-PNGImageDecoder-fix-cast.patch
 46   # Ignore deprecations in cups 2.2
 47   # https://bugs.chromium.org/p/chromium/issues/detail?id=622493
 48   Patch12:»       chromium-52.0.2743.82-cups22.patch
 49 @@ -133,6 +135,13 @@
 50   # Disable MADV_FREE (if set by glibc)
 51   # https://bugzilla.redhat.com/show_bug.cgi?id=1361157
 52   Patch19:»       chromium-52.0.2743.116-unset-madv_free.patch
 53 + # Use gn system files
 54 + Patch20:»       chromium-53.0.2785.92-gn-system.patch
 55 + # Fix last commit position issue
 56 + # https://groups.google.com/a/chromium.org/forum/#!topic/gn-dev/7nlJv486bD4
 57 + Patch21:»       chromium-53.0.2785.92-last-commit-position.patch
 58 + # Fix issue where timespec is not defined when sys/stat.h is included.
 59 + Patch22:»       chromium-53.0.2785.92-boringssl-time-fix.patch
 60   
 61   ### Chromium Tests Patches ###
 62   Patch100:»       chromium-46.0.2490.86-use_system_opus.patch
 63 @@ -191,7 +200,6 @@
 64   BuildRequires:»       libatomic
 65   BuildRequires:»       libcap-devel
 66   BuildRequires:»       libdrm-devel
 67 - BuildRequires:»       libexif-devel
 68   BuildRequires:»       libgcrypt-devel
 69   BuildRequires:»       libudev-devel
 70   BuildRequires:»       libusb-devel
 71 @@ -238,10 +246,8 @@
 72   BuildRequires:»       elfutils-libelf-devel
 73   BuildRequires:»       flac-devel
 74   BuildRequires:»       hwdata
 75 - BuildRequires:»       jsoncpp-devel
 76   BuildRequires:»       kernel-headers
 77   BuildRequires:»       libevent-devel
 78 - BuildRequires:»       libexif-devel
 79   BuildRequires:»       libffi-devel
 80   %if 0%{?bundleicu}
 81   # If this is true, we're using the bundled icu.
 82 @@ -270,8 +276,6 @@
 83   BuildRequires:»       libxslt-devel
 84   # Same here, it seems.
 85   # BuildRequires:»       libyuv-devel
 86 - BuildRequires:»       minizip-devel
 87 - BuildRequires:»       nspr-devel
 88   %if %{bundleopus}
 89   # Do nothing
 90   %else
 91 @@ -296,7 +300,6 @@
 92   BuildRequires:»       re2-devel >= 20160401
 93   %endif
 94   BuildRequires:»       speech-dispatcher-devel
 95 - BuildRequires:»       speex-devel = 1.2
 96   BuildRequires:»       yasm
 97   BuildRequires:»       pkgconfig(gnome-keyring-1)
 98   # remote desktop needs this
 99 @@ -500,10 +503,8 @@
100   %patch4 -p1 -b .notest
101   %patch6 -p1 -b .gnu-inline
102   %patch7 -p1 -b .ignore-fd-count
103 - # %%patch8 -p1 -b .gcc6
104   %patch9 -p1 -b .modern-libusbx
105   %patch10 -p1 -b .unbundle-fix
106 - %patch11 -p1 -b .fixcast
107   %patch12 -p1 -b .cups22
108   %patch14 -p1 -b .morealiases
109   %patch15 -p1 -b .sandboxpie
110 @@ -511,6 +512,9 @@
111   %patch17 -p1 -b .armfix
112   %patch18 -p1 -b .etc
113   %patch19 -p1 -b .madv_free
114 + %patch20 -p1 -b .gnsystem
115 + %patch21 -p1 -b .lastcommit
116 + %patch22 -p1 -b .timefix
117   
118   ### Chromium Tests Patches ###
119   %patch100 -p1 -b .use_system_opus
120 @@ -613,6 +617,36 @@
121   popd
122   %endif
123   
124 + CHROMIUM_BROWSER_GN_DEFINES=""
125 + %ifarch x86_64
126 + CHROMIUM_BROWSER_GN_DEFINES+=' system_libdir="lib64"'
127 + %endif
128 + CHROMIUM_BROWSER_GN_DEFINES+=' google_api_key="%{api_key}" google_default_client_id="%{default_client_id}" google_default_client_secret="%{default_client_secret}"'
129 + CHROMIUM_BROWSER_GN_DEFINES+=' is_clang=false use_sysroot=false use_gio=true use_pulseaudio=true icu_use_data_file_flag=true'
130 + %if 0%{?nonacl}
131 + CHROMIUM_BROWSER_GN_DEFINES+=' enable_nacl=false'
132 + %endif
133 + %if %{freeworld}
134 + CHROMIUM_BROWSER_GN_DEFINES+=' ffmpeg_branding="ChromeOS" proprietary_codecs=true'
135 + %else
136 + CHROMIUM_BROWSER_GN_DEFINES+=' ffmpeg_branding="Chromium" proprietary_codecs=false'
137 + %endif
138 + %if 0%{?shared}
139 + CHROMIUM_BROWSER_GN_DEFINES+=' is_component_ffmpeg=true is_component_build=true'
140 + %else
141 + CHROMIUM_BROWSER_GN_DEFINES+=' is_component_ffmpeg=false is_component_build=false'
142 + %endif
143 + CHROMIUM_BROWSER_GN_DEFINES+=' remove_webcore_debug_symbols=true enable_hangout_services_extension=true'
144 + CHROMIUM_BROWSER_GN_DEFINES+=' enable_hotwording=false use_aura=true enable_hidpi=true'
145 + CHROMIUM_BROWSER_GN_DEFINES+=' enable_webrtc=true enable_widevine=true'
146 + %if 0%{gtk3}
147 + CHROMIUM_BROWSER_GN_DEFINES+=' use_gtk3=true'
148 + %else
149 + CHROMIUM_BROWSER_GN_DEFINES+=' use_gtk3=false'
150 + %endif
151 + CHROMIUM_BROWSER_GN_DEFINES+=' extra_cflags="-fno-delete-null-pointer-checks" treat_warnings_as_errors=false'
152 + export CHROMIUM_BROWSER_GN_DEFINES
153 + 
154   export CHROMIUM_BROWSER_GYP_DEFINES="\
155   %ifarch x86_64
156   »       -Dtarget_arch=x64 \
157 @@ -661,9 +695,7 @@
158   »       -Duse_system_icu=1 \
159   %endif
160   »       -Dicu_use_data_file_flag=1 \
161 - »       -Duse_system_jsoncpp=1 \
162   »       -Duse_system_libevent=1 \
163 - »       -Duse_system_libexif=1 \
164   »       -Duse_system_libjpeg=1 \
165   »       -Duse_system_libpng=1 \
166   %if %{bundlelibusbx}
167 @@ -673,8 +705,6 @@
168   %endif
169   »       -Duse_system_libxml=1 \
170   »       -Duse_system_libxslt=1 \
171 - »       -Duse_system_minizip=1 \
172 - »       -Duse_system_nspr=1 \
173   %if %{bundleopus}
174   »       -Duse_system_opus=0 \
175   %else
176 @@ -685,7 +715,6 @@
177   %else
178   »       -Duse_system_re2=1 \
179   %endif
180 - »       -Duse_system_speex=1 \
181   »       -Duse_system_libsrtp=0 \
182   »       -Duse_system_xdg_utils=1 \
183   »       -Duse_system_yasm=1 \
184 @@ -797,11 +826,13 @@
185   »       'chrome/third_party/mozilla_security_manager' \
186   »       'courgette/third_party' \
187   »       'native_client/src/third_party/dlmalloc' \
188 + »       'native_client/src/third_party/valgrind' \
189   »       'net/third_party/mozilla_security_manager' \
190   »       'net/third_party/nss' \
191   »       'third_party/WebKit' \
192   »       'third_party/analytics' \
193   »       'third_party/angle' \
194 + »       'third_party/angle/src/common/third_party/numerics' \
195   »       'third_party/angle/src/third_party/compiler' \
196   »       'third_party/angle/src/third_party/libXNVCtrl' \
197   »       'third_party/angle/src/third_party/murmurhash' \
198 @@ -814,6 +845,7 @@
199   »       'third_party/catapult/tracing/third_party/d3' \
200   »       'third_party/catapult/tracing/third_party/gl-matrix' \
201   »       'third_party/catapult/tracing/third_party/jszip' \
202 + »       'third_party/catapult/tracing/third_party/mannwhitneyu' \
203   »       'third_party/catapult/third_party/py_vulcanize' \
204   »       'third_party/catapult/third_party/py_vulcanize/third_party/rcssmin' \
205   »       'third_party/catapult/third_party/py_vulcanize/third_party/rjsmin' \
206 @@ -894,6 +926,41 @@
207   # Fix hardcoded path in remoting code
208   sed -i 's|/opt/google/chrome-remote-desktop|%{crd_path}|g' remoting/host/setup/daemon_controller_delegate_linux.cc
209   
210 + export PATH=$PATH:%{_builddir}/depot_tools
211 + 
212 + %if %{use_gn}
213 + build/linux/unbundle/replace_gn_files.py --system-libraries \
214 + »       flac \
215 + %if 0%{?bundleharfbuzz}
216 + %else
217 + »       harfbuzz-ng \
218 + %endif
219 + %if 0%{?bundleicu}
220 + %else
221 + »       icu \
222 + %endif
223 + »       libevent \
224 + »       libjpeg \
225 + »       libpng \
226 + %if %{bundlelibusbx}
227 + %else
228 + »       libusb \
229 + %endif
230 + »       libxml \
231 + »       libxslt \
232 + %if %{bundleopus}
233 + %else
234 + »       opus \
235 + %endif
236 + %if 0%{?bundlere2}
237 + %else
238 + »       re2 \
239 + %endif
240 + »       yasm
241 + 
242 + tools/gn/bootstrap/bootstrap.py -v --gn-gen-args "$CHROMIUM_BROWSER_GN_DEFINES"
243 + %{target}/gn gen --args="$CHROMIUM_BROWSER_GN_DEFINES" %{target}
244 + %else
245   # Update gyp files according to our configuration
246   # If you will change something in the configuration please update it
247   # for build/gyp_chromium as well (and vice versa).
248 @@ -905,6 +972,7 @@
249   »       -Drelease_extra_cflags="-O1 -fno-inline-functions -fno-inline" \
250   %endif
251   »       $CHROMIUM_BROWSER_GYP_DEFINES
252 + %endif
253   
254   %if %{bundlelibusbx}
255   # no hackity hack hack
256 @@ -1605,6 +1673,11 @@
257   %{chromium_path}/chromedriver
258   
259   %changelog
260 + * Wed Sep  7 2016 Tom Callaway <spot@fedoraproject.org> 53.0.2785.92-1
261 + - add basic framework for gn tooling (disabled because it doesn't work yet)
262 + - update to 53.0.2785.92
263 + - fix HOME environment issue in chrome-remote-desktop service file
264 + 
265   * Mon Aug 29 2016 Tom Callaway <spot@fedoraproject.org> 52.0.2743.116-11
266   - conditionalize Requires: u2f-hidraw-policy so that it is only used on Fedora
267   - use bundled harfbuzz on EL7
sources +2 -2
1 @@ -1,3 +1,3 @@
2   49a7f897775cce21d2b69968b8af1cea  depot_tools.git-master.tar.gz
3 - 5d68885e80dec938f68f033a51639e57  chromium-52.0.2743.116-clean.tar.xz
4 - c0a1a388c4fb32be8e4afb5ace9e801a  policy_templates.zip
5 + 8280c0644492bac9f59f4e25ed11d309  policy_templates.zip
6 + 40aa0cc4407dc8a198aedc29532abeee  chromium-53.0.2785.92-clean.tar.xz