Index: third_party/protobuf/protobuf.gyp |
diff --git a/third_party/protobuf/protobuf.gyp b/third_party/protobuf/protobuf.gyp |
index dc6a6424ede920156db297ad784701f37087b671..a0ab85a8e94ad2070f3e7cfd01449e0dcbe220ae 100644 |
--- a/third_party/protobuf/protobuf.gyp |
+++ b/third_party/protobuf/protobuf.gyp |
@@ -41,6 +41,13 @@ |
'toolsets': ['host', 'target'], |
'sources': [ |
'src/google/protobuf/stubs/atomicops.h', |
+ 'src/google/protobuf/stubs/atomicops_internals_arm_gcc.h', |
+ 'src/google/protobuf/stubs/atomicops_internals_mips_gcc.h', |
+ 'src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc', |
+ 'src/google/protobuf/stubs/atomicops_internals_x86_gcc.h', |
+ 'src/google/protobuf/stubs/atomicops_internals_x86_macosx.h', |
+ 'src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc', |
+ 'src/google/protobuf/stubs/atomicops_internals_x86_msvc.h', |
'src/google/protobuf/stubs/common.h', |
'src/google/protobuf/stubs/once.h', |
'src/google/protobuf/stubs/platform_macros.h', |
@@ -72,36 +79,6 @@ |
'src/google/protobuf/io/zero_copy_stream_impl_lite.cc', |
'<(config_h_dir)/config.h', |
], |
- 'conditions': [ |
- ['OS == "win"', { |
- 'sources+': [ |
- 'src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc', |
- 'src/google/protobuf/stubs/atomicops_internals_x86_msvc.h', |
- ], |
- }], |
- ['OS == "mac"', { |
- 'sources+': [ |
- 'src/google/protobuf/stubs/atomicops_internals_x86_macosx.h', |
- ], |
- }], |
- ['"<(target_arch)" == "arm"', { |
- 'sources+': [ |
- 'src/google/protobuf/stubs/atomicops_internals_arm_gcc.h', |
- ], |
- }], |
- ['"<(target_arch)" == "mips"', { |
- 'sources+': [ |
- 'src/google/protobuf/stubs/atomicops_internals_mips_gcc.h', |
- ], |
- }], |
- ['"<(target_arch)" == "ia32" or "<(target_arch)" == "x64"', { |
- 'sources+': [ |
- 'src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc', |
- 'src/google/protobuf/stubs/atomicops_internals_x86_gcc.h', |
- ], |
- }], |
- ], |
- |
'include_dirs': [ |
'<(config_h_dir)', |
'src', |