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

Side by Side Diff: cc/cc_tests.gyp

Issue 10905231: Enable cc_unittests in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark WebThreadImplForMessageLoop ctor/dtor as exported Created 8 years, 3 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
« no previous file with comments | « cc/DEPS ('k') | cc/test/CCSchedulerTestCommon.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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': 0, 7 'chromium_code': 0,
8 'use_libcc_for_compositor%': 0, 8 'use_libcc_for_compositor%': 0,
9 'cc_tests_source_files': [ 9 'cc_tests_source_files': [
10 'CCActiveAnimationTest.cpp', 10 'CCActiveAnimationTest.cpp',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ], 66 ],
67 }, 67 },
68 'targets': [ 68 'targets': [
69 { 69 {
70 'target_name': 'cc_unittests', 70 'target_name': 'cc_unittests',
71 'type': 'executable', 71 'type': 'executable',
72 'dependencies': [ 72 'dependencies': [
73 '../base/base.gyp:test_support_base', 73 '../base/base.gyp:test_support_base',
74 '../testing/gtest.gyp:gtest', 74 '../testing/gtest.gyp:gtest',
75 '../testing/gmock.gyp:gmock', 75 '../testing/gmock.gyp:gmock',
76 '../webkit/support/webkit_support.gyp:webkit_support',
77 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
78 ], 76 ],
79 'sources': [ 77 'sources': [
80 'test/run_all_unittests.cc', 78 'test/run_all_unittests.cc',
81 ], 79 ],
82 'conditions': [ 80 'conditions': [
83 ['use_libcc_for_compositor==1 and component!="shared_library"', { 81 ['use_libcc_for_compositor==1', {
84 'dependencies': [ 82 'dependencies': [
85 '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', 83 '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
84 '../skia/skia.gyp:skia',
85 'cc.gyp:cc',
86 'cc_test_support', 86 'cc_test_support',
87 ], 87 ],
88 'defines': [ 88 'defines': [
89 'USE_LIBCC_FOR_COMPOSITOR', 89 'USE_LIBCC_FOR_COMPOSITOR',
90 'WTF_USE_ACCELERATED_COMPOSITING=1', 90 'WTF_USE_ACCELERATED_COMPOSITING=1',
91 ], 91 ],
92 'include_dirs': [ 92 'include_dirs': [
93 'stubs', 93 'stubs',
94 'test', 94 'test',
95 '.', 95 '.',
96 '../third_party/WebKit/Source/Platform/chromium',
96 ], 97 ],
97 'sources': [ 98 'sources': [
98 '<@(cc_tests_source_files)', 99 '<@(cc_tests_source_files)',
99 ], 100 ],
100 }], 101 }],
101 ], 102 ],
102 }, 103 },
103 ], 104 ],
104 'conditions': [ 105 'conditions': [
105 ['use_libcc_for_compositor==1', { 106 ['use_libcc_for_compositor==1', {
(...skipping 11 matching lines...) Expand all
117 '..', 118 '..',
118 '../third_party/WebKit/Source/Platform/chromium', 119 '../third_party/WebKit/Source/Platform/chromium',
119 ], 120 ],
120 'dependencies': [ 121 'dependencies': [
121 '../ui/gl/gl.gyp:gl', 122 '../ui/gl/gl.gyp:gl',
122 '../testing/gtest.gyp:gtest', 123 '../testing/gtest.gyp:gtest',
123 '../testing/gmock.gyp:gmock', 124 '../testing/gmock.gyp:gmock',
124 '../skia/skia.gyp:skia', 125 '../skia/skia.gyp:skia',
125 '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', 126 '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
126 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_ support', 127 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_ support',
128 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
129 '../webkit/compositor_bindings/compositor_bindings.gyp:webkit_compos itor_support',
130 '../webkit/support/webkit_support.gyp:glue',
127 ], 131 ],
128 'sources': [ 132 'sources': [
129 '<@(cc_tests_support_files)', 133 '<@(cc_tests_support_files)',
130 ], 134 ],
131 }, 135 },
132 ], 136 ],
133 }], 137 }],
134 ], 138 ],
135 } 139 }
136 140
OLDNEW
« no previous file with comments | « cc/DEPS ('k') | cc/test/CCSchedulerTestCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698