New issue
Advanced search Search tips

Issue 627360 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

proto_library failed to execute when out dir is "../out"

Project Member Reported by yosin@chromium.org, Jul 12 2016

Issue description

When GN directory is ../out, it pass strange file path to protoc.
It seems prefix "/" of "/C:/src/w/cr/out/Debug/gen/policy" makes protoc in trouble.

C:/python_27_amd64/files/python.exe ../../src/tools/protoc_wrapper/protoc_wrapper.py --include components/policy/policy_proto_export.h --protobuf gen/policy/proto/cloud_policy.pb.h --proto-in-dir /C:/src/w/cr/out/Debug/gen/policy --proto-in-file cloud_policy.proto --use-system-protobuf=0 -- ./protoc --python_out pyproto/policy/proto --cpp_out dllexport_decl=POLICY_PROTO_EXPORT:gen/policy/proto
/C:/src/w/cr/out/Debug/gen/policy: warning: directory does not exist.
/C:/src/w/cr/out/Debug/gen/policy\cloud_policy.proto: Invalid argument
 

Comment 1 by yosin@chromium.org, Jul 13 2016

Labels: Build-Tools-GN

Comment 2 by brettw@chromium.org, Aug 17 2016

Labels: -Build-Tools-GN
Owner: ----
Status: Available (was: Assigned)
There are a lot of things that break if you dont use an output directory of "//out/...", for example,  issue 568223 .
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 18 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment