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

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

Issue 907303002: Added behind link_core_modules_separately flag to gyp files. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved link_core_modules_separetely to features.gypi Created 5 years, 10 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 | « Source/modules/modules.gyp ('k') | no next file » | 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 }, 49 },
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 '../core/core.gyp:webcore',
60 '../modules/modules.gyp:modules', 59 '../modules/modules.gyp:modules',
61 '<(DEPTH)/skia/skia.gyp:skia', 60 '<(DEPTH)/skia/skia.gyp:skia',
62 '<(angle_path)/src/angle.gyp:translator', 61 '<(angle_path)/src/angle.gyp:translator',
63 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 62 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
64 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 63 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
65 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 64 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
66 ], 65 ],
67 'export_dependent_settings': [ 66 'export_dependent_settings': [
68 '<(DEPTH)/skia/skia.gyp:skia', 67 '<(DEPTH)/skia/skia.gyp:skia',
69 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 68 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
70 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', 69 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
71 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 70 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
72 ], 71 ],
73 'include_dirs': [ 72 'include_dirs': [
74 '<(angle_path)/include', 73 '<(angle_path)/include',
75 '<(DEPTH)/third_party/skia/include/utils', 74 '<(DEPTH)/third_party/skia/include/utils',
76 ], 75 ],
77 'defines': [ 76 'defines': [
78 'BLINK_IMPLEMENTATION=1', 77 'BLINK_IMPLEMENTATION=1',
79 'INSIDE_BLINK', 78 'INSIDE_BLINK',
80 ], 79 ],
81 'sources': [ 80 'sources': [
82 '<@(web_files)', 81 '<@(web_files)',
83 ], 82 ],
84 'conditions': [ 83 'conditions': [
85 ['component=="shared_library"', { 84 ['component=="shared_library"', {
86 'dependencies': [ 85 'dependencies': [
87 '../core/core.gyp:webcore_generated',
88 '../core/core.gyp:webcore_testing',
89 '../modules/modules.gyp:modules_testing',
90 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', 86 '../wtf/wtf_tests.gyp:wtf_unittest_helpers',
91 '<(DEPTH)/base/base.gyp:test_support_base', 87 '<(DEPTH)/base/base.gyp:test_support_base',
92 '<(DEPTH)/testing/gmock.gyp:gmock', 88 '<(DEPTH)/testing/gmock.gyp:gmock',
93 '<(DEPTH)/testing/gtest.gyp:gtest', 89 '<(DEPTH)/testing/gtest.gyp:gtest',
94 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 90 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
95 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 91 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
96 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', 92 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
97 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', 93 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
98 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
99 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
100 '<(DEPTH)/third_party/modp_b64/modp_b64.gyp:modp_b64', 94 '<(DEPTH)/third_party/modp_b64/modp_b64.gyp:modp_b64',
101 '<(DEPTH)/third_party/ots/ots.gyp:ots', 95 '<(DEPTH)/third_party/ots/ots.gyp:ots',
102 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', 96 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
103 '<(DEPTH)/url/url.gyp:url_lib', 97 '<(DEPTH)/url/url.gyp:url_lib',
104 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 98 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
105 '<(libjpeg_gyp_path):libjpeg', 99 '<(libjpeg_gyp_path):libjpeg',
106 # We must not add webkit_support here because of cyclic dependency. 100 # We must not add webkit_support here because of cyclic dependency.
107 ], 101 ],
108 'export_dependent_settings': [ 102 'export_dependent_settings': [
109 '<(DEPTH)/url/url.gyp:url_lib', 103 '<(DEPTH)/url/url.gyp:url_lib',
(...skipping 17 matching lines...) Expand all
127 '<@(platform_web_unittest_files)', 121 '<@(platform_web_unittest_files)',
128 '<@(web_unittest_files)', 122 '<@(web_unittest_files)',
129 'WebTestingSupport.cpp', 123 'WebTestingSupport.cpp',
130 ], 124 ],
131 'conditions': [ 125 'conditions': [
132 ['use_openssl==0 and (OS=="win" or OS=="mac")', { 126 ['use_openssl==0 and (OS=="win" or OS=="mac")', {
133 'dependencies': [ 127 'dependencies': [
134 '<(DEPTH)/third_party/nss/nss.gyp:*', 128 '<(DEPTH)/third_party/nss/nss.gyp:*',
135 ], 129 ],
136 }], 130 }],
131 ['link_core_modules_separately==1', {
132 'dependencies': [
133 # webcore_shared has dependencies:
134 # webcore_generated and webcore_testing.
135 # So no need to add webcore_testing here.
136 '../core/core.gyp:webcore_shared',
137 '../platform/blink_platform.gyp:blink_common',
138 '../platform/blink_platform.gyp:blink_platform',
139 '../wtf/wtf.gyp:wtf',
140 ],
141 }, {
142 'dependencies': [
143 '../core/core.gyp:webcore',
144 '../core/core.gyp:webcore_testing',
145 '../modules/modules.gyp:modules_testing',
146 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
147 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxsl t',
148 ],
149 }]
137 ], 150 ],
138 'msvs_settings': { 151 'msvs_settings': {
139 'VCLinkerTool': { 152 'VCLinkerTool': {
140 'conditions': [ 153 'conditions': [
141 ['incremental_chrome_dll==1', { 154 ['incremental_chrome_dll==1', {
142 'UseLibraryDependencyInputs': "true", 155 'UseLibraryDependencyInputs': "true",
143 }], 156 }],
144 ], 157 ],
145 }, 158 },
146 }, 159 },
160 }, {
161 # component=="static_library"
162 'dependencies': [
163 # webcore has dependencies: webcore_generated and
164 # webcore_testing.
165 '../core/core.gyp:webcore',
166 ],
147 }], 167 }],
148 ['OS == "linux"', { 168 ['OS == "linux"', {
149 'dependencies': [ 169 'dependencies': [
150 '<(DEPTH)/build/linux/system.gyp:fontconfig', 170 '<(DEPTH)/build/linux/system.gyp:fontconfig',
151 ], 171 ],
152 }, { 172 }, {
153 'sources/': [ 173 'sources/': [
154 ['exclude', 'linux/'], 174 ['exclude', 'linux/'],
155 ], 175 ],
156 }], 176 }],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 { 228 {
209 # GN version: //third_party/WebKit/Source/web:test_support 229 # GN version: //third_party/WebKit/Source/web:test_support
210 'target_name': 'blink_web_test_support', 230 'target_name': 'blink_web_test_support',
211 'conditions': [ 231 'conditions': [
212 ['component=="shared_library"', { 232 ['component=="shared_library"', {
213 'type': 'none', 233 'type': 'none',
214 }, { 234 }, {
215 'type': 'static_library', 235 'type': 'static_library',
216 'dependencies': [ 236 'dependencies': [
217 '../config.gyp:config', 237 '../config.gyp:config',
218 '../core/core.gyp:webcore_generated',
219 '../core/core.gyp:webcore_testing', 238 '../core/core.gyp:webcore_testing',
220 '../modules/modules.gyp:modules_testing', 239 '../modules/modules.gyp:modules_testing',
221 '../wtf/wtf.gyp:wtf', 240 '../wtf/wtf.gyp:wtf',
222 '<(DEPTH)/skia/skia.gyp:skia', 241 '<(DEPTH)/skia/skia.gyp:skia',
223 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 242 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
224 ], 243 ],
225 'include_dirs': [ 244 'include_dirs': [
226 '../../', 245 '../../',
227 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink 246 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink
228 ], 247 ],
(...skipping 20 matching lines...) Expand all
249 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ], 268 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa' ],
250 'copies': [{ 269 'copies': [{
251 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/', 270 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten ts/MacOS/',
252 'files': ['<(PRODUCT_DIR)/osmesa.so'], 271 'files': ['<(PRODUCT_DIR)/osmesa.so'],
253 }], 272 }],
254 }, 273 },
255 ], 274 ],
256 }], 275 }],
257 ], # conditions 276 ], # conditions
258 } 277 }
OLDNEW
« no previous file with comments | « Source/modules/modules.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698