| 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 } | 398 } |
| 399 } | 399 } |
| 400 | 400 |
| 401 if (use_x11) { | 401 if (use_x11) { |
| 402 deps += [ "//ui/gfx/x" ] | 402 deps += [ "//ui/gfx/x" ] |
| 403 configs += [ "//build/config/linux:x11" ] | 403 configs += [ "//build/config/linux:x11" ] |
| 404 } else { | 404 } else { |
| 405 sources -= [ "path_x11.cc" ] | 405 sources -= [ "path_x11.cc" ] |
| 406 } | 406 } |
| 407 | 407 |
| 408 if (use_ozone) { |
| 409 sources += [ "native_pixmap_handle_ozone.h" ] |
| 410 } |
| 411 |
| 408 if (use_cairo) { | 412 if (use_cairo) { |
| 409 configs += [ "//build/config/linux:pangocairo" ] | 413 configs += [ "//build/config/linux:pangocairo" ] |
| 410 } | 414 } |
| 411 } | 415 } |
| 412 | 416 |
| 413 # GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons | 417 # GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons |
| 414 action("aggregate_vector_icons") { | 418 action("aggregate_vector_icons") { |
| 415 script = "vector_icons/aggregate_vector_icons.py" | 419 script = "vector_icons/aggregate_vector_icons.py" |
| 416 sources = [ | 420 sources = [ |
| 417 "vector_icon_types.h", | 421 "vector_icon_types.h", |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 if (is_android) { | 654 if (is_android) { |
| 651 generate_jni("gfx_jni_headers") { | 655 generate_jni("gfx_jni_headers") { |
| 652 sources = [ | 656 sources = [ |
| 653 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 657 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 654 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 658 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 655 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 659 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 656 ] | 660 ] |
| 657 jni_package = "gfx" | 661 jni_package = "gfx" |
| 658 } | 662 } |
| 659 } | 663 } |
| OLD | NEW |