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

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

Issue 1344263002: ozone: gbm: Default use_system_minigbm=1 to mitigate build breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 | « build/common.gypi ('k') | third_party/minigbm/minigbm.gyp » ('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
11 # shipped with the system. In release builds of Chrome OS we use the 11 # shipped with the system. In release builds of Chrome OS we use the
12 # system version, but when building on dev workstations or the Chrome 12 # system version, but when building on dev workstations or the Chrome
13 # waterfall we bundle it because Ubuntu doesn't ship a usable version. 13 # waterfall we bundle it because Ubuntu doesn't ship a usable version.
14 use_system_minigbm = false 14 use_system_minigbm = true
15 } 15 }
16 16
17 if (!use_system_minigbm) { 17 if (!use_system_minigbm) {
18 config("minigbm_config") { 18 config("minigbm_config") {
19 include_dirs = [ "src" ] 19 include_dirs = [ "src" ]
20 } 20 }
21 21
22 pkg_config("libdrm") { 22 pkg_config("libdrm") {
23 packages = [ "libdrm" ] 23 packages = [ "libdrm" ]
24 } 24 }
(...skipping 24 matching lines...) Expand all
49 49
50 if (use_system_minigbm) { 50 if (use_system_minigbm) {
51 pkg_config("libgbm") { 51 pkg_config("libgbm") {
52 packages = [ "gbm" ] 52 packages = [ "gbm" ]
53 } 53 }
54 54
55 group("minigbm") { 55 group("minigbm") {
56 public_configs = [ ":libgbm" ] 56 public_configs = [ ":libgbm" ]
57 } 57 }
58 } 58 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | third_party/minigbm/minigbm.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698