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

Issue 2646123002: Option added to protobuf build for import directories (Closed)

Created:
3 years, 11 months ago by Ramin Halavati
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Option added to protobuf build for import directories Protobuf library GNI does not let BUILD.gn define directories outside the base directory of the source files to be used for importing proto files in source proto files. This is resolved by adding an extra optional parameter that specifies the directories from which proto files are imported. BUG=683143 Review-Url: https://codereview.chromium.org/2646123002 Cr-Commit-Position: refs/heads/master@{#450309} Committed: https://chromium.googlesource.com/chromium/src/+/0c4b1788e3e0010560d6a064433f4f99afae5fda

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments addressed. #

Total comments: 10

Patch Set 3 : Comments addressed. #

Total comments: 2

Patch Set 4 : Comment addressed. #

Total comments: 2

Patch Set 5 : Warning added. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M third_party/protobuf/proto_library.gni View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M tools/protoc_wrapper/protoc_wrapper.py View 1 2 2 chunks +7 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (10 generated)
Ramin Halavati
Hi, I created the CL following yesterday's email on importing from other directories. Regarding DEPS ...
3 years, 11 months ago (2017-01-20 14:36:13 UTC) #2
Ramin Halavati
scottmg@chromium.org: Please review changes in protoc_wrapper.py
3 years, 11 months ago (2017-01-20 14:42:31 UTC) #4
xyzzyz
On 2017/01/20 14:36:13, Ramin Halavati wrote: > Hi, > > I created the CL following ...
3 years, 11 months ago (2017-01-20 18:27:33 UTC) #5
xyzzyz
https://codereview.chromium.org/2646123002/diff/1/third_party/protobuf/proto_library.gni File third_party/protobuf/proto_library.gni (right): https://codereview.chromium.org/2646123002/diff/1/third_party/protobuf/proto_library.gni#newcode68 third_party/protobuf/proto_library.gni:68: # default case is just the source directory. The ...
3 years, 11 months ago (2017-01-20 18:27:40 UTC) #6
Ramin Halavati
On 2017/01/20 18:27:33, xyzzyz wrote: > On 2017/01/20 14:36:13, Ramin Halavati wrote: > > Hi, ...
3 years, 11 months ago (2017-01-23 14:20:13 UTC) #7
Ramin Halavati
All comments addressed, review please. https://codereview.chromium.org/2646123002/diff/1/third_party/protobuf/proto_library.gni File third_party/protobuf/proto_library.gni (right): https://codereview.chromium.org/2646123002/diff/1/third_party/protobuf/proto_library.gni#newcode68 third_party/protobuf/proto_library.gni:68: # default case is ...
3 years, 11 months ago (2017-01-23 14:27:06 UTC) #8
scottmg
On 2017/01/20 14:36:13, Ramin Halavati wrote: > Hi, > > I created the CL following ...
3 years, 11 months ago (2017-01-23 16:53:02 UTC) #13
scottmg
https://codereview.chromium.org/2646123002/diff/20001/tools/protoc_wrapper/protoc_wrapper.py File tools/protoc_wrapper/protoc_wrapper.py (right): https://codereview.chromium.org/2646123002/diff/20001/tools/protoc_wrapper/protoc_wrapper.py#newcode92 tools/protoc_wrapper/protoc_wrapper.py:92: parser.add_argument("--import-dir", nargs='*', default=[], I have no idea why this ...
3 years, 11 months ago (2017-01-23 16:53:11 UTC) #14
xyzzyz
https://codereview.chromium.org/2646123002/diff/20001/third_party/protobuf/proto_library.gni File third_party/protobuf/proto_library.gni (right): https://codereview.chromium.org/2646123002/diff/20001/third_party/protobuf/proto_library.gni#newcode285 third_party/protobuf/proto_library.gni:285: args += ["--import-dir"] I was under impression before that ...
3 years, 11 months ago (2017-01-23 17:53:56 UTC) #15
xyzzyz
On 2017/01/23 14:20:13, Ramin Halavati wrote: > I was partly wrong in my previous discussion ...
3 years, 11 months ago (2017-01-23 17:59:41 UTC) #16
Dirk Pranke
https://codereview.chromium.org/2646123002/diff/20001/third_party/protobuf/proto_library.gni File third_party/protobuf/proto_library.gni (right): https://codereview.chromium.org/2646123002/diff/20001/third_party/protobuf/proto_library.gni#newcode285 third_party/protobuf/proto_library.gni:285: args += ["--import-dir"] On 2017/01/23 17:53:56, xyzzyz wrote: > ...
3 years, 11 months ago (2017-01-24 02:31:20 UTC) #17
Ramin Halavati
All comments addressed. Please review. Filed a bug for protos checkdeps and started working on ...
3 years, 11 months ago (2017-01-24 08:38:33 UTC) #18
Dirk Pranke
lgtm https://codereview.chromium.org/2646123002/diff/40001/third_party/protobuf/proto_library.gni File third_party/protobuf/proto_library.gni (right): https://codereview.chromium.org/2646123002/diff/40001/third_party/protobuf/proto_library.gni#newcode286 third_party/protobuf/proto_library.gni:286: args += ["--import-dir", rebase_path(path, root_build_dir)] This might actually ...
3 years, 11 months ago (2017-01-25 03:32:41 UTC) #19
Ramin Halavati
On 2017/01/25 03:32:41, Dirk Pranke wrote: > lgtm > > https://codereview.chromium.org/2646123002/diff/40001/third_party/protobuf/proto_library.gni > File third_party/protobuf/proto_library.gni (right): ...
3 years, 11 months ago (2017-01-25 12:39:21 UTC) #20
Dirk Pranke
On 2017/01/25 12:39:21, Ramin Halavati wrote: > On 2017/01/25 03:32:41, Dirk Pranke wrote: > > ...
3 years, 11 months ago (2017-01-25 20:07:26 UTC) #21
Ramin Halavati
All comments addressed. xyzzyz@: I've created CrBug.com/684383 for protobuf dependency check and am working in ...
3 years, 10 months ago (2017-02-10 06:21:10 UTC) #22
xyzzyz
https://codereview.chromium.org/2646123002/diff/60001/third_party/protobuf/proto_library.gni File third_party/protobuf/proto_library.gni (right): https://codereview.chromium.org/2646123002/diff/60001/third_party/protobuf/proto_library.gni#newcode67 third_party/protobuf/proto_library.gni:67: # A list of extra import directories to be ...
3 years, 10 months ago (2017-02-10 19:36:03 UTC) #23
Ramin Halavati
xyzzyz@: http://crbug.com/691451 is created for tracking the effort on updating partial imports, and warning added ...
3 years, 10 months ago (2017-02-13 06:56:57 UTC) #24
xyzzyz
lgtm
3 years, 10 months ago (2017-02-13 22:07:01 UTC) #25
xyzzyz
lgtm
3 years, 10 months ago (2017-02-13 22:07:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2646123002/80001
3 years, 10 months ago (2017-02-14 08:33:55 UTC) #29
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 10:01:08 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0c4b1788e3e0010560d6a064433f...

Powered by Google App Engine
This is Rietveld 408576698