Index: build/temp_gyp/googleurl.gyp |
=================================================================== |
--- build/temp_gyp/googleurl.gyp (revision 109143) |
+++ build/temp_gyp/googleurl.gyp (working copy) |
@@ -67,7 +67,6 @@ |
}, |
{ |
'target_name': 'googleurl_unittests', |
- 'type': 'executable', |
'dependencies': [ |
'googleurl', |
'../../base/base.gyp:base_i18n', |
@@ -95,6 +94,15 @@ |
}], |
], |
}], |
+ # TODO(victorw): The unittest code uses inline functions that access |
+ # global variables, it also uses internal functions that we may not want |
+ # to export, so skip building unittests for component builds. |
+ # The googleurl functions are tested by the static library build. |
+ ['component=="shared_library"', { |
+ 'type': 'none', |
+ }, { |
+ 'type': 'executable', |
+ }], |
], |
}, |
], |