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

Unified Diff: ui/ozone/gpu/ozone_gpu.gyp

Issue 338193003: ozone: gpu: Add plumbing for platform-specific gpu messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/gpu/ozone_gpu.gyp
diff --git a/ui/ozone/gpu/ozone_gpu.gyp b/ui/ozone/gpu/ozone_gpu.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..f0f173e1e4b82c48eb999d0947500c659a58c39d
--- /dev/null
+++ b/ui/ozone/gpu/ozone_gpu.gyp
@@ -0,0 +1,63 @@
+# 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': {
+ 'chromium_code': 1,
+ },
+ 'targets': [
+ {
+ 'target_name': 'ozone_gpu',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ '../ozone.gyp:ozone',
+ ],
+ 'defines': [
+ 'OZONE_GPU_IMPLEMENTATION',
+ ],
+ 'variables': {
+ 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_list.txt',
+ 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/gpu/constructor_list.cc',
+ },
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ 'sources': [
+ '<(constructor_list_cc_file)',
+ 'gpu_platform_support.cc',
+ 'gpu_platform_support.h',
+ 'gpu_platform_support_host.cc',
+ 'gpu_platform_support_host.h',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_constructor_list',
+ 'variables': {
+ 'generator_path': '../generate_constructor_list.py',
+ },
+ 'inputs': [
+ '<(generator_path)',
+ '<(platform_list_txt_file)',
+ ],
+ 'outputs': [
+ '<(constructor_list_cc_file)',
+ ],
+ 'action': [
+ 'python',
+ '<(generator_path)',
+ '--platform_list=<(platform_list_txt_file)',
+ '--output_cc=<(constructor_list_cc_file)',
+ '--namespace=ui',
+ '--export=OZONE_GPU_EXPORT',
+ '--typename=GpuPlatformSupport',
+ '--typename=GpuPlatformSupportHost',
+ '--include="ui/ozone/gpu/gpu_platform_support.h"',
+ '--include="ui/ozone/gpu/gpu_platform_support_host.h"',
+ ],
+ },
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698