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

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

Issue 2497653002: Move use_brlapi build flag to chrome. (Closed)
Patch Set: Created 4 years, 1 month 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/linux/libbrlapi/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) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/linux/pkg_config.gni") 6 import("//build/config/linux/pkg_config.gni")
7 7
8 # If brlapi isn't needed, don't require it to be installed.
9 if (use_brlapi) {
10 deps = [
brettw 2016/11/11 19:27:39 I think the effect of this is to make libbrlapi be
Dirk Pranke 2016/11/11 22:07:31 Yes, there doesn't seem like any way this can be r
11 "//build/linux/libbrlapi",
12 ]
13 }
14 if (use_gio) { 8 if (use_gio) {
15 pkg_config("gio_config") { 9 pkg_config("gio_config") {
16 packages = [ "gio-2.0" ] 10 packages = [ "gio-2.0" ]
17 11
18 # glib >=2.40 deprecate g_settings_list_schemas in favor of 12 # glib >=2.40 deprecate g_settings_list_schemas in favor of
19 # g_settings_schema_source_list_schemas. This function is not available on 13 # g_settings_schema_source_list_schemas. This function is not available on
20 # earlier versions that we still need to support (specifically, 2.32), so 14 # earlier versions that we still need to support (specifically, 2.32), so
21 # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define. 15 # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define.
22 # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu 16 # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu
23 # 13.10 (saucy) and earlier. Update the code to use 17 # 13.10 (saucy) and earlier. Update the code to use
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 if (is_chromecast) { 59 if (is_chromecast) {
66 # Chromecast platform doesn't provide freetype, so use Chromium's. 60 # Chromecast platform doesn't provide freetype, so use Chromium's.
67 # The version in freetype-android is unmodified from freetype2 upstream. 61 # The version in freetype-android is unmodified from freetype2 upstream.
68 public_deps = [ 62 public_deps = [
69 "//third_party/freetype-android:freetype", 63 "//third_party/freetype-android:freetype",
70 ] 64 ]
71 } else { 65 } else {
72 public_configs = [ ":freetype2_config" ] 66 public_configs = [ ":freetype2_config" ]
73 } 67 }
74 } 68 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | build/linux/libbrlapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698