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

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

Issue 558343002: GN: More CrOS fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 6 years, 3 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 | content/browser/BUILD.gn » ('j') | content/browser/BUILD.gn » ('J')
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
11 config("sdk") { 11 config("sdk") {
12 if (sysroot != "") { 12 if (sysroot != "") {
13 cflags = [ "--sysroot=" + sysroot ] 13 cflags = [ "--sysroot=" + sysroot ]
14 ldflags = [ "--sysroot=" + sysroot ] 14 ldflags = [ "--sysroot=" + sysroot ]
15 15
16 # Need to get some linker flags out of the sysroot. 16 # Need to get some linker flags out of the sysroot.
17 ldflags += [ exec_script("sysroot_ld_path.py", 17 ldflags += [ exec_script("sysroot_ld_path.py",
18 [ rebase_path("//build/linux/sysroot_ld_path.sh", root_build_dir), 18 [ rebase_path("//build/linux/sysroot_ld_path.sh", root_build_dir),
19 sysroot ], 19 sysroot ],
20 "value") ] 20 "value") ]
21 } 21 }
22
23 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like
24 # OS_LINUX and the like.
25 if (is_chromeos) {
26 defines = [ "OS_CHROMEOS" ]
27 }
22 } 28 }
23 29
24 config("fontconfig") { 30 config("fontconfig") {
25 libs = [ "fontconfig" ] 31 libs = [ "fontconfig" ]
26 } 32 }
27 33
28 pkg_config("freetype2") { 34 pkg_config("freetype2") {
29 packages = [ "freetype2" ] 35 packages = [ "freetype2" ]
30 } 36 }
31 37
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 "pci_alloc", 217 "pci_alloc",
212 "pci_init", 218 "pci_init",
213 "pci_cleanup", 219 "pci_cleanup",
214 "pci_scan_bus", 220 "pci_scan_bus",
215 "pci_fill_info", 221 "pci_fill_info",
216 "pci_lookup_name", 222 "pci_lookup_name",
217 ] 223 ]
218 } 224 }
219 225
220 # Looking for libspeechd? Use //third_party/speech-dispatcher 226 # Looking for libspeechd? Use //third_party/speech-dispatcher
OLDNEW
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | content/browser/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698