Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
iannucci@chromium.org 2b60280dda Change protoc build rule to not use cygwin bash.
Now protoc.exe will be directly invoked.

This rolls cacheinvalidation from r218:r219
------------------------------------------------------------------------
r219 | ghcooper@gmail.com | 2012-07-20 17:44:14 -0700 (Fri, 20 Jul 2012) | 1 line

move protos out of v2/; use relative paths for proto imports
------------------------------------------------------------------------

This also rolls gyp from r1440:r1441
------------------------------------------------------------------------
r1441 | iannucci@chromium.org | 2012-07-26 17:54:17 -0700 (Thu, 26 Jul 2012) | 8 lines

Fix bug: non-cygwin actions incorrectly run options through _FixPath.

This adds an additional heuristic to the existing one. Now if an option begins
with either a '/' OR a '-', it assumes it's not a strict path.

Added a TODO which notes that the existing (and new) behavior will miss options
such as '--opt=a/posix/path', and '/opt:a/posix/path'.
Review URL: https://chromiumcodereview.appspot.com/10829049
------------------------------------------------------------------------


BUG=123026,113339
R=scottmg@chromium.org,cmp@chromium.org,nsylvain@chromium.org,jar@chromium.org,akalin@chromium.org,maruel@chromium.org

TEST=

Review URL: https://chromiumcodereview.appspot.com/10796051

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149100 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 01:07:32 +00:00
rsleevi@chromium.org be90732962 Revert 123894 - Remove hand-rolled protobufs generation; enable rel paths in protoc.gypi
protoc.gypi now accepts a relative path to handle the way that
protoc_out_dir is applied to build the generated path.

Remove the 'cacheinvalidation_proto_cpp' target and instead generate a
static_library to begin with. Simplify all steps by removing the actions
and including the protoc.gypi file.

BUG=113339


Review URL: http://codereview.chromium.org/9378041

TBR=kushi.p@gmail.com
Review URL: https://chromiumcodereview.appspot.com/9480022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123896 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-28 05:25:06 +00:00
kushi.p@gmail.com 248b011d59 Remove hand-rolled protobufs generation; enable rel paths in protoc.gypi
protoc.gypi now accepts a relative path to handle the way that
protoc_out_dir is applied to build the generated path.

Remove the 'cacheinvalidation_proto_cpp' target and instead generate a
static_library to begin with. Simplify all steps by removing the actions
and including the protoc.gypi file.

BUG=113339


Review URL: http://codereview.chromium.org/9378041

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123894 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-28 05:17:48 +00:00
evan@chromium.org 08d8809f1f Update sync protos to use the new shared protoc gyp rules
Just a refactoring.

Review URL: http://codereview.chromium.org/7677034

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97484 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-19 18:19:52 +00:00
evan@chromium.org 9ecc04a746 Unify gyp rules for running protoc.
- Add a protoc.gypi that can be gyp-included into any gyp file that
  wants to build .proto files.
- Convert two remoting gyp files to use this new protoc.gypi.

(Also fixes a bug in one of those remoting gyp files; a mistaken path
was causing it to always rebuild under Xcode.)

Review URL: http://codereview.chromium.org/7621073

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 21:52:15 +00:00