'<(DEPTH)',
],
'sources': [
+ 'efl_export.h',
'init.h',
'init.cc',
],
--- /dev/null
+// Copyright (c) 2012 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.
+
+#ifndef EFL_EXPORT_H_
+#define EFL_EXPORT_H_
+
+#define EFL_EXPORT __attribute__((visibility("default")))
+
+#endif // CONTENT_COMMON_CONTENT_EXPORT_H_
#define _EFL_PORT_IMPL_INIT_H_
#include "base/command_line.h"
+#include "efl/efl_export.h"
namespace efl {
-int Initialize(int argc, const char* argv[]);
+EFL_EXPORT int Initialize(int argc, const char* argv[]);
-void AppendPortParams(base::CommandLine&);
+EFL_EXPORT void AppendPortParams(base::CommandLine&);
} // namespace efl
#include "cc/base/switches.h"
#include "ui/events/event_switches.h"
#include "extensions/common/switches.h"
+#include "efl/init.h"
#include "ui/base/ui_base_switches.h"
#include "ui/gl/gl_switches.h"
#include "url/gurl.h"
}
CommandLine* p_command_line = CommandLine::ForCurrentProcess();
+ efl::AppendPortParams(*p_command_line);
+
p_command_line->AppendSwitch(switches::kNoSandbox);
p_command_line->AppendSwitch(switches::kDisablePlugins);
- p_command_line->AppendSwitch(switches::kInProcessGPU);
- p_command_line->AppendSwitchASCII(switches::kUseGL, gfx::kGLImplementationEGLName);
- p_command_line->AppendSwitch(switches::kDisableDelegatedRenderer);
- // (prashant.n): New mechanism supports drawing frame to mailbox only.
- p_command_line->AppendSwitch(cc::switches::kCompositeToMailbox);
// Enables glFinish call
p_command_line->AppendSwitch(switches::kWaitForFrameComplete);
'<(DEPTH)/tizen_src/build/system.gyp:elementary',
'<(DEPTH)/tizen_src/build/system.gyp:gstreamer',
'<(DEPTH)/tizen_src/ewk/po_tizen/locale.gyp:locale_efl',
+ '<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:efl-init',
'<(DEPTH)/content/content.gyp:content',
'<(DEPTH)/content/content.gyp:content_app_browser',