1# Copyright 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'sources': [
7    'src/google/protobuf/stubs/atomicops.h',
8    'src/google/protobuf/stubs/atomicops_internals_arm_gcc.h',
9    'src/google/protobuf/stubs/atomicops_internals_atomicword_compat.h',
10    'src/google/protobuf/stubs/atomicops_internals_macosx.h',
11    'src/google/protobuf/stubs/atomicops_internals_mips_gcc.h',
12    'src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc',
13    'src/google/protobuf/stubs/atomicops_internals_x86_gcc.h',
14    'src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc',
15    'src/google/protobuf/stubs/atomicops_internals_x86_msvc.h',
16    'src/google/protobuf/stubs/common.h',
17    'src/google/protobuf/stubs/once.h',
18    'src/google/protobuf/stubs/platform_macros.h',
19    'src/google/protobuf/extension_set.h',
20    'src/google/protobuf/generated_message_util.h',
21    'src/google/protobuf/message_lite.h',
22    'src/google/protobuf/repeated_field.h',
23    'src/google/protobuf/unknown_field_set.cc',
24    'src/google/protobuf/unknown_field_set.h',
25    'src/google/protobuf/wire_format_lite.h',
26    'src/google/protobuf/wire_format_lite_inl.h',
27    'src/google/protobuf/io/coded_stream.h',
28    'src/google/protobuf/io/zero_copy_stream.h',
29    'src/google/protobuf/io/zero_copy_stream_impl_lite.h',
30
31    'src/google/protobuf/stubs/common.cc',
32    'src/google/protobuf/stubs/once.cc',
33    'src/google/protobuf/stubs/hash.h',
34    'src/google/protobuf/stubs/map-util.h',
35    'src/google/protobuf/extension_set.cc',
36    'src/google/protobuf/generated_message_util.cc',
37    'src/google/protobuf/message_lite.cc',
38    'src/google/protobuf/repeated_field.cc',
39    'src/google/protobuf/wire_format_lite.cc',
40    'src/google/protobuf/io/coded_stream.cc',
41    'src/google/protobuf/io/coded_stream_inl.h',
42    'src/google/protobuf/io/zero_copy_stream.cc',
43    'src/google/protobuf/io/zero_copy_stream_impl_lite.cc',
44    '<(config_h_dir)/config.h',
45  ],
46  'include_dirs': [
47    '<(config_h_dir)',
48    'src',
49  ],
50  # This macro must be defined to suppress the use of dynamic_cast<>,
51  # which requires RTTI.
52  'defines': [
53    'GOOGLE_PROTOBUF_NO_RTTI',
54    'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER',
55  ],
56  'direct_dependent_settings': {
57    'include_dirs': [
58      '<(config_h_dir)',
59      'src',
60    ],
61    'defines': [
62      'GOOGLE_PROTOBUF_NO_RTTI',
63      'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER',
64    ],
65    # TODO(jschuh): http://crbug.com/167187 size_t -> int.
66    'msvs_disabled_warnings': [ 4267 ],
67  },
68}
69