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

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

Issue 304633005: ozone: Add ozone_unittests 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 'internal_ozone_platforms': [], 12 'internal_ozone_platforms': [],
12 'internal_ozone_platform_deps': [], 13 'internal_ozone_platform_deps': [],
14 'internal_ozone_platform_unittest_deps': [],
13 }, 15 },
14 'targets': [ 16 'targets': [
15 { 17 {
16 'target_name': 'ozone', 18 'target_name': 'ozone',
17 'type': '<(component)', 19 'type': '<(component)',
18 'dependencies': [ 20 'dependencies': [
19 '<(DEPTH)/base/base.gyp:base', 21 '<(DEPTH)/base/base.gyp:base',
20 '<(DEPTH)/ui/events/events.gyp:events', 22 '<(DEPTH)/ui/events/events.gyp:events',
21 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone', 23 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone',
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', 24 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ['exclude', '_udev\\.(h|cc)$'], 78 ['exclude', '_udev\\.(h|cc)$'],
77 ], 79 ],
78 }], 80 }],
79 ['chromeos==1', { 81 ['chromeos==1', {
80 'dependencies': [ 82 'dependencies': [
81 '<(DEPTH)/ui/display/display.gyp:display_types', 83 '<(DEPTH)/ui/display/display.gyp:display_types',
82 ], 84 ],
83 }], 85 }],
84 ] 86 ]
85 }, 87 },
88 {
89 'target_name': 'ozone_unittests',
90 'type': '<(gtest_target_type)',
91 'sources': [
92 'run_all_unittests.cc',
93 ],
94 'dependencies': [
95 'ozone',
96 '../../base/base.gyp:base',
97 '../../base/base.gyp:test_support_base',
98 '../../testing/gtest.gyp:gtest',
99 '<@(external_ozone_platform_unittest_deps)',
100 '<@(internal_ozone_platform_unittest_deps)',
101 ],
102 },
86 ], 103 ],
87 'conditions': [ 104 'conditions': [
88 ['<(ozone_platform_caca) == 1', { 105 ['<(ozone_platform_caca) == 1', {
89 'includes': [ 106 'includes': [
90 'platform/caca/caca.gypi', 107 'platform/caca/caca.gypi',
91 ], 108 ],
92 }], 109 }],
93 ['<(ozone_platform_dri) == 1 or <(ozone_platform_gbm) == 1', { 110 ['<(ozone_platform_dri) == 1 or <(ozone_platform_gbm) == 1', {
94 'includes': [ 111 'includes': [
95 'platform/dri/dri.gypi', 112 'platform/dri/dri.gypi',
96 ], 113 ],
97 }], 114 }],
98 ['<(ozone_platform_egltest) == 1', { 115 ['<(ozone_platform_egltest) == 1', {
99 'includes': [ 116 'includes': [
100 'platform/egltest/egltest.gypi', 117 'platform/egltest/egltest.gypi',
101 ], 118 ],
102 }], 119 }],
103 ['<(ozone_platform_gbm) == 1', { 120 ['<(ozone_platform_gbm) == 1', {
104 'includes': [ 121 'includes': [
105 'platform/dri/gbm.gypi', 122 'platform/dri/gbm.gypi',
106 ], 123 ],
107 }], 124 }],
108 ['<(ozone_platform_test) == 1', { 125 ['<(ozone_platform_test) == 1', {
109 'includes': [ 126 'includes': [
110 'platform/test/test.gypi', 127 'platform/test/test.gypi',
111 ], 128 ],
112 }], 129 }],
113 ], 130 ],
114 } 131 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698