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

Side by Side Diff: build/standalone.gypi

Issue 7748018: Add a bunch of compile-time flags to the gyp build (and top-level Makefile) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 9 years, 4 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
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 [ 'target_arch=="ia32"', { 82 [ 'target_arch=="ia32"', {
83 'cflags': [ '-m32' ], 83 'cflags': [ '-m32' ],
84 'ldflags': [ '-m32' ], 84 'ldflags': [ '-m32' ],
85 }], 85 }],
86 [ 'OS=="linux"', { 86 [ 'OS=="linux"', {
87 'cflags': [ '-ansi' ], 87 'cflags': [ '-ansi' ],
88 }], 88 }],
89 [ 'visibility=="hidden"', { 89 [ 'visibility=="hidden"', {
90 'cflags': [ '-fvisibility=hidden' ], 90 'cflags': [ '-fvisibility=hidden' ],
91 }], 91 }],
92 [ 'component=="shared_library"', {
93 'cflags': [ '-fPIC', ],
94 }],
92 ], 95 ],
93 }, 96 },
94 }], # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"' 97 }], # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"'
95 ['OS=="win"', { 98 ['OS=="win"', {
96 'target_defaults': { 99 'target_defaults': {
97 'defines': [ 100 'defines': [
98 'WIN32', 101 'WIN32',
99 '_CRT_SECURE_NO_DEPRECATE', 102 '_CRT_SECURE_NO_DEPRECATE',
100 '_CRT_NONSTDC_NO_DEPRECATE', 103 '_CRT_NONSTDC_NO_DEPRECATE',
101 ], 104 ],
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 }, 191 },
189 'target_conditions': [ 192 'target_conditions': [
190 ['_type!="static_library"', { 193 ['_type!="static_library"', {
191 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 194 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
192 }], 195 }],
193 ], # target_conditions 196 ], # target_conditions
194 }, # target_defaults 197 }, # target_defaults
195 }], # OS=="mac" 198 }], # OS=="mac"
196 ], 199 ],
197 } 200 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698