| 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 '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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 'src/src/google/protobuf/io/coded_stream.cc', | 66 'src/src/google/protobuf/io/coded_stream.cc', |
| 67 'src/src/google/protobuf/io/gzip_stream.cc', | 67 'src/src/google/protobuf/io/gzip_stream.cc', |
| 68 'src/src/google/protobuf/io/printer.cc', | 68 'src/src/google/protobuf/io/printer.cc', |
| 69 'src/src/google/protobuf/io/tokenizer.cc', | 69 'src/src/google/protobuf/io/tokenizer.cc', |
| 70 'src/src/google/protobuf/io/zero_copy_stream.cc', | 70 'src/src/google/protobuf/io/zero_copy_stream.cc', |
| 71 'src/src/google/protobuf/io/zero_copy_stream_impl.cc', | 71 'src/src/google/protobuf/io/zero_copy_stream_impl.cc', |
| 72 'src/src/google/protobuf/compiler/importer.cc', | 72 'src/src/google/protobuf/compiler/importer.cc', |
| 73 'src/src/google/protobuf/compiler/parser.cc', | 73 'src/src/google/protobuf/compiler/parser.cc', |
| 74 ], | 74 ], |
| 75 | 75 |
| 76 'conditions': [ |
| 77 ['OS != "win"', { |
| 78 # src/src/google/protobuf/generated_message_reflection.h can figure |
| 79 # out whether RTTI is enabled or disabled via compiler-defined macros |
| 80 # when building with MSVC. For other compilers, this macro must be |
| 81 # defined to suppress the use of dynamic_cast<>, which requires RTTI. |
| 82 'defines': [ |
| 83 'GOOGLE_PROTOBUF_NO_RTTI', |
| 84 ], |
| 85 }], |
| 86 ], |
| 87 |
| 76 'include_dirs': [ | 88 'include_dirs': [ |
| 77 '.', | 89 '.', |
| 78 'src/src', | 90 'src/src', |
| 79 ], | 91 ], |
| 80 | 92 |
| 81 'direct_dependent_settings': { | 93 'direct_dependent_settings': { |
| 82 'include_dirs': [ | 94 'include_dirs': [ |
| 83 '.', | 95 '.', |
| 84 'src/src', | 96 'src/src', |
| 85 ], | 97 ], |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 'protobuf', | 154 'protobuf', |
| 143 ], | 155 ], |
| 144 | 156 |
| 145 'include_dirs': [ | 157 'include_dirs': [ |
| 146 '.', | 158 '.', |
| 147 'src/src', | 159 'src/src', |
| 148 ], | 160 ], |
| 149 }, | 161 }, |
| 150 ], | 162 ], |
| 151 } | 163 } |
| OLD | NEW |