Chromium Code Reviews| 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 682 sources -= [ | 682 sources -= [ |
| 683 "test/ui_cocoa_test_helper.h", | 683 "test/ui_cocoa_test_helper.h", |
| 684 "test/ui_cocoa_test_helper.mm", | 684 "test/ui_cocoa_test_helper.mm", |
| 685 ] | 685 ] |
| 686 } | 686 } |
| 687 if (is_linux) { | 687 if (is_linux) { |
| 688 deps += [ "//build/linux:fontconfig" ] | 688 deps += [ "//build/linux:fontconfig" ] |
| 689 } | 689 } |
| 690 } | 690 } |
| 691 | 691 |
| 692 test("gfx_perftests") { | |
| 693 sources = [ | |
| 694 "codec/png_codec_perftest.cc", | |
| 695 ] | |
| 696 data = [ | |
| 697 "test/data/", | |
| 698 ] | |
| 699 deps = [ | |
| 700 ":gfx", | |
| 701 "//base", | |
| 702 "//cc", | |
|
danakj
2016/04/22 20:29:45
Hmmm, I wish that LapTimer was in cc:test_support,
| |
| 703 "//testing/gtest", | |
| 704 "//testing/gtest:gtest_main", | |
| 705 "//testing/perf", | |
| 706 ] | |
| 707 } | |
| 708 | |
| 692 test("gfx_unittests") { | 709 test("gfx_unittests") { |
| 693 sources = [ | 710 sources = [ |
| 694 "font_render_params_linux_unittest.cc", | 711 "font_render_params_linux_unittest.cc", |
| 695 "font_unittest.cc", | 712 "font_unittest.cc", |
| 696 "image/image_family_unittest.cc", | 713 "image/image_family_unittest.cc", |
| 697 "image/image_ios_unittest.mm", | 714 "image/image_ios_unittest.mm", |
| 698 "image/image_skia_unittest.cc", | 715 "image/image_skia_unittest.cc", |
| 699 "image/image_unittest.cc", | 716 "image/image_unittest.cc", |
| 700 "ios/NSString+CrStringDrawing_unittest.mm", | 717 "ios/NSString+CrStringDrawing_unittest.mm", |
| 701 "ios/uikit_util_unittest.mm", | 718 "ios/uikit_util_unittest.mm", |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 842 if (is_android) { | 859 if (is_android) { |
| 843 generate_jni("gfx_jni_headers") { | 860 generate_jni("gfx_jni_headers") { |
| 844 sources = [ | 861 sources = [ |
| 845 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 862 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 846 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 863 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 847 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 864 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 848 ] | 865 ] |
| 849 jni_package = "gfx" | 866 jni_package = "gfx" |
| 850 } | 867 } |
| 851 } | 868 } |
| OLD | NEW |