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

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

Issue 11412211: [sync] Componentize sync: Part Final: Target 'sync' is now its own component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Component build working on all platforms Created 7 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
« net/net.gyp ('K') | « third_party/protobuf/README.chromium ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 'conditions': [ 6 'conditions': [
7 ['use_system_protobuf==0', { 7 ['use_system_protobuf==0', {
8 'conditions': [ 8 'conditions': [
9 ['OS!="win"', { 9 ['OS!="win"', {
10 'variables': { 10 'variables': {
11 'config_h_dir': 11 'config_h_dir':
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 'direct_dependent_settings': { 186 'direct_dependent_settings': {
187 'include_dirs': [ 187 'include_dirs': [
188 '<(config_h_dir)', 188 '<(config_h_dir)',
189 'src', 189 'src',
190 ], 190 ],
191 'defines': [ 191 'defines': [
192 'GOOGLE_PROTOBUF_NO_RTTI', 192 'GOOGLE_PROTOBUF_NO_RTTI',
193 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', 193 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER',
194 ], 194 ],
195 # On Win component builds, we must dynamically link protobuf_lite
196 # to targets that directly depend on it in order to avoid linker
197 # warning C4275: "non dll-interface class used as base for
198 # dll-interface class". See the "DLLs vs. static linking" section in
199 # third_party/protobuf/vsprojects/readme.txt.
200 'conditions': [
201 ['OS=="win" and component=="shared_library"', {
202 'defines': [
203 'LIBPROTOBUF_EXPORTS',
204 'LIBPROTOC_EXPORTS',
205 'PROTOBUF_USE_DLLS',
206 ],
207 }],
208 ],
195 }, 209 },
196 }, 210 },
197 # This is the full, heavy protobuf lib that's needed for c++ .proto's 211 # This is the full, heavy protobuf lib that's needed for c++ .proto's
198 # that don't specify the LITE_RUNTIME option. The protocol 212 # that don't specify the LITE_RUNTIME option. The protocol
199 # compiler itself (protoc) falls into that category. 213 # compiler itself (protoc) falls into that category.
200 # 214 #
201 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl 215 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl
202 { 216 {
203 'target_name': 'protobuf_full_do_not_use', 217 'target_name': 'protobuf_full_do_not_use',
204 'type': 'static_library', 218 'type': 'static_library',
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 'toolsets': ['host', 'target'], 486 'toolsets': ['host', 'target'],
473 }, 487 },
474 { 488 {
475 'target_name': 'py_proto', 489 'target_name': 'py_proto',
476 'type': 'none', 490 'type': 'none',
477 }, 491 },
478 ], 492 ],
479 }], 493 }],
480 ], 494 ],
481 } 495 }
OLDNEW
« net/net.gyp ('K') | « third_party/protobuf/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698