# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'protobuf_lite', 'type': 'none', 'direct_dependent_settings': { 'cflags': [ # Use full protobuf, because vanilla protobuf doesn't have # our custom patch to retain unknown fields in lite mode. ', which requires RTTI. 'GOOGLE_PROTOBUF_NO_RTTI', 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', ], }, 'link_settings': { # Use full protobuf, because vanilla protobuf doesn't have # our custom patch to retain unknown fields in lite mode. 'ldflags': [ '