Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2358)

Unified Diff: chrome/test/BUILD.gn

Issue 1004323003: Add support for sending protobuf messages over IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zip
Patch Set: remove todo and enable for cros Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index 83413156a4f4a0e25a37adafb92d5a137a2df4e9..6ee36030b77f74c5aa1044319e7a9df90846ae10 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,19 @@ if (!is_android) {
".",
"//chrome")
defines += [ "FULL_SAFE_BROWSING" ]
+ deps += [ ":test_proto" ]
if (is_chromeos) {
sources -= [ "../browser/safe_browsing/download_protection_service_unittest.cc" ]
} 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",
]
}
}

Powered by Google App Engine
This is Rietveld 408576698