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

Side by Side Diff: chrome/chrome_dll.gypi

Issue 187813008: Add PGO targets to Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simpler approach (but require to build 2 times the same target). Created 6 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
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 'conditions': [ 5 'conditions': [
6 ['OS=="mac" or OS=="win"', { 6 ['OS=="mac" or OS=="win"', {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'chrome_dll', 9 'target_name': 'chrome_dll',
10 'type': 'none', 10 'type': 'none',
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ['enable_printing!=0', { 213 ['enable_printing!=0', {
214 'dependencies': [ 214 'dependencies': [
215 '../printing/printing.gyp:printing', 215 '../printing/printing.gyp:printing',
216 ], 216 ],
217 }], 217 }],
218 ['component!="shared_library"', { # http://crbug.com/339215 218 ['component!="shared_library"', { # http://crbug.com/339215
219 'dependencies': [ 219 'dependencies': [
220 'chrome_dll_pdb_workaround', 220 'chrome_dll_pdb_workaround',
221 ], 221 ],
222 }], 222 }],
223 ['chrome_pgo_phase==1', {
224 'msvs_settings': {
225 'VCLinkerTool': {
226 'LinkTimeCodeGeneration': '2',
227 },
228 },
229 }],
230 ['chrome_pgo_phase==2', {
231 'msvs_settings': {
232 'VCLinkerTool': {
233 'LinkTimeCodeGeneration': '3',
234 },
235 },
236 }],
223 ] 237 ]
224 }], 238 }],
225 ['chrome_multiple_dll==1', { 239 ['chrome_multiple_dll==1', {
226 'defines': [ 240 'defines': [
227 'CHROME_MULTIPLE_DLL_BROWSER', 241 'CHROME_MULTIPLE_DLL_BROWSER',
228 ], 242 ],
229 }, { 243 }, {
230 'dependencies': [ 244 'dependencies': [
231 '<@(chromium_child_dependencies)', 245 '<@(chromium_child_dependencies)',
232 '../content/content.gyp:content_app_both', 246 '../content/content.gyp:content_app_both',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', 375 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc',
362 'app/chrome_main.cc', 376 'app/chrome_main.cc',
363 'app/chrome_main_delegate.cc', 377 'app/chrome_main_delegate.cc',
364 'app/chrome_main_delegate.h', 378 'app/chrome_main_delegate.h',
365 ], 379 ],
366 'conditions': [ 380 'conditions': [
367 ['OS=="win"', { 381 ['OS=="win"', {
368 'dependencies': [ 382 'dependencies': [
369 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', 383 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf',
370 ], 384 ],
385 'conditions': [
386 ['chrome_pgo_phase==1', {
387 'msvs_settings': {
388 'VCLinkerTool': {
389 'LinkTimeCodeGeneration': '2',
390 },
391 },
392 }],
393 ['chrome_pgo_phase==2', {
394 'msvs_settings': {
395 'VCLinkerTool': {
396 'LinkTimeCodeGeneration': '3',
397 },
398 },
399 }],
400 ]
371 }], 401 }],
372 ], 402 ],
373 }, # target chrome_child_dll 403 }, # target chrome_child_dll
374 ], 404 ],
375 }], 405 }],
376 ], 406 ],
377 } 407 }
OLDNEW
« build/internal/release_impl_official.gypi ('K') | « build/internal/release_impl_official.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698