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

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

Issue 1756343002: Revert of Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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',
61 '<(DEPTH)/cc/cc.gyp:cc', 60 '<(DEPTH)/cc/cc.gyp:cc',
62 '<(DEPTH)/skia/skia.gyp:skia', 61 '<(DEPTH)/skia/skia.gyp:skia',
63 '<(angle_path)/src/angle.gyp:translator', 62 '<(angle_path)/src/angle.gyp:translator',
64 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 63 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
65 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 64 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
66 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 65 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
67 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 66 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
68 ], 67 ],
69 'export_dependent_settings': [ 68 'export_dependent_settings': [
70 '<(DEPTH)/skia/skia.gyp:skia', 69 '<(DEPTH)/skia/skia.gyp:skia',
71 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 70 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
72 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 71 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
73 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 72 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
74 ], 73 ],
75 'include_dirs': [ 74 'include_dirs': [
76 '<(angle_path)/include', 75 '<(angle_path)/include',
77 '<(DEPTH)/third_party/skia/include/utils', 76 '<(DEPTH)/third_party/skia/include/utils',
78 ], 77 ],
79 'defines': [ 78 'defines': [
80 'BLINK_WEB_IMPLEMENTATION=1',
81 'BLINK_IMPLEMENTATION=1', 79 'BLINK_IMPLEMENTATION=1',
82 'INSIDE_BLINK', 80 'INSIDE_BLINK',
83 ], 81 ],
84 'sources': [ 82 'sources': [
85 '<@(web_files)', 83 '<@(web_files)',
86 ], 84 ],
87 'conditions': [ 85 'conditions': [
88 ['component=="shared_library"', { 86 ['component=="shared_library"', {
89 'dependencies': [ 87 'dependencies': [
90 '../core/core.gyp:webcore_shared', 88 '../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',
93 '../wtf/wtf.gyp:wtf', 94 '../wtf/wtf.gyp:wtf',
94 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', 95 '../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',
95 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 99 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
96 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 100 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
97 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', 101 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
98 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', 102 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
99 '<(DEPTH)/third_party/ots/ots.gyp:ots', 103 '<(DEPTH)/third_party/ots/ots.gyp:ots',
100 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', 104 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
101 '<(DEPTH)/url/url.gyp:url_lib', 105 '<(DEPTH)/url/url.gyp:url_lib',
102 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 106 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
103 '<(libjpeg_gyp_path):libjpeg', 107 '<(libjpeg_gyp_path):libjpeg',
104 # We must not add webkit_support here because of cyclic dependency. 108 # We must not add webkit_support here because of cyclic dependency.
105 ], 109 ],
106 'export_dependent_settings': [ 110 'export_dependent_settings': [
107 '<(DEPTH)/url/url.gyp:url_lib', 111 '<(DEPTH)/url/url.gyp:url_lib',
108 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 112 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
109 ], 113 ],
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 ],
110 'msvs_settings': { 133 'msvs_settings': {
111 'VCLinkerTool': { 134 'VCLinkerTool': {
112 'conditions': [ 135 'conditions': [
113 ['incremental_chrome_dll==1', { 136 ['incremental_chrome_dll==1', {
114 'UseLibraryDependencyInputs': "true", 137 'UseLibraryDependencyInputs': "true",
115 }], 138 }],
116 ], 139 ],
117 }, 140 },
118 }, 141 },
119 }, { 142 }, {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 ['OS=="android"', { 190 ['OS=="android"', {
168 'sources/': [ 191 'sources/': [
169 ['include', '^linux/WebFontRendering\\.cpp$'], 192 ['include', '^linux/WebFontRendering\\.cpp$'],
170 ], 193 ],
171 }], 194 }],
172 ], 195 ],
173 }, 196 },
174 { 197 {
175 # GN version: //third_party/WebKit/Source/web:test_support 198 # GN version: //third_party/WebKit/Source/web:test_support
176 'target_name': 'blink_web_test_support', 199 '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 ],
193 'conditions': [ 200 'conditions': [
194 ['component!="shared_library"', { 201 ['component=="shared_library"', {
202 'type': 'none',
203 }, {
204 'type': 'static_library',
195 'dependencies': [ 205 'dependencies': [
196 '../core/core.gyp:webcore', 206 '../config.gyp:config',
197 '../core/core.gyp:webcore_generated', 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',
198 ], 213 ],
199 }, { 214 'include_dirs': [
200 'dependencies': [ 215 '../../',
201 '../core/core.gyp:webcore_shared', 216 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink
217 ],
218 'sources': [
219 'WebTestingSupport.cpp',
202 ], 220 ],
203 }], 221 }],
204 ], 222 ],
205 }, 223 },
206 { 224 {
207 'target_name': 'image_decode_bench', 225 'target_name': 'image_decode_bench',
208 'type': 'executable', 226 'type': 'executable',
209 'dependencies': [ 227 'dependencies': [
210 '../config.gyp:config', 228 '../config.gyp:config',
211 '../core/core.gyp:webcore', 229 '../core/core.gyp:webcore',
(...skipping 19 matching lines...) Expand all
231 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ], 249 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ],
232 'copies': [{ 250 'copies': [{
233 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/', 251 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/',
234 'files': ['<(PRODUCT_DIR)/osmesa.so'], 252 'files': ['<(PRODUCT_DIR)/osmesa.so'],
235 }], 253 }],
236 }, 254 },
237 ], 255 ],
238 }], 256 }],
239 ], # conditions 257 ], # conditions
240 } 258 }
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