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

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

Issue 2319623003: Reorganize Blink IDL build, delete obsolete GYP files. (Closed)
Patch Set: Created 4 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
OLDNEW
(Empty)
1 #
2 # Copyright (C) 2011 Google Inc. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 #
30
31 {
32 'variables': {
33 'blink_web_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/web',
34 },
35 'includes': [
36 '../bindings/bindings.gypi',
37 '../core/core.gypi',
38 '../build/features.gypi',
39 '../build/scripts/scripts.gypi',
40 '../build/win/precompile.gypi',
41 '../modules/modules.gypi',
42 '../platform/blink_platform.gypi',
43 '../wtf/wtf.gypi',
44 'web.gypi',
45 ],
46 'target_defaults': {
47 'variables': {
48 'clang_warning_flags': ['-Wglobal-constructors'],
49 },
50 },
51 'targets': [
52 {
53 'target_name': 'blink_web',
54 'type': '<(component)',
55 'variables': { 'enable_wexit_time_destructors': 1, },
56 'dependencies': [
57 '../config.gyp:config',
58 '../platform/blink_platform.gyp:blink_common',
59 '../modules/modules.gyp:modules',
60 '<(DEPTH)/base/base.gyp:base',
61 '<(DEPTH)/cc/cc.gyp:cc',
62 '<(DEPTH)/skia/skia.gyp:skia',
63 '<(angle_path)/src/angle.gyp:translator',
64 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
65 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
66 '<(DEPTH)/v8/src/v8.gyp:v8',
67 ],
68 'export_dependent_settings': [
69 '<(DEPTH)/skia/skia.gyp:skia',
70 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
71 '<(DEPTH)/v8/src/v8.gyp:v8',
72 ],
73 'include_dirs': [
74 '<(angle_path)/include',
75 ],
76 'defines': [
77 'BLINK_WEB_IMPLEMENTATION=1',
78 'BLINK_IMPLEMENTATION=1',
79 'INSIDE_BLINK',
80 ],
81 'sources': [
82 '<@(web_files)',
83 ],
84 'conditions': [
85 ['component=="shared_library"', {
86 'dependencies': [
87 '../core/core.gyp:webcore_shared',
88 '../platform/blink_platform.gyp:blink_common',
89 '../platform/blink_platform.gyp:blink_platform',
90 '../wtf/wtf.gyp:wtf',
91 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
92 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
93 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
94 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
95 '<(DEPTH)/third_party/ots/ots.gyp:ots',
96 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
97 '<(DEPTH)/url/url.gyp:url_lib',
98 '<(DEPTH)/v8/src/v8.gyp:v8',
99 '<(libjpeg_gyp_path):libjpeg',
100 # We must not add webkit_support here because of cyclic dependency.
101 ],
102 'export_dependent_settings': [
103 '<(DEPTH)/url/url.gyp:url_lib',
104 '<(DEPTH)/v8/src/v8.gyp:v8',
105 ],
106 'msvs_settings': {
107 'VCLinkerTool': {
108 'conditions': [
109 ['incremental_chrome_dll==1', {
110 'UseLibraryDependencyInputs': "true",
111 }],
112 ],
113 },
114 },
115 }, {
116 # component=="static_library"
117 'dependencies': [
118 '../core/core.gyp:webcore',
119 ],
120 }],
121 ['OS == "linux"', {
122 'dependencies': [
123 '<(DEPTH)/build/linux/system.gyp:fontconfig',
124 ],
125 }, {
126 'sources/': [
127 ['exclude', 'linux/'],
128 ],
129 }],
130 ['use_x11 == 1', {
131 'dependencies': [
132 '<(DEPTH)/build/linux/system.gyp:x11',
133 ],
134 }, {
135 'sources/': [
136 ['exclude', 'x11/'],
137 ]
138 }],
139 ['OS=="mac"', {
140 'link_settings': {
141 'libraries': [
142 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra mework',
143 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo rk',
144 ],
145 },
146 }, { # else: OS!="mac"
147 'sources/': [
148 ['exclude', 'mac/WebScrollbarTheme.cpp$'],
149 ],
150 }],
151 ],
152 'direct_dependent_settings': {
153 'include_dirs': [
154 '../../',
155 ],
156 },
157 'target_conditions': [
158 ['OS=="android"', {
159 'sources/': [
160 ['include', '^linux/WebFontRendering\\.cpp$'],
161 ],
162 }],
163 ],
164 },
165 {
166 # GN version: //third_party/WebKit/Source/web:test_support
167 'target_name': 'blink_web_test_support',
168 # Because of transitive dependency on make_platform_generated.
169 'hard_dependency': 1,
170 'type': 'static_library',
171 'dependencies': [
172 '../config.gyp:config',
173 '../core/core.gyp:webcore_testing',
174 '../modules/modules.gyp:modules_testing',
175 '../wtf/wtf.gyp:wtf',
176 '<(DEPTH)/skia/skia.gyp:skia',
177 '<(DEPTH)/v8/src/v8.gyp:v8',
178 ],
179 'include_dirs': [
180 '../../',
181 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink
182 ],
183 'sources': [
184 'WebTestingSupport.cpp',
185 ],
186 'conditions': [
187 ['component!="shared_library"', {
188 'dependencies': [
189 '../core/core.gyp:webcore',
190 '../core/core.gyp:webcore_generated',
191 ],
192 }, {
193 'dependencies': [
194 '../core/core.gyp:webcore_shared',
195 ],
196 }],
197 ],
198 },
199 ], # targets
200 'conditions': [
201 ['OS=="mac"', {
202 'targets': [
203 {
204 'target_name': 'copy_mesa',
205 'type': 'none',
206 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ],
207 'copies': [{
208 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/',
209 'files': ['<(PRODUCT_DIR)/osmesa.so'],
210 }],
211 },
212 ],
213 }],
214 ], # conditions
215 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/v8_inspector.gyp ('k') | third_party/WebKit/Source/web/web_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698