proto_library failed to execute when out dir is "../out" |
|||
Issue descriptionWhen 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
,
Aug 17 2016
There are a lot of things that break if you dont use an output directory of "//out/...", for example, issue 568223 .
,
Aug 18 2017
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 |
|||
Comment 1 by yosin@chromium.org
, Jul 13 2016