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

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

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting Created 4 years, 5 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 | « ui/events/BUILD.gn ('k') | ui/gl/BUILD.gn » ('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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 } 530 }
531 531
532 defines = [ "GFX_IMPLEMENTATION" ] 532 defines = [ "GFX_IMPLEMENTATION" ]
533 533
534 deps = [ 534 deps = [
535 "//base", 535 "//base",
536 "//ui/gfx/geometry", 536 "//ui/gfx/geometry",
537 ] 537 ]
538 } 538 }
539 539
540 source_set("test_support") { 540 static_library("test_support") {
541 testonly = true 541 testonly = true
542 sources = [ 542 sources = [
543 "image/image_unittest_util.cc", 543 "image/image_unittest_util.cc",
544 "image/image_unittest_util.h", 544 "image/image_unittest_util.h",
545 "image/image_unittest_util_ios.mm", 545 "image/image_unittest_util_ios.mm",
546 "image/image_unittest_util_mac.mm", 546 "image/image_unittest_util_mac.mm",
547 "test/fontconfig_util_linux.cc", 547 "test/fontconfig_util_linux.cc",
548 "test/fontconfig_util_linux.h", 548 "test/fontconfig_util_linux.h",
549 "test/gfx_util.cc", 549 "test/gfx_util.cc",
550 "test/gfx_util.h", 550 "test/gfx_util.h",
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 if (is_android) { 729 if (is_android) {
730 generate_jni("gfx_jni_headers") { 730 generate_jni("gfx_jni_headers") {
731 sources = [ 731 sources = [
732 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 732 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
733 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 733 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
734 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 734 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
735 ] 735 ]
736 jni_package = "gfx" 736 jni_package = "gfx"
737 } 737 }
738 } 738 }
OLDNEW
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698