Revert "Reland "Adding absl includes and defines to rtc_* templates.""
This reverts commit 9632112a16d70a146e917db4de761e6253dfc364. Reason for revert: It breaks the WebRTC roll into Chromium. https://chromium-review.googlesource.com/c/chromium/src/+/1061476 Original change's description: > Reland "Adding absl includes and defines to rtc_* templates." > > This reverts commit d161eda477491b2b97fb3f26d229c625a2a0e9b8. > > Reason for revert: The problem with iOS trybots should be fixed. > > Original change's description: > > Revert "Adding absl includes and defines to rtc_* templates." > > > > This reverts commit 9d8f3850f4c4faad5dc5ab32ab6f2c9c43df7b6c. > > > > Reason for revert: Breaks some trybots: https://build.chromium.org/p/client.webrtc/builders/iOS64%20Release/builds/12793. > > > > Original change's description: > > > Adding absl includes and defines to rtc_* templates. > > > > > > This CL implicitly adds the -I compiler flag and absl macros to WebRTC > > > templates. In order to include absl headers using relative paths, WebRTC > > > needs to ensure that all its build targets are able to see absl headers. > > > > > > This can also be done with public_deps, but WebRTC is trying to avoid > > > it because it creates problems with other build systems. Given this > > > constraint, using rtc_* templates is the most reliable solution. > > > > > > Please note that rtc_* templates are adding absl includes and defines > > > as public_configs, this means that build targets with WebRTC targets > > > in their public_deps will propagate these configs following the GN > > > guideline. > > > > > > Bug: webrtc:8821 > > > Change-Id: I4aa594a524f4bd045bcb3e80d76cc27f06fe01d7 > > > Reviewed-on: https://webrtc-review.googlesource.com/70367 > > > Reviewed-by: Patrik Höglund <phoglund@webrtc.org> > > > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > > > Cr-Commit-Position: refs/heads/master@{#22927} > > > > TBR=phoglund@webrtc.org,mbonadei@webrtc.org > > > > Change-Id: Id8e1f881c57553386566eb1970f6b9f8632cab37 > > No-Presubmit: true > > No-Tree-Checks: true > > No-Try: true > > Bug: webrtc:8821 > > Reviewed-on: https://webrtc-review.googlesource.com/71000 > > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#22928} > > TBR=phoglund@webrtc.org,mbonadei@webrtc.org > > Bug: webrtc:8821 > Change-Id: I6ee2eda97bbcd4c9be25c9c4073272192b0373f8 > Reviewed-on: https://webrtc-review.googlesource.com/71700 > Reviewed-by: Patrik Höglund <phoglund@webrtc.org> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#23251} TBR=phoglund@webrtc.org,mbonadei@webrtc.org Change-Id: I61fb749797314ca514691b341c66f7f39ef45491 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:8821 Reviewed-on: https://webrtc-review.googlesource.com/77220 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23264}
This commit is contained in:
parent
89653d5db4
commit
85cb19fec7
33
webrtc.gni
33
webrtc.gni
@ -313,9 +313,6 @@ all_poison_types = [
|
||||
"software_video_codecs",
|
||||
]
|
||||
|
||||
absl_include_config = "//third_party/abseil-cpp:absl_include_config"
|
||||
absl_define_config = "//third_party/abseil-cpp:absl_define_config"
|
||||
|
||||
template("rtc_test") {
|
||||
test(target_name) {
|
||||
forward_variables_from(invoker,
|
||||
@ -334,11 +331,7 @@ template("rtc_test") {
|
||||
configs += invoker.configs
|
||||
configs -= rtc_remove_configs
|
||||
configs -= invoker.suppressed_configs
|
||||
public_configs = [
|
||||
rtc_common_inherited_config,
|
||||
absl_include_config,
|
||||
absl_define_config,
|
||||
]
|
||||
public_configs = [ rtc_common_inherited_config ]
|
||||
if (defined(invoker.public_configs)) {
|
||||
public_configs += invoker.public_configs
|
||||
}
|
||||
@ -405,11 +398,7 @@ template("rtc_source_set") {
|
||||
configs += invoker.configs
|
||||
configs -= rtc_remove_configs
|
||||
configs -= invoker.suppressed_configs
|
||||
public_configs = [
|
||||
rtc_common_inherited_config,
|
||||
absl_include_config,
|
||||
absl_define_config,
|
||||
]
|
||||
public_configs = [ rtc_common_inherited_config ]
|
||||
if (defined(invoker.public_configs)) {
|
||||
public_configs += invoker.public_configs
|
||||
}
|
||||
@ -439,11 +428,7 @@ template("rtc_executable") {
|
||||
]
|
||||
deps += invoker.deps
|
||||
|
||||
public_configs = [
|
||||
rtc_common_inherited_config,
|
||||
absl_include_config,
|
||||
absl_define_config,
|
||||
]
|
||||
public_configs = [ rtc_common_inherited_config ]
|
||||
if (defined(invoker.public_configs)) {
|
||||
public_configs += invoker.public_configs
|
||||
}
|
||||
@ -506,11 +491,7 @@ template("rtc_static_library") {
|
||||
configs += invoker.configs
|
||||
configs -= rtc_remove_configs
|
||||
configs -= invoker.suppressed_configs
|
||||
public_configs = [
|
||||
rtc_common_inherited_config,
|
||||
absl_include_config,
|
||||
absl_define_config,
|
||||
]
|
||||
public_configs = [ rtc_common_inherited_config ]
|
||||
if (defined(invoker.public_configs)) {
|
||||
public_configs += invoker.public_configs
|
||||
}
|
||||
@ -573,11 +554,7 @@ template("rtc_shared_library") {
|
||||
configs += invoker.configs
|
||||
configs -= rtc_remove_configs
|
||||
configs -= invoker.suppressed_configs
|
||||
public_configs = [
|
||||
rtc_common_inherited_config,
|
||||
absl_include_config,
|
||||
absl_define_config,
|
||||
]
|
||||
public_configs = [ rtc_common_inherited_config ]
|
||||
if (defined(invoker.public_configs)) {
|
||||
public_configs += invoker.public_configs
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user