| OLD | NEW |
| 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 19 matching lines...) Expand all Loading... |
| 30 # The "lite" lib is about 1/7th the size of the heavy lib, | 30 # The "lite" lib is about 1/7th the size of the heavy lib, |
| 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': 'static_library', |
| 41 'toolsets': ['host', 'target'], | 41 'toolsets': ['host', 'target'], |
| 42 'sources': [ | 42 'sources': [ |
| 43 'src/google/protobuf/stubs/common.h', | 43 'src/google/protobuf/stubs/common.h', |
| 44 'src/google/protobuf/stubs/once.h', | 44 'src/google/protobuf/stubs/once.h', |
| 45 'src/google/protobuf/extension_set.h', | 45 'src/google/protobuf/extension_set.h', |
| 46 'src/google/protobuf/generated_message_util.h', | 46 'src/google/protobuf/generated_message_util.h', |
| 47 'src/google/protobuf/message_lite.h', | 47 'src/google/protobuf/message_lite.h', |
| 48 'src/google/protobuf/repeated_field.h', | 48 'src/google/protobuf/repeated_field.h', |
| 49 'src/google/protobuf/unknown_field_set.cc', | 49 'src/google/protobuf/unknown_field_set.cc', |
| 50 'src/google/protobuf/unknown_field_set.h', | 50 'src/google/protobuf/unknown_field_set.h', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 ], | 90 ], |
| 91 }, | 91 }, |
| 92 }, | 92 }, |
| 93 # This is the full, heavy protobuf lib that's needed for c++ .proto's | 93 # 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 | 94 # that don't specify the LITE_RUNTIME option. The protocol |
| 95 # compiler itself (protoc) falls into that category. | 95 # compiler itself (protoc) falls into that category. |
| 96 # | 96 # |
| 97 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl | 97 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl |
| 98 { | 98 { |
| 99 'target_name': 'protobuf_full_do_not_use', | 99 'target_name': 'protobuf_full_do_not_use', |
| 100 'type': '<(library)', | 100 'type': 'static_library', |
| 101 'toolsets': ['host','target'], | 101 'toolsets': ['host','target'], |
| 102 'sources': [ | 102 'sources': [ |
| 103 'src/google/protobuf/descriptor.h', | 103 'src/google/protobuf/descriptor.h', |
| 104 'src/google/protobuf/descriptor.pb.h', | 104 'src/google/protobuf/descriptor.pb.h', |
| 105 'src/google/protobuf/descriptor_database.h', | 105 'src/google/protobuf/descriptor_database.h', |
| 106 'src/google/protobuf/dynamic_message.h', | 106 'src/google/protobuf/dynamic_message.h', |
| 107 'src/google/protobuf/generated_message_reflection.h', | 107 'src/google/protobuf/generated_message_reflection.h', |
| 108 'src/google/protobuf/message.h', | 108 'src/google/protobuf/message.h', |
| 109 'src/google/protobuf/reflection_ops.h', | 109 'src/google/protobuf/reflection_ops.h', |
| 110 'src/google/protobuf/service.h', | 110 'src/google/protobuf/service.h', |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 # ], | 305 # ], |
| 306 }, | 306 }, |
| 307 ], | 307 ], |
| 308 } | 308 } |
| 309 | 309 |
| 310 # Local Variables: | 310 # Local Variables: |
| 311 # tab-width:2 | 311 # tab-width:2 |
| 312 # indent-tabs-mode:nil | 312 # indent-tabs-mode:nil |
| 313 # End: | 313 # End: |
| 314 # vim: set expandtab tabstop=2 shiftwidth=2: | 314 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |