| Index: third_party/jsoncpp/jsoncpp_untrusted.gyp
|
| diff --git a/third_party/jsoncpp/jsoncpp_untrusted.gyp b/third_party/jsoncpp/jsoncpp_untrusted.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..413b5803dd966293f55e77ae10e408b2a70a5488
|
| --- /dev/null
|
| +++ b/third_party/jsoncpp/jsoncpp_untrusted.gyp
|
| @@ -0,0 +1,34 @@
|
| +# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'includes': [
|
| + '../../build/common_untrusted.gypi',
|
| + 'jsoncpp.gypi',
|
| + ],
|
| + 'conditions': [
|
| + ['disable_nacl==0 and disable_nacl_untrusted==0', {
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'jsoncpp_untrusted',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'nacl_untrusted_build': 1,
|
| + 'nlib_target': 'libjsoncpp_untrusted.a',
|
| + 'build_newlib': 1,
|
| + },
|
| + 'gcc_compile_flags': [
|
| + # Turn off optimizations based on strict aliasing
|
| + # because of the workaround at
|
| + # overrides/src/lib_json/json_value.cpp:38.
|
| + '-fno-strict-aliasing',
|
| + ],
|
| + 'dependencies': [
|
| + '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
|
| + ],
|
| + },
|
| + ],
|
| + }],
|
| + ],
|
| +}
|
|
|