OLD | NEW |
| (Empty) |
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 '../../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 '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 }, | |
28 ], | |
29 }], | |
30 ], | |
31 } | |
OLD | NEW |