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

Side by Side Diff: third_party/jsoncpp/jsoncpp_nacl.gyp

Issue 138673002: Rename _untrusted targets in third_party to use _nacl suffix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 '../../build/common_untrusted.gypi', 7 '../../build/common_untrusted.gypi',
8 'jsoncpp.gypi', 8 'jsoncpp.gypi',
9 ], 9 ],
10 'conditions': [ 10 'conditions': [
11 ['disable_nacl==0 and disable_nacl_untrusted==0', { 11 ['disable_nacl==0 and disable_nacl_untrusted==0', {
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'jsoncpp_untrusted', 14 'target_name': 'jsoncpp_nacl',
15 'type': 'none', 15 'type': 'none',
16 'variables': { 16 'variables': {
17 'nacl_untrusted_build': 1, 17 'nacl_untrusted_build': 1,
18 'nlib_target': 'libjsoncpp_untrusted.a', 18 'nlib_target': 'libjsoncpp_nacl.a',
19 'build_newlib': 1, 19 'build_newlib': 1,
20 }, 20 },
21 'gcc_compile_flags': [ 21 'gcc_compile_flags': [
22 # Turn off optimizations based on strict aliasing 22 # Turn off optimizations based on strict aliasing
23 # because of the workaround at 23 # because of the workaround at
24 # overrides/src/lib_json/json_value.cpp:38. 24 # overrides/src/lib_json/json_value.cpp:38.
25 '-fno-strict-aliasing', 25 '-fno-strict-aliasing',
26 ], 26 ],
27 'dependencies': [ 27 'dependencies': [
28 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', 28 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
29 ], 29 ],
30 }, 30 },
31 ], 31 ],
32 }], 32 }],
33 ], 33 ],
34 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698