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

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

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/linux/pkg_config.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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 ] 173 ]
174 174
175 # TODO(brettw) Theoretically I think ignore_libs should be set so that we 175 # TODO(brettw) Theoretically I think ignore_libs should be set so that we
176 # don't link directly to GIO and use the loader generated below. But the gio 176 # don't link directly to GIO and use the loader generated below. But the gio
177 # target in GYP doesn't make any sense to me and appears to link directly to 177 # target in GYP doesn't make any sense to me and appears to link directly to
178 # GIO in addition to making a loader. This this uncommented, the link in 178 # GIO in addition to making a loader. This this uncommented, the link in
179 # component build fails, so I think this is closer to the GYP build. 179 # component build fails, so I think this is closer to the GYP build.
180 #ignore_libs = true # Loader generated below. 180 #ignore_libs = true # Loader generated below.
181 } 181 }
182 182
183 if (is_desktop_linux) { 183 # This generates a target named "gio".
184 # This generates a target named "gio". 184 generate_library_loader("gio") {
185 generate_library_loader("gio") { 185 name = "LibGioLoader"
186 name = "LibGioLoader" 186 output_h = "libgio.h"
187 output_h = "libgio.h" 187 output_cc = "libgio_loader.cc"
188 output_cc = "libgio_loader.cc" 188 header = "<gio/gio.h>"
189 header = "<gio/gio.h>" 189 config = ":gio_config"
190 config = ":gio_config"
191 190
192 functions = gypi_values.libgio_functions 191 functions = gypi_values.libgio_functions
193 }
194 } 192 }
195 193
196 # This generates a target named "libpci". 194 # This generates a target named "libpci".
197 generate_library_loader("libpci") { 195 generate_library_loader("libpci") {
198 name = "LibPciLoader" 196 name = "LibPciLoader"
199 output_h = "libpci.h" 197 output_h = "libpci.h"
200 output_cc = "libpci_loader.cc" 198 output_cc = "libpci_loader.cc"
201 header = "<pci/pci.h>" 199 header = "<pci/pci.h>"
202 200
203 functions = gypi_values.libpci_functions 201 functions = gypi_values.libpci_functions
(...skipping 20 matching lines...) Expand all
224 222
225 functions = gypi_values.libudev_functions 223 functions = gypi_values.libudev_functions
226 } 224 }
227 225
228 group("udev") { 226 group("udev") {
229 deps = [ 227 deps = [
230 ":udev0_loader", 228 ":udev0_loader",
231 ":udev1_loader", 229 ":udev1_loader",
232 ] 230 ]
233 } 231 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | build/config/linux/pkg_config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698