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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'ozone_gpu',
12 'type': '<(component)',
13 'dependencies': [
14 '../../../base/base.gyp:base',
15 '../ozone.gyp:ozone',
16 ],
17 'defines': [
18 'OZONE_GPU_IMPLEMENTATION',
19 ],
20 'variables': {
21 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_ list.txt',
22 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/gpu/constructo r_list.cc',
23 },
24 'include_dirs': [
25 '<(SHARED_INTERMEDIATE_DIR)',
26 ],
27 'sources': [
28 '<(constructor_list_cc_file)',
29 'gpu_platform_support.cc',
30 'gpu_platform_support.h',
31 'gpu_platform_support_host.cc',
32 'gpu_platform_support_host.h',
33 ],
34 'actions': [
35 {
36 'action_name': 'generate_constructor_list',
37 'variables': {
38 'generator_path': '../generate_constructor_list.py',
39 },
40 'inputs': [
41 '<(generator_path)',
42 '<(platform_list_txt_file)',
43 ],
44 'outputs': [
45 '<(constructor_list_cc_file)',
46 ],
47 'action': [
48 'python',
49 '<(generator_path)',
50 '--platform_list=<(platform_list_txt_file)',
51 '--output_cc=<(constructor_list_cc_file)',
52 '--namespace=ui',
53 '--export=OZONE_GPU_EXPORT',
54 '--typename=GpuPlatformSupport',
55 '--typename=GpuPlatformSupportHost',
56 '--include="ui/ozone/gpu/gpu_platform_support.h"',
57 '--include="ui/ozone/gpu/gpu_platform_support_host.h"',
58 ],
59 },
60 ],
61 },
62 ],
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698