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

Side by Side Diff: third_party/WebKit/Source/web/web.gyp

Issue 1676083002: Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win dbg non-oilpan fix: make TextFinder non-copyable Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/web.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2011 Google Inc. All rights reserved. 2 # Copyright (C) 2011 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 }, 50 },
51 'targets': [ 51 'targets': [
52 { 52 {
53 'target_name': 'blink_web', 53 'target_name': 'blink_web',
54 'type': '<(component)', 54 'type': '<(component)',
55 'variables': { 'enable_wexit_time_destructors': 1, }, 55 'variables': { 'enable_wexit_time_destructors': 1, },
56 'dependencies': [ 56 'dependencies': [
57 '../config.gyp:config', 57 '../config.gyp:config',
58 '../platform/blink_platform.gyp:blink_common', 58 '../platform/blink_platform.gyp:blink_common',
59 '../modules/modules.gyp:modules', 59 '../modules/modules.gyp:modules',
60 '<(DEPTH)/base/base.gyp:base',
60 '<(DEPTH)/cc/cc.gyp:cc', 61 '<(DEPTH)/cc/cc.gyp:cc',
61 '<(DEPTH)/skia/skia.gyp:skia', 62 '<(DEPTH)/skia/skia.gyp:skia',
62 '<(angle_path)/src/angle.gyp:translator', 63 '<(angle_path)/src/angle.gyp:translator',
63 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 64 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
64 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 65 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
65 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 66 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
66 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 67 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
67 ], 68 ],
68 'export_dependent_settings': [ 69 'export_dependent_settings': [
69 '<(DEPTH)/skia/skia.gyp:skia', 70 '<(DEPTH)/skia/skia.gyp:skia',
70 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 71 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
71 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 72 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
72 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 73 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
73 ], 74 ],
74 'include_dirs': [ 75 'include_dirs': [
75 '<(angle_path)/include', 76 '<(angle_path)/include',
76 '<(DEPTH)/third_party/skia/include/utils', 77 '<(DEPTH)/third_party/skia/include/utils',
77 ], 78 ],
78 'defines': [ 79 'defines': [
80 'BLINK_WEB_IMPLEMENTATION=1',
79 'BLINK_IMPLEMENTATION=1', 81 'BLINK_IMPLEMENTATION=1',
80 'INSIDE_BLINK', 82 'INSIDE_BLINK',
81 ], 83 ],
82 'sources': [ 84 'sources': [
83 '<@(web_files)', 85 '<@(web_files)',
84 ], 86 ],
85 'conditions': [ 87 'conditions': [
86 ['component=="shared_library"', { 88 ['component=="shared_library"', {
87 'dependencies': [ 89 'dependencies': [
88 '../core/core.gyp:webcore_shared', 90 '../core/core.gyp:webcore_shared',
89 '../core/core.gyp:webcore_testing',
90 '../modules/modules.gyp:modules_testing',
91 '../platform/blink_platform.gyp:blink_common', 91 '../platform/blink_platform.gyp:blink_common',
92 '../platform/blink_platform.gyp:blink_platform', 92 '../platform/blink_platform.gyp:blink_platform',
93 '../platform/blink_platform_tests.gyp:blink_platform_tes t_support',
94 '../wtf/wtf.gyp:wtf', 93 '../wtf/wtf.gyp:wtf',
95 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', 94 '../wtf/wtf_tests.gyp:wtf_unittest_helpers',
96 '<(DEPTH)/base/base.gyp:test_support_base',
97 '<(DEPTH)/testing/gmock.gyp:gmock',
98 '<(DEPTH)/testing/gtest.gyp:gtest',
99 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 95 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
100 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 96 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
101 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', 97 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
102 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', 98 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
103 '<(DEPTH)/third_party/ots/ots.gyp:ots', 99 '<(DEPTH)/third_party/ots/ots.gyp:ots',
104 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', 100 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
105 '<(DEPTH)/url/url.gyp:url_lib', 101 '<(DEPTH)/url/url.gyp:url_lib',
106 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 102 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
107 '<(libjpeg_gyp_path):libjpeg', 103 '<(libjpeg_gyp_path):libjpeg',
108 # We must not add webkit_support here because of cyclic dependency. 104 # We must not add webkit_support here because of cyclic dependency.
109 ], 105 ],
110 'export_dependent_settings': [ 106 'export_dependent_settings': [
111 '<(DEPTH)/url/url.gyp:url_lib', 107 '<(DEPTH)/url/url.gyp:url_lib',
112 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 108 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
113 ], 109 ],
114 'variables': {
115 'clang_warning_flags_unset': [
116 # FIXME: It would be nice to enable this in shared build s too,
117 # but the test files have global constructors from the G TEST macro
118 # and we pull in the test files into the blink_web targe t in the
119 # shared build.
120 '-Wglobal-constructors',
121 ],
122 },
123 'sources': [
124 # Compile Blink unittest files into blink_web.dll in com ponent build mode
125 '<@(bindings_unittest_files)',
126 '<@(core_unittest_files)',
127 '<@(modules_unittest_files)',
128 # FIXME: the next line should not be needed. We prefer t o run these unit tests outside blink_web.dll.
129 '<@(platform_web_unittest_files)',
130 '<@(web_unittest_files)',
131 'WebTestingSupport.cpp',
132 ],
133 'msvs_settings': { 110 'msvs_settings': {
134 'VCLinkerTool': { 111 'VCLinkerTool': {
135 'conditions': [ 112 'conditions': [
136 ['incremental_chrome_dll==1', { 113 ['incremental_chrome_dll==1', {
137 'UseLibraryDependencyInputs': "true", 114 'UseLibraryDependencyInputs': "true",
138 }], 115 }],
139 ], 116 ],
140 }, 117 },
141 }, 118 },
142 }, { 119 }, {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 ['OS=="android"', { 167 ['OS=="android"', {
191 'sources/': [ 168 'sources/': [
192 ['include', '^linux/WebFontRendering\\.cpp$'], 169 ['include', '^linux/WebFontRendering\\.cpp$'],
193 ], 170 ],
194 }], 171 }],
195 ], 172 ],
196 }, 173 },
197 { 174 {
198 # GN version: //third_party/WebKit/Source/web:test_support 175 # GN version: //third_party/WebKit/Source/web:test_support
199 'target_name': 'blink_web_test_support', 176 'target_name': 'blink_web_test_support',
177 'type': 'static_library',
178 'dependencies': [
179 '../config.gyp:config',
180 '../core/core.gyp:webcore_testing',
181 '../modules/modules.gyp:modules_testing',
182 '../wtf/wtf.gyp:wtf',
183 '<(DEPTH)/skia/skia.gyp:skia',
184 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
185 ],
186 'include_dirs': [
187 '../../',
188 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink
189 ],
190 'sources': [
191 'WebTestingSupport.cpp',
192 ],
200 'conditions': [ 193 'conditions': [
201 ['component=="shared_library"', { 194 ['component!="shared_library"', {
202 'type': 'none', 195 'dependencies': [
196 '../core/core.gyp:webcore',
197 '../core/core.gyp:webcore_generated',
198 ],
203 }, { 199 }, {
204 'type': 'static_library',
205 'dependencies': [ 200 'dependencies': [
206 '../config.gyp:config', 201 '../core/core.gyp:webcore_shared',
207 '../core/core.gyp:webcore_generated',
208 '../core/core.gyp:webcore_testing',
209 '../modules/modules.gyp:modules_testing',
210 '../wtf/wtf.gyp:wtf',
211 '<(DEPTH)/skia/skia.gyp:skia',
212 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
213 ],
214 'include_dirs': [
215 '../../',
216 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink
217 ],
218 'sources': [
219 'WebTestingSupport.cpp',
220 ], 202 ],
221 }], 203 }],
222 ], 204 ],
223 }, 205 },
224 { 206 {
225 'target_name': 'image_decode_bench', 207 'target_name': 'image_decode_bench',
226 'type': 'executable', 208 'type': 'executable',
227 'dependencies': [ 209 'dependencies': [
228 '../config.gyp:config', 210 '../config.gyp:config',
229 '../core/core.gyp:webcore', 211 '../core/core.gyp:webcore',
(...skipping 19 matching lines...) Expand all
249 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ], 231 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ],
250 'copies': [{ 232 'copies': [{
251 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/', 233 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/',
252 'files': ['<(PRODUCT_DIR)/osmesa.so'], 234 'files': ['<(PRODUCT_DIR)/osmesa.so'],
253 }], 235 }],
254 }, 236 },
255 ], 237 ],
256 }], 238 }],
257 ], # conditions 239 ], # conditions
258 } 240 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698