Chromium Code Reviews| Index: chrome/test/BUILD.gn |
| diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
| index 83413156a4f4a0e25a37adafb92d5a137a2df4e9..3964a0212b62d1cbc71c6c7ac631f2b0205395a8 100644 |
| --- a/chrome/test/BUILD.gn |
| +++ b/chrome/test/BUILD.gn |
| @@ -217,6 +217,14 @@ source_set("test_support_unit") { |
| if (!is_android) { |
| import("//chrome/chrome_tests.gni") |
| + import("//third_party/protobuf/proto_library.gni") |
| + |
| + # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto |
| + proto_library("test_proto") { |
| + sources = [ |
| + "../common/safe_browsing/ipc_protobuf_message_test.proto", |
| + ] |
| + } |
| test("interactive_ui_tests") { |
| sources = |
| @@ -1451,15 +1459,24 @@ if (!is_android) { |
| ".", |
| "//chrome") |
| defines += [ "FULL_SAFE_BROWSING" ] |
| + deps += [ ":test_proto" ] |
| if (is_chromeos) { |
| - sources -= [ "../browser/safe_browsing/download_protection_service_unittest.cc" ] |
| + deps -= [ ":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", |
|
mattm
2015/03/17 22:15:50
Hm, weird. I don't think these should be disabled
grt (UTC plus 2)
2015/03/18 16:48:01
I wondered about that. I've removed the extra stuf
|
| + ] |
| } else if (is_android) { |
| + deps -= [ ":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", |
| ] |
| } |
| } |