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