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

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

Issue 2711933002: Rename ClientNativePixmapFactoryGbm to ClientNativePixmapFactoryDmabuf amd move to ui/gfx (Closed)
Patch Set: Rebased and addressed spang's remarks Created 3 years, 9 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 | « no previous file | ui/gfx/linux/client_native_pixmap_dmabuf.h » ('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/linux/pkg_config.gni")
spang 2017/03/22 01:48:18 remove.
Julien Isorce 2017/03/22 12:40:16 Done.
5 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 8 import("//testing/libfuzzer/fuzzer_test.gni")
8 9
9 if (is_android) { 10 if (is_android) {
10 import("//build/config/android/config.gni") 11 import("//build/config/android/config.gni")
11 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
12 } 13 }
13 14
14 # Several targets want to include this header file, and some of them are 15 # Several targets want to include this header file, and some of them are
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 ] 521 ]
521 } 522 }
522 523
523 defines = [ "GFX_IMPLEMENTATION" ] 524 defines = [ "GFX_IMPLEMENTATION" ]
524 525
525 deps = [ 526 deps = [
526 ":native_widget_types", 527 ":native_widget_types",
527 "//base", 528 "//base",
528 "//ui/gfx/geometry", 529 "//ui/gfx/geometry",
529 ] 530 ]
531
532 if (is_linux) {
533 sources += [
534 "linux/client_native_pixmap_dmabuf.cc",
535 "linux/client_native_pixmap_dmabuf.h",
536 "linux/client_native_pixmap_factory_dmabuf.cc",
537 "linux/client_native_pixmap_factory_dmabuf.h",
538 ]
539
540 deps += [ "//third_party/libdrm" ]
541 }
530 } 542 }
531 543
532 static_library("test_support") { 544 static_library("test_support") {
533 testonly = true 545 testonly = true
534 sources = [ 546 sources = [
535 "geometry/test/rect_test_util.cc", 547 "geometry/test/rect_test_util.cc",
536 "geometry/test/rect_test_util.h", 548 "geometry/test/rect_test_util.h",
537 "image/image_unittest_util.cc", 549 "image/image_unittest_util.cc",
538 "image/image_unittest_util.h", 550 "image/image_unittest_util.h",
539 "image/image_unittest_util_ios.mm", 551 "image/image_unittest_util_ios.mm",
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 760
749 fuzzer_test("color_transform_fuzztest") { 761 fuzzer_test("color_transform_fuzztest") {
750 sources = [ 762 sources = [
751 "color_transform_fuzzer.cc", 763 "color_transform_fuzzer.cc",
752 ] 764 ]
753 deps = [ 765 deps = [
754 ":gfx", 766 ":gfx",
755 ] 767 ]
756 libfuzzer_options = [ "max_len=1024" ] 768 libfuzzer_options = [ "max_len=1024" ]
757 } 769 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/linux/client_native_pixmap_dmabuf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698