Revert "bindings: Generate entries for .cpp/.h files from IDL dictionaries in GN"
This reverts commit 5d0edd94. Reason for revert: Possible cause of Chromium Win x64 PGO Builder compile failures; hypothesis is that filenames are exceeding the maximum path length. See https://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20x64%20PGO%20Builder/builds/19881 . This will likely also fix bug 728584 as a side effect, though we could fix that differently long term. Original change's description: > bindings: Generate entries for .cpp/.h files from IDL dictionaries in GN > > By auto-generating those entries, we can stop requiring people to manually > update lists such as |generated_core_dictionary_files| every time Blink's > lists of IDL dictionary files change. > > Since the names of the generated .cpp/.h follow a fixed, specific format > that only depends on their respective IDL file's path and file name, we can > use GN itself to do some path introspection and generate the file names we > want in idl_impl(). > > While here, change the names of idl_impl()'s required arguments to make > their purpose more explicit: it is not immediately obvious that we > differentiate unions and callback functions from dictionary files in terms > of where the latter are generated and their file names, as well as why > idl_impl() only expects non-dictionary files in its outputs list. A good > next step would be generating dictionary impl files separately from unions > and callbacks to avoid the confusion altogether. > > Bug: 725996 > Change-Id: I41b06e8d71f33b21d77944216fcb07d0557ac47b > Reviewed-on: https://chromium-review.googlesource.com/517795 > Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com> > Reviewed-by: Hitoshi Yoshida <peria@chromium.org> > Reviewed-by: Kentaro Hara <haraken@chromium.org> > Reviewed-by: Kenichi Ishibashi <bashi@chromium.org> > Reviewed-by: Yuki Shiino <yukishiino@chromium.org> > Cr-Commit-Position: refs/heads/master@{#476262} TBR=peria@chromium.org,yukishiino@chromium.org,raphael.kubo.da.costa@intel.com,bashi@chromium.org,haraken@chromium.org No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 725996,728584 Change-Id: I3d41d2517c33b30b92b72686f669881eb62a7a00 Reviewed-on: https://chromium-review.googlesource.com/521702 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#476422}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment