Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Issue 2153563003: Move WEBRTC_BUILD_LIBEVENT definition to base/BUILD.gn and base/base.gyp. This use all_dependent_co… (Closed)

Created:
4 years, 5 months ago by perkj_webrtc
Modified:
4 years, 5 months ago
Reviewers:
tommi
CC:
niklas.enbom, peah-webrtc, qiang.lu, tterriberry_mozilla.com, webrtc-reviews_webrtc.org, yujie_mao (webrtc)
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move WEBRTC_BUILD_LIBEVENT definition to base/BUILD.gn and base/base.gyp. This use all_dependent_configs (GN) / all_dependent_settings (GYP) to export WEBRTC_BUILD_LIBEVENT to all dependent targets transitively. This fixes a problem with dependent projects in Chromium that indirectly include task_queue.h BUG=webrtc:5687 R=tommi@webrtc.org Committed: https://crrev.com/33b9c8fb031dba53272627794338fc2725fb0090 Cr-Commit-Position: refs/heads/master@{#13481}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed gn and gyp format. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M webrtc/BUILD.gn View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/base/BUILD.gn View 1 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/base/base.gyp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/build/common.gypi View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
perkj_webrtc
changed my mind. here is the cl.
4 years, 5 months ago (2016-07-14 21:41:07 UTC) #2
tommi
https://codereview.webrtc.org/2153563003/diff/1/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (right): https://codereview.webrtc.org/2153563003/diff/1/webrtc/base/BUILD.gn#newcode221 webrtc/base/BUILD.gn:221: all_dependent_configs = [ Does this also mean that enable_libevent_config ...
4 years, 5 months ago (2016-07-14 21:47:45 UTC) #3
tommi
lgtm as long as everything builds fine.
4 years, 5 months ago (2016-07-14 21:48:33 UTC) #4
perkj_webrtc
Committed patchset #2 (id:20001) manually as 33b9c8fb031dba53272627794338fc2725fb0090 (presubmit successful).
4 years, 5 months ago (2016-07-15 06:26:00 UTC) #6
perkj_webrtc
4 years, 5 months ago (2016-07-15 06:26:19 UTC) #8
Message was sent while issue was closed.
https://codereview.webrtc.org/2153563003/diff/1/webrtc/base/BUILD.gn
File webrtc/base/BUILD.gn (right):

https://codereview.webrtc.org/2153563003/diff/1/webrtc/base/BUILD.gn#newcode221
webrtc/base/BUILD.gn:221: all_dependent_configs = [
On 2016/07/14 21:47:44, tommi-webrtc wrote:
> Does this also mean that enable_libevent_config is a dependency of
> rtc_task_queue?  (i.e. that the define is set for the current target too, not
> just dependent ones)

yes, for gn but not gyp.

Powered by Google App Engine
This is Rietveld 408576698