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

Side by Side Diff: ui/ozone/ozone.gyp

Issue 312393002: ozone: Move the factory interfaces into a common target. (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
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'external_ozone_platforms': [], 8 'external_ozone_platforms': [],
9 'external_ozone_platform_files': [], 9 'external_ozone_platform_files': [],
10 'external_ozone_platform_deps': [], 10 'external_ozone_platform_deps': [],
11 'external_ozone_platform_unittest_deps': [], 11 'external_ozone_platform_unittest_deps': [],
12 'internal_ozone_platforms': [], 12 'internal_ozone_platforms': [],
13 'internal_ozone_platform_deps': [], 13 'internal_ozone_platform_deps': [],
14 'internal_ozone_platform_unittest_deps': [], 14 'internal_ozone_platform_unittest_deps': [],
15 }, 15 },
16 'targets': [ 16 'targets': [
17 { 17 {
18 'target_name': 'ozone_base',
19 'type': '<(component)',
20 'dependencies': [
21 '<(DEPTH)/base/base.gyp:base',
22 '<(DEPTH)/skia/skia.gyp:skia',
23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
24 ],
25 'defines': [
26 'OZONE_BASE_IMPLEMENTATION',
27 ],
28 'sources': [
29 'factories/cursor_factory_ozone.cc',
30 'factories/cursor_factory_ozone.h',
31 'factories/event_factory_ozone.cc',
32 'factories/event_factory_ozone.h',
33 'factories/overlay_candidates_ozone.cc',
34 'factories/overlay_candidates_ozone.h',
35 'factories/surface_factory_ozone.cc',
36 'factories/surface_factory_ozone.h',
37 'factories/surface_ozone_canvas.h',
38 'factories/surface_ozone_egl.h',
39 ],
40 },
41 {
18 'target_name': 'ozone', 42 'target_name': 'ozone',
19 'type': '<(component)', 43 'type': '<(component)',
20 'dependencies': [ 44 'dependencies': [
21 '<(DEPTH)/base/base.gyp:base', 45 '<(DEPTH)/base/base.gyp:base',
22 '<(DEPTH)/ui/events/events.gyp:events', 46 '<(DEPTH)/ui/events/events.gyp:events',
23 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone', 47 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone',
24 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', 48 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
25 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 49 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
26 '<(DEPTH)/ui/gfx/ozone/gfx_ozone.gyp:gfx_ozone',
27 '<(DEPTH)/skia/skia.gyp:skia', 50 '<(DEPTH)/skia/skia.gyp:skia',
28 '<@(external_ozone_platform_deps)', 51 '<@(external_ozone_platform_deps)',
29 '<@(internal_ozone_platform_deps)', 52 '<@(internal_ozone_platform_deps)',
53 'ozone_base',
30 ], 54 ],
31 'defines': [ 55 'defines': [
32 'OZONE_IMPLEMENTATION', 56 'OZONE_IMPLEMENTATION',
33 ], 57 ],
34 'variables': { 58 'variables': {
35 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor m_list.cc', 59 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor m_list.cc',
36 'ozone_platforms': [ 60 'ozone_platforms': [
37 '<@(external_ozone_platforms)', 61 '<@(external_ozone_platforms)',
38 '<@(internal_ozone_platforms)', 62 '<@(internal_ozone_platforms)',
39 ], 63 ],
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ['use_udev == 0', { 102 ['use_udev == 0', {
79 'sources/': [ 103 'sources/': [
80 ['exclude', '_udev\\.(h|cc)$'], 104 ['exclude', '_udev\\.(h|cc)$'],
81 ], 105 ],
82 }], 106 }],
83 ['chromeos==1', { 107 ['chromeos==1', {
84 'dependencies': [ 108 'dependencies': [
85 '<(DEPTH)/ui/display/display.gyp:display_types', 109 '<(DEPTH)/ui/display/display.gyp:display_types',
86 ], 110 ],
87 }], 111 }],
88 ] 112 ],
89 }, 113 },
90 { 114 {
91 'target_name': 'ozone_unittests', 115 'target_name': 'ozone_unittests',
92 'type': '<(gtest_target_type)', 116 'type': '<(gtest_target_type)',
93 'sources': [ 117 'sources': [
94 'run_all_unittests.cc', 118 'run_all_unittests.cc',
95 ], 119 ],
96 'dependencies': [ 120 'dependencies': [
97 'ozone', 121 'ozone',
122 'ozone_base',
98 '../../base/base.gyp:base', 123 '../../base/base.gyp:base',
99 '../../base/base.gyp:test_support_base', 124 '../../base/base.gyp:test_support_base',
100 '../../testing/gtest.gyp:gtest', 125 '../../testing/gtest.gyp:gtest',
101 '<@(external_ozone_platform_unittest_deps)', 126 '<@(external_ozone_platform_unittest_deps)',
102 '<@(internal_ozone_platform_unittest_deps)', 127 '<@(internal_ozone_platform_unittest_deps)',
103 ], 128 ],
104 }, 129 },
105 ], 130 ],
106 'conditions': [ 131 'conditions': [
107 ['<(ozone_platform_caca) == 1', { 132 ['<(ozone_platform_caca) == 1', {
(...skipping 16 matching lines...) Expand all
124 'platform/dri/gbm.gypi', 149 'platform/dri/gbm.gypi',
125 ], 150 ],
126 }], 151 }],
127 ['<(ozone_platform_test) == 1', { 152 ['<(ozone_platform_test) == 1', {
128 'includes': [ 153 'includes': [
129 'platform/test/test.gypi', 154 'platform/test/test.gypi',
130 ], 155 ],
131 }], 156 }],
132 ], 157 ],
133 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698