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/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 ] | 426 ] |
427 jni_package = "gfx" | 427 jni_package = "gfx" |
428 } | 428 } |
429 } | 429 } |
430 | 430 |
431 if (use_x11) { | 431 if (use_x11) { |
432 component("gfx_x11") { | 432 component("gfx_x11") { |
433 sources = [ | 433 sources = [ |
434 "x/x11_atom_cache.cc", | 434 "x/x11_atom_cache.cc", |
435 "x/x11_atom_cache.h", | 435 "x/x11_atom_cache.h", |
| 436 "x/x11_connection.cc", |
| 437 "x/x11_connection.h", |
436 "x/x11_error_tracker.cc", | 438 "x/x11_error_tracker.cc", |
437 "x/x11_error_tracker.h", | 439 "x/x11_error_tracker.h", |
438 "x/x11_types.cc", | 440 "x/x11_types.cc", |
439 "x/x11_types.h", | 441 "x/x11_types.h", |
440 ] | 442 ] |
441 | 443 |
| 444 defines = [ "GFX_IMPLEMENTATION" ] |
442 configs += [ "//build/config/linux:x11" ] | 445 configs += [ "//build/config/linux:x11" ] |
443 | 446 |
444 deps = [ | 447 deps = [ |
445 ":gfx_export", | 448 ":gfx_export", |
446 "//base" | 449 "//base" |
447 ] | 450 ] |
448 } | 451 } |
449 } | 452 } |
OLD | NEW |