From: Piotr Tworek
Date: Tue, 3 Mar 2015 09:04:37 +0000 (+0900)
Subject: Migrate chromium-efl device_sensors provider into chromium_impl
X-Git-Tag: submit/tizen/20201118.160233~1122
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73224c789077f245e0af1ba6e218a5733af41e5b;p=platform%2Fframework%2Fweb%2Fchromium-efl.git
Migrate chromium-efl device_sensors provider into chromium_impl
It implements generic chromium interface. The code should be reusable by
both EWK and content apps line xwalk or content_shell.
Change-Id: I952f6a5a284cf4c1a37c1d8bad28859a038e03de
Signed-off-by: Piotr Tworek
---
diff --git a/tizen_src/impl/browser/device_sensors/data_fetcher_impl_tizen.cc b/tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_impl_tizen.cc
similarity index 99%
rename from tizen_src/impl/browser/device_sensors/data_fetcher_impl_tizen.cc
rename to tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_impl_tizen.cc
index 4813d2f..ede8f5c 100644
--- a/tizen_src/impl/browser/device_sensors/data_fetcher_impl_tizen.cc
+++ b/tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_impl_tizen.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "browser/device_sensors/data_fetcher_impl_tizen.h"
+#include "content/browser/device_sensors/data_fetcher_impl_tizen.h"
#include "base/logging.h"
#include "base/memory/singleton.h"
diff --git a/tizen_src/impl/browser/device_sensors/data_fetcher_impl_tizen.h b/tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_impl_tizen.h
similarity index 100%
rename from tizen_src/impl/browser/device_sensors/data_fetcher_impl_tizen.h
rename to tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_impl_tizen.h
diff --git a/tizen_src/impl/browser/device_sensors/data_fetcher_shared_memory_tizen.cc b/tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_shared_memory_tizen.cc
similarity index 96%
rename from tizen_src/impl/browser/device_sensors/data_fetcher_shared_memory_tizen.cc
rename to tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_shared_memory_tizen.cc
index 6b3bcef..a839c9e 100644
--- a/tizen_src/impl/browser/device_sensors/data_fetcher_shared_memory_tizen.cc
+++ b/tizen_src/chromium_impl/content/browser/device_sensors/data_fetcher_shared_memory_tizen.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#if defined(OS_TIZEN_MOBILE)
-#include "browser/device_sensors/data_fetcher_impl_tizen.h"
+#include "content/browser/device_sensors/data_fetcher_impl_tizen.h"
#endif
#include "base/logging.h"
#include "content/browser/device_sensors/data_fetcher_shared_memory.h"
diff --git a/tizen_src/chromium_impl/content/content_efl.gypi b/tizen_src/chromium_impl/content/content_efl.gypi
index b0b7a6d..d2918fb 100644
--- a/tizen_src/chromium_impl/content/content_efl.gypi
+++ b/tizen_src/chromium_impl/content/content_efl.gypi
@@ -115,7 +115,13 @@
],
'conditions': [
['building_for_tizen_mobile==1', {
+ 'sources/': [
+ [ 'exclude', 'browser/device_sensors/data_fetcher_shared_memory_default.cc$' ],
+ ],
'sources': [
+ 'browser/device_sensors/data_fetcher_impl_tizen.cc',
+ 'browser/device_sensors/data_fetcher_impl_tizen.h',
+ 'browser/device_sensors/data_fetcher_shared_memory_tizen.cc',
'browser/speech/tts_message_filter_efl.cc',
'browser/speech/tts_message_filter_efl.h',
'browser/speech/tts_tizen.cc',