| Index: ipc/BUILD.gn
|
| diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn
|
| index c776d5826840549897a107b8de112eb7e57f2d6f..c13633328d6b9f80bbfbfef40e3618bb8e325edf 100644
|
| --- a/ipc/BUILD.gn
|
| +++ b/ipc/BUILD.gn
|
| @@ -7,6 +7,7 @@ import("//build/config/nacl/config.gni")
|
| import("//mojo/public/tools/bindings/mojom.gni")
|
| import("//testing/test.gni")
|
| import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
|
| +import("//third_party/protobuf/proto_library.gni")
|
|
|
| declare_args() {
|
| # Enabling debug builds automatically sets enable_ipc_logging to true.
|
| @@ -122,6 +123,17 @@ component("ipc") {
|
| "//mojo/public/cpp/bindings",
|
| "//mojo/public/cpp/system",
|
| ]
|
| +
|
| + if (!is_nacl_nonsfi) {
|
| + sources += [
|
| + "ipc_message_repeated_field_utils.h",
|
| + ]
|
| +
|
| + public_deps += [
|
| + "//third_party/protobuf:protobuf_lite",
|
| + ]
|
| + }
|
| +
|
| deps = [
|
| "//base",
|
| ]
|
| @@ -176,6 +188,12 @@ if (!is_ios) {
|
| ]
|
| }
|
|
|
| + proto_library("test_proto") {
|
| + sources = [
|
| + "test_proto.proto",
|
| + ]
|
| + }
|
| +
|
| test("ipc_tests") {
|
| sources = [
|
| "ipc_channel_mojo_unittest.cc",
|
| @@ -203,6 +221,7 @@ if (!is_ios) {
|
| ":ipc",
|
| ":run_all_unittests",
|
| ":test_interfaces",
|
| + ":test_proto",
|
| ":test_support",
|
| "//base",
|
| "//base:i18n",
|
| @@ -223,6 +242,12 @@ if (!is_ios) {
|
| "sync_socket_unittest.cc",
|
| ]
|
| }
|
| +
|
| + if (!is_nacl_nonsfi) {
|
| + sources += [
|
| + "ipc_message_repeated_field_utils_unittest.cc",
|
| + ]
|
| + }
|
| }
|
|
|
| test("ipc_perftests") {
|
|
|