1# Copyright 2014 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5{ 6 'includes': [ 7 '../../native_client/build/untrusted.gypi', 8 ], 9 'targets': [ 10 { 11 'target_name': 'protobuf_lite_nacl', 12 'type': 'none', 13 'variables': { 14 'nlib_target': 'libprotobuf_lite_nacl.a', 15 'build_glibc': 0, 16 'build_newlib': 0, 17 'build_pnacl_newlib': 1, 18 'config_h_dir': '.', 19 }, 20 'dependencies': [ 21 '../../native_client/tools.gyp:prep_toolchain', 22 ], 23 'pnacl_compile_flags': [ 24 # This disables #warning in hash_map/hash_set headers which are 25 # deprecated but still used in protobuf. 26 # 27 # TODO(sergeyu): Migrate protobuf to unordered_man and unordered_set 28 # and remove this flag. 29 '-Wno-#warnings', 30 ], 31 'includes': [ 32 'protobuf_lite.gypi', 33 ], 34 }, # end of target 'protobuf_lite_nacl' 35 ] 36} 37