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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 if (is_chromeos && use_x11 && cpu_arch != "arm") { | 10 if (is_chromeos && use_x11 && cpu_arch != "arm") { |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 # non-ozone cases above). | 172 # non-ozone cases above). |
173 sources -= [ "font_list_ozone.cc" ] | 173 sources -= [ "font_list_ozone.cc" ] |
174 } | 174 } |
175 } else { | 175 } else { |
176 sources -= [ | 176 sources -= [ |
177 "font_list_pango.cc", | 177 "font_list_pango.cc", |
178 ] | 178 ] |
179 } | 179 } |
180 | 180 |
181 if (use_x11) { | 181 if (use_x11) { |
182 sources += [ | |
183 "gpu/gpu_memory_buffer_factory_x11_pixmap.cc", | |
184 "common/gpu/gpu_memory_buffer_factory_x11_pixmap.h", | |
185 ] | |
186 include_dirs += [ "//third_party/khronos" ] | 182 include_dirs += [ "//third_party/khronos" ] |
187 configs += [ "//build/config/linux:xcomposite" ] | 183 configs += [ "//build/config/linux:xcomposite" ] |
188 | 184 |
189 if (cpu_arch != "arm" || !is_chromeos) { | 185 if (cpu_arch != "arm" || !is_chromeos) { |
190 sources +=[ | 186 sources +=[ |
191 "gpu/x_util.cc", | 187 "gpu/x_util.cc", |
192 "gpu/x_util.h", | 188 "gpu/x_util.h", |
193 ] | 189 ] |
194 } | 190 } |
195 } else { | |
196 sources -= [ | |
197 "gpu/gpu_memory_buffer_factory_x11.cc", | |
198 ] | |
199 } | 191 } |
200 | 192 |
201 if (enable_plugins) { | 193 if (enable_plugins) { |
202 deps += [ | 194 deps += [ |
203 "//ppapi:ppapi_shared", | 195 "//ppapi:ppapi_shared", |
204 ] | 196 ] |
205 } else { | 197 } else { |
206 sources -= [ | 198 sources -= [ |
207 "pepper_file_util.cc", | 199 "pepper_file_util.cc", |
208 "pepper_file_util.h", | 200 "pepper_file_util.h", |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 sources = [ | 313 sources = [ |
322 "geolocation_service.mojom", | 314 "geolocation_service.mojom", |
323 "render_frame_setup.mojom", | 315 "render_frame_setup.mojom", |
324 ] | 316 ] |
325 | 317 |
326 deps = [ | 318 deps = [ |
327 "//content/public/common:mojo_bindings", | 319 "//content/public/common:mojo_bindings", |
328 "//mojo/public/interfaces/application:application", | 320 "//mojo/public/interfaces/application:application", |
329 ] | 321 ] |
330 } | 322 } |
OLD | NEW |