From 8020cd999471beb0dbd7ef9b9272218bb9e05080 Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Wed, 4 Apr 2018 15:09:56 +0200 Subject: [PATCH] Use the same GOOGLE_PROTOBUF_* defines for "brightray" as for Electron --- brightray/brightray.gyp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/brightray/brightray.gyp b/brightray/brightray.gyp index e0a51d5a167..5b894559b53 100644 --- a/brightray/brightray.gyp +++ b/brightray/brightray.gyp @@ -46,6 +46,11 @@ '<(libchromiumcontent_dir)/gen/third_party/WebKit', ], }, + 'defines': [ + # See Chromium's "src/third_party/protobuf/BUILD.gn". + 'GOOGLE_PROTOBUF_NO_RTTI', + 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', + ], 'sources': [ '<@(brightray_sources)' ], 'conditions': [ # Link with libraries of libchromiumcontent.