diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 02:25:26 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 02:25:26 +0000 |
commit | 999048c11f7541a5bcbd4ef07b69f87c56654139 (patch) | |
tree | 131617ad2ae0de5d40fac0b636d544c505e11b10 /third_party/cacheinvalidation | |
parent | f9ebecffb3c75e4506cc65243b6a88874cdb3f21 (diff) | |
download | chromium_src-999048c11f7541a5bcbd4ef07b69f87c56654139.zip chromium_src-999048c11f7541a5bcbd4ef07b69f87c56654139.tar.gz chromium_src-999048c11f7541a5bcbd4ef07b69f87c56654139.tar.bz2 |
Added cacheinvalidation.gyp to build/all.gyp.
BUG=34646
TEST=trybots
Review URL: http://codereview.chromium.org/1747018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cacheinvalidation')
-rw-r--r-- | third_party/cacheinvalidation/cacheinvalidation.gyp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/third_party/cacheinvalidation/cacheinvalidation.gyp b/third_party/cacheinvalidation/cacheinvalidation.gyp index adbda72..b0700f2 100644 --- a/third_party/cacheinvalidation/cacheinvalidation.gyp +++ b/third_party/cacheinvalidation/cacheinvalidation.gyp @@ -2,6 +2,9 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +# TODO(akalin): Make it so that warnings are errors on Windows. +# TODO(akalin): Clean up warnings on Windows. + { 'variables': { # The root directory for the proto files. @@ -39,7 +42,9 @@ 'action': [ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', '--proto_path=<(proto_dir_root)', - '<(RULE_INPUT_PATH)', + # This path needs to be prefixed by proto_path, so we can't + # use RULE_INPUT_PATH (which is an absolute path). + '<(proto_dir_root)/<(proto_dir_relpath)/<(RULE_INPUT_NAME)', '--cpp_out=<(protoc_out_dir)', ], 'message': 'Generating C++ code from <(RULE_INPUT_PATH)', @@ -107,6 +112,7 @@ ], 'dependencies': [ '../../base/base.gyp:base', + 'cacheinvalidation_proto', 'cacheinvalidation_proto_cc', ], 'direct_dependent_settings': { @@ -116,11 +122,11 @@ ], }, 'export_dependent_settings': [ + 'cacheinvalidation_proto', 'cacheinvalidation_proto_cc', ], }, # Unittests for the cache invalidation library. - # TODO(akalin): Add these to build/all.gyp. { 'target_name': 'cacheinvalidation_unittests', 'type': 'executable', |