[Rom Size] Remove dependencies of chrome, crashpad, and extension 76/184776/2
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 16 Jul 2018 07:06:25 +0000 (07:06 +0000)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 24 Jul 2018 05:34:02 +0000 (05:34 +0000)
This removes unused component dependencies to reduced binary size.

Removed Dependency List:
- chrome
- crashpad
- extension

Change-Id: Ic11a3f3bc999c91af00b21e8916d5d60ad42b4d7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
components/crash/content/app/BUILD.gn
extensions/buildflags/buildflags.gni
mojo/public/tools/bindings/chromium_bindings_configuration.gni
tizen_src/build/gn_chromiumefl.sh
tizen_src/ewk/efl_integration/BUILD.gn

index b7e1771..6e27f0c 100644 (file)
@@ -44,7 +44,7 @@ static_library("app") {
       "breakpad_linux.h",
       "breakpad_linux_impl.h",
     ]
-    if (!is_chromeos) {
+    if (!is_chromeos && !use_efl) {
       sources += [ "crashpad_linux.cc" ]
     }
   }
index 6836e4a..1a7bec2 100644 (file)
@@ -5,7 +5,7 @@
 import("//build/config/features.gni")
 
 declare_args() {
-  enable_extensions = !is_android && !is_ios && !is_fuchsia
+  enable_extensions = !is_android && !is_ios && !is_fuchsia && !is_tizen
 
   # Enables Wi-Fi Display functionality
   # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding!
index 19804b4..90d4b5b 100644 (file)
@@ -4,11 +4,6 @@
 
 _typemap_imports = [
   "//ash/public/interfaces/typemaps.gni",
-  "//chrome/common/extensions/typemaps.gni",
-  "//chrome/common/importer/typemaps.gni",
-  "//chrome/common/media_router/mojo/typemaps.gni",
-  "//chrome/typemaps.gni",
-  "//chromeos/services/device_sync/public/mojom/typemaps.gni",
   "//components/arc/common/typemaps.gni",
   "//components/metrics/public/cpp/typemaps.gni",
   "//components/sync/mojo/typemaps.gni",
index 11f95c4..704f9d1 100755 (executable)
@@ -83,7 +83,7 @@ COMMON_GN_PARAMETERS="
                       use_pango=false
                       use_cairo=false
                       enable_plugins=true
-                      enable_extensions=true
+                      enable_extensions=false
                       use_cups=false
                       use_allocator=\"none\"
                       disable_fatal_linker_warnings=true
index 959d68d..98f3b24 100644 (file)
@@ -62,8 +62,6 @@ shared_library("chromium-ewk") {
     "//tizen_src/chromium_impl/efl:efl-init",
 
     "//base/:base_static",
-    "//chrome/common/media_router/mojo:media_router",
-    "//chrome:packed_resources",
     "//content/public/browser",
     "//content/shell:resources",
     "//content/shell:pak",
@@ -79,7 +77,6 @@ shared_library("chromium-ewk") {
     "//components/plugins/renderer",
     "//components/variations",
     "//services/device:lib",
-    "//extensions:shell_and_test_pak",
     "//printing",
     "//skia",
     "//storage/browser",