summaryrefslogtreecommitdiffstats
path: root/gears/SConscript.googleurl
diff options
context:
space:
mode:
Diffstat (limited to 'gears/SConscript.googleurl')
-rw-r--r--gears/SConscript.googleurl10
1 files changed, 8 insertions, 2 deletions
diff --git a/gears/SConscript.googleurl b/gears/SConscript.googleurl
index a8aef1a..865ba03 100644
--- a/gears/SConscript.googleurl
+++ b/gears/SConscript.googleurl
@@ -8,6 +8,7 @@ env = env.Clone()
env.Replace(
GURL_DIR = '$THIRD_PARTY_DIR/googleurl',
+ ICU38_DIR = '$THIRD_PARTY_DIR/icu38',
CPPPATH = [
'$GURL_DIR',
'$GURL_DIR/..',
@@ -19,7 +20,7 @@ env.Replace(
env.Append(
CPPDEFINES = [
- 'U_STATIC_IMPLEMENTATION',
+# 'U_STATIC_IMPLEMENTATION',
],
)
@@ -36,7 +37,7 @@ input_files = [
'$GURL_DIR/src/url_canon_etc.cc',
'$GURL_DIR/src/url_canon_fileurl.cc',
'$GURL_DIR/src/url_canon_host.cc',
- '$GURL_DIR/src/url_canon_icu.cc',
+# '$GURL_DIR/src/url_canon_icu.cc',
'$GURL_DIR/src/url_canon_internal.cc',
'$GURL_DIR/src/url_canon_ip.cc',
# '$GURL_DIR/src/url_canon_mailtourl.cc',
@@ -50,6 +51,11 @@ input_files = [
'$GURL_DIR/src/url_util.cc',
]
+# ICU files needed for Gears.
+input_files += [
+ '$ICU38_DIR/source/common/utf_impl.cc',
+]
+
env.ChromeStaticLibrary('googleurl-gears', input_files)
#env_tests = env.Clone()