|
|
Created:
6 years, 7 months ago by c.shu Modified:
6 years, 7 months ago CC:
blink-reviews Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Visibility:
Public. |
DescriptionDo not generate EventTarget.cpp which is not used in the build.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174247
Patch Set 1 #
Total comments: 1
Patch Set 2 : rebaseline #Messages
Total messages: 16 (0 generated)
The auto-generated EventTarget.cpp is not used anywhere in the build and I think we should not generate it.
Sounds sensible, thanks! Adam, could you take a look?
lgtm https://codereview.chromium.org/287663003/diff/1/Source/build/scripts/make_ev... File Source/build/scripts/make_event_factory.py (right): https://codereview.chromium.org/287663003/diff/1/Source/build/scripts/make_ev... Source/build/scripts/make_event_factory.py:67: if self.namespace == 'EventTarget': Feels like an odd place to disable this, but OK.
On 2014/05/16 21:15:43, eseidel wrote: > lgtm > > https://codereview.chromium.org/287663003/diff/1/Source/build/scripts/make_ev... > File Source/build/scripts/make_event_factory.py (right): > > https://codereview.chromium.org/287663003/diff/1/Source/build/scripts/make_ev... > Source/build/scripts/make_event_factory.py:67: if self.namespace == > 'EventTarget': > Feels like an odd place to disable this, but OK. You are right. It's a bit hacky. But we have to generate other files like EventTargetHeaders.h which are also triggered by calling make_event_factory. So I could not just remove the line that calls make_event_factory.
The CQ bit was checked by c.shu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/c.shu@samsung.com/287663003/1
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for Source/build/scripts/make_event_factory.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file Source/build/scripts/make_event_factory.py Hunk #1 FAILED at 64. 1 out of 1 hunk FAILED -- saving rejects to file Source/build/scripts/make_event_factory.py.rej Patch: Source/build/scripts/make_event_factory.py Index: Source/build/scripts/make_event_factory.py diff --git a/Source/build/scripts/make_event_factory.py b/Source/build/scripts/make_event_factory.py index 16d442c86373f9120879aa6bf897e5ed3d46a559..21804a514591f0935039312c936bcd8f31195942 100755 --- a/Source/build/scripts/make_event_factory.py +++ b/Source/build/scripts/make_event_factory.py @@ -64,6 +64,8 @@ class EventFactoryWriter(name_macros.Writer): def __init__(self, in_file_path): super(EventFactoryWriter, self).__init__(in_file_path) + if self.namespace == 'EventTarget': + return self._outputs[(self.namespace + ".cpp")] = self.generate_implementation @template_expander.use_jinja('EventFactory.cpp.tmpl', filters=filters)
The CQ bit was checked by c.shu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/c.shu@samsung.com/287663003/20001
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are real, and report flakes to chrome-troopers@google.com. The failing builders are: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/7845)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/8226)
The CQ bit was checked by c.shu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/c.shu@samsung.com/287663003/20001
Message was sent while issue was closed.
Change committed as 174247 |