Use the same GOOGLE_PROTOBUF_* defines for "brightray" as for Electron

This commit is contained in:
Aleksei Kuzmin 2018-04-04 15:09:56 +02:00 committed by Samuel Attard
parent 70cc5d87af
commit 8020cd9994

View file

@ -46,6 +46,11 @@
'<(libchromiumcontent_dir)/gen/third_party/WebKit', '<(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)' ], 'sources': [ '<@(brightray_sources)' ],
'conditions': [ 'conditions': [
# Link with libraries of libchromiumcontent. # Link with libraries of libchromiumcontent.