Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: third_party/jsoncpp/jsoncpp_untrusted.gyp

Issue 62953015: Add an untrusted NaCl build target for jsoncpp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Remove target from all.gyp Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/jsoncpp/jsoncpp.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+ ],
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « third_party/jsoncpp/jsoncpp.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698