Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(812)

Unified Diff: ui/ozone/platform/egltest/egltest.gypi

Issue 288603002: ozone: Add egltest platform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop EGL header dep from shim Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/egltest/egltest.gypi
diff --git a/ui/ozone/platform/egltest/egltest.gypi b/ui/ozone/platform/egltest/egltest.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..3acb15d832608a6500e5024b163436273e60f592
--- /dev/null
+++ b/ui/ozone/platform/egltest/egltest.gypi
@@ -0,0 +1,100 @@
+# Copyright 2014 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': {
+ 'internal_ozone_platform_deps': [
+ 'ozone_platform_egltest',
+ ],
+ 'internal_ozone_platforms': [
+ 'egltest'
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'ozone_platform_egltest',
+ 'type': 'static_library',
+ 'defines': [
+ 'OZONE_IMPLEMENTATION',
+ ],
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../events/events.gyp:events',
+ '../gfx/gfx.gyp:gfx',
+ 'eglplatform_shim',
+ ],
+ 'sources': [
+ 'ozone_platform_egltest.cc',
+ 'ozone_platform_egltest.h',
+ ],
+ },
+ {
+ 'target_name': 'eglplatform_shim',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../third_party/khronos/khronos.gyp:khronos_headers',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ },
+ 'include_dirs': [
+ '../../../..',
+ ],
+ 'hard_dependency': 1,
+ 'actions': [
+ {
+ 'variables': {
+ 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libeglplatform_shim.h',
+ 'output_cc': '<(INTERMEDIATE_DIR)/libeglplatform_shim_loader.cc',
+ 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
+ },
+ 'action_name': 'generate_libeglplatform_shim_loader',
+ 'inputs': [
+ '<(generator)',
+ ],
+ 'outputs': [
+ '<(output_h)',
+ '<(output_cc)',
+ ],
+ 'action': ['python',
+ '<(generator)',
+ '--name', 'LibeglplatformShimLoader',
+ '--output-h', '<(output_h)',
+ '--output-cc', '<(output_cc)',
+ '--header', '"ui/ozone/platform/egltest/eglplatform_shim.h"',
+ 'ShimQueryString',
+ 'ShimInitialize',
+ 'ShimTerminate',
+ 'ShimCreateWindow',
+ 'ShimQueryWindow',
+ 'ShimDestroyWindow',
+ 'ShimGetNativeDisplay',
+ 'ShimGetNativeWindow',
+ 'ShimReleaseNativeWindow',
+ ],
+ 'message': 'Generating libeglplatform_shim library loader',
+ 'process_outputs_as_sources': 1,
+ },
+ ],
+ },
+ {
+ 'target_name': 'eglplatform_shim_x11',
+ 'type': 'loadable_module',
+ 'product_name': 'eglplatform_shim',
+ 'product_extension': 'so.1',
+ 'include_dirs': [
+ '../../../..',
+ ],
+ 'dependencies': [
+ '../../build/linux/system.gyp:x11',
+ ],
+ 'sources': [
+ 'eglplatform_shim.h',
+ 'eglplatform_shim_xeleven.cc',
+ ],
+ },
+ ],
+}
« no previous file with comments | « ui/ozone/platform/egltest/eglplatform_shim_xeleven.cc ('k') | ui/ozone/platform/egltest/ozone_platform_egltest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698