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

Side by Side Diff: chrome/common/features.gni

Issue 2157563002: Add a PGO tag for the PGO builds in chrome://version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the VS2013 string. Created 4 years, 5 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 | « chrome/common/BUILD.gn ('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 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # This is the GN version of //chrome/chrome_features.gypi. 5 # This is the GN version of //chrome/chrome_features.gypi.
6 # Please keep in sync! 6 # Please keep in sync!
7 7
8 import("//build/config/chromecast_build.gni") 8 import("//build/config/chromecast_build.gni")
9 import("//build/config/compiler/compiler.gni")
9 10
10 declare_args() { 11 declare_args() {
11 enable_google_now = !is_ios && !is_android && !is_chromecast 12 enable_google_now = !is_ios && !is_android && !is_chromecast
12 13
13 # Whether the Java UI is being used (Java infobars and popups, Java native 14 # Whether the Java UI is being used (Java infobars and popups, Java native
14 # settings and first run experience, sign-in etc.). 15 # settings and first run experience, sign-in etc.).
15 # Default to true if compiling for android, but allow this being overriden 16 # Default to true if compiling for android, but allow this being overriden
16 # through the environment. 17 # through the environment.
17 android_java_ui = is_android 18 android_java_ui = is_android
18 19
19 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) 20 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
20 # pages. https://github.com/polymer/vulcanize 21 # pages. https://github.com/polymer/vulcanize
21 use_vulcanize = true 22 use_vulcanize = true
22 23
23 # Enables support for background apps. 24 # Enables support for background apps.
24 enable_background = !is_ios && !is_android && !is_chromecast 25 enable_background = !is_ios && !is_android && !is_chromecast
25 26
26 enable_one_click_signin = 27 enable_one_click_signin =
27 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) 28 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast)
28 29
29 # Set to true to bundle all the mash related mojo services into chrome. 30 # Set to true to bundle all the mash related mojo services into chrome.
30 # Specify --mash to chrome to have chrome start the mash environment. 31 # Specify --mash to chrome to have chrome start the mash environment.
31 enable_package_mash_services = is_chromeos 32 enable_package_mash_services = is_chromeos
33
34 # Indicates if the build is using PGO.
35 pgo_build = chrome_pgo_phase > 0
32 } 36 }
33 37
34 chrome_grit_defines = [ 38 chrome_grit_defines = [
35 "enable_background=$enable_background", 39 "enable_background=$enable_background",
36 "enable_google_now=$enable_google_now", 40 "enable_google_now=$enable_google_now",
37 "use_vulcanize=$use_vulcanize", 41 "use_vulcanize=$use_vulcanize",
38 ] 42 ]
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698