Removed unneeded folder.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Fri, 8 Apr 2016 08:44:37 +0000 (10:44 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Fri, 8 Apr 2016 08:44:37 +0000 (10:44 +0200)
Change-Id: Ia4cd21bd6670620a787d9e3fd1c0d1a365f1d54d
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/cordova-api.gyp
src/cordova/cordova.gyp [deleted file]
src/cordova/cordova_api.js [deleted file]
src/cordova/cordova_extension.cc [deleted file]
src/cordova/cordova_extension.h [deleted file]

index 1fc74b9..2173821 100644 (file)
@@ -8,7 +8,6 @@
       'target_name': 'cordova-api',
       'type': 'none',
       'dependencies': [
-        'cordova/cordova.gyp:*',
         'file/cordova_file.gyp:*',
         'globalization/cordova_globalization.gyp:*',
       ],
diff --git a/src/cordova/cordova.gyp b/src/cordova/cordova.gyp
deleted file mode 100644 (file)
index aab4a79..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-  'includes':[
-    '/usr/include/webapi-plugins/src/common/common.gypi',
-  ],
-  'targets': [
-    {
-      'target_name': 'tizen_cordova',
-      'type': 'loadable_module',
-      'sources': [
-        'cordova_api.js',
-        'cordova_extension.cc',
-        'cordova_extension.h',
-      ],
-      'include_dirs': [
-        '../',
-        '<(SHARED_INTERMEDIATE_DIR)',
-      ],
-      'variables': {
-        'packages': [
-          'webapi-plugins',
-        ],
-      },
-    },
-  ],
-}
diff --git a/src/cordova/cordova_api.js b/src/cordova/cordova_api.js
deleted file mode 100755 (executable)
index 92438ce..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-
-console.log('Loaded cordova API');
-
-exports = {
-  load: function(require) {
-    // delete this method
-    delete exports.load;
-
-    var plugins = [];
-
-    // mechanism to add Tizen-specific plugins to cordova
-    cordova.define('cordova-tizen', function(require, exports, module) {
-      module.exports = {
-        addPlugin: function(dependency, name, algorithm, symbol) {
-          plugins.push({
-            dependency: dependency,
-            name: name,
-            algorithm: algorithm,
-            symbol: symbol
-          });
-        }
-      };
-    });
-
-    var channel = require('cordova/channel');
-
-    // executed when all cordova plugins have been loaded
-    channel.onPluginsReady.subscribe(function() {
-      var mm = require('cordova/modulemapper');
-
-      // add plugins to module mapper, but only if they are required
-      // (their dependencies have been defined/loaded)
-      for (var i = 0; i < plugins.length; ++i) {
-        var p = plugins[i];
-        if (cordova.define.moduleMap[p.dependency]) {
-          mm[p.algorithm](p.name, p.symbol);
-        }
-      }
-    });
-  }
-};
diff --git a/src/cordova/cordova_extension.cc b/src/cordova/cordova_extension.cc
deleted file mode 100755 (executable)
index 398a809..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-
-#include "cordova/cordova_extension.h"
-
-// This will be generated from cordova_api.js
-extern const char kSource_cordova_api[];
-
-common::Extension* CreateExtension() {
-  return new extension::cordova::CordovaExtension();
-}
-
-namespace extension {
-namespace cordova {
-
-CordovaExtension::CordovaExtension() {
-  SetExtensionName("tizen.cordova");
-  SetJavaScriptAPI(kSource_cordova_api);
-}
-
-CordovaExtension::~CordovaExtension() {}
-
-}  // cordova
-}  // extension
diff --git a/src/cordova/cordova_extension.h b/src/cordova/cordova_extension.h
deleted file mode 100755 (executable)
index e60dc24..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-
-#ifndef CORDOVA_CORDOVA_EXTENSION_H_
-#define CORDOVA_CORDOVA_EXTENSION_H_
-
-#include <common/extension.h>
-
-namespace extension {
-namespace cordova {
-
-class CordovaExtension : public common::Extension {
- public:
-  CordovaExtension();
-  virtual ~CordovaExtension();
-};
-
-}  // cordova
-}  // extension
-
-#endif // CORDOVA_CORDOVA_EXTENSION_H_