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

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

Issue 265031: linux: Chrome-side gyp changes for cross-compile (Closed)
Patch Set: . Created 11 years, 1 month 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
« no previous file with comments | « chrome/chrome.gyp ('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) 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': '<(library)', 40 'type': '<(library)',
41 'toolsets': ['host', 'target'],
41 'sources': [ 42 'sources': [
42 'src/src/google/protobuf/stubs/common.h', 43 'src/src/google/protobuf/stubs/common.h',
43 'src/src/google/protobuf/stubs/once.h', 44 'src/src/google/protobuf/stubs/once.h',
44 'src/src/google/protobuf/extension_set.h', 45 'src/src/google/protobuf/extension_set.h',
45 'src/src/google/protobuf/generated_message_util.h', 46 'src/src/google/protobuf/generated_message_util.h',
46 'src/src/google/protobuf/message_lite.h', 47 'src/src/google/protobuf/message_lite.h',
47 'src/src/google/protobuf/repeated_field.h', 48 'src/src/google/protobuf/repeated_field.h',
48 'src/src/google/protobuf/wire_format_lite.h', 49 'src/src/google/protobuf/wire_format_lite.h',
49 'src/src/google/protobuf/wire_format_lite_inl.h', 50 'src/src/google/protobuf/wire_format_lite_inl.h',
50 'src/src/google/protobuf/io/coded_stream.h', 51 'src/src/google/protobuf/io/coded_stream.h',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 'GOOGLE_PROTOBUF_NO_RTTI', 86 'GOOGLE_PROTOBUF_NO_RTTI',
86 ], 87 ],
87 }, 88 },
88 }, 89 },
89 # This is the full, heavy protobuf lib that's needed for c++ .proto's 90 # This is the full, heavy protobuf lib that's needed for c++ .proto's
90 # that don't specify the LITE_RUNTIME option. The protocol 91 # that don't specify the LITE_RUNTIME option. The protocol
91 # compiler itself (protoc) falls into that category. 92 # compiler itself (protoc) falls into that category.
92 { 93 {
93 'target_name': 'protobuf', 94 'target_name': 'protobuf',
94 'type': '<(library)', 95 'type': '<(library)',
96 'toolsets': ['host'],
95 'sources': [ 97 'sources': [
96 'src/src/google/protobuf/descriptor.h', 98 'src/src/google/protobuf/descriptor.h',
97 'src/src/google/protobuf/descriptor.pb.h', 99 'src/src/google/protobuf/descriptor.pb.h',
98 'src/src/google/protobuf/descriptor_database.h', 100 'src/src/google/protobuf/descriptor_database.h',
99 'src/src/google/protobuf/dynamic_message.h', 101 'src/src/google/protobuf/dynamic_message.h',
100 'src/src/google/protobuf/generated_message_reflection.h', 102 'src/src/google/protobuf/generated_message_reflection.h',
101 'src/src/google/protobuf/message.h', 103 'src/src/google/protobuf/message.h',
102 'src/src/google/protobuf/reflection_ops.h', 104 'src/src/google/protobuf/reflection_ops.h',
103 'src/src/google/protobuf/service.h', 105 'src/src/google/protobuf/service.h',
104 'src/src/google/protobuf/text_format.h', 106 'src/src/google/protobuf/text_format.h',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'dependencies': [ 144 'dependencies': [
143 'protobuf_lite', 145 'protobuf_lite',
144 ], 146 ],
145 'export_dependent_settings': [ 147 'export_dependent_settings': [
146 'protobuf_lite', 148 'protobuf_lite',
147 ], 149 ],
148 }, 150 },
149 { 151 {
150 'target_name': 'protoc', 152 'target_name': 'protoc',
151 'type': 'executable', 153 'type': 'executable',
154 'toolsets': ['host'],
152 'sources': [ 155 'sources': [
153 'src/src/google/protobuf/compiler/code_generator.cc', 156 'src/src/google/protobuf/compiler/code_generator.cc',
154 'src/src/google/protobuf/compiler/command_line_interface.cc', 157 'src/src/google/protobuf/compiler/command_line_interface.cc',
155 'src/src/google/protobuf/compiler/cpp/cpp_enum.cc', 158 'src/src/google/protobuf/compiler/cpp/cpp_enum.cc',
156 'src/src/google/protobuf/compiler/cpp/cpp_enum.h', 159 'src/src/google/protobuf/compiler/cpp/cpp_enum.h',
157 'src/src/google/protobuf/compiler/cpp/cpp_enum_field.cc', 160 'src/src/google/protobuf/compiler/cpp/cpp_enum_field.cc',
158 'src/src/google/protobuf/compiler/cpp/cpp_enum_field.h', 161 'src/src/google/protobuf/compiler/cpp/cpp_enum_field.h',
159 'src/src/google/protobuf/compiler/cpp/cpp_extension.cc', 162 'src/src/google/protobuf/compiler/cpp/cpp_extension.cc',
160 'src/src/google/protobuf/compiler/cpp/cpp_extension.h', 163 'src/src/google/protobuf/compiler/cpp/cpp_extension.h',
161 'src/src/google/protobuf/compiler/cpp/cpp_field.cc', 164 'src/src/google/protobuf/compiler/cpp/cpp_field.cc',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 ], 213 ],
211 }, 214 },
212 ], 215 ],
213 } 216 }
214 217
215 # Local Variables: 218 # Local Variables:
216 # tab-width:2 219 # tab-width:2
217 # indent-tabs-mode:nil 220 # indent-tabs-mode:nil
218 # End: 221 # End:
219 # vim: set expandtab tabstop=2 shiftwidth=2: 222 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698