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

Issue 1961883002: Generate separate files for union type containers (Closed)

Created:
4 years, 7 months ago by bashi
Modified:
4 years, 7 months ago
CC:
chromium-reviews, shans, tzik, johnme+watch_chromium.org, dshwang, eae+blinkwatch, fs, eric.carlson_apple.com, scheib+watch_chromium.org, apavlov+blink_chromium.org, rwlbuis, jsbell+serviceworker_chromium.org, mvanouwerkerk+watch_chromium.org, yhirano+watch_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, Justin Novosad, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, blink-reviews-bindings_chromium.org, blink-reviews, harkness+watch_chromium.org, mcasas+watch+mediastream_chromium.org, Eric Willigers, nessy, rjwright, blink-reviews-style_chromium.org, serviceworker-reviews, Peter Beverloo, sof, nhiroki, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, darktears, jsbell+idb_chromium.org, vcarbune.chromium, michaeln, tyoshino+watch_chromium.org, ajuma+watch-canvas_chromium.org, blink-reviews-animation_chromium.org, horo+watch_chromium.org, gasubic, falken, mlamouri+watch-blink_chromium.org, kinuko+serviceworker, cmumford, ortuno+watch_chromium.org, kinuko+fileapi, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Generate separate files for union type containers Generating union type containers into single files (per component) is the root cause of cyclic dependencies when we use union types with IDL dictionaries. We should put generated containers into separate files. Unfortunately this CL brings a burden on developers. See IDLUnionTypes.md for more details. BUG=524424 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/89853fd3c7589e801151a70687beb391195cee9a Cr-Commit-Position: refs/heads/master@{#393130}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : Add IDLUnionTypes.md #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3309 lines, -3168 lines) Patch
A third_party/WebKit/Source/bindings/IDLUnionTypes.md View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/generated.gni View 1 1 chunk +57 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/generated.gypi View 1 1 chunk +56 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/V8BindingForModulesTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/generated.gni View 1 1 chunk +39 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/generated.gypi View 1 1 chunk +38 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/code_generator_v8.py View 6 chunks +65 lines, -54 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_individual.py View 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_overall.py View 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/utilities.py View 1 2 3 4 5 5 chunks +16 lines, -7 lines 1 comment Download
M third_party/WebKit/Source/bindings/scripts/v8_union.py View 1 5 chunks +14 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/templates.gni View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/templates.gypi View 1 1 chunk +2 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/bindings/templates/union.h View 1 chunk +0 lines, -79 lines 0 comments Download
D third_party/WebKit/Source/bindings/templates/union.cpp View 1 chunk +0 lines, -203 lines 0 comments Download
A + third_party/WebKit/Source/bindings/templates/union_container.h View 2 chunks +20 lines, -24 lines 0 comments Download
A + third_party/WebKit/Source/bindings/templates/union_container.cpp View 7 chunks +49 lines, -51 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h View 1 chunk +89 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.cpp View 1 chunk +147 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.h View 1 chunk +87 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp View 1 chunk +141 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.h View 2 chunks +24 lines, -25 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp View 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.h View 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp View 1 chunk +126 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/NodeOrNodeList.h View 1 chunk +82 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/NodeOrNodeList.cpp View 1 chunk +119 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/StringOrArrayBufferOrArrayBufferView.h View 1 chunk +89 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/StringOrArrayBufferOrArrayBufferView.cpp View 1 chunk +145 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.h View 2 chunks +25 lines, -26 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.cpp View 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.h View 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.cpp View 1 chunk +114 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.h View 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.cpp View 1 chunk +133 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.h View 1 chunk +82 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.cpp View 1 chunk +117 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceGarbageCollectedOrString.h View 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceGarbageCollectedOrString.cpp View 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h View 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.cpp View 1 chunk +126 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrTestInterfaceEmpty.h View 1 chunk +82 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrTestInterfaceEmpty.cpp View 1 chunk +119 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h View 1 chunk +0 lines, -813 lines 0 comments Download
D third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp View 1 chunk +0 lines, -1562 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.h View 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp View 1 chunk +114 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A + third_party/WebKit/Source/bindings/tests/results/modules/BooleanOrString.h View 2 chunks +3 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/bindings/tests/results/modules/BooleanOrString.cpp View 1 chunk +2 lines, -1 line 0 comments Download
D third_party/WebKit/Source/bindings/tests/results/modules/UnionTypesModules.h View 1 chunk +0 lines, -81 lines 0 comments Download
D third_party/WebKit/Source/bindings/tests/results/modules/UnionTypesModules.cpp View 1 chunk +0 lines, -110 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/EffectInput.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/EffectInputTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ElementAnimation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/FontFace.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DOMArrayPiece.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/URLSearchParams.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/Blob.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/File.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/FormData.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAllCollection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormElement.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/track/TrackEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/DictionaryTest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/UnionTypesTest.h View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/cachestorage/Cache.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/crypto/SubtleCrypto.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encoding/TextDecoder.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/Request.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/Response.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/nfc/NFC.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushManager.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushManagerTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (9 generated)
bashi
Not yet ready for review; I just want to show what I'm going to do. ...
4 years, 7 months ago (2016-05-09 10:35:20 UTC) #3
haraken
On 2016/05/09 10:35:20, bashi1 wrote: > Not yet ready for review; I just want to ...
4 years, 7 months ago (2016-05-09 10:47:48 UTC) #4
bashi
Now ready for review, PTAL? Sorry for asking a huge review but I couldn't separate ...
4 years, 7 months ago (2016-05-10 08:16:10 UTC) #6
haraken
LGTM yukishiino@: Would you take another look at the IDL compiler part? https://codereview.chromium.org/1961883002/diff/40001/third_party/WebKit/Source/bindings/IDLUnionTypes.md File third_party/WebKit/Source/bindings/IDLUnionTypes.md ...
4 years, 7 months ago (2016-05-10 09:19:59 UTC) #7
Yuki
I'm not an expert in this area, and it's not easy for me to follow ...
4 years, 7 months ago (2016-05-10 12:29:46 UTC) #8
bashi
> Having said that, what rule do you apply to the header name (AorBorC.h)? It ...
4 years, 7 months ago (2016-05-11 23:09:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961883002/60001
4 years, 7 months ago (2016-05-11 23:11:25 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-12 01:16:22 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/89853fd3c7589e801151a70687beb391195cee9a Cr-Commit-Position: refs/heads/master@{#393130}
4 years, 7 months ago (2016-05-12 01:17:46 UTC) #16
haraken
Is there any remaining work to support the nested unions & dictionaries in WebRTC?
4 years, 7 months ago (2016-05-12 02:16:03 UTC) #17
bashi
On 2016/05/12 02:16:03, haraken wrote: > Is there any remaining work to support the nested ...
4 years, 7 months ago (2016-05-12 02:22:05 UTC) #18
Sébastien Marchand
This CL broke the Win PGO builder (https://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20PGO%20Builder/builds/2824): No such file or directory: '..\\..\\..\\..\\..\\..\\out\\Release/gen/blink/bindings/modules/v8/CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrImageBitmapRenderingContext.cpp' any ...
4 years, 7 months ago (2016-05-12 14:07:26 UTC) #20
bashi
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1974143002/ by bashi@chromium.org. ...
4 years, 7 months ago (2016-05-12 23:16:19 UTC) #21
ncarter (slow)
4 years, 7 months ago (2016-05-13 18:59:32 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/1961883002/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/bindings/scripts/utilities.py (right):

https://codereview.chromium.org/1961883002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/bindings/scripts/utilities.py:292: def
write_file(new_text, destination_filename, only_if_changed):
Just doing the following seems to fix the problem:

    destination_filename = os.path.normpath(os.path.join(os.getcwd(),
                                            destination_filename))

(note that os.path.abspath won't work -- it seems to fail when the
concatentation of cwd + arg is over the MAX_PATH limit.)

Powered by Google App Engine
This is Rietveld 408576698