],
}, # capi-appfw-application
{
+ 'target_name': 'capi-location-manager',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags capi-location-manager)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-location-manager)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l capi-location-manager)',
+ ],
+ },
+ }],
+ ],
+ }, # capi-location-manager
+ {
+ 'target_name': 'capi-system-info',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags capi-system-info)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-info)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l capi-system-info)',
+ ],
+ },
+ }],
+ ],
+ }, # capi-system-info
+ {
'target_name': 'libdri2',
'type': 'none',
'conditions': [
}],
],
}, # tts
+ {
+ 'target_name': 'vconf',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags vconf)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other vconf)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l vconf)',
+ ],
+ },
+ }],
+ ],
+ }, # vconf
+ {
+ 'target_name': 'feedback',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags feedback)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other feedback)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l feedback)',
+ ],
+ },
+ }],
+ ],
+ }, # feedback
],
}
'<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
'<(DEPTH)/tizen_src/build/system.gyp:elementary',
'<(DEPTH)/tizen_src/build/system.gyp:gstreamer',
+ '<(DEPTH)/tizen_src/build/system.gyp:vconf',
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-location-manager',
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-system-info',
+ '<(DEPTH)/tizen_src/build/system.gyp:feedback',
'<(DEPTH)/tizen_src/ewk/po_tizen/locale.gyp:locale_efl',
'<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:efl-init',
Evas* canvas,
tizen_webview::Web_App_Screenshot_Captured_Callback callback,
void* user_data) {
-#ifdef OS_TIZEN
+#if defined(OS_TIZEN) && defined(EWK_REFACTOR)
if (!rwhv())
return false;
int width = rect.w;
}
void EWebView::GetSnapShotForRect(gfx::Rect& rect) {
-#ifdef OS_TIZEN
+#if defined(OS_TIZEN) && defined(EWK_REFACTOR)
rwhv()->GetSnapshotForRect(rect);
#endif
}
#include <Evas.h>
-#include <../impl/browser/favicon/favicon_database.h>
+#include "browser/favicon/favicon_database.h"
#include <tizen_webview/public/tw_web_context.h>
#include "private/ewk_context_private.h"
FaviconDatabase* favicon_database;
};
#endif // ewk_favicon_database_private_h
-#endif
\ No newline at end of file
+#endif
#include "tizen_webview/public/tw_web_context.h"
-#if defined(OS_TIZEN)
+#if defined(OS_TIZEN_MOBILE)
#include "content/public/browser/media_capture_devices.h"
#include "media/video/capture/tizen/video_capture_device_tizen.h"
#endif
delete metafile;
}
-#if defined(OS_TIZEN)
+#if defined(OS_TIZEN_MOBILE)
static const content::MediaStreamDevice*
GetRequestedVideoDevice(std::string& device_id) {
const content::MediaStreamDevices& video_devices =
"default", "Default"));
}
if (pending_request.request.video_type == content::MEDIA_DEVICE_VIDEO_CAPTURE) {
-#if defined(OS_TIZEN)
+#if defined(OS_TIZEN_MOBILE)
const content::MediaStreamDevice* video_device =
GetRequestedVideoDevice(pending_request.request.requested_video_device_id);
if (video_device) {
'dependencies': [
'<(DEPTH)/tizen_src/build/system.gyp:evas',
'<(DEPTH)/tizen_src/build/system.gyp:ecore',
+ '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
'<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
'<(DEPTH)/tizen_src/build/system.gyp:elementary',
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-appfw-application',
+ '<(DEPTH)/build/linux/system.gyp:glib',
'chromium-ewk',
],
'cflags': [