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

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

Issue 975113002: Resurrect Aura Linux accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call g_type_init from ax_platform_node_auralinux instead Created 5 years, 9 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 | « no previous file | build/config/linux/pkg-config.py » ('j') | ui/views/views.gyp » ('J')
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 17 matching lines...) Expand all
28 "value") ] 28 "value") ]
29 } 29 }
30 30
31 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like 31 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like
32 # OS_LINUX and the like. 32 # OS_LINUX and the like.
33 if (is_chromeos) { 33 if (is_chromeos) {
34 defines = [ "OS_CHROMEOS" ] 34 defines = [ "OS_CHROMEOS" ]
35 } 35 }
36 } 36 }
37 37
38 pkg_config("atk") {
39 packages = [ "atk" ]
40 atk_lib_dir = exec_script(pkg_config_script,
41 [
42 "--libdir",
43 "atk",
44 ],
45 "string")
46 defines = [ "ATK_LIB_DIR=\"$atk_lib_dir\"" ]
47 }
48
49 # gn orders flags on a target before flags from configs. The default config
50 # adds -Wall, and these flags have to be after -Wall -- so they need to come
51 # from a config and can't be on the target directly.
52 config("atk_warnings") {
53 # glib uses the pre-c++11 typedef-as-static_assert hack.
54 cflags = [ "-Wno-unused-local-typedef" ]
55 }
56
38 config("fontconfig") { 57 config("fontconfig") {
39 libs = [ "fontconfig" ] 58 libs = [ "fontconfig" ]
40 } 59 }
41 60
42 pkg_config("freetype2") { 61 pkg_config("freetype2") {
43 packages = [ "freetype2" ] 62 packages = [ "freetype2" ]
44 } 63 }
45 64
46 pkg_config("glib") { 65 pkg_config("glib") {
47 packages = [ 66 packages = [
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 243
225 functions = gypi_values.libudev_functions 244 functions = gypi_values.libudev_functions
226 } 245 }
227 246
228 group("udev") { 247 group("udev") {
229 deps = [ 248 deps = [
230 ":udev0_loader", 249 ":udev0_loader",
231 ":udev1_loader", 250 ":udev1_loader",
232 ] 251 ]
233 } 252 }
OLDNEW
« no previous file with comments | « no previous file | build/config/linux/pkg-config.py » ('j') | ui/views/views.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698