Enabled the use_system_re2 flag
authorYoungcheol Kang <ychul.kang@samsung.com>
Wed, 27 Jan 2016 04:46:28 +0000 (13:46 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
Currently we use the re2 library on the internal chromium
(third_party/re2). This patch set the 'use_system_re2' flag
to use re2 library on system instead of internal chromium.

+--------------------+----------+----------+
|       Size         |  Before  |  After   |
+--------------------+----------+----------+
| chromium-ewk.so    | 28390640 | 28305872 |
+--------------------+----------+----------+

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15517

Reviewed by: sns.park

Change-Id: I7ceb1112732efe5abdca924a95304dd2cc1e3f9d
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
tizen_src/build/gyp_chromiumefl.sh
tizen_src/packaging/chromium-efl.spec

index 343825b..2835a66 100755 (executable)
@@ -179,6 +179,7 @@ add_gbs_flags() {
                -Duse_system_libusb=1
                -Duse_system_libxml=1
                -Duse_system_libxslt=1
+               -Duse_system_re2=1
                -Duse_system_zlib=1
                -Duse_system_icu=1
               "
index 3c2d275..52957ef 100644 (file)
@@ -58,7 +58,7 @@ Requires(post): xkeyboard-config
 Requires(postun): /sbin/ldconfig
 
 BuildRequires: bison, edje-tools, expat-devel, flex, gettext, gperf, libcap-devel
-BuildRequires: libjpeg-turbo-devel, perl, python, python-xml, which
+BuildRequires: libjpeg-turbo-devel, perl, python, python-xml, re2-devel, which
 BuildRequires: pkgconfig(capi-appfw-application)
 BuildRequires: pkgconfig(capi-location-manager)
 BuildRequires: pkgconfig(capi-media-audio-io)