#include "base/logging.h"
#include "native_mate/converter.h"
#include "native_mate/dictionary.h"
+#if defined(USE_SYSTEM_ICU)
+#include "unicode/uscript.h"
+#else
#include "third_party/icu/source/common/unicode/uscript.h"
+#endif
#include "third_party/WebKit/public/web/WebTextCheckingCompletion.h"
#include "third_party/WebKit/public/web/WebTextCheckingResult.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
+#if defined(USE_SYSTEM_ICU)
+#include "unicode/normlzr.h"
+#include "unicode/schriter.h"
+#include "unicode/uscript.h"
+#include "unicode/ulocdata.h"
+#else
#include "third_party/icu/source/common/unicode/normlzr.h"
#include "third_party/icu/source/common/unicode/schriter.h"
#include "third_party/icu/source/common/unicode/uscript.h"
#include "third_party/icu/source/i18n/unicode/ulocdata.h"
-
+#endif
// SpellcheckCharAttribute implementation:
SpellcheckCharAttribute::SpellcheckCharAttribute()
'<(DEPTH)/efl/build/system.gyp:icu',
'electron_shell_copy',
],
+ 'defines': [
+ 'USE_SYSTEM_ICU',
+ ],
'sources': [
'chromium_src/chrome/browser/icon_loader_efllinux.cc',
],