Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2757)

Unified Diff: base/base.gyp

Issue 8065017: Upstream: Android's base.gyp and base.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change a Tab to space. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/base.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index a4755e3b0743cc48ec37203c065bcaab37a362e3..be675a87fefd0bbc58e360629e37961e5c4bcf8d 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -27,6 +27,40 @@
'../build/linux/system.gyp:gtk',
],
}],
+ # TODO(michaelbai): This should be removed once icu supported
+ ['OS == "android"', {
+ 'dependencies!': [
+ '../third_party/icu/icu.gyp:icui18n',
+ '../third_party/icu/icu.gyp:icuuc',
+ ],
+ 'sources!': [
+ 'i18n/base_i18n_export.h',
+ 'i18n/bidi_line_iterator.cc',
+ 'i18n/bidi_line_iterator.h',
+ 'i18n/break_iterator.cc',
+ 'i18n/break_iterator.h',
+ 'i18n/char_iterator.cc',
+ 'i18n/char_iterator.h',
+ 'i18n/case_conversion.cc',
+ 'i18n/case_conversion.h',
+ 'i18n/file_util_icu.cc',
+ 'i18n/file_util_icu.h',
+ 'i18n/icu_encoding_detection.cc',
+ 'i18n/icu_encoding_detection.h',
+ 'i18n/icu_string_conversions.cc',
+ 'i18n/icu_string_conversions.h',
+ 'i18n/icu_util.cc',
+ 'i18n/icu_util.h',
+ 'i18n/number_formatting.cc',
+ 'i18n/number_formatting.h',
+ 'i18n/rtl.cc',
+ 'i18n/rtl.h',
+ 'i18n/string_search.cc',
+ 'i18n/string_search.h',
+ 'i18n/time_formatting.cc',
+ 'i18n/time_formatting.h',
+ ],
+ }],
],
'export_dependent_settings': [
'base',
@@ -56,8 +90,8 @@
'i18n/number_formatting.h',
'i18n/rtl.cc',
'i18n/rtl.h',
- 'i18n/string_search.cc',
- 'i18n/string_search.h',
+ 'i18n/string_search.cc',
+ 'i18n/string_search.h',
'i18n/time_formatting.cc',
'i18n/time_formatting.h',
],
@@ -257,6 +291,34 @@
'module_dir': 'base'
},
'conditions': [
+ ['OS == "android"', {
+ # TODO(michaelbai): This should be removed once icu supported
+ 'dependencies!': [
+ '../third_party/icu/icu.gyp:icui18n',
+ '../third_party/icu/icu.gyp:icuuc',
+ ],
+ 'sources!': [
+ # TODO(michaelbai): The belows are excluded because of the missing
+ # icu and should be added back once icu is ready.
+ 'i18n/break_iterator_unittest.cc',
+ 'i18n/char_iterator_unittest.cc',
+ 'i18n/case_conversion_unittest.cc',
+ 'i18n/file_util_icu_unittest.cc',
+ 'i18n/icu_string_conversions_unittest.cc',
+ 'i18n/number_formatting_unittest.cc',
+ 'i18n/rtl_unittest.cc',
+ 'i18n/string_search_unittest.cc',
+ 'i18n/time_formatting_unittest.cc',
+ # TODO(michaelbai): Removed the below once the fix upstreamed.
+ 'memory/mru_cache_unittest.cc',
+ 'process_util_unittest.cc',
+ 'synchronization/cancellation_flag_unittest.cc',
+ # TODO(michaelbai): The below files are excluded because of the
+ # missing JNI and should be added back once JNI is ready.
+ 'android/scoped_java_ref_unittest.cc',
+ 'debug/stack_trace_unittest.cc',
+ ],
+ }],
['use_glib==1', {
'sources!': [
'file_version_info_unittest.cc',
@@ -369,6 +431,7 @@
'test/test_reg_util_win.h',
'test/test_suite.cc',
'test/test_suite.h',
+ 'test/test_stub_android.cc',
'test/test_switches.cc',
'test/test_switches.h',
'test/test_timeouts.cc',
« no previous file with comments | « no previous file | base/base.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698