Chromium Code Reviews| Index: chrome/chrome_tests_unit.gypi |
| diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi |
| index 21b25630511f470bfb02bc9fc01aa15ff17ba729..b7acd6f87eeb6035a90d4b9c079b7266882c4287 100644 |
| --- a/chrome/chrome_tests_unit.gypi |
| +++ b/chrome/chrome_tests_unit.gypi |
| @@ -1040,6 +1040,8 @@ |
| 'browser/safe_browsing/safe_browsing_store_unittest.cc', |
| 'browser/safe_browsing/safe_browsing_util_unittest.cc', |
| 'browser/safe_browsing/two_phase_uploader_unittest.cc', |
| + 'common/safe_browsing/ipc_protobuf_message_test_messages.h', |
| + 'common/safe_browsing/ipc_protobuf_message_unittest.cc', |
| 'renderer/safe_browsing/features_unittest.cc', |
| 'renderer/safe_browsing/murmurhash3_util_unittest.cc', |
| 'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc', |
| @@ -2297,19 +2299,32 @@ |
| # TODO(sgurun): enable tests for safe_browsing==2. |
| 'sources': [ '<@(chrome_unit_tests_full_safe_browsing_sources)' ], |
| 'defines': [ 'FULL_SAFE_BROWSING' ], |
| + 'dependencies': [ |
| + 'ipc_protobuf_message_test_proto', |
| + ], |
| 'conditions': [ |
| ['chromeos == 1', { |
| + 'dependencies!': [ |
| + 'ipc_protobuf_message_test_proto', |
| + ], |
| 'sources!': [ |
| 'browser/safe_browsing/download_protection_service_unittest.cc', |
| + 'common/safe_browsing/ipc_protobuf_message_test_messages.h', |
| + 'common/safe_browsing/ipc_protobuf_message_unittest.cc', |
| ], |
| }], |
| ['OS == "android"', { |
| + 'dependencies!': [ |
| + 'ipc_protobuf_message_test_proto', |
| + ], |
| 'sources!': [ |
| # Android doesn't support download feedbacks. |
| 'browser/safe_browsing/download_feedback_service_unittest.cc', |
| 'browser/safe_browsing/download_feedback_unittest.cc', |
| 'browser/safe_browsing/download_protection_service_unittest.cc', |
| 'browser/safe_browsing/two_phase_uploader_unittest.cc', |
| + 'common/safe_browsing/ipc_protobuf_message_test_messages.h', |
| + 'common/safe_browsing/ipc_protobuf_message_unittest.cc', |
| ], |
| }], |
| ], |
| @@ -2665,6 +2680,21 @@ |
| }], |
| ], |
| }, |
| + { |
| + # Protobuf compiler / generator for IPC protobuf message tests. |
| + |
| + # GN version: TODO(grt) |
|
mattm
2015/03/17 22:15:50
still todo?
grt (UTC plus 2)
2015/03/18 16:48:01
Done.
|
| + 'target_name': 'ipc_protobuf_message_test_proto', |
| + 'type': 'static_library', |
| + 'sources': [ |
| + 'common/safe_browsing/ipc_protobuf_message_test.proto' |
| + ], |
| + 'variables': { |
| + 'proto_in_dir': 'common/safe_browsing', |
| + 'proto_out_dir': 'chrome/common/safe_browsing', |
| + }, |
| + 'includes': [ '../build/protoc.gypi' ], |
| + }, |
| ], |
| 'conditions': [ |