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

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

Issue 409163004: ozone: Fix GN build for ozone_egl_demo, ozone_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove media/BUILD.gn diffs Created 6 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | ui/base/BUILD.gn » ('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
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 } 22 }
23 23
24 pkg_config("dridrm") { 24 pkg_config("libdrm") {
25 packages = [ "libdrm" ] 25 packages = [ "libdrm" ]
26 } 26 }
27 27
28 config("fontconfig") { 28 config("fontconfig") {
29 libs = [ "fontconfig" ] 29 libs = [ "fontconfig" ]
30 } 30 }
31 31
32 pkg_config("freetype2") { 32 pkg_config("freetype2") {
33 packages = [ "freetype2" ] 33 packages = [ "freetype2" ]
34 } 34 }
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "pci_alloc", 181 "pci_alloc",
182 "pci_init", 182 "pci_init",
183 "pci_cleanup", 183 "pci_cleanup",
184 "pci_scan_bus", 184 "pci_scan_bus",
185 "pci_fill_info", 185 "pci_fill_info",
186 "pci_lookup_name", 186 "pci_lookup_name",
187 ] 187 ]
188 } 188 }
189 189
190 # Looking for libspeechd? Use //third_party/speech-dispatcher 190 # Looking for libspeechd? Use //third_party/speech-dispatcher
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698