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

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

Issue 164478: 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 'conditions': [ 76 'conditions': [
77 ['OS != "win"', { 77 ['OS != "win"', {
78 # src/src/google/protobuf/generated_message_reflection.h can figure 78 # src/src/google/protobuf/generated_message_reflection.h can figure
79 # out whether RTTI is enabled or disabled via compiler-defined macros 79 # out whether RTTI is enabled or disabled via compiler-defined macros
80 # when building with MSVC. For other compilers, this macro must be 80 # when building with MSVC. For other compilers, this macro must be
81 # defined to suppress the use of dynamic_cast<>, which requires RTTI. 81 # defined to suppress the use of dynamic_cast<>, which requires RTTI.
82 'defines': [ 82 'defines': [
83 'GOOGLE_PROTOBUF_NO_RTTI', 83 'GOOGLE_PROTOBUF_NO_RTTI',
84 ], 84 ],
85 'direct_dependent_settings': {
86 'defines': [
87 'GOOGLE_PROTOBUF_NO_RTTI',
88 ],
89 },
85 }], 90 }],
86 ], 91 ],
87 92
88 'include_dirs': [ 93 'include_dirs': [
89 '.', 94 '.',
90 'src/src', 95 'src/src',
91 ], 96 ],
92 97
93 'direct_dependent_settings': { 98 'direct_dependent_settings': {
94 'include_dirs': [ 99 'include_dirs': [
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 'protobuf', 159 'protobuf',
155 ], 160 ],
156 161
157 'include_dirs': [ 162 'include_dirs': [
158 '.', 163 '.',
159 'src/src', 164 'src/src',
160 ], 165 ],
161 }, 166 },
162 ], 167 ],
163 } 168 }
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