Index: base/base.gyp |
=================================================================== |
--- base/base.gyp (revision 82052) |
+++ base/base.gyp (working copy) |
@@ -55,7 +55,8 @@ |
}, |
{ |
# This is the subset of files from base that should not be used with a |
- # dynamic library. |
+ # dynamic library. Note that this library cannot depend on base because |
+ # base depends on base_static. |
'target_name': 'base_static', |
'type': '<(library)', |
'sources': [ |
@@ -220,6 +221,7 @@ |
'base_i18n', |
'base_static', |
'test_support_base', |
+ 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
'../testing/gmock.gyp:gmock', |
'../testing/gtest.gyp:gtest', |
], |
@@ -278,10 +280,14 @@ |
'type': '<(library)', |
'dependencies': [ |
'base', |
+ 'base_static', |
'base_i18n', |
'../testing/gmock.gyp:gmock', |
'../testing/gtest.gyp:gtest', |
], |
+ 'export_dependent_settings': [ |
+ 'base', |
+ ], |
'conditions': [ |
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
'dependencies': [ |