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

Side by Side Diff: third_party/protobuf2/protobuf.gyp

Issue 164477: Suppress RTTI in protobuf2, now that RTTI is disabled on Mac and Linux (r2330... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | « no previous file | 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 (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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.gypi', 7 '../../build/common.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 'target_name': 'protobuf', 10 { 'target_name': 'protobuf',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 'src/src/google/protobuf/io/coded_stream.cc', 66 'src/src/google/protobuf/io/coded_stream.cc',
67 'src/src/google/protobuf/io/gzip_stream.cc', 67 'src/src/google/protobuf/io/gzip_stream.cc',
68 'src/src/google/protobuf/io/printer.cc', 68 'src/src/google/protobuf/io/printer.cc',
69 'src/src/google/protobuf/io/tokenizer.cc', 69 'src/src/google/protobuf/io/tokenizer.cc',
70 'src/src/google/protobuf/io/zero_copy_stream.cc', 70 'src/src/google/protobuf/io/zero_copy_stream.cc',
71 'src/src/google/protobuf/io/zero_copy_stream_impl.cc', 71 'src/src/google/protobuf/io/zero_copy_stream_impl.cc',
72 'src/src/google/protobuf/compiler/importer.cc', 72 'src/src/google/protobuf/compiler/importer.cc',
73 'src/src/google/protobuf/compiler/parser.cc', 73 'src/src/google/protobuf/compiler/parser.cc',
74 ], 74 ],
75 75
76 'conditions': [
77 ['OS != "win"', {
78 # src/src/google/protobuf/generated_message_reflection.h can figure
79 # out whether RTTI is enabled or disabled via compiler-defined macros
80 # when building with MSVC. For other compilers, this macro must be
81 # defined to suppress the use of dynamic_cast<>, which requires RTTI.
82 'defines': [
83 'GOOGLE_PROTOBUF_NO_RTTI',
84 ],
85 }],
86 ],
87
76 'include_dirs': [ 88 'include_dirs': [
77 '.', 89 '.',
78 'src/src', 90 'src/src',
79 ], 91 ],
80 92
81 'direct_dependent_settings': { 93 'direct_dependent_settings': {
82 'include_dirs': [ 94 'include_dirs': [
83 '.', 95 '.',
84 'src/src', 96 'src/src',
85 ], 97 ],
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'protobuf', 154 'protobuf',
143 ], 155 ],
144 156
145 'include_dirs': [ 157 'include_dirs': [
146 '.', 158 '.',
147 'src/src', 159 'src/src',
148 ], 160 ],
149 }, 161 },
150 ], 162 ],
151 } 163 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698