Add type annotations to exif_parser.js.
[chromium-blink-merge.git] / third_party / jsoncpp / jsoncpp_nacl.gyp
blobd60510c8d2545ccb2fb478486d43d502d798aa19
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.
6   'includes': [
7     '../../build/common_untrusted.gypi',
8     'jsoncpp.gypi',
9   ],
10   'conditions': [
11     ['disable_nacl==0 and disable_nacl_untrusted==0', {
12       'targets': [
13         {
14           'target_name': 'jsoncpp_nacl',
15           'type': 'none',
16           'variables': {
17             'nacl_untrusted_build': 1,
18             'nlib_target': 'libjsoncpp_nacl.a',
19             'build_newlib': 1,
20           },
21           'gcc_compile_flags': [
22             # Turn off optimizations based on strict aliasing
23             # because of the workaround at
24             # overrides/src/lib_json/json_value.cpp:38.
25             '-fno-strict-aliasing',
26           ],
27           'dependencies': [
28             '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
29           ],
30         },
31       ],
32     }],
33   ],