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

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

Issue 7706011: Use precompiled headers for most large projects. (Closed) Base URL: ssh://joi@192.168.1.201/home/joi/c/chrome/src@master
Patch Set: 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
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 'conditions': [ 6 'conditions': [
7 ['OS!="win"', { 7 ['OS!="win"', {
8 'variables': { 8 'variables': {
9 'config_h_dir': 9 'config_h_dir':
10 '.', # crafted for gcc/linux. 10 '.', # crafted for gcc/linux.
(...skipping 20 matching lines...) Expand all
31 # but it doesn't support some of the more exotic features of 31 # but it doesn't support some of the more exotic features of
32 # protobufs, like reflection. To generate C++ code that can link 32 # protobufs, like reflection. To generate C++ code that can link
33 # against the lite version of the library, add the option line: 33 # against the lite version of the library, add the option line:
34 # 34 #
35 # option optimize_for = LITE_RUNTIME; 35 # option optimize_for = LITE_RUNTIME;
36 # 36 #
37 # to your .proto file. 37 # to your .proto file.
38 { 38 {
39 'target_name': 'protobuf_lite', 39 'target_name': 'protobuf_lite',
40 'type': 'static_library', 40 'type': 'static_library',
41 'msvs_disable_precompiled_header': '1',
41 'toolsets': ['host', 'target'], 42 'toolsets': ['host', 'target'],
42 'sources': [ 43 'sources': [
43 'src/google/protobuf/stubs/common.h', 44 'src/google/protobuf/stubs/common.h',
44 'src/google/protobuf/stubs/once.h', 45 'src/google/protobuf/stubs/once.h',
45 'src/google/protobuf/extension_set.h', 46 'src/google/protobuf/extension_set.h',
46 'src/google/protobuf/generated_message_util.h', 47 'src/google/protobuf/generated_message_util.h',
47 'src/google/protobuf/message_lite.h', 48 'src/google/protobuf/message_lite.h',
48 'src/google/protobuf/repeated_field.h', 49 'src/google/protobuf/repeated_field.h',
49 'src/google/protobuf/unknown_field_set.cc', 50 'src/google/protobuf/unknown_field_set.cc',
50 'src/google/protobuf/unknown_field_set.h', 51 'src/google/protobuf/unknown_field_set.h',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }, 92 },
92 }, 93 },
93 # This is the full, heavy protobuf lib that's needed for c++ .proto's 94 # This is the full, heavy protobuf lib that's needed for c++ .proto's
94 # that don't specify the LITE_RUNTIME option. The protocol 95 # that don't specify the LITE_RUNTIME option. The protocol
95 # compiler itself (protoc) falls into that category. 96 # compiler itself (protoc) falls into that category.
96 # 97 #
97 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl 98 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl
98 { 99 {
99 'target_name': 'protobuf_full_do_not_use', 100 'target_name': 'protobuf_full_do_not_use',
100 'type': 'static_library', 101 'type': 'static_library',
102 'msvs_disable_precompiled_header': '1',
101 'toolsets': ['host','target'], 103 'toolsets': ['host','target'],
102 'sources': [ 104 'sources': [
103 'src/google/protobuf/descriptor.h', 105 'src/google/protobuf/descriptor.h',
104 'src/google/protobuf/descriptor.pb.h', 106 'src/google/protobuf/descriptor.pb.h',
105 'src/google/protobuf/descriptor_database.h', 107 'src/google/protobuf/descriptor_database.h',
106 'src/google/protobuf/dynamic_message.h', 108 'src/google/protobuf/dynamic_message.h',
107 'src/google/protobuf/generated_message_reflection.h', 109 'src/google/protobuf/generated_message_reflection.h',
108 'src/google/protobuf/message.h', 110 'src/google/protobuf/message.h',
109 'src/google/protobuf/reflection_ops.h', 111 'src/google/protobuf/reflection_ops.h',
110 'src/google/protobuf/service.h', 112 'src/google/protobuf/service.h',
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 # ], 301 # ],
300 # 'dependencies': [ 302 # 'dependencies': [
301 # 'protoc#host', 303 # 'protoc#host',
302 # ], 304 # ],
303 # 'sources': [ 305 # 'sources': [
304 # 'src/google/protobuf/descriptor.proto', 306 # 'src/google/protobuf/descriptor.proto',
305 # ], 307 # ],
306 }, 308 },
307 ], 309 ],
308 } 310 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698