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

Side by Side Diff: chrome/chrome_pgo.gypi

Issue 187813008: Add PGO targets to Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: It almost works ! 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
(Empty)
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 {
5 'conditions': [
6 ['OS=="win"', {
7 # Instrumentation step.
8 'variables': {
9 # Corresponds to the /LTCG:PGINSTRUMENT option.
10 'ltcg_value': '2',
11 'chrome_dll_target_name': 'chrome_dll_pgi',
12 'chrome_main_dll_target_name': 'chrome_main_dll_pgi',
13 'chrome_main_dll_product_name': 'chrome_pgi',
14 'chrome_child_dll_target_name': 'chrome_child_dll_pgi',
15 'chrome_child_dll_product_name': 'chrome_child_pgi',
16 },
17 'includes': [
18 'chrome_dll.gypi',
19 ],
20 'targets': [
21 # Profiling step.
22 {
23 'target_name': 'chrome_pgo_profile',
24 'type': 'none',
25 # TODO(sebmarchand): Rename the dll produced in the
26 # 'chrome_pgo_instrument' step and profile Chrome.
27 'dependencies': [
28 'chrome_main_dll_pgi',
29 'chrome_child_dll_pgi',
30 ],
31 },
32 ],
33 }],
34 ['chrome_pgo==1', {
35 # Optimization step.
36 'variables': {
37 # Corresponds to the /LTCG:PGOPTIMIZE option.
38 'ltcg_value': '3',
39 'chrome_dll_target_name': 'chrome_dll',
40 'chrome_main_dll_target_name': 'chrome_main_dll',
41 'chrome_main_dll_product_name': 'chrome',
42 'chrome_child_dll_target_name': 'chrome_child_dll',
43 'chrome_child_dll_product_name': 'chrome_child',
44 },
45 'includes': [
46 'chrome_dll.gypi',
47 ],
48 }],
49 ],
50 }
OLDNEW
« build/internal/release_impl_official.gypi ('K') | « chrome/chrome_dll.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698