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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 bundle_data("gfx_unittests_bundle_data") { | 692 bundle_data("gfx_unittests_bundle_data") { |
| 693 testonly = true |
693 sources = [ | 694 sources = [ |
694 "test/data", | 695 "test/data", |
695 ] | 696 ] |
696 outputs = [ | 697 outputs = [ |
697 "{{bundle_resources_dir}}/" + | 698 "{{bundle_resources_dir}}/" + |
698 "{{source_root_relative_dir}}/{{source_file_part}}", | 699 "{{source_root_relative_dir}}/{{source_file_part}}", |
699 ] | 700 ] |
700 } | 701 } |
701 | 702 |
702 test("gfx_unittests") { | 703 test("gfx_unittests") { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 if (is_android) { | 855 if (is_android) { |
855 generate_jni("gfx_jni_headers") { | 856 generate_jni("gfx_jni_headers") { |
856 sources = [ | 857 sources = [ |
857 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 858 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
858 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 859 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
859 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 860 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
860 ] | 861 ] |
861 jni_package = "gfx" | 862 jni_package = "gfx" |
862 } | 863 } |
863 } | 864 } |
OLD | NEW |