summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_renderer.gypi
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 02:05:04 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 02:05:04 +0000
commitb4a5523670224f3f89c84719bb6228be8f56b7eb (patch)
tree62e2d88b9cce62bad1f6458b11a5f63284695386 /chrome/chrome_renderer.gypi
parent3ccd918d4319018bc15ded7f1e68bb42e5c426a0 (diff)
downloadchromium_src-b4a5523670224f3f89c84719bb6228be8f56b7eb.zip
chromium_src-b4a5523670224f3f89c84719bb6228be8f56b7eb.tar.gz
chromium_src-b4a5523670224f3f89c84719bb6228be8f56b7eb.tar.bz2
Revert 59019 -
This broke the EncryptExportDecrypt unittest. Original description: Add a scorer class for client-side phishing detection. The Scorer class loads a machine learning model and lets you compute a phishing score for a set of features that were extracted from the current page. The phishing score corresponds to the probability that the page is phishing. The features are extracted by the various feature extractor classes that live in the same folder. The current format of the model is a protocol buffer (see: client_mode.proto). BUG=NONE TEST=PhishingScorerTest Review URL: http://codereview.chromium.org/3363004 TBR=noelutz@google.com Review URL: http://codereview.chromium.org/3317017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rw-r--r--chrome/chrome_renderer.gypi51
1 files changed, 0 insertions, 51 deletions
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi
index 0aba6d3..81131f5 100644
--- a/chrome/chrome_renderer.gypi
+++ b/chrome/chrome_renderer.gypi
@@ -14,7 +14,6 @@
'plugin',
'chrome_resources',
'chrome_strings',
- 'safe_browsing_proto',
'../printing/printing.gyp:printing',
'../skia/skia.gyp:skia',
'../third_party/hunspell/hunspell.gyp:hunspell',
@@ -85,7 +84,6 @@
'renderer/resources/extension_process_bindings.js',
'renderer/resources/greasemonkey_api.js',
'renderer/resources/json_schema.js',
- 'renderer/resources/phishing_model.pb'
'renderer/resources/renderer_extension_bindings.js',
'renderer/about_handler.cc',
'renderer/about_handler.h',
@@ -192,9 +190,6 @@
'renderer/renderer_webstoragearea_impl.h',
'renderer/renderer_webstoragenamespace_impl.cc',
'renderer/renderer_webstoragenamespace_impl.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.h',
'renderer/safe_browsing/features.cc',
'renderer/safe_browsing/features.h',
@@ -204,8 +199,6 @@
'renderer/safe_browsing/phishing_term_feature_extractor.h',
'renderer/safe_browsing/phishing_url_feature_extractor.cc',
'renderer/safe_browsing/phishing_url_feature_extractor.h',
- 'renderer/safe_browsing/scorer.cc',
- 'renderer/safe_browsing/scorer.h',
'renderer/speech_input_dispatcher.cc',
'renderer/speech_input_dispatcher.h',
'renderer/spellchecker/spellcheck.cc',
@@ -299,50 +292,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/protobuf2/protobuf.gyp:protobuf_lite',
- '../third_party/protobuf2/protobuf.gyp:protoc#host',
- ],
- 'direct_dependent_settings': {
- 'include_dirs': [
- '<(protoc_out_dir)',
- ]
- },
- 'export_dependent_settings': [
- '../third_party/protobuf2/protobuf.gyp:protobuf_lite',
- ],
- },
],
}