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

Side by Side Diff: third_party/minigbm/BUILD.gn

Issue 2053083002: Build fixes for linux desktop CrOS builders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « testing/buildbot/gn_isolate_map.pyl ('k') | ui/arc/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 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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 6
7 assert(is_linux) 7 assert(is_linux)
8 8
9 declare_args() { 9 declare_args() {
10 # Controls whether the build should use the version of minigbm library 10 # Controls whether the build should use the version of minigbm library
(...skipping 29 matching lines...) Expand all
40 "src/virtio_gpu.c", 40 "src/virtio_gpu.c",
41 ] 41 ]
42 42
43 configs -= [ "//build/config/compiler:chromium_code" ] 43 configs -= [ "//build/config/compiler:chromium_code" ]
44 configs += [ 44 configs += [
45 ":libdrm", 45 ":libdrm",
46 "//build/config/compiler:no_chromium_code", 46 "//build/config/compiler:no_chromium_code",
47 ] 47 ]
48 48
49 public_configs = [ ":minigbm_config" ] 49 public_configs = [ ":minigbm_config" ]
50
51 # Clients need this to pick up the shared library correctly.
52 all_dependent_configs =
53 [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
50 } 54 }
51 } 55 }
52 56
53 if (use_system_minigbm) { 57 if (use_system_minigbm) {
54 pkg_config("libgbm") { 58 pkg_config("libgbm") {
55 packages = [ "gbm" ] 59 packages = [ "gbm" ]
56 } 60 }
57 61
58 group("minigbm") { 62 group("minigbm") {
59 public_configs = [ ":libgbm" ] 63 public_configs = [ ":libgbm" ]
60 } 64 }
61 } 65 }
OLDNEW
« no previous file with comments | « testing/buildbot/gn_isolate_map.pyl ('k') | ui/arc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698