diff options
author | noelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 23:41:52 +0000 |
---|---|---|
committer | noelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 23:41:52 +0000 |
commit | dafb72aad4bbf51769b3af3d5d2337554dec1df0 (patch) | |
tree | 494abfa843883c2ccea13acbf4a8b1b84f8860a7 /chrome/chrome_renderer.gypi | |
parent | 2fa18c24e05d0b56cd6e63bc7cdce89549011dd1 (diff) | |
download | chromium_src-dafb72aad4bbf51769b3af3d5d2337554dec1df0.zip chromium_src-dafb72aad4bbf51769b3af3d5d2337554dec1df0.tar.gz chromium_src-dafb72aad4bbf51769b3af3d5d2337554dec1df0.tar.bz2 |
Initial CL to update the client model more frequently.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7057025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rw-r--r-- | chrome/chrome_renderer.gypi | 48 |
1 files changed, 1 insertions, 47 deletions
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi index 8f17d6b..09529f6 100644 --- a/chrome/chrome_renderer.gypi +++ b/chrome/chrome_renderer.gypi @@ -13,6 +13,7 @@ 'common_net', 'chrome_resources', 'chrome_strings', + 'safe_browsing_csd_proto', 'safe_browsing_proto', '../content/content.gyp:content_renderer', '../content/content.gyp:content_plugin', @@ -136,9 +137,6 @@ 'renderer/print_web_view_helper_win.cc', 'renderer/renderer_histogram_snapshots.cc', 'renderer/renderer_histogram_snapshots.h', - # TODO(noelutz): Find a better way to include these files - '<(protoc_out_dir)/chrome/renderer/safe_browsing/client_model.pb.cc', - '<(protoc_out_dir)/chrome/renderer/safe_browsing/client_model.pb.h', 'renderer/safe_browsing/feature_extractor_clock.cc', 'renderer/safe_browsing/feature_extractor_clock.h', 'renderer/safe_browsing/features.cc', @@ -225,50 +223,6 @@ }], ], }, - { - # Protobuf compiler / generator for the safebrowsing client model proto. - 'target_name': 'safe_browsing_proto', - 'type': 'none', - 'sources': [ 'renderer/safe_browsing/client_model.proto' ], - 'rules': [ - { - 'rule_name': 'genproto', - 'extension': 'proto', - 'inputs': [ - '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', - ], - 'variables': { - # The protoc compiler requires a proto_path argument with the - # directory containing the .proto file. - # There's no generator variable that corresponds to this, so fake it. - 'rule_input_relpath': 'renderer/safe_browsing', - }, - 'outputs': [ - '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).pb.h', - '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).pb.cc', - ], - 'action': [ - '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', - '--proto_path=./<(rule_input_relpath)', - './<(rule_input_relpath)/<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)', - '--cpp_out=<(protoc_out_dir)/chrome/<(rule_input_relpath)', - ], - 'message': 'Generating C++ code from <(RULE_INPUT_PATH)', - }, - ], - 'dependencies': [ - '../third_party/protobuf/protobuf.gyp:protobuf_lite', - '../third_party/protobuf/protobuf.gyp:protoc#host', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(protoc_out_dir)', - ] - }, - 'export_dependent_settings': [ - '../third_party/protobuf/protobuf.gyp:protobuf_lite', - ], - }, ], } |