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

Side by Side Diff: build/common.gypi

Issue 187813008: Add PGO targets to Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « no previous file | build/internal/release_impl_official.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 # 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 'msvs_debug_link_nonincremental%': '1', 1080 'msvs_debug_link_nonincremental%': '1',
1081 1081
1082 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows 1082 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows
1083 # to get incremental linking to be faster in debug builds. 1083 # to get incremental linking to be faster in debug builds.
1084 'incremental_chrome_dll%': '0', 1084 'incremental_chrome_dll%': '0',
1085 1085
1086 # Experimental setting to break chrome.dll into multiple pieces based on 1086 # Experimental setting to break chrome.dll into multiple pieces based on
1087 # process type. 1087 # process type.
1088 'chrome_multiple_dll%': '0', 1088 'chrome_multiple_dll%': '0',
1089 1089
1090 # Experimental setting to optimize Chrome's DLLs with PGO.
1091 'chrome_pgo_phase%': '0',
1092
1090 # The default settings for third party code for treating 1093 # The default settings for third party code for treating
1091 # warnings-as-errors. Ideally, this would not be required, however there 1094 # warnings-as-errors. Ideally, this would not be required, however there
1092 # is some third party code that takes a long time to fix/roll. So, this 1095 # is some third party code that takes a long time to fix/roll. So, this
1093 # flag allows us to have warnings as errors in general to prevent 1096 # flag allows us to have warnings as errors in general to prevent
1094 # regressions in most modules, while working on the bits that are 1097 # regressions in most modules, while working on the bits that are
1095 # remaining. 1098 # remaining.
1096 'win_third_party_warn_as_error%': 'true', 1099 'win_third_party_warn_as_error%': 'true',
1097 1100
1098 # Clang stuff. 1101 # Clang stuff.
1099 'clang%': '<(clang)', 1102 'clang%': '<(clang)',
(...skipping 3423 matching lines...) Expand 10 before | Expand all | Expand 10 after
4523 # level by defining a variable named 'optimize', and setting it 4526 # level by defining a variable named 'optimize', and setting it
4524 # to one of 4527 # to one of
4525 # - "size", optimizes for minimal code size - the default. 4528 # - "size", optimizes for minimal code size - the default.
4526 # - "speed", optimizes for speed over code size. 4529 # - "speed", optimizes for speed over code size.
4527 # - "max", whole program optimization and link-time code 4530 # - "max", whole program optimization and link-time code
4528 # generation. This is very expensive and should be used 4531 # generation. This is very expensive and should be used
4529 # sparingly. 4532 # sparingly.
4530 'variables': { 4533 'variables': {
4531 'optimize%': 'size', 4534 'optimize%': 'size',
4532 }, 4535 },
4536 'msvs_settings': {
4537 'VCLinkerTool': {
4538 # Set /LTCG for the official builds.
4539 'LinkTimeCodeGeneration': '1',
4540 },
4541 },
4533 'target_conditions': [ 4542 'target_conditions': [
4534 ['optimize=="size"', { 4543 ['optimize=="size"', {
4535 'msvs_settings': { 4544 'msvs_settings': {
4536 'VCCLCompilerTool': { 4545 'VCCLCompilerTool': {
4537 # 1, optimizeMinSpace, Minimize Size (/O1) 4546 # 1, optimizeMinSpace, Minimize Size (/O1)
4538 'Optimization': '1', 4547 'Optimization': '1',
4539 # 2, favorSize - Favor small code (/Os) 4548 # 2, favorSize - Favor small code (/Os)
4540 'FavorSizeOrSpeed': '2', 4549 'FavorSizeOrSpeed': '2',
4541 }, 4550 },
4542 }, 4551 },
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
5023 # settings in target dicts. SYMROOT is a special case, because many other 5032 # settings in target dicts. SYMROOT is a special case, because many other
5024 # Xcode variables depend on it, including variables such as 5033 # Xcode variables depend on it, including variables such as
5025 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5034 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5026 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5035 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5027 # files to appear (when present) in the UI as actual files and not red 5036 # files to appear (when present) in the UI as actual files and not red
5028 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5037 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5029 # and therefore SYMROOT, needs to be set at the project level. 5038 # and therefore SYMROOT, needs to be set at the project level.
5030 'SYMROOT': '<(DEPTH)/xcodebuild', 5039 'SYMROOT': '<(DEPTH)/xcodebuild',
5031 }, 5040 },
5032 } 5041 }
OLDNEW
« no previous file with comments | « no previous file | build/internal/release_impl_official.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698