Base: Switch base_i18n to be a separate dll (component build)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7812009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99057 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: c743d4c75d3ea1dbe52a943514c8c152b0a5cc39
diff --git a/base/base.gyp b/base/base.gyp
index 943b4b8..623e6da 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -12,9 +12,10 @@
'targets': [
{
'target_name': 'base_i18n',
- 'type': 'static_library',
+ 'type': '<(component)',
'dependencies': [
'base',
+ 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
],
@@ -29,7 +30,11 @@
'export_dependent_settings': [
'base',
],
+ 'defines': [
+ 'BASE_I18N_IMPLEMENTATION',
+ ],
'sources': [
+ 'i18n/base_i18n_export.h',
'i18n/bidi_line_iterator.cc',
'i18n/bidi_line_iterator.h',
'i18n/break_iterator.cc',