Update www/chromium to 37.0.2062.94
Obtained from: freebsd-chromium@ (especially Carlos Medina) MFH: 2014Q3 Security: http://www.vuxml.org/freebsd/fd5f305d-2d3d-11e4-aa3d-00262d5ed8ee.html
This commit is contained in:
parent
7a6d6a26ac
commit
b88b94b93e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366226
226 changed files with 1098 additions and 760 deletions
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= chromium
|
||||
PORTVERSION= 36.0.1985.143
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 37.0.2062.94
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
@ -244,8 +243,10 @@ post-patch:
|
|||
pre-configure:
|
||||
# phajdan-jr: list of things *not* to remove, so maybe the script
|
||||
# should be called "keep_bundled_libraries.py"
|
||||
# keep third_party/protobuf to ease debugging
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} \
|
||||
./build/linux/unbundle/remove_bundled_libraries.py \
|
||||
'third_party/protobuf' \
|
||||
'base/third_party/dmg_fp' \
|
||||
'base/third_party/dynamic_annotations' \
|
||||
'base/third_party/icu' \
|
||||
|
@ -269,6 +270,7 @@ pre-configure:
|
|||
'third_party/cros_system_api' \
|
||||
'third_party/dom_distiller_js' \
|
||||
'third_party/ffmpeg' \
|
||||
'third_party/fips181' \
|
||||
'third_party/flot' \
|
||||
'third_party/hunspell' \
|
||||
'third_party/iccjpeg' \
|
||||
|
@ -295,8 +297,9 @@ pre-configure:
|
|||
'third_party/npapi' \
|
||||
'third_party/opus' \
|
||||
'third_party/ots' \
|
||||
'third_party/polymer' \
|
||||
'third_party/pdfium' \
|
||||
'third_party/ply' \
|
||||
'third_party/polymer' \
|
||||
'third_party/pywebsocket' \
|
||||
'third_party/qcms' \
|
||||
'third_party/readability' \
|
||||
|
@ -344,16 +347,20 @@ do-install:
|
|||
${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \
|
||||
${STAGEDIR}${DATADIR}
|
||||
.for p in chrome_100_percent content_resources keyboard_resources resources
|
||||
${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak \
|
||||
${STAGEDIR}${DATADIR}
|
||||
.endfor
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libffmpegsumo.so ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \
|
||||
${STAGEDIR}${DATADIR}
|
||||
${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libffmpegsumo.so \
|
||||
${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC}/out/${BUILDTYPE} && \
|
||||
${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \
|
||||
${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot.${ARCH:S/i386/ia32/:S/amd64/x64/} \
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \
|
||||
${STAGEDIR}${DATADIR}/mksnapshot
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
SHA256 (chromium-36.0.1985.143.tar.xz) = 0631d7442991f0b4b942477c58a9294e9e3eb21ffd3c8626e4ab663b8345c316
|
||||
SIZE (chromium-36.0.1985.143.tar.xz) = 205456928
|
||||
SHA256 (chromium-36.0.1985.143-testdata.tar.xz) = 7af27696a1d30a2acd29ffa331c956f58d82080905b73ad9259f7d6ad2784277
|
||||
SIZE (chromium-36.0.1985.143-testdata.tar.xz) = 111519392
|
||||
SHA256 (chromium-37.0.2062.94.tar.xz) = d27c19580b74cbe143131f0bc097557b3b2fb3d2be966e688d8af51a779ce533
|
||||
SIZE (chromium-37.0.2062.94.tar.xz) = 220064328
|
||||
SHA256 (chromium-37.0.2062.94-testdata.tar.xz) = 055ff2df325a20b03e12eae3b553e126eb5c63144fe9184a07d8d2f4db3fb9b4
|
||||
SIZE (chromium-37.0.2062.94-testdata.tar.xz) = 114484240
|
||||
|
|
|
@ -133,17 +133,6 @@
|
|||
Stop();
|
||||
}
|
||||
|
||||
--- net/url_request/view_cache_helper_unittest.cc.orig 2013-09-01 00:33:32.000000000 +0300
|
||||
+++ net/url_request/view_cache_helper_unittest.cc 2013-09-01 00:34:02.000000000 +0300
|
||||
@@ -29,7 +29,7 @@
|
||||
};
|
||||
|
||||
TestURLRequestContext::TestURLRequestContext()
|
||||
- : cache_(reinterpret_cast<HttpTransactionFactory*>(NULL), NULL,
|
||||
+ : cache_(static_cast<HttpTransactionFactory*>(NULL), NULL,
|
||||
HttpCache::DefaultBackend::InMemory(0)) {
|
||||
set_http_transaction_factory(&cache_);
|
||||
}
|
||||
--- third_party/hunspell/src/hunspell/affentry.hxx 2013-07-03 23:52:32.000000000 -0400
|
||||
+++ third_party/hunspell/src/hunspell/affentry.hxx 2013-07-19 01:31:57.000000000 -0400
|
||||
@@ -27,7 +27,7 @@
|
||||
|
@ -278,3 +267,14 @@
|
|||
}
|
||||
|
||||
-
|
||||
--- ./third_party/webrtc/base/taskrunner.cc.orig 2014-08-20 21:04:28.000000000 +0200
|
||||
+++ ./third_party/webrtc/base/taskrunner.cc 2014-08-22 18:55:46.000000000 +0200
|
||||
@@ -102,7 +102,7 @@
|
||||
std::vector<Task *>::iterator it;
|
||||
it = std::remove(tasks_.begin(),
|
||||
tasks_.end(),
|
||||
- reinterpret_cast<Task *>(NULL));
|
||||
+ static_cast<Task *>(NULL));
|
||||
|
||||
tasks_.erase(it, tasks_.end());
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/base.gyp.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/base.gyp 2014-08-13 09:57:00.000000000 +0200
|
||||
--- ./base/base.gyp.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/base.gyp 2014-08-22 15:06:27.000000000 +0200
|
||||
@@ -129,7 +129,7 @@
|
||||
],
|
||||
'link_settings': {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./base/base.gypi.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/base.gypi 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -912,11 +912,14 @@
|
||||
--- ./base/base.gypi.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/base.gypi 2014-08-22 18:33:25.000000000 +0200
|
||||
@@ -942,11 +942,16 @@
|
||||
'process/memory_stubs.cc',
|
||||
],
|
||||
'sources/': [
|
||||
|
@ -13,6 +13,8 @@
|
|||
['exclude', '^sys_info_linux\\.cc$'],
|
||||
+ ['exclude', '^process/process_iterator_linux\\.cc$'],
|
||||
+ ['exclude', '^process/process_metrics_linux\\.cc$'],
|
||||
+ ['exclude', '^files/file_path_watcher_fsevents\\.cc$'],
|
||||
+ ['exclude', '^files/file_path_watcher_fsevents\\.h$'],
|
||||
],
|
||||
}],
|
||||
# Remove all unnecessary files for build_nexe.py to avoid exceeding
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/debug/stack_trace_posix.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/debug/stack_trace_posix.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/debug/stack_trace_posix.cc.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/debug/stack_trace_posix.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -590,6 +590,10 @@
|
||||
// for the modules that are loaded in the current process.
|
||||
// Returns true on success.
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
--- ./base/files/file_path_watcher_kqueue.h.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/files/file_path_watcher_kqueue.h 2014-08-23 19:32:36.000000000 +0200
|
||||
@@ -5,6 +5,10 @@
|
||||
#ifndef BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
|
||||
#define BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/stdint.h>
|
||||
+#include <sys/types.h>
|
||||
+#endif
|
||||
#include <sys/event.h>
|
||||
#include <vector>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/posix/unix_domain_socket_linux.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/posix/unix_domain_socket_linux.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/posix/unix_domain_socket_linux.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/posix/unix_domain_socket_linux.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -18,6 +18,15 @@
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "base/stl_util.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/posix/unix_domain_socket_linux_unittest.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/posix/unix_domain_socket_linux_unittest.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/posix/unix_domain_socket_linux_unittest.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/posix/unix_domain_socket_linux_unittest.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -2,8 +2,13 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/process/internal_linux.h.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/internal_linux.h 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/process/internal_linux.h.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/internal_linux.h 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./base/process/launch.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/launch.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -23,10 +23,10 @@
|
||||
--- ./base/process/launch.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/launch.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -24,10 +24,10 @@
|
||||
fds_to_remap(NULL),
|
||||
maximize_rlimits(NULL),
|
||||
new_process_group(false)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./base/process/launch.h.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/launch.h 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -108,14 +108,14 @@
|
||||
--- ./base/process/launch.h.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/launch.h 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -113,14 +113,14 @@
|
||||
// will be the same as its pid.
|
||||
bool new_process_group;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/process/memory_unittest.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/memory_unittest.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/process/memory_unittest.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/memory_unittest.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -151,9 +151,9 @@
|
||||
|
||||
// Android doesn't implement set_new_handler, so we can't use the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/process/process_iterator_freebsd.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/process_iterator_freebsd.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/process/process_iterator_freebsd.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/process_iterator_freebsd.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -8,6 +8,10 @@
|
||||
#include <sys/sysctl.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/process/process_metrics.h.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/process_metrics.h 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/process/process_metrics.h.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/process_metrics.h 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -17,6 +17,13 @@
|
||||
#include "base/time/time.h"
|
||||
#include "base/values.h"
|
||||
|
@ -14,7 +14,7 @@
|
|||
#if defined(OS_MACOSX)
|
||||
#include <mach/mach.h>
|
||||
#endif
|
||||
@@ -242,13 +249,17 @@
|
||||
@@ -246,13 +253,17 @@
|
||||
// CPU-related ticks. Returns -1 on parse error.
|
||||
// Exposed for testing.
|
||||
BASE_EXPORT int ParseProcStatCPU(const std::string& input);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/process/process_metrics_freebsd.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/process/process_metrics_freebsd.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/process/process_metrics_freebsd.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/process/process_metrics_freebsd.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -10,6 +10,9 @@
|
||||
|
||||
#include "base/sys_info.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/security_unittest.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/security_unittest.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/security_unittest.cc.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/security_unittest.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -160,7 +160,7 @@
|
||||
// FAILS_ is too clunky.
|
||||
void OverflowTestsSoftExpectTrue(bool overflow_detected) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/strings/safe_sprintf.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/strings/safe_sprintf.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/strings/safe_sprintf.cc.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/strings/safe_sprintf.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -107,11 +107,11 @@
|
||||
: buffer_(buffer),
|
||||
size_(size - 1), // Account for trailing NUL byte
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/sys_info_freebsd.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/sys_info_freebsd.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/sys_info_freebsd.cc.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/sys_info_freebsd.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "base/sys_info.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/sys_info_posix.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/sys_info_posix.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/sys_info_posix.cc.orig 2014-08-20 21:02:42.000000000 +0200
|
||||
+++ ./base/sys_info_posix.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
namespace base {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/test/expectations/expectation.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/test/expectations/expectation.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/test/expectations/expectation.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/test/expectations/expectation.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -60,6 +60,7 @@
|
||||
variant != "64") {
|
||||
return false;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./base/test/launcher/test_launcher.cc.orig 2014-08-12 21:01:28.000000000 +0200
|
||||
+++ ./base/test/launcher/test_launcher.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -40,6 +40,10 @@
|
||||
--- ./base/test/launcher/test_launcher.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/test/launcher/test_launcher.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -41,6 +41,10 @@
|
||||
#include "base/mac/scoped_nsautorelease_pool.h"
|
||||
#endif
|
||||
|
||||
|
@ -10,4 +10,4 @@
|
|||
+
|
||||
namespace base {
|
||||
|
||||
// See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/nkdTP7sstSc/uT3FaE_sgkAJ .
|
||||
// Launches a child process using |command_line|. If the child process is still
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./base/threading/platform_thread_linux.cc.orig 2014-08-12 21:01:27.000000000 +0200
|
||||
+++ ./base/threading/platform_thread_linux.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./base/threading/platform_thread_linux.cc.orig 2014-08-20 21:02:41.000000000 +0200
|
||||
+++ ./base/threading/platform_thread_linux.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -16,7 +16,9 @@
|
||||
#include "base/tracked_objects.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./breakpad/breakpad.gyp.orig 2014-08-12 21:02:55.000000000 +0200
|
||||
+++ ./breakpad/breakpad.gyp 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./breakpad/breakpad.gyp.orig 2014-08-20 21:02:30.000000000 +0200
|
||||
+++ ./breakpad/breakpad.gyp 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -340,7 +340,7 @@
|
||||
},
|
||||
],
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
--- ./build/common.gypi.orig 2014-08-12 21:02:52.000000000 +0200
|
||||
+++ ./build/common.gypi 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -101,7 +101,7 @@
|
||||
#
|
||||
# TODO(erg): Merge this into the previous block once compiling with
|
||||
# aura safely implies including ash capabilities.
|
||||
- ['OS=="linux"', {
|
||||
+ ['OS=="linux" or OS=="freebsd"', {
|
||||
--- ./build/common.gypi.orig 2014-08-20 21:02:29.000000000 +0200
|
||||
+++ ./build/common.gypi 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -87,7 +87,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,
|
||||
}],
|
||||
|
||||
@@ -622,7 +622,7 @@
|
||||
@@ -645,7 +645,7 @@
|
||||
}],
|
||||
|
||||
# DBus usage.
|
||||
|
@ -18,7 +18,7 @@
|
|||
'use_dbus%': 1,
|
||||
}, {
|
||||
'use_dbus%': 0,
|
||||
@@ -896,7 +896,7 @@
|
||||
@@ -926,7 +926,7 @@
|
||||
# except when building Android WebView.
|
||||
# TODO(jshin): Handle 'use_system_icu' on Linux (Chromium).
|
||||
# Set the data reduction proxy origin for Android Webview.
|
||||
|
@ -27,17 +27,18 @@
|
|||
'icu_use_data_file_flag%' : 1,
|
||||
'spdy_proxy_auth_origin%': '',
|
||||
'data_reduction_proxy_probe_url%': '',
|
||||
@@ -1106,6 +1106,9 @@
|
||||
@@ -1153,6 +1153,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.
|
||||
@@ -3960,6 +3963,13 @@
|
||||
@@ -4150,6 +4154,13 @@
|
||||
'ldflags': [
|
||||
'-Wl,--no-keep-memory',
|
||||
],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./build/filename_rules.gypi.orig 2014-08-12 21:02:52.000000000 +0200
|
||||
+++ ./build/filename_rules.gypi 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./build/filename_rules.gypi.orig 2014-08-20 21:02:29.000000000 +0200
|
||||
+++ ./build/filename_rules.gypi 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -85,7 +85,7 @@
|
||||
['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', {
|
||||
'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./build/linux/system.gyp.orig 2014-08-12 21:02:52.000000000 +0200
|
||||
+++ ./build/linux/system.gyp 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -885,6 +885,13 @@
|
||||
--- ./build/linux/system.gyp.orig 2014-08-20 21:02:29.000000000 +0200
|
||||
+++ ./build/linux/system.gyp 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -881,6 +881,13 @@
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./build/linux/unbundle/libwebp.gyp.orig 2014-08-12 21:02:52.000000000 +0200
|
||||
+++ ./build/linux/unbundle/libwebp.gyp 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./build/linux/unbundle/libwebp.gyp.orig 2014-08-20 21:02:29.000000000 +0200
|
||||
+++ ./build/linux/unbundle/libwebp.gyp 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -14,13 +14,7 @@
|
||||
},
|
||||
'link_settings': {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- build/linux/unbundle/openssl.gyp.orig 2014-08-12 21:02:52.000000000 +0200
|
||||
+++ build/linux/unbundle/openssl.gyp 2014-08-18 17:16:23.000000000 +0200
|
||||
--- ./build/linux/unbundle/openssl.gyp.orig 2014-08-20 21:02:29.000000000 +0200
|
||||
+++ ./build/linux/unbundle/openssl.gyp 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -9,15 +9,15 @@
|
||||
'type': 'none',
|
||||
'direct_dependent_settings': {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./cc/layers/layer_impl.cc.orig 2014-08-12 21:03:00.000000000 +0200
|
||||
+++ ./cc/layers/layer_impl.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -1215,21 +1215,23 @@
|
||||
--- ./cc/layers/layer_impl.cc.orig 2014-08-20 21:02:36.000000000 +0200
|
||||
+++ ./cc/layers/layer_impl.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -1190,21 +1190,23 @@
|
||||
scale_factor * scaled_scroll_bounds.height());
|
||||
scaled_scroll_bounds = gfx::ToFlooredSize(scaled_scroll_bounds);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/app/chrome_main_delegate.cc.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/app/chrome_main_delegate.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/app/chrome_main_delegate.cc.orig 2014-08-20 21:01:26.000000000 +0200
|
||||
+++ ./chrome/app/chrome_main_delegate.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -96,7 +96,7 @@
|
||||
#include "ui/base/x/x11_util.h"
|
||||
#endif
|
||||
|
@ -18,7 +18,7 @@
|
|||
base::LazyInstance<chrome::ChromeBreakpadClient>::Leaky
|
||||
g_chrome_breakpad_client = LAZY_INSTANCE_INITIALIZER;
|
||||
#endif
|
||||
@@ -245,7 +245,7 @@
|
||||
@@ -226,7 +226,7 @@
|
||||
// Needed for scrollbar related images.
|
||||
process_type == switches::kWorkerProcess ||
|
||||
#endif
|
||||
|
@ -27,7 +27,7 @@
|
|||
// The zygote process opens the resources for the renderers.
|
||||
process_type == switches::kZygoteProcess ||
|
||||
#endif
|
||||
@@ -459,7 +459,7 @@
|
||||
@@ -440,7 +440,7 @@
|
||||
std::string format_str =
|
||||
command_line.GetSwitchValueASCII(switches::kDiagnosticsFormat);
|
||||
if (format_str == "machine") {
|
||||
|
@ -36,7 +36,7 @@
|
|||
} else if (format_str == "log") {
|
||||
format = diagnostics::DiagnosticsWriter::LOG;
|
||||
} else {
|
||||
@@ -500,7 +500,7 @@
|
||||
@@ -491,7 +491,7 @@
|
||||
std::string format_str =
|
||||
command_line.GetSwitchValueASCII(switches::kDiagnosticsFormat);
|
||||
if (format_str == "machine") {
|
||||
|
@ -45,7 +45,7 @@
|
|||
} else if (format_str == "human") {
|
||||
format = diagnostics::DiagnosticsWriter::HUMAN;
|
||||
} else {
|
||||
@@ -632,7 +632,7 @@
|
||||
@@ -621,7 +621,7 @@
|
||||
std::string process_type =
|
||||
command_line.GetSwitchValueASCII(switches::kProcessType);
|
||||
|
||||
|
@ -54,30 +54,30 @@
|
|||
breakpad::SetBreakpadClient(g_chrome_breakpad_client.Pointer());
|
||||
#endif
|
||||
|
||||
@@ -757,7 +757,7 @@
|
||||
@@ -743,7 +743,7 @@
|
||||
#endif
|
||||
}
|
||||
|
||||
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
||||
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_FREEBSD)
|
||||
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
|
||||
// Zygote needs to call InitCrashReporter() in RunZygote().
|
||||
if (process_type != switches::kZygoteProcess) {
|
||||
#if defined(OS_ANDROID)
|
||||
@@ -769,7 +769,7 @@
|
||||
@@ -755,7 +755,7 @@
|
||||
breakpad::InitCrashReporter(process_type);
|
||||
#endif // defined(OS_ANDROID)
|
||||
}
|
||||
-#endif // defined(OS_POSIX) && !defined(OS_MACOSX)
|
||||
+#endif // defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_FREEBSD)
|
||||
+#endif // defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
|
||||
|
||||
// After all the platform Breakpads have been initialized, store the command
|
||||
// line for crash reporting.
|
||||
@@ -854,7 +854,7 @@
|
||||
@@ -840,7 +840,7 @@
|
||||
return process_type == switches::kNaClLoaderProcess ||
|
||||
process_type == switches::kRelauncherProcess;
|
||||
}
|
||||
-#elif defined(OS_POSIX) && !defined(OS_ANDROID)
|
||||
+#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
||||
content::ZygoteForkDelegate* ChromeMainDelegate::ZygoteStarting() {
|
||||
#if defined(DISABLE_NACL)
|
||||
return NULL;
|
||||
void ChromeMainDelegate::ZygoteStarting(
|
||||
ScopedVector<content::ZygoteForkDelegate>* delegates) {
|
||||
#if !defined(DISABLE_NACL)
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- ./chrome/app/chrome_main_delegate.h.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/app/chrome_main_delegate.h 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -35,7 +35,7 @@
|
||||
--- ./chrome/app/chrome_main_delegate.h.orig 2014-08-20 21:01:26.000000000 +0200
|
||||
+++ ./chrome/app/chrome_main_delegate.h 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -38,7 +38,7 @@
|
||||
virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE;
|
||||
virtual bool DelaySandboxInitialization(
|
||||
const std::string& process_type) OVERRIDE;
|
||||
-#elif defined(OS_POSIX) && !defined(OS_ANDROID)
|
||||
+#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
||||
virtual content::ZygoteForkDelegate* ZygoteStarting() OVERRIDE;
|
||||
virtual void ZygoteStarting(
|
||||
ScopedVector<content::ZygoteForkDelegate>* delegates) OVERRIDE;
|
||||
virtual void ZygoteForked() OVERRIDE;
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/app/chromium_strings.grd.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/app/chromium_strings.grd 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -1099,7 +1099,7 @@
|
||||
--- ./chrome/app/chromium_strings.grd.orig 2014-08-20 21:01:26.000000000 +0200
|
||||
+++ ./chrome/app/chromium_strings.grd 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -1102,7 +1102,7 @@
|
||||
</message>
|
||||
|
||||
<!-- ProcessSingleton -->
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- ./chrome/app/resources/locale_settings.grd.orig 2014-08-20 21:01:26.000000000 +0200
|
||||
+++ ./chrome/app/resources/locale_settings.grd 2014-08-23 15:49:37.000000000 +0200
|
||||
@@ -264,7 +264,7 @@
|
||||
55
|
||||
</message>
|
||||
|
||||
- <if expr="is_win or is_linux or chromeos">
|
||||
+ <if expr="is_win or is_linux or chromeos or is_bsd">
|
||||
<!-- The width of the ash/ChromeOS system tray menu in pixels. -->
|
||||
<message name="IDS_SYSTEM_TRAY_MENU_BUBBLE_WIDTH_PIXELS" use_name_for_id="true">
|
||||
300
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/about_flags.cc.orig 2014-08-12 21:01:48.000000000 +0200
|
||||
+++ ./chrome/browser/about_flags.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -2183,7 +2183,7 @@
|
||||
--- ./chrome/browser/about_flags.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/about_flags.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -2263,7 +2263,7 @@
|
||||
return kOsWin;
|
||||
#elif defined(OS_CHROMEOS) // Needs to be before the OS_LINUX check.
|
||||
return kOsCrOS;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/browser_process_impl.cc.orig 2014-08-12 21:01:48.000000000 +0200
|
||||
+++ ./chrome/browser/browser_process_impl.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -239,7 +239,7 @@
|
||||
--- ./chrome/browser/browser_process_impl.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/browser_process_impl.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -248,7 +248,7 @@
|
||||
|
||||
ExtensionRendererState::GetInstance()->Shutdown();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/chrome_browser_main.cc.orig 2014-08-12 21:01:47.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_browser_main.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -926,7 +926,7 @@
|
||||
--- ./chrome/browser/chrome_browser_main.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_browser_main.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -925,7 +925,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/chrome_browser_main_posix.cc.orig 2014-08-12 21:01:48.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_browser_main_posix.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -305,6 +305,11 @@
|
||||
--- ./chrome/browser/chrome_browser_main_posix.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_browser_main_posix.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -270,6 +270,11 @@
|
||||
g_pipe_pid = getpid();
|
||||
g_shutdown_pipe_read_fd = pipefd[0];
|
||||
g_shutdown_pipe_write_fd = pipefd[1];
|
||||
|
@ -12,7 +12,7 @@
|
|||
#if !defined(ADDRESS_SANITIZER) && !defined(KEEP_SHADOW_STACKS)
|
||||
const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 2;
|
||||
#else
|
||||
@@ -313,6 +318,7 @@
|
||||
@@ -278,6 +283,7 @@
|
||||
// size to avoid hitting the guard page.
|
||||
const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 4;
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/chrome_content_browser_client.cc.orig 2014-08-12 21:01:48.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_content_browser_client.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -492,7 +492,7 @@
|
||||
--- ./chrome/browser/chrome_content_browser_client.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_content_browser_client.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -509,7 +509,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
breakpad::CrashHandlerHostLinux* CreateCrashHandlerHost(
|
||||
const std::string& process_type) {
|
||||
base::FilePath dumps_path;
|
||||
@@ -548,7 +548,7 @@
|
||||
@@ -566,7 +566,7 @@
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
|||
#endif // !defined(OS_ANDROID)
|
||||
|
||||
#if !defined(OS_CHROMEOS)
|
||||
@@ -1459,7 +1459,7 @@
|
||||
@@ -1533,7 +1533,7 @@
|
||||
|
||||
void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
||||
CommandLine* command_line, int child_process_id) {
|
||||
|
@ -27,7 +27,7 @@
|
|||
if (breakpad::IsCrashReporterEnabled()) {
|
||||
std::string enable_crash_reporter;
|
||||
GoogleUpdateSettings::GetMetricsId(&enable_crash_reporter);
|
||||
@@ -2563,7 +2563,7 @@
|
||||
@@ -2683,7 +2683,7 @@
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
|||
void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
|
||||
const CommandLine& command_line,
|
||||
int child_process_id,
|
||||
@@ -2617,7 +2617,7 @@
|
||||
@@ -2749,7 +2749,7 @@
|
||||
}
|
||||
#endif // defined(OS_ANDROID)
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--- ./chrome/browser/chrome_content_browser_client.h.orig 2014-08-12 21:01:48.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_content_browser_client.h 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -260,7 +260,7 @@
|
||||
const base::FilePath& storage_partition_path,
|
||||
ScopedVector<fileapi::FileSystemBackend>* additional_backends) OVERRIDE;
|
||||
--- ./chrome/browser/chrome_content_browser_client.h.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/chrome_content_browser_client.h 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -288,7 +288,7 @@
|
||||
virtual net::CookieStore* OverrideCookieStoreForRenderProcess(
|
||||
int render_process_id) OVERRIDE;
|
||||
|
||||
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
||||
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/diagnostics/diagnostics_writer.cc.orig 2014-08-12 21:01:46.000000000 +0200
|
||||
+++ ./chrome/browser/diagnostics/diagnostics_writer.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/diagnostics/diagnostics_writer.cc.orig 2014-08-20 21:02:00.000000000 +0200
|
||||
+++ ./chrome/browser/diagnostics/diagnostics_writer.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -268,7 +268,7 @@
|
||||
console_->SetColor(color);
|
||||
console_->Write(base::ASCIIToUTF16(result));
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/diagnostics/diagnostics_writer.h.orig 2014-08-12 21:01:46.000000000 +0200
|
||||
+++ ./chrome/browser/diagnostics/diagnostics_writer.h 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/diagnostics/diagnostics_writer.h.orig 2014-08-20 21:02:00.000000000 +0200
|
||||
+++ ./chrome/browser/diagnostics/diagnostics_writer.h 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
public:
|
||||
// The type of formatting done by this writer.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc.orig 2014-08-12 21:01:44.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc.orig 2014-08-20 21:01:58.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -167,10 +167,12 @@
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig 2014-08-12 21:01:44.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/music_manager_private/device_id_linux.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig 2014-08-20 21:01:57.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/music_manager_private/device_id_linux.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -4,6 +4,10 @@
|
||||
|
||||
#include "chrome/browser/extensions/api/music_manager_private/device_id.h"
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
--- ./chrome/browser/extensions/api/serial/serial_api.cc.orig 2014-08-12 21:01:44.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/serial/serial_api.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -84,7 +84,7 @@
|
||||
|
||||
--- ./chrome/browser/extensions/api/serial/serial_api.cc.orig 2014-08-20 21:01:58.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/serial/serial_api.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -85,11 +85,13 @@
|
||||
void SerialGetDevicesFunction::Work() {
|
||||
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
||||
-
|
||||
|
||||
+#if !defined(OS_FREEBSD) //XXX(rene) quick hack
|
||||
device::SerialDeviceInfoList devices;
|
||||
scoped_ptr<device::SerialDeviceEnumerator> enumerator =
|
||||
device::SerialDeviceEnumerator::Create();
|
||||
@@ -106,6 +106,7 @@
|
||||
}
|
||||
|
||||
results_ = serial::GetDevices::Results::Create(out_devices);
|
||||
mojo::Array<device::SerialDeviceInfoPtr> devices = enumerator->GetDevices();
|
||||
results_ = serial::GetDevices::Results::Create(
|
||||
devices.To<std::vector<linked_ptr<serial::DeviceInfo> > >());
|
||||
+#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/extensions/api/serial/serial_connection_posix.cc.orig 2014-08-12 21:01:44.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/serial/serial_connection_posix.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/extensions/api/serial/serial_connection_posix.cc.orig 2014-08-20 21:01:58.000000000 +0200
|
||||
+++ ./chrome/browser/extensions/api/serial/serial_connection_posix.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -36,7 +36,7 @@
|
||||
BITRATE_TO_SPEED_CASE(9600)
|
||||
BITRATE_TO_SPEED_CASE(19200)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/gpu/gl_string_manager.cc.orig 2014-08-12 21:01:33.000000000 +0200
|
||||
+++ ./chrome/browser/gpu/gl_string_manager.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/gpu/gl_string_manager.cc.orig 2014-08-20 21:02:06.000000000 +0200
|
||||
+++ ./chrome/browser/gpu/gl_string_manager.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
void GLStringManager::Initialize() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/gpu/gpu_feature_checker.cc.orig 2014-08-12 21:01:33.000000000 +0200
|
||||
+++ ./chrome/browser/gpu/gpu_feature_checker.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/gpu/gpu_feature_checker.cc.orig 2014-08-20 21:02:06.000000000 +0200
|
||||
+++ ./chrome/browser/gpu/gpu_feature_checker.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -33,7 +33,7 @@
|
||||
CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/media/webrtc_log_uploader.cc.orig 2014-08-12 21:01:33.000000000 +0200
|
||||
+++ ./chrome/browser/media/webrtc_log_uploader.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -196,6 +196,8 @@
|
||||
--- ./chrome/browser/media/webrtc_log_uploader.cc.orig 2014-08-20 21:02:12.000000000 +0200
|
||||
+++ ./chrome/browser/media/webrtc_log_uploader.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -233,6 +233,8 @@
|
||||
const char product[] = "Chrome_Android";
|
||||
#elif defined(OS_CHROMEOS)
|
||||
const char product[] = "Chrome_ChromeOS";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2014-08-12 21:01:32.000000000 +0200
|
||||
+++ ./chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2014-08-20 21:01:59.000000000 +0200
|
||||
+++ ./chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -33,9 +33,11 @@
|
||||
// Note that this initializes the delegate asynchronously, but since
|
||||
// the delegate will only be used from the IO thread, it is guaranteed
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/media_galleries/media_file_system_registry.cc.orig 2014-08-12 21:01:33.000000000 +0200
|
||||
+++ ./chrome/browser/media_galleries/media_file_system_registry.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/media_galleries/media_file_system_registry.cc.orig 2014-08-20 21:01:59.000000000 +0200
|
||||
+++ ./chrome/browser/media_galleries/media_file_system_registry.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -724,7 +724,10 @@
|
||||
// Constructor in 'private' section because depends on private class definition.
|
||||
MediaFileSystemRegistry::MediaFileSystemRegistry()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/media_galleries/media_folder_finder.cc.orig 2014-08-12 21:01:33.000000000 +0200
|
||||
+++ ./chrome/browser/media_galleries/media_folder_finder.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/media_galleries/media_folder_finder.cc.orig 2014-08-20 21:01:59.000000000 +0200
|
||||
+++ ./chrome/browser/media_galleries/media_folder_finder.cc 2014-08-22 15:06:24.000000000 +0200
|
||||
@@ -50,10 +50,10 @@
|
||||
chrome::DIR_USER_APPLICATIONS,
|
||||
chrome::DIR_USER_LIBRARY,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/memory_details.cc.orig 2014-08-12 21:01:47.000000000 +0200
|
||||
+++ ./chrome/browser/memory_details.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/memory_details.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/memory_details.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "grit/generated_resources.h"
|
||||
#include "ui/base/l10n/l10n_util.h"
|
||||
|
@ -16,9 +16,9 @@
|
|||
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
|
||||
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
||||
const pid_t zygote_pid = content::ZygoteHost::GetInstance()->GetPid();
|
||||
const pid_t sandbox_helper_pid =
|
||||
content::ZygoteHost::GetInstance()->GetSandboxHelperPid();
|
||||
@@ -336,7 +336,7 @@
|
||||
#endif
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,4 +26,4 @@
|
|||
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
||||
if (process.pid == zygote_pid) {
|
||||
process.process_type = content::PROCESS_TYPE_ZYGOTE;
|
||||
} else if (process.pid == sandbox_helper_pid) {
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/net/connection_tester.cc.orig 2014-08-12 21:01:39.000000000 +0200
|
||||
+++ ./chrome/browser/net/connection_tester.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
@@ -213,7 +213,7 @@
|
||||
--- ./chrome/browser/net/connection_tester.cc.orig 2014-08-20 21:02:09.000000000 +0200
|
||||
+++ ./chrome/browser/net/connection_tester.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -217,7 +217,7 @@
|
||||
// Otherwise returns a network error code.
|
||||
int CreateSystemProxyConfigService(
|
||||
scoped_ptr<net::ProxyConfigService>* config_service) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/omaha_query_params/omaha_query_params.cc.orig 2014-08-12 21:01:47.000000000 +0200
|
||||
+++ ./chrome/browser/omaha_query_params/omaha_query_params.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/omaha_query_params/omaha_query_params.cc.orig 2014-08-20 21:02:00.000000000 +0200
|
||||
+++ ./chrome/browser/omaha_query_params/omaha_query_params.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -29,6 +29,8 @@
|
||||
"linux";
|
||||
#elif defined(OS_OPENBSD)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/plugins/plugins_resource_service.cc.orig 2014-08-12 21:01:47.000000000 +0200
|
||||
+++ ./chrome/browser/plugins/plugins_resource_service.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/plugins/plugins_resource_service.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/plugins/plugins_resource_service.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -33,7 +33,7 @@
|
||||
std::string filename;
|
||||
#if defined(OS_WIN)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/policy/policy_prefs_browsertest.cc.orig 2014-08-12 21:01:40.000000000 +0200
|
||||
+++ ./chrome/browser/policy/policy_prefs_browsertest.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/policy/policy_prefs_browsertest.cc.orig 2014-08-20 21:02:01.000000000 +0200
|
||||
+++ ./chrome/browser/policy/policy_prefs_browsertest.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -169,6 +169,8 @@
|
||||
const std::string os("chromeos");
|
||||
#elif defined(OS_LINUX)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/ui/startup/startup_browser_creator.cc.orig 2014-08-12 21:01:35.000000000 +0200
|
||||
+++ ./chrome/browser/ui/startup/startup_browser_creator.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/ui/startup/startup_browser_creator.cc.orig 2014-08-20 21:02:04.000000000 +0200
|
||||
+++ ./chrome/browser/ui/startup/startup_browser_creator.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -81,7 +81,7 @@
|
||||
#include "chromeos/chromeos_switches.h"
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/ui/views/first_run_dialog.cc.orig 2014-08-12 21:01:38.000000000 +0200
|
||||
+++ ./chrome/browser/ui/views/first_run_dialog.cc 2014-08-13 09:56:56.000000000 +0200
|
||||
--- ./chrome/browser/ui/views/first_run_dialog.cc.orig 2014-08-20 21:02:04.000000000 +0200
|
||||
+++ ./chrome/browser/ui/views/first_run_dialog.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -124,12 +124,16 @@
|
||||
bool FirstRunDialog::Accept() {
|
||||
GetWidget()->Hide();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/ui/webui/about_ui.cc.orig 2014-08-12 21:01:37.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/about_ui.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -763,7 +763,7 @@
|
||||
--- ./chrome/browser/ui/webui/about_ui.cc.orig 2014-08-20 21:02:03.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/about_ui.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -761,7 +761,7 @@
|
||||
return data;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
std::string AboutLinuxProxyConfig() {
|
||||
std::string data;
|
||||
AppendHeader(&data, 0,
|
||||
@@ -779,6 +779,7 @@
|
||||
@@ -777,6 +777,7 @@
|
||||
return data;
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
|||
void AboutSandboxRow(std::string* data, const std::string& prefix, int name_id,
|
||||
bool good) {
|
||||
data->append("<tr><td>");
|
||||
@@ -849,6 +850,7 @@
|
||||
@@ -847,6 +848,7 @@
|
||||
return data;
|
||||
}
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
// AboutMemoryHandler ----------------------------------------------------------
|
||||
|
||||
@@ -1019,7 +1021,7 @@
|
||||
@@ -1017,7 +1019,7 @@
|
||||
} else if (source_name_ == chrome::kChromeUIDNSHost) {
|
||||
AboutDnsHandler::Start(profile(), callback);
|
||||
return;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2014-08-12 21:01:37.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -488,7 +488,7 @@
|
||||
--- ./chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2014-08-20 21:02:03.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -493,7 +493,7 @@
|
||||
url.host() == chrome::kChromeUIMemoryRedirectHost ||
|
||||
url.host() == chrome::kChromeUIStatsHost ||
|
||||
url.host() == chrome::kChromeUITermsHost
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/ui/webui/options/browser_options_handler.cc.orig 2014-08-12 21:01:37.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/options/browser_options_handler.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -333,7 +333,8 @@
|
||||
--- ./chrome/browser/ui/webui/options/browser_options_handler.cc.orig 2014-08-20 21:02:02.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/options/browser_options_handler.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -332,7 +332,8 @@
|
||||
{ "toolbarShowHomeButton", IDS_OPTIONS_TOOLBAR_SHOW_HOME_BUTTON },
|
||||
{ "translateEnableTranslate",
|
||||
IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE },
|
||||
|
@ -10,7 +10,7 @@
|
|||
{ "showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS },
|
||||
{ "themesNativeButton", IDS_THEMES_GTK_BUTTON },
|
||||
{ "themesSetClassic", IDS_THEMES_SET_CLASSIC },
|
||||
@@ -640,7 +641,8 @@
|
||||
@@ -647,7 +648,8 @@
|
||||
"requestProfilesInfo",
|
||||
base::Bind(&BrowserOptionsHandler::HandleRequestProfilesInfo,
|
||||
base::Unretained(this)));
|
||||
|
@ -20,17 +20,17 @@
|
|||
web_ui()->RegisterMessageCallback(
|
||||
"themesSetNative",
|
||||
base::Bind(&BrowserOptionsHandler::ThemesSetNative,
|
||||
@@ -1269,7 +1271,8 @@
|
||||
@@ -1272,7 +1274,8 @@
|
||||
ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile);
|
||||
bool is_native_theme = false;
|
||||
bool is_system_theme = false;
|
||||
|
||||
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
||||
+#if defined(OS_POSIX) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX) && \
|
||||
+ !defined(OS_ANDROID)
|
||||
bool profile_is_managed = profile->IsManaged();
|
||||
is_native_theme = theme_service->UsingNativeTheme();
|
||||
base::FundamentalValue native_theme_enabled(!is_native_theme &&
|
||||
@@ -1291,7 +1294,8 @@
|
||||
bool profile_is_supervised = profile->IsSupervised();
|
||||
is_system_theme = theme_service->UsingSystemTheme();
|
||||
base::FundamentalValue native_theme_enabled(!is_system_theme &&
|
||||
@@ -1294,7 +1297,8 @@
|
||||
ThemeServiceFactory::GetForProfile(profile)->UseDefaultTheme();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/browser/ui/webui/options/browser_options_handler.h.orig 2014-08-12 21:01:37.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/options/browser_options_handler.h 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/browser/ui/webui/options/browser_options_handler.h.orig 2014-08-20 21:02:02.000000000 +0200
|
||||
+++ ./chrome/browser/ui/webui/options/browser_options_handler.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -197,7 +197,8 @@
|
||||
|
||||
void ObserveThemeChanged();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/browser/web_applications/web_app.cc.orig 2014-08-12 21:01:47.000000000 +0200
|
||||
+++ ./chrome/browser/web_applications/web_app.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -472,7 +472,7 @@
|
||||
--- ./chrome/browser/web_applications/web_app.cc.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/web_applications/web_app.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -441,7 +441,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- ./chrome/browser/web_applications/web_app.h.orig 2014-08-12 21:01:47.000000000 +0200
|
||||
+++ ./chrome/browser/web_applications/web_app.h 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -188,7 +188,7 @@
|
||||
IconInfoList* icons);
|
||||
--- ./chrome/browser/web_applications/web_app.h.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/browser/web_applications/web_app.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -193,7 +193,7 @@
|
||||
void GetIconsInfo(const WebApplicationInfo& app_info, IconInfoList* icons);
|
||||
#endif
|
||||
|
||||
-#if defined(OS_LINUX)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/chrome_browser.gypi.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/chrome_browser.gypi 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -2923,7 +2923,7 @@
|
||||
--- ./chrome/chrome_browser.gypi.orig 2014-08-20 21:02:14.000000000 +0200
|
||||
+++ ./chrome/chrome_browser.gypi 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -2979,7 +2979,7 @@
|
||||
'../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
|
||||
],
|
||||
}],
|
||||
|
@ -9,7 +9,7 @@
|
|||
'dependencies': [
|
||||
'../build/linux/system.gyp:libspeechd',
|
||||
],
|
||||
@@ -3046,7 +3046,7 @@
|
||||
@@ -3106,7 +3106,7 @@
|
||||
'../build/linux/system.gyp:xscrnsaver',
|
||||
],
|
||||
}],
|
||||
|
@ -18,7 +18,7 @@
|
|||
'sources': [
|
||||
'app/chrome_breakpad_client.cc',
|
||||
'app/chrome_breakpad_client.h',
|
||||
@@ -3281,6 +3281,13 @@
|
||||
@@ -3365,6 +3365,13 @@
|
||||
['exclude', '^third_party/mozilla_security_manager/'],
|
||||
],
|
||||
}],
|
||||
|
@ -32,7 +32,7 @@
|
|||
['OS=="mac"', {
|
||||
'dependencies': [
|
||||
'../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
|
||||
@@ -3390,7 +3397,7 @@
|
||||
@@ -3465,7 +3472,7 @@
|
||||
}],
|
||||
],
|
||||
}],
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/chrome_browser_extensions.gypi.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/chrome_browser_extensions.gypi 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -921,6 +921,11 @@
|
||||
--- ./chrome/chrome_browser_extensions.gypi.orig 2014-08-20 21:02:14.000000000 +0200
|
||||
+++ ./chrome/chrome_browser_extensions.gypi 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -958,6 +958,11 @@
|
||||
'browser/extensions/window_controller_list_observer.h',
|
||||
],
|
||||
'conditions': [
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
--- ./chrome/chrome_browser_ui.gypi.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/chrome_browser_ui.gypi 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -2665,7 +2665,7 @@
|
||||
--- ./chrome/chrome_browser_ui.gypi.orig 2014-08-20 21:02:14.000000000 +0200
|
||||
+++ ./chrome/chrome_browser_ui.gypi 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -2673,7 +2673,7 @@
|
||||
'browser/ui/views/message_center/web_notification_tray.cc',
|
||||
],
|
||||
}],
|
||||
- ['use_aura==1 and use_ash==0 and use_ozone==0 and OS=="linux"', {
|
||||
+ ['use_aura==1 and use_ash==0 and use_ozone==0 and (OS=="linux" or os_bsd==1)', {
|
||||
- ['use_aura==1 and chromeos==0 and use_ozone==0 and OS=="linux"', {
|
||||
+ ['use_aura==1 and chromeos==0 and use_ozone==0 and (OS=="linux" or os_bsd==1)', {
|
||||
'dependencies': [
|
||||
# gtk2 is the only component that can interact with gtk2 in our new
|
||||
# world.
|
||||
@@ -2673,7 +2673,7 @@
|
||||
@@ -2681,7 +2681,7 @@
|
||||
'../build/linux/system.gyp:gio',
|
||||
],
|
||||
}],
|
||||
|
@ -18,7 +18,7 @@
|
|||
'sources!': [
|
||||
'browser/ui/views/first_run_dialog.cc',
|
||||
'browser/ui/views/first_run_dialog.h',
|
||||
@@ -3042,7 +3042,7 @@
|
||||
@@ -3047,7 +3047,7 @@
|
||||
}],
|
||||
],
|
||||
}],
|
||||
|
@ -27,7 +27,7 @@
|
|||
'conditions': [
|
||||
['use_aura==1', {
|
||||
'dependencies': [
|
||||
@@ -3135,7 +3135,7 @@
|
||||
@@ -3140,7 +3140,7 @@
|
||||
'browser/ui/webui/local_discovery/local_discovery_ui_handler.h',
|
||||
],
|
||||
}],
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- ./chrome/chrome_tests.gypi.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/chrome_tests.gypi 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -1548,7 +1548,7 @@
|
||||
'test/remoting/remote_desktop_browsertest.h',
|
||||
'test/remoting/waiter.cc',
|
||||
'test/remoting/waiter.h',
|
||||
- 'test/security_tests/sandbox_browsertest_linux.cc',
|
||||
+ #'test/security_tests/sandbox_browsertest_linux.cc',
|
||||
'test/security_tests/sandbox_browsertest_win.cc',
|
||||
# TODO(craig): Rename this and run from base_unittests when the test
|
||||
# is safe to run there. See http://crbug.com/78722 for details.
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/common/chrome_paths.cc.orig 2014-08-12 21:02:17.000000000 +0200
|
||||
+++ ./chrome/common/chrome_paths.cc 2014-08-13 09:57:00.000000000 +0200
|
||||
@@ -471,10 +471,12 @@
|
||||
--- ./chrome/common/chrome_paths.cc.orig 2014-08-20 21:01:56.000000000 +0200
|
||||
+++ ./chrome/common/chrome_paths.cc 2014-08-22 15:06:27.000000000 +0200
|
||||
@@ -469,10 +469,12 @@
|
||||
if (!base::PathExists(cur)) // We don't want to create this
|
||||
return false;
|
||||
break;
|
||||
|
@ -14,21 +14,31 @@
|
|||
#else
|
||||
cur = base::FilePath(FILE_PATH_LITERAL("/etc/chromium/policies"));
|
||||
#endif
|
||||
@@ -552,7 +554,7 @@
|
||||
@@ -550,7 +552,7 @@
|
||||
#endif
|
||||
break;
|
||||
|
||||
-#if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
+#if defined(OS_LINUX) || defined(OS_FREEBSD) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
+#if defined(OS_LINUX) || defined(OS_BSD) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
case chrome::DIR_NATIVE_MESSAGING:
|
||||
#if defined(OS_MACOSX)
|
||||
#if defined(GOOGLE_CHROME_BUILD)
|
||||
@@ -578,7 +580,7 @@
|
||||
@@ -564,6 +566,9 @@
|
||||
#if defined(GOOGLE_CHROME_BUILD)
|
||||
cur = base::FilePath(FILE_PATH_LITERAL(
|
||||
"/etc/opt/chrome/native-messaging-hosts"));
|
||||
+#elif defined(OS_BSD)
|
||||
+ cur = base::FilePath(FILE_PATH_LITERAL(
|
||||
+ "/usr/local/etc/chrome/native-messaging-hosts"));
|
||||
#else
|
||||
cur = base::FilePath(FILE_PATH_LITERAL(
|
||||
"/etc/chromium/native-messaging-hosts"));
|
||||
@@ -576,7 +581,7 @@
|
||||
return false;
|
||||
cur = cur.Append(FILE_PATH_LITERAL("NativeMessagingHosts"));
|
||||
break;
|
||||
-#endif // defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
+#endif // defined(OS_LINUX) || defined(OS_FREEBSD) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
|
||||
default:
|
||||
return false;
|
||||
+#endif // defined(OS_LINUX) || defined(OS_BSD) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
#if !defined(OS_ANDROID)
|
||||
case chrome::DIR_GLOBAL_GCM_STORE:
|
||||
if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- ./chrome/common/chrome_paths.h.orig 2014-08-12 21:02:17.000000000 +0200
|
||||
+++ ./chrome/common/chrome_paths.h 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -116,7 +116,7 @@
|
||||
// files to be installed when managed user
|
||||
// session starts.
|
||||
|
||||
--- ./chrome/common/chrome_paths.h.orig 2014-08-20 21:01:56.000000000 +0200
|
||||
+++ ./chrome/common/chrome_paths.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -115,7 +115,7 @@
|
||||
DIR_SUPERVISED_USERS_DEFAULT_APPS, // Directory where installer places .crx
|
||||
// files to be installed when managed user
|
||||
// session starts.
|
||||
-#if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
+#if defined(OS_LINUX) || defined(OS_FREEBSD) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
+#if defined(OS_LINUX) || defined(OS_BSD) || (defined(OS_MACOSX) && !defined(OS_IOS))
|
||||
DIR_NATIVE_MESSAGING, // System directory where native messaging host
|
||||
// manifest files are stored.
|
||||
DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/common/chrome_switches.cc.orig 2014-08-12 21:02:17.000000000 +0200
|
||||
+++ ./chrome/common/chrome_switches.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -1375,7 +1375,7 @@
|
||||
--- ./chrome/common/chrome_switches.cc.orig 2014-08-20 21:01:56.000000000 +0200
|
||||
+++ ./chrome/common/chrome_switches.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -1319,7 +1319,7 @@
|
||||
const char kPasswordStore[] = "password-store";
|
||||
#endif
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
// Triggers migration of user data directory to another directory
|
||||
// specified as a parameter. The migration is done under singleton lock,
|
||||
// and sanity checks are made to avoid corrupting the profile.
|
||||
@@ -1386,7 +1386,7 @@
|
||||
@@ -1330,7 +1330,7 @@
|
||||
// Linux speech service. Because it's buggy, the user must explicitly
|
||||
// enable it so that visiting a random webpage can't cause instability.
|
||||
const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/common/chrome_switches.h.orig 2014-08-12 21:02:17.000000000 +0200
|
||||
+++ ./chrome/common/chrome_switches.h 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -386,7 +386,7 @@
|
||||
--- ./chrome/common/chrome_switches.h.orig 2014-08-20 21:01:56.000000000 +0200
|
||||
+++ ./chrome/common/chrome_switches.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -378,7 +378,7 @@
|
||||
extern const char kPasswordStore[];
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/common/pref_names.cc.orig 2014-08-12 21:02:17.000000000 +0200
|
||||
+++ ./chrome/common/pref_names.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -923,7 +923,7 @@
|
||||
--- ./chrome/common/pref_names.cc.orig 2014-08-20 21:01:56.000000000 +0200
|
||||
+++ ./chrome/common/pref_names.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -957,7 +957,7 @@
|
||||
// Boolean controlling whether SafeSearch is mandatory for Google Web Searches.
|
||||
const char kForceSafeSearch[] = "settings.force_safesearch";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/common/pref_names.h.orig 2014-08-12 21:02:17.000000000 +0200
|
||||
+++ ./chrome/common/pref_names.h 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -298,7 +298,7 @@
|
||||
--- ./chrome/common/pref_names.h.orig 2014-08-20 21:01:56.000000000 +0200
|
||||
+++ ./chrome/common/pref_names.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -304,7 +304,7 @@
|
||||
extern const char kForceSafeSearch[];
|
||||
extern const char kDeleteTimePeriod[];
|
||||
extern const char kLastClearBrowsingDataTime[];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/renderer/pepper/pepper_flash_font_file_host.cc.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/renderer/pepper/pepper_flash_font_file_host.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/renderer/pepper/pepper_flash_font_file_host.cc.orig 2014-08-20 21:02:14.000000000 +0200
|
||||
+++ ./chrome/renderer/pepper/pepper_flash_font_file_host.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "ppapi/proxy/ppapi_messages.h"
|
||||
#include "ppapi/proxy/serialized_structs.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/renderer/printing/print_web_view_helper.h.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/renderer/printing/print_web_view_helper.h 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/renderer/printing/print_web_view_helper.h.orig 2014-08-20 21:02:13.000000000 +0200
|
||||
+++ ./chrome/renderer/printing/print_web_view_helper.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -201,7 +201,7 @@
|
||||
void FinishFramePrinting();
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/test/base/in_process_browser_test.cc.orig 2014-08-12 21:02:10.000000000 +0200
|
||||
+++ ./chrome/test/base/in_process_browser_test.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/test/base/in_process_browser_test.cc.orig 2014-08-20 21:01:48.000000000 +0200
|
||||
+++ ./chrome/test/base/in_process_browser_test.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -72,6 +72,10 @@
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./chrome/test/base/testing_browser_process.h.orig 2014-08-12 21:02:10.000000000 +0200
|
||||
+++ ./chrome/test/base/testing_browser_process.h 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -100,8 +100,8 @@
|
||||
--- ./chrome/test/base/testing_browser_process.h.orig 2014-08-20 21:01:48.000000000 +0200
|
||||
+++ ./chrome/test/base/testing_browser_process.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -105,8 +105,8 @@
|
||||
virtual DownloadStatusUpdater* download_status_updater() OVERRIDE;
|
||||
virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2014-08-12 21:02:10.000000000 +0200
|
||||
+++ ./chrome/test/chromedriver/chrome/chrome_finder.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2014-08-20 21:01:27.000000000 +0200
|
||||
+++ ./chrome/test/chromedriver/chrome/chrome_finder.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -42,7 +42,7 @@
|
||||
installation_locations[i].Append(L"Chromium\\Application"));
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/test/perf/perf_test.cc.orig 2014-08-12 21:02:10.000000000 +0200
|
||||
+++ ./chrome/test/perf/perf_test.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/test/perf/perf_test.cc.orig 2014-08-20 21:01:27.000000000 +0200
|
||||
+++ ./chrome/test/perf/perf_test.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -352,7 +352,7 @@
|
||||
AppendResult(output, "ws_final_t", "", "ws_f_t" + trace_name,
|
||||
total_working_set_size, "bytes",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./chrome/tools/build/linux/sed.sh.orig 2014-08-12 21:02:25.000000000 +0200
|
||||
+++ ./chrome/tools/build/linux/sed.sh 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./chrome/tools/build/linux/sed.sh.orig 2014-08-20 21:01:27.000000000 +0200
|
||||
+++ ./chrome/tools/build/linux/sed.sh 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#!/usr/bin/env bash
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/policy/resources/policy_templates.json.orig 2014-08-12 21:02:36.000000000 +0200
|
||||
+++ ./components/policy/resources/policy_templates.json 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/policy/resources/policy_templates.json.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/policy/resources/policy_templates.json 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -1513,7 +1513,7 @@
|
||||
'name': 'GSSAPILibraryName',
|
||||
'type': 'string',
|
||||
|
@ -9,7 +9,7 @@
|
|||
'features': {
|
||||
'dynamic_refresh': False,
|
||||
'per_profile': False,
|
||||
@@ -3643,7 +3643,7 @@
|
||||
@@ -3697,7 +3697,7 @@
|
||||
'name': 'RequireOnlineRevocationChecksForLocalAnchors',
|
||||
'type': 'main',
|
||||
'schema': { 'type': 'boolean' },
|
||||
|
@ -18,7 +18,7 @@
|
|||
'features': {
|
||||
'dynamic_refresh': True,
|
||||
'per_profile': False,
|
||||
@@ -4305,7 +4305,7 @@
|
||||
@@ -4377,7 +4377,7 @@
|
||||
'name': 'BackgroundModeEnabled',
|
||||
'type': 'main',
|
||||
'schema': { 'type': 'boolean' },
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/policy/tools/generate_policy_source.py.orig 2014-08-12 21:02:35.000000000 +0200
|
||||
+++ ./components/policy/tools/generate_policy_source.py 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/policy/tools/generate_policy_source.py.orig 2014-08-20 21:02:53.000000000 +0200
|
||||
+++ ./components/policy/tools/generate_policy_source.py 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -66,7 +66,7 @@
|
||||
if platform.startswith('chrome.'):
|
||||
platform_sub = platform[7:]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/storage_monitor.gypi.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/storage_monitor.gypi 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/storage_monitor.gypi.orig 2014-08-20 21:02:56.000000000 +0200
|
||||
+++ ./components/storage_monitor.gypi 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -49,6 +49,24 @@
|
||||
'storage_monitor/volume_mount_watcher_win.h',
|
||||
],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/storage_monitor/storage_monitor.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/storage_monitor/storage_monitor.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/storage_monitor/storage_monitor.cc.orig 2014-08-20 21:02:53.000000000 +0200
|
||||
+++ ./components/storage_monitor/storage_monitor.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -85,6 +85,7 @@
|
||||
|
||||
void StorageMonitor::EnsureInitialized(base::Closure callback) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/storage_monitor/storage_monitor_freebsd.cc.orig 2014-08-13 09:56:57.000000000 +0200
|
||||
+++ ./components/storage_monitor/storage_monitor_freebsd.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/storage_monitor/storage_monitor_freebsd.cc.orig 2014-08-22 15:06:25.000000000 +0200
|
||||
+++ ./components/storage_monitor/storage_monitor_freebsd.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -0,0 +1,102 @@
|
||||
+// Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
+// Use of this source code is governed by a BSD-style license that can be
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/storage_monitor/storage_monitor_freebsd.h.orig 2014-08-13 09:56:57.000000000 +0200
|
||||
+++ ./components/storage_monitor/storage_monitor_freebsd.h 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/storage_monitor/storage_monitor_freebsd.h.orig 2014-08-22 15:06:25.000000000 +0200
|
||||
+++ ./components/storage_monitor/storage_monitor_freebsd.h 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -0,0 +1,47 @@
|
||||
+// Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
+// Use of this source code is governed by a BSD-style license that can be
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./components/usb_service.gypi.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service.gypi 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -37,6 +37,11 @@
|
||||
--- ./components/usb_service.gypi.orig 2014-08-20 21:02:56.000000000 +0200
|
||||
+++ ./components/usb_service.gypi 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -41,6 +41,11 @@
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:udev',
|
||||
],
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
--- ./components/usb_service/usb_context.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service/usb_context.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -7,8 +7,13 @@
|
||||
#include "base/logging.h"
|
||||
--- ./components/usb_service/usb_context.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_context.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -8,8 +8,13 @@
|
||||
#include "base/synchronization/waitable_event.h"
|
||||
#include "base/threading/platform_thread.h"
|
||||
#include "components/usb_service/usb_error.h"
|
||||
+#if defined(OS_FREEBSD)
|
||||
+#include "libusb.h"
|
||||
+#define LIBUSB_CALL
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
namespace usb_service {
|
||||
|
||||
@@ -45,7 +50,9 @@
|
||||
@@ -46,7 +51,9 @@
|
||||
running_ = false;
|
||||
// Spreading running_ to the UsbEventHandler thread.
|
||||
base::subtle::MemoryBarrier();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ./components/usb_service/usb_context_unittest.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service/usb_context_unittest.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
--- ./components/usb_service/usb_context_unittest.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_context_unittest.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -6,7 +6,11 @@
|
||||
#include "build/build_config.h"
|
||||
#include "components/usb_service/usb_context.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./components/usb_service/usb_device_handle.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service/usb_device_handle.cc 2014-08-17 16:54:01.000000000 +0200
|
||||
@@ -16,7 +16,24 @@
|
||||
--- ./components/usb_service/usb_device_handle_impl.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_device_handle_impl.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -17,8 +17,25 @@
|
||||
#include "components/usb_service/usb_interface.h"
|
||||
#include "components/usb_service/usb_service.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
|
@ -10,7 +10,7 @@
|
|||
+#else
|
||||
#include "third_party/libusb/src/libusb/libusb.h"
|
||||
+#endif
|
||||
+
|
||||
|
||||
+/* Define for FreeBSD < 9.3, thanks to db@freebsd.org */
|
||||
+#if defined(OS_FREEBSD) && __FreeBSD_version < 903000
|
||||
+int libusb_get_string_descriptor(libusb_device_handle *dev,
|
||||
|
@ -22,6 +22,7 @@
|
|||
+ lang_id, data, (uint16_t)length, 1000);
|
||||
+}
|
||||
+#endif
|
||||
|
||||
+
|
||||
using content::BrowserThread;
|
||||
|
||||
namespace usb_service {
|
|
@ -1,8 +1,8 @@
|
|||
--- ./components/usb_service/usb_device_impl.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service/usb_device_impl.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -10,7 +10,11 @@
|
||||
#include "components/usb_service/usb_context.h"
|
||||
#include "components/usb_service/usb_device_handle.h"
|
||||
--- ./components/usb_service/usb_device_impl.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_device_impl.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -12,7 +12,11 @@
|
||||
#include "components/usb_service/usb_error.h"
|
||||
#include "components/usb_service/usb_interface_impl.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
+#if defined(OS_FREEBSD)
|
||||
+#include "libusb.h"
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
--- ./components/usb_service/usb_error.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_error.cc 2014-08-23 00:55:43.000000000 +0200
|
||||
@@ -4,7 +4,11 @@
|
||||
|
||||
#include "components/usb_service/usb_error.h"
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#include "libusb.h"
|
||||
+#else
|
||||
#include "third_party/libusb/src/libusb/libusb.h"
|
||||
+#endif
|
||||
|
||||
namespace usb_service {
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
--- ./components/usb_service/usb_interface.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service/usb_interface.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -5,7 +5,11 @@
|
||||
#include "components/usb_service/usb_interface.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
+#if defined(OS_FREEBSD)
|
||||
+#include "libusb.h"
|
||||
+#else
|
||||
#include "third_party/libusb/src/libusb/libusb.h"
|
||||
+#endif
|
||||
|
||||
namespace usb_service {
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
--- ./components/usb_service/usb_interface_impl.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_interface_impl.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -5,7 +5,11 @@
|
||||
#include "components/usb_service/usb_interface_impl.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
+#if defined(OS_FREEBSD)
|
||||
+#include "libusb.h"
|
||||
+#else
|
||||
#include "third_party/libusb/src/libusb/libusb.h"
|
||||
+#endif
|
||||
|
||||
namespace usb_service {
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
--- ./components/usb_service/usb_service_impl.cc.orig 2014-08-12 21:02:37.000000000 +0200
|
||||
+++ ./components/usb_service/usb_service_impl.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -13,7 +13,11 @@
|
||||
#include "components/usb_service/usb_context.h"
|
||||
--- ./components/usb_service/usb_service_impl.cc.orig 2014-08-20 21:02:55.000000000 +0200
|
||||
+++ ./components/usb_service/usb_service_impl.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -14,7 +14,11 @@
|
||||
#include "components/usb_service/usb_device_impl.h"
|
||||
#include "components/usb_service/usb_error.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
+#if defined(OS_FREEBSD)
|
||||
+#include "libusb.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./content/app/content_main_runner.cc.orig 2014-08-12 21:01:22.000000000 +0200
|
||||
+++ ./content/app/content_main_runner.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -88,10 +88,10 @@
|
||||
--- ./content/app/content_main_runner.cc.orig 2014-08-20 21:02:47.000000000 +0200
|
||||
+++ ./content/app/content_main_runner.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -95,10 +95,10 @@
|
||||
#include "base/posix/global_descriptors.h"
|
||||
#include "content/public/common/content_descriptors.h"
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
|||
#include "content/zygote/zygote_main.h"
|
||||
#endif
|
||||
|
||||
@@ -282,7 +282,8 @@
|
||||
@@ -287,7 +287,8 @@
|
||||
int (*function)(const MainFunctionParams&);
|
||||
};
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
// On platforms that use the zygote, we have a special subset of
|
||||
// subprocesses that are launched via the zygote. This function
|
||||
// fills in some process-launching bits around ZygoteMain().
|
||||
@@ -412,7 +413,8 @@
|
||||
@@ -417,7 +418,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./content/browser/browser_main_loop.cc.orig 2014-08-12 21:01:25.000000000 +0200
|
||||
+++ ./content/browser/browser_main_loop.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -135,7 +135,7 @@
|
||||
--- ./content/browser/browser_main_loop.cc.orig 2014-08-20 21:02:49.000000000 +0200
|
||||
+++ ./content/browser/browser_main_loop.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -133,7 +133,7 @@
|
||||
namespace content {
|
||||
namespace {
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
void SetupSandbox(const CommandLine& parsed_command_line) {
|
||||
TRACE_EVENT0("startup", "SetupSandbox");
|
||||
base::FilePath sandbox_binary;
|
||||
@@ -336,7 +336,7 @@
|
||||
@@ -334,7 +334,7 @@
|
||||
void BrowserMainLoop::EarlyInitialization() {
|
||||
TRACE_EVENT0("startup", "BrowserMainLoop::EarlyInitialization");
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
// No thread should be created before this call, as SetupSandbox()
|
||||
// will end-up using fork().
|
||||
SetupSandbox(parsed_command_line_);
|
||||
@@ -762,9 +762,9 @@
|
||||
@@ -764,9 +764,9 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ./content/browser/child_process_launcher.cc.orig 2014-08-12 21:01:25.000000000 +0200
|
||||
+++ ./content/browser/child_process_launcher.cc 2014-08-13 09:56:57.000000000 +0200
|
||||
@@ -66,7 +66,7 @@
|
||||
--- ./content/browser/child_process_launcher.cc.orig 2014-08-20 21:02:49.000000000 +0200
|
||||
+++ ./content/browser/child_process_launcher.cc 2014-08-22 15:06:25.000000000 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
#else
|
||||
terminate_child_on_shutdown_(true)
|
||||
#endif
|
||||
|
@ -9,7 +9,7 @@
|
|||
, zygote_(false)
|
||||
#endif
|
||||
{
|
||||
@@ -232,7 +232,7 @@
|
||||
@@ -234,7 +234,7 @@
|
||||
// child termination.
|
||||
base::ScopedFD ipcfd_closer(ipcfd);
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
GetContentClient()->browser()->
|
||||
GetAdditionalMappedFilesForChildProcess(*cmd_line, child_process_id,
|
||||
&files_to_register);
|
||||
@@ -242,7 +242,7 @@
|
||||
@@ -244,7 +244,7 @@
|
||||
process_type);
|
||||
} else
|
||||
// Fall through to the normal posix case below when we're not zygoting.
|
||||
|
@ -27,7 +27,7 @@
|
|||
{
|
||||
// Convert FD mapping to FileHandleMappingVector
|
||||
base::FileHandleMappingVector fds_to_map;
|
||||
@@ -253,7 +253,7 @@
|
||||
@@ -255,7 +255,7 @@
|
||||
base::GlobalDescriptors::kBaseDescriptor));
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
|||
if (process_type == switches::kRendererProcess) {
|
||||
const int sandbox_fd =
|
||||
RenderSandboxHostLinux::GetInstance()->GetRendererSocket();
|
||||
@@ -261,7 +261,7 @@
|
||||
@@ -263,7 +263,7 @@
|
||||
sandbox_fd,
|
||||
GetSandboxFD()));
|
||||
}
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
// Actually launch the app.
|
||||
base::LaunchOptions options;
|
||||
@@ -307,7 +307,7 @@
|
||||
@@ -322,7 +322,7 @@
|
||||
base::Bind(
|
||||
&Context::Notify,
|
||||
this_object.get(),
|
||||
|
@ -54,7 +54,7 @@
|
|||
use_zygote,
|
||||
#endif
|
||||
handle));
|
||||
@@ -315,7 +315,7 @@
|
||||
@@ -330,7 +330,7 @@
|
||||
}
|
||||
|
||||
void Notify(
|
||||
|
@ -63,7 +63,7 @@
|
|||
bool zygote,
|
||||
#endif
|
||||
base::ProcessHandle handle) {
|
||||
@@ -328,7 +328,7 @@
|
||||
@@ -343,7 +343,7 @@
|
||||
if (!handle)
|
||||
LOG(ERROR) << "Failed to launch child process";
|
||||
|
||||
|
@ -72,7 +72,7 @@
|
|||
zygote_ = zygote;
|
||||
#endif
|
||||
if (client_) {
|
||||
@@ -355,7 +355,7 @@
|
||||
@@ -370,7 +370,7 @@
|
||||
BrowserThread::PROCESS_LAUNCHER, FROM_HERE,
|
||||
base::Bind(
|
||||
&Context::TerminateInternal,
|
||||
|
@ -81,7 +81,7 @@
|
|||
zygote_,
|
||||
#endif
|
||||
process_.handle()));
|
||||
@@ -372,7 +372,7 @@
|
||||
@@ -387,7 +387,7 @@
|
||||
}
|
||||
|
||||
static void TerminateInternal(
|
||||
|
@ -90,7 +90,7 @@
|
|||
bool zygote,
|
||||
#endif
|
||||
base::ProcessHandle handle) {
|
||||
@@ -386,13 +386,13 @@
|
||||
@@ -401,13 +401,13 @@
|
||||
process.Terminate(RESULT_CODE_NORMAL_EXIT);
|
||||
// On POSIX, we must additionally reap the child.
|
||||
#if defined(OS_POSIX)
|
||||
|
@ -106,7 +106,7 @@
|
|||
{
|
||||
base::EnsureProcessTerminated(handle);
|
||||
}
|
||||
@@ -413,7 +413,7 @@
|
||||
@@ -428,7 +428,7 @@
|
||||
#if defined(OS_ANDROID)
|
||||
// The fd to close after creating the process.
|
||||
int ipcfd_;
|
||||
|
@ -115,7 +115,7 @@
|
|||
bool zygote_;
|
||||
#endif
|
||||
};
|
||||
@@ -455,7 +455,7 @@
|
||||
@@ -470,7 +470,7 @@
|
||||
*exit_code = context_->exit_code_;
|
||||
return context_->termination_status_;
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue