Update build files to use webrtc_overrides in Chromium instead of overrides.

This is a part of moving the overrides to Chromium. See bug comment #65 for all steps.

BUG=chromium:468375

Review URL: https://codereview.webrtc.org/1354933002

Cr-Commit-Position: refs/heads/master@{#9996}
This commit is contained in:
henrikg 2015-09-21 02:53:00 -07:00 committed by Commit bot
parent 35d1767cc3
commit baae0a8a6c
4 changed files with 17 additions and 17 deletions

View File

@ -23,9 +23,9 @@ config("common_inherited_config") {
if (build_with_chromium) {
defines = [ "WEBRTC_CHROMIUM_BUILD" ]
include_dirs = [
# overrides must be included first as that is the mechanism for
# The overrides must be included first as that is the mechanism for
# selecting the override headers in Chromium.
"overrides",
"../webrtc_overrides",
# Allow includes to be prefixed with webrtc/ in case it is not an
# immediate subdirectory of the top-level.

View File

@ -332,18 +332,18 @@ static_library("rtc_base") {
if (build_with_chromium) {
sources += [
"../overrides/webrtc/base/logging.cc",
"../overrides/webrtc/base/logging.h",
"../../webrtc_overrides/webrtc/base/logging.cc",
"../../webrtc_overrides/webrtc/base/logging.h",
]
deps += [ "..:webrtc_common" ]
if (is_win) {
sources += [ "../overrides/webrtc/base/win32socketinit.cc" ]
sources += [ "../../webrtc_overrides/webrtc/base/win32socketinit.cc" ]
}
include_dirs = [
"../overrides",
"../../webrtc_overrides",
"../../boringssl/src/include",
]

View File

@ -84,7 +84,7 @@
'conditions': [
['build_with_chromium==1', {
'include_dirs': [
'../overrides',
'../../webrtc_overrides',
],
'sources!': [
'basictypes.h',
@ -338,9 +338,9 @@
'worker.h',
'x11windowpicker.cc',
'x11windowpicker.h',
'../overrides/webrtc/base/logging.cc',
'../overrides/webrtc/base/logging.h',
'../overrides/webrtc/base/win32socketinit.cc',
'../../webrtc_overrides/webrtc/base/logging.cc',
'../../webrtc_overrides/webrtc/base/logging.h',
'../../webrtc_overrides/webrtc/base/win32socketinit.cc',
],
# TODO(henrike): issue 3307, make rtc_base build without disabling
# these flags.
@ -366,7 +366,7 @@
'conditions': [
['build_with_chromium==1', {
'include_dirs': [
'../overrides',
'../../webrtc_overrides',
'../../boringssl/src/include',
],
'sources!': [
@ -481,9 +481,9 @@
}],
],
'sources!': [
'../overrides/webrtc/base/win32socketinit.cc',
'../overrides/webrtc/base/logging.cc',
'../overrides/webrtc/base/logging.h',
'../../webrtc_overrides/webrtc/base/win32socketinit.cc',
'../../webrtc_overrides/webrtc/base/logging.cc',
'../../webrtc_overrides/webrtc/base/logging.h',
],
}],
['use_openssl==1', {

View File

@ -223,7 +223,7 @@
'<(DEPTH)',
# The overrides must be included before the WebRTC root as that's the
# mechanism for selecting the override headers in Chromium.
'../overrides',
'../../webrtc_overrides',
# The WebRTC root is needed to allow includes in the WebRTC code base
# to be prefixed with webrtc/.
'../..',
@ -408,9 +408,9 @@
'WEBRTC_CHROMIUM_BUILD',
],
'include_dirs': [
# overrides must be included first as that is the mechanism for
# The overrides must be included first as that is the mechanism for
# selecting the override headers in Chromium.
'../overrides',
'../../webrtc_overrides',
'../..',
],
}, {