],
}, # efl-assist
{
+ 'target_name': 'ui-gadget',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen_mobile==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags ui-gadget-1)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other ui-gadget-1)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l ui-gadget-1)',
+ ],
+ },
+ }],
+ ],
+ }, # ui-gadget
+ {
'target_name': 'capi-appfw-application',
'type': 'none',
'conditions': [
],
}, # capi-system-info
{
+ 'target_name': 'capi-system-device',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen_mobile==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags capi-system-device)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-device)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l capi-system-device)',
+ ],
+ },
+ }],
+ ],
+ }, # capi-system-device
+ {
+ 'target_name': 'capi-system-sensor',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen_mobile==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags capi-system-sensor)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-sensor)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l capi-system-sensor)',
+ ],
+ },
+ }],
+ ],
+ }, # capi-system-sensor
+ {
'target_name': 'libdri2',
'type': 'none',
'conditions': [
},
}, # gstreamer
{
+ 'target_name': 'capi-media-camera',
+ 'type': 'none',
+ 'conditions': [
+ ['building_for_tizen_mobile==1', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags capi-media-camera)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-camera)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l capi-media-camera)',
+ ],
+ },
+ }],
+ ],
+ }, # capi-media-camera
+ {
'target_name': 'tts',
'type': 'none',
'conditions': [
'<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:window-factory',
'<(DEPTH)/tizen_src/build/system.gyp:gstreamer',
'<(DEPTH)/tizen_src/build/system.gyp:tts',
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-system-sensor',
],
'external_content_renderer_deps': [
'<(DEPTH)/tizen_src/build/system.gyp:tts',
# found in the LICENSE file.
{
+ 'variables': {
+ 'external_device_battery_deps': [
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
+ ],
+ },
'target_defaults': {
'target_conditions': [
['_target_name=="device_battery"', {
'<(DEPTH)/tizen_src/build/system.gyp:ecore',
'<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
'<(DEPTH)/tizen_src/build/system.gyp:gstreamer',
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-media-camera',
],
},
#include "media/video/capture/tizen/video_capture_device_tizen.h"
-#include "eweb_view.h"
-
//#define WEBRTC_DEBUG_DUMPFILE
-
#if defined(WEBRTC_DEBUG_DUMPFILE)
#include <fcntl.h>
#include <unistd.h>
+#endif
+
+#include "base/bind.h"
+#if defined(EWK_REFACTOR)
+// TODO: remove this dependency.
+#include "eweb_view.h"
+#endif
+
+#if defined(WEBRTC_DEBUG_DUMPFILE)
int fd;
#endif
<< " height:" << frame->height
<< " format:" << toString(frame->format);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN_MOBILE) && defined(EWK_REFACTOR)
int orientation = EWebView::GetOrientation();
#else
int orientation = 0;
'<(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:capi-media-camera',
'<(DEPTH)/tizen_src/build/system.gyp:feedback',
+ '<(DEPTH)/tizen_src/build/system.gyp:efl-assist',
+ '<(DEPTH)/tizen_src/build/system.gyp:ui-gadget',
'<(DEPTH)/tizen_src/ewk/po_tizen/locale.gyp:locale_efl',
'<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:efl-init',
}],
'dependencies': [
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
'<(DEPTH)/tizen_src/build/system.gyp:evas',
'<(DEPTH)/tizen_src/build/system.gyp:ecore',
'<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
'../efl_integration',
],
'dependencies': [
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-appfw-application',
+ '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
'<(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:efl-assist',
'<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-appfw-application',
'<(DEPTH)/build/linux/system.gyp:glib',
'chromium-ewk',
],