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.
7 '../../build/common_untrusted.gypi',
11 ['disable_nacl==0 and disable_nacl_untrusted==0', {
14 'target_name': 'jsoncpp_nacl',
17 'nacl_untrusted_build': 1,
18 'nlib_target': 'libjsoncpp_nacl.a',
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',