Description: Chromium EFL port
Version: ?VERSION?
-Libs: -L${libdir} -Wl,-rpath-link=${libdir} -lchromium-efl -lchromium-ewk
+Libs: -L${libdir} -Wl,-rpath-link=${libdir} -lchromium-ewk
Cflags: -I${includedir}/chromium-ewk -I${includedir}/v8
--- /dev/null
+{
+ global:
+ ewk_*;
+ efl_webprocess_main;
+ extern "C++" {
+ v8::*
+ };
+
+ local: *;
+};
+
'dependencies': [
'<(efl_impl_dir)/chromium-efl.gyp:chromium-efl',
- '<(efl_impl_dir)/chromium-efl.gyp:efl_webprocess',
'<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
],
'defines': [
'HAVE_ECORE_X=<!(if pkg-config ecore-x; then echo 1; fi)',
],
+ 'cflags': [
+ # Symbol visibility controled by chromium-ewk.filter
+ '-fvisibility=hidden',
+ ],
+ 'link_settings': {
+ 'ldflags': [
+ '-Wl,--no-undefined',
+ '-Wl,--version-script,<(efl_impl_dir)/../ewk/chromium-ewk.filter',
+ ],
+ },
'conditions': [
['gcc_4_6_x==1', {
'defines': [
},
{
+ 'target_name': 'efl_webprocess',
+ 'type': 'executable',
+ 'include_dirs': [
+ '<(efl_impl_dir)',
+ ],
+ 'sources': [
+ 'efl_webprocess/efl_webprocess.cc',
+ ],
+ 'dependencies': [
+ 'chromium-ewk',
+ ],
+ },
+
+ {
'target_name': 'efl_webview_app',
'type': 'executable',
--- /dev/null
+// Copyright 2014 Samsung Electronics. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "efl_webprocess_main.h"
+
+int main(int argc, const char **argv) {
+ return efl_webprocess_main(argc, argv);
+}
+++ /dev/null
-{
- global:
- extern "C++" {
- EWebView::*;
- EWebContext::*;
- content::NotificationControllerEfl::*;
- ewk_ipc_*;
- };
-
- # ContentMain constructor
- _ZN7content11ContentMainEiPPKcPNS_19ContentMainDelegateE;
- # vtables for WebProcessContentMainDelegateEfl and ContentMainDelegate
- _ZTVN7content32WebProcessContentMainDelegateEflE;
- _ZTVN7content19ContentMainDelegateE;
-
-# TODO: hide all symbols not needed by the embedding API and efl_webprocess
-# local:
-# *;
-};
-
'edje_dir%': '/usr/share/chromium-efl/themes/',
'locale_dir%': '/usr/share/chromium-efl/locale/',
'edje_compiler%': 'edje_cc',
- 'chromium_efl_library_type%': 'shared_library',
+ 'chromium_efl_library_type%': 'static_library',
},
'includes': [
'chromedriver_efl.gypi',
'devtools_delegate_efl.h',
'devtools_manager_delegate_efl.cc',
'devtools_manager_delegate_efl.h',
+ 'efl_webprocess_main.cc',
+ 'efl_webprocess_main.h',
'eweb_context.cc',
'eweb_context.h',
'eweb_view.cc',
# Temporary fix for M40 build
'third_party/webrtc/system_wrappers/source/cpu_features_tizen.c',
],
- 'cflags!': [
- # Symbol visibility controled by chromium-efl.filter
- '-fvisibility=hidden',
- ],
'link_settings': {
- 'ldflags': [
- '-Wl,--no-undefined',
- '-Wl,--version-script,<(efl_impl_dir)/chromium-efl.filter',
- '-rdynamic',
- ],
'conditions': [
['_toolset=="target"', {
'libraries': [ '<!($(echo ${CXX_target:-g++}) -print-libgcc-file-name)', ]
],
},
{
- 'target_name': 'efl_webprocess',
- 'type': 'executable',
- 'include_dirs': [
- '.',
- ],
- 'sources': [
- 'web_process.cc',
- ],
- 'dependencies': [
- 'chromium-efl',
- ],
- },
- {
'target_name': 'content_shell_efl',
'type': 'executable',
'dependencies': [
-// Copyright 2014 Samsung Electronics. All rights reserved.
+// Copyright 2015 Samsung Electronics. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "efl_webprocess_main.h"
+
#include "base/logging.h"
#include "web_process_content_main_delegate_efl.h"
-int main(int argc, const char **argv) {
+int efl_webprocess_main(int argc, const char **argv) {
LOG(INFO) << "web process launching...";
content::WebProcessContentMainDelegateEfl content_main_delegate;
--- /dev/null
+// Copyright 2015 Samsung Electronics. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef EFL_WEBPROCESS_MAIN_H
+#define EFL_WEBPROCESS_MAIN_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+__attribute__((visibility("default"))) int efl_webprocess_main(int argc, const char **argv);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // EFL_WEBPROCESS_MAIN_H
install -m 0755 "%{OUTPUT_FOLDER}"/locales/*.pak "%{buildroot}%{CHROMIUM_EXE_DIR}"/locales
-install -m 0755 "%{OUTPUT_FOLDER}"/lib/libchromium-efl.so "%{buildroot}"%{_libdir}
install -m 0755 "%{OUTPUT_FOLDER}"/lib/libchromium-ewk.so "%{buildroot}"%{_libdir}
install -m 0755 "%{OUTPUT_FOLDER}"/libffmpegsumo.so "%{buildroot}%{CHROMIUM_EXE_DIR}"
/opt/share/icons/mini-browser.png
%endif
%defattr(-,root,root,-)
-%{_libdir}/libchromium-efl.so
%{_libdir}/libchromium-ewk.so
%{CHROMIUM_EXE_DIR}/efl_webprocess
%{CHROMIUM_EXE_DIR}/libffmpegsumo.so