OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/ui.gni") | 7 import("//build/config/ui.gni") |
7 import("//build/json_schema_api.gni") | 8 import("//build/json_schema_api.gni") |
8 import("//testing/test.gni") | 9 import("//testing/test.gni") |
9 if (is_android) { | 10 if (is_android) { |
10 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
11 } | 12 } |
12 | 13 |
13 if (use_x11) { | 14 if (use_x11) { |
14 pkg_config("atk") { | 15 pkg_config("atk") { |
15 packages = [ "atk" ] | 16 packages = [ "atk" ] |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 sources += [ | 98 sources += [ |
98 "platform/atk_util_auralinux.cc", | 99 "platform/atk_util_auralinux.cc", |
99 "platform/atk_util_auralinux.h", | 100 "platform/atk_util_auralinux.h", |
100 "platform/ax_platform_node_auralinux.cc", | 101 "platform/ax_platform_node_auralinux.cc", |
101 "platform/ax_platform_node_auralinux.h", | 102 "platform/ax_platform_node_auralinux.h", |
102 ] | 103 ] |
103 | 104 |
104 configs += [ | 105 configs += [ |
105 ":atk", | 106 ":atk", |
106 ":atk_warnings", | 107 ":atk_warnings", |
107 "//build/config/linux/gconf", | |
108 "//build/config/linux:glib", | |
109 ] | 108 ] |
| 109 |
| 110 if (use_gconf) { |
| 111 configs += [ "//build/config/linux/gconf" ] |
| 112 } |
| 113 |
| 114 if (use_glib) { |
| 115 configs += [ "//build/config/linux:glib" ] |
| 116 } |
110 } | 117 } |
111 } | 118 } |
112 | 119 |
113 if (is_android) { | 120 if (is_android) { |
114 android_library("ui_accessibility_java") { | 121 android_library("ui_accessibility_java") { |
115 deps = [] | 122 deps = [] |
116 srcjar_deps = [ ":ax_enumerations_srcjar" ] | 123 srcjar_deps = [ ":ax_enumerations_srcjar" ] |
117 } | 124 } |
118 | 125 |
119 java_cpp_enum("ax_enumerations_srcjar") { | 126 java_cpp_enum("ax_enumerations_srcjar") { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 json_schema_api("ax_gen") { | 173 json_schema_api("ax_gen") { |
167 sources = [ | 174 sources = [ |
168 "ax_enums.idl", | 175 "ax_enums.idl", |
169 ] | 176 ] |
170 deps = [ | 177 deps = [ |
171 "//base/third_party/dynamic_annotations", | 178 "//base/third_party/dynamic_annotations", |
172 ] | 179 ] |
173 root_namespace = "ui" | 180 root_namespace = "ui" |
174 schemas = true | 181 schemas = true |
175 } | 182 } |
OLD | NEW |