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

Issue 1907603005: Add a dependency for FlatBuffers. (Closed)

Created:
4 years, 8 months ago by battre
Modified:
4 years, 7 months ago
CC:
aizatsky, chromium-reviews, pkalinnikov1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a dependency for FlatBuffers. FlatBuffers is a library for efficient cross platform serialization of data structures. It allows to directly access serialized data without unpacking/parsing it first and is intended to be used for memory mapping data structures into renderer processes. BUG=TDB Committed: https://crrev.com/1f0e8e7f0278e1d4a9ad8fade720730d2053197b Cr-Commit-Position: refs/heads/master@{#392043}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed comments #

Patch Set 3 : testonly for generated files #

Total comments: 12

Patch Set 4 : Addressed comments #

Total comments: 2

Patch Set 5 : Moved import statements #

Patch Set 6 : Whitelist flatbuffers for license check #

Total comments: 1

Patch Set 7 : Addressed comments on license #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -4 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/devscripts/licensecheck.pl View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A third_party/flatbuffers/BUILD.gn View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
A + third_party/flatbuffers/LICENSE View 2 chunks +2 lines, -1 line 0 comments Download
A + third_party/flatbuffers/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
A third_party/flatbuffers/README.chromium View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/flatbuffers/flatbuffer.gni View 1 2 3 1 chunk +118 lines, -0 lines 0 comments Download
A third_party/flatbuffers/flatbuffers.gyp View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download
A third_party/flatbuffers/flatc.gypi View 1 chunk +70 lines, -0 lines 0 comments Download
M tools/checklicenses/checklicenses.py View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
battre
Brett/Jochen for checking the build scripts and OWNERS approval in third_party/. Chris for security sign-off. ...
4 years, 8 months ago (2016-04-21 14:52:42 UTC) #2
jochen (gone - plz use gerrit)
did OSS approve? I didn't review the flatc.{gni,gypi}, Brett, can you look at that? https://codereview.chromium.org/1907603005/diff/1/third_party/flatbuffers/BUILD.gn ...
4 years, 8 months ago (2016-04-21 14:59:00 UTC) #3
battre
Thank you. I have requested OSS approval. https://codereview.chromium.org/1907603005/diff/1/third_party/flatbuffers/BUILD.gn File third_party/flatbuffers/BUILD.gn (right): https://codereview.chromium.org/1907603005/diff/1/third_party/flatbuffers/BUILD.gn#newcode21 third_party/flatbuffers/BUILD.gn:21: compiler_files = ...
4 years, 8 months ago (2016-04-21 15:31:34 UTC) #4
brettw
https://codereview.chromium.org/1907603005/diff/40001/third_party/flatbuffers/BUILD.gn File third_party/flatbuffers/BUILD.gn (right): https://codereview.chromium.org/1907603005/diff/40001/third_party/flatbuffers/BUILD.gn#newcode9 third_party/flatbuffers/BUILD.gn:9: static_library("flatbuffers") { This should be a source_set. https://codereview.chromium.org/1907603005/diff/40001/third_party/flatbuffers/BUILD.gn#newcode22 third_party/flatbuffers/BUILD.gn:22: ...
4 years, 8 months ago (2016-04-21 20:00:03 UTC) #5
battre
Thank you for the review. https://codereview.chromium.org/1907603005/diff/40001/third_party/flatbuffers/BUILD.gn File third_party/flatbuffers/BUILD.gn (right): https://codereview.chromium.org/1907603005/diff/40001/third_party/flatbuffers/BUILD.gn#newcode9 third_party/flatbuffers/BUILD.gn:9: static_library("flatbuffers") { On 2016/04/21 ...
4 years, 8 months ago (2016-04-25 14:31:48 UTC) #6
wvo
Note, the library is called "FlatBuffers" (or "flatbuffers"), a "flatbuffer" is an individual buffer, and ...
4 years, 8 months ago (2016-04-25 16:33:22 UTC) #7
palmer
I think the main thing to do at this point is get a fuzzer running ...
4 years, 8 months ago (2016-04-26 23:27:06 UTC) #8
battre
On 2016/04/25 16:33:22, wvo wrote: > Note, the library is called "FlatBuffers" (or "flatbuffers"), a ...
4 years, 7 months ago (2016-04-27 12:16:26 UTC) #9
palmer
OK, so, given that the way we intend to use FB in the immediate term ...
4 years, 7 months ago (2016-04-28 21:07:28 UTC) #10
battre
Thank you. Brett, could you now take another look please? Thanks, Dominic
4 years, 7 months ago (2016-04-29 16:45:35 UTC) #11
brettw
lgtm https://codereview.chromium.org/1907603005/diff/60001/third_party/flatbuffers/BUILD.gn File third_party/flatbuffers/BUILD.gn (right): https://codereview.chromium.org/1907603005/diff/60001/third_party/flatbuffers/BUILD.gn#newcode54 third_party/flatbuffers/BUILD.gn:54: import("//third_party/flatbuffers/flatbuffer.gni") Can you put all the imports at ...
4 years, 7 months ago (2016-05-02 17:13:25 UTC) #12
battre
Thanks a lot. I will commit as soon as the repository is being mirrored.
4 years, 7 months ago (2016-05-03 07:11:08 UTC) #13
battre
+phajdan.jr for OWNER's approval of tools/checklicenses/checklicenses.py
4 years, 7 months ago (2016-05-06 06:48:59 UTC) #15
Paweł Hajdan Jr.
https://codereview.chromium.org/1907603005/diff/100001/tools/checklicenses/checklicenses.py File tools/checklicenses/checklicenses.py (right): https://codereview.chromium.org/1907603005/diff/100001/tools/checklicenses/checklicenses.py#newcode349 tools/checklicenses/checklicenses.py:349: # Flatbuffers is known to be licenced under an ...
4 years, 7 months ago (2016-05-06 10:22:02 UTC) #16
Paweł Hajdan Jr.
LGTM
4 years, 7 months ago (2016-05-06 11:11:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907603005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907603005/120001
4 years, 7 months ago (2016-05-06 12:06:30 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-06 12:59:13 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 13:00:27 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1f0e8e7f0278e1d4a9ad8fade720730d2053197b
Cr-Commit-Position: refs/heads/master@{#392043}

Powered by Google App Engine
This is Rietveld 408576698