Permalink
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (69 sloc) 1.92 KB
diff --git a/app/main.cc b/app/main.cc
new file mode 100644
index 0000000..a234030
--- /dev/null
+++ b/app/main.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2015 University of Szeged.
+// Copyright (c) 2015 The Chromium Authors.
+// All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/app/content_main.h"
+
+int main(int argc, const char** argv) {
+
+ content::ContentMainParams params(NULL);
+ params.argc = argc;
+ params.argv = argv;
+
+ return content::ContentMain(params);
+}
diff --git a/sprocket.gyp b/sprocket.gyp
new file mode 100644
index 0000000..c173616
--- /dev/null
+++ b/sprocket.gyp
@@ -0,0 +1,41 @@
+# Copyright (c) 2015 University of Szeged.
+# Copyright (c) 2015 The Chromium Authors.
+# All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+{
+ 'variables': {
+ 'pkg-config': 'pkg-config',
+ 'chromium_code': 1,
+ 'sprocket_version': '0.1.0.0',
+ },
+ 'targets': [
+ {
+ 'target_name': 'sprocket_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ # Content dependencies
+ '<(DEPTH)/content/content.gyp:content_app_both',
+ '<(DEPTH)/content/content.gyp:content_common',
+ '<(DEPTH)/content/content.gyp:content_gpu',
+ '<(DEPTH)/content/content.gyp:content_plugin',
+ '<(DEPTH)/content/content.gyp:content_ppapi_plugin',
+ '<(DEPTH)/content/content.gyp:content_renderer',
+ '<(DEPTH)/content/content.gyp:content_resources',
+ '<(DEPTH)/content/content.gyp:content_utility',
+ '<(DEPTH)/content/content.gyp:content_browser',
+ ],
+ 'sources': [
+ ],
+ },
+ {
+ 'target_name': 'sprocket',
+ 'type': 'executable',
+ 'dependencies': [
+ 'sprocket_lib',
+ ],
+ 'sources': [
+ 'app/main.cc',
+ ],
+ }]
+}