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

Side by Side Diff: build/config/linux/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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 | « build/config/features.gni ('k') | build/config/sysroot.gni » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/sysroot.gni") 7 import("//build/config/sysroot.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//tools/generate_library_loader/generate_library_loader.gni") 9 import("//tools/generate_library_loader/generate_library_loader.gni")
10 10
(...skipping 12 matching lines...) Expand all
23 [ 23 [
24 rebase_path("//build/linux/sysroot_ld_path.sh", 24 rebase_path("//build/linux/sysroot_ld_path.sh",
25 root_build_dir), 25 root_build_dir),
26 sysroot, 26 sysroot,
27 ], 27 ],
28 "value") ] 28 "value") ]
29 } 29 }
30 30
31 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like 31 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like
32 # OS_LINUX and the like. 32 # OS_LINUX and the like.
33 if (is_chromeos) { 33 if (use_cros_fe) {
34 defines = [ "OS_CHROMEOS" ] 34 defines = [ "OS_CHROMEOS" ]
35 } 35 }
36 } 36 }
37 37
38 config("fontconfig") { 38 config("fontconfig") {
39 libs = [ "fontconfig" ] 39 libs = [ "fontconfig" ]
40 } 40 }
41 41
42 pkg_config("freetype2") { 42 pkg_config("freetype2") {
43 packages = [ "freetype2" ] 43 packages = [ "freetype2" ]
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 config("xtst") { 121 config("xtst") {
122 libs = [ "Xtst" ] 122 libs = [ "Xtst" ]
123 } 123 }
124 124
125 config("libresolv") { 125 config("libresolv") {
126 libs = [ "resolv" ] 126 libs = [ "resolv" ]
127 } 127 }
128 128
129 # CrOS doesn't install GTK, gconf or any gnome packages. 129 # CrOS doesn't install GTK, gconf or any gnome packages.
130 if (!is_chromeos) { 130 if (!use_cros_fe) {
131 # These packages should _only_ be expected when building for a target. 131 # These packages should _only_ be expected when building for a target.
132 # If these extra checks are not run, gconf is required when building host 132 # If these extra checks are not run, gconf is required when building host
133 # tools for a CrOS build. 133 # tools for a CrOS build.
134 if (current_toolchain == default_toolchain) { 134 if (current_toolchain == default_toolchain) {
135 pkg_config("atk") { 135 pkg_config("atk") {
136 packages = [ "atk" ] 136 packages = [ "atk" ]
137 atk_lib_dir = exec_script(pkg_config_script, 137 atk_lib_dir = exec_script(pkg_config_script,
138 [ 138 [
139 "--libdir", 139 "--libdir",
140 "atk", 140 "atk",
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 functions = gypi_values.libudev_functions 251 functions = gypi_values.libudev_functions
252 } 252 }
253 253
254 group("udev") { 254 group("udev") {
255 deps = [ 255 deps = [
256 ":udev0_loader", 256 ":udev0_loader",
257 ":udev1_loader", 257 ":udev1_loader",
258 ] 258 ]
259 } 259 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | build/config/sysroot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698