|
|
Chromium Code Reviews|
Created:
5 years, 8 months ago by Georges Khalil Modified:
5 years, 8 months ago CC:
chromium-reviews, erikwright+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd missing dependency in base_win64.
BUG=477851
Committed: https://crrev.com/cff5a0c6ca6dcaf284b43cd6a8984e6bdffb6aa4
Cr-Commit-Position: refs/heads/master@{#325708}
Patch Set 1 : #
Messages
Total messages: 14 (4 generated)
Patchset #1 (id:1) has been deleted
georgesak@chromium.org changed reviewers: + thestig@chromium.org
PTAL.
lgtm
The CQ bit was checked by georgesak@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1090223002/20001
wtc@chromium.org changed reviewers: + wtc@chromium.org
Patch set 1 LGTM. Thanks for writing the CL.
I think a better fix would be something like the following, which adds the
dependency near the file that requires this dependency:
diff --git a/base/base.gyp b/base/base.gyp
index 1d6ba34..e99b0d6 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -190,9 +190,6 @@
],
},
],
- 'dependencies': [
- 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest',
- ],
}],
['OS == "mac" or (OS == "ios" and _toolset == "host")', {
'link_settings': {
diff --git a/base/base.gypi b/base/base.gypi
index 23f1c8a..06d94f9 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -974,6 +974,11 @@
['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
'defines': ['SYSTEM_NATIVE_UTF8'],
}],
+ ['OS == "win"', {
+ 'dependencies': [
+ 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest',
+ ],
+ }],
],
}],
['base_i18n_target==1', {
The file that needs this dependency is
base/trace_event/trace_event_etw_export_win.cc, which is in
'trace_event_sources'.
'<@(trace_event_sources)' is added to 'sources' if 'base_target==1'. Therefore,
it would be better add the dependency at that place.
That was my first reflex. However, I don't think you can have dependencies
in base.gypi (a quick search will yield 0 dependencies declared in this file).
If there's a workaround, I would be more than happy to change it.
On 2015/04/17 18:11:57, wtc wrote:
> Patch set 1 LGTM. Thanks for writing the CL.
>
> I think a better fix would be something like the following, which adds the
> dependency near the file that requires this dependency:
>
> diff --git a/base/base.gyp b/base/base.gyp
> index 1d6ba34..e99b0d6 100644
> --- a/base/base.gyp
> +++ b/base/base.gyp
> @@ -190,9 +190,6 @@
> ],
> },
> ],
> - 'dependencies': [
> - 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest',
> - ],
> }],
> ['OS == "mac" or (OS == "ios" and _toolset == "host")', {
> 'link_settings': {
> diff --git a/base/base.gypi b/base/base.gypi
> index 23f1c8a..06d94f9 100644
> --- a/base/base.gypi
> +++ b/base/base.gypi
> @@ -974,6 +974,11 @@
> ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
> 'defines': ['SYSTEM_NATIVE_UTF8'],
> }],
> + ['OS == "win"', {
> + 'dependencies': [
> + 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest',
> + ],
> + }],
> ],
> }],
> ['base_i18n_target==1', {
>
> The file that needs this dependency is
> base/trace_event/trace_event_etw_export_win.cc, which is in
> 'trace_event_sources'.
>
> '<@(trace_event_sources)' is added to 'sources' if 'base_target==1'.
Therefore,
> it would be better add the dependency at that place.
Message was sent while issue was closed.
Committed patchset #1 (id:20001)
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/cff5a0c6ca6dcaf284b43cd6a8984e6bdffb6aa4 Cr-Commit-Position: refs/heads/master@{#325708}
Message was sent while issue was closed.
Patch set 1 LGTM. Thanks. On 2015/04/17 20:28:53, Georges Khalil wrote: > That was my first reflex. However, I don't think you can have dependencies > in base.gypi (a quick search will yield 0 dependencies declared in this file). > > If there's a workaround, I would be more than happy to change it. Hi Georges, I asked Mark Mentovai about this. He said what I suggested won't work. So we need to go with your fix.
Message was sent while issue was closed.
On 2015/04/20 16:22:48, wtc wrote: > Patch set 1 LGTM. Thanks. > > On 2015/04/17 20:28:53, Georges Khalil wrote: > > That was my first reflex. However, I don't think you can have dependencies > > in base.gypi (a quick search will yield 0 dependencies declared in this file). > > > > If there's a workaround, I would be more than happy to change it. > > Hi Georges, > > I asked Mark Mentovai about this. He said what I suggested won't work. So > we need to go with your fix. Sounds good. Let me know if you need something else from me.
Message was sent while issue was closed.
On 2015/04/21 09:58:44, Georges Khalil wrote: > On 2015/04/20 16:22:48, wtc wrote: > > Patch set 1 LGTM. Thanks. > > > > On 2015/04/17 20:28:53, Georges Khalil wrote: > > > That was my first reflex. However, I don't think you can have dependencies > > > in base.gypi (a quick search will yield 0 dependencies declared in this > file). > > > > > > If there's a workaround, I would be more than happy to change it. > > > > Hi Georges, > > > > I asked Mark Mentovai about this. He said what I suggested won't work. So > > we need to go with your fix. > > Sounds good. Let me know if you need something else from me. The build seems to still be flaky due to this set of patches: http://build.chromium.org/p/chromium/builders/Win/builds/31260/steps/compile/... http://build.chromium.org/p/chromium/builders/Win/builds/31272/steps/compile/... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
