| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 } | 383 } |
| 384 } | 384 } |
| 385 | 385 |
| 386 if (use_x11) { | 386 if (use_x11) { |
| 387 deps += [ "//ui/gfx/x" ] | 387 deps += [ "//ui/gfx/x" ] |
| 388 configs += [ "//build/config/linux:x11" ] | 388 configs += [ "//build/config/linux:x11" ] |
| 389 } else { | 389 } else { |
| 390 sources -= [ "path_x11.cc" ] | 390 sources -= [ "path_x11.cc" ] |
| 391 } | 391 } |
| 392 | 392 |
| 393 if (use_ozone) { |
| 394 sources += [ "native_pixmap_handle_ozone.h" ] |
| 395 } |
| 396 |
| 393 if (use_cairo) { | 397 if (use_cairo) { |
| 394 configs += [ "//build/config/linux:pangocairo" ] | 398 configs += [ "//build/config/linux:pangocairo" ] |
| 395 } | 399 } |
| 396 } | 400 } |
| 397 | 401 |
| 398 # GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons | 402 # GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons |
| 399 action("aggregate_vector_icons") { | 403 action("aggregate_vector_icons") { |
| 400 script = "vector_icons/aggregate_vector_icons.py" | 404 script = "vector_icons/aggregate_vector_icons.py" |
| 401 sources = [ | 405 sources = [ |
| 402 "vector_icons/account_child_invert.icon", | 406 "vector_icons/account_child_invert.icon", |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 if (is_android) { | 630 if (is_android) { |
| 627 generate_jni("gfx_jni_headers") { | 631 generate_jni("gfx_jni_headers") { |
| 628 sources = [ | 632 sources = [ |
| 629 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 633 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 630 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 634 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 631 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 635 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 632 ] | 636 ] |
| 633 jni_package = "gfx" | 637 jni_package = "gfx" |
| 634 } | 638 } |
| 635 } | 639 } |
| OLD | NEW |