Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 1263323004: Add NativePixmapHandle type & interface for exporting them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast build Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698