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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build_overrides/v8.gni") | 9 import("//build_overrides/v8.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
11 import("//mojo/public/tools/bindings/mojom.gni") | 11 import("//mojo/public/tools/bindings/mojom.gni") |
12 import("//testing/test.gni") | 12 import("//testing/test.gni") |
13 import("//third_party/openh264/openh264_args.gni") | |
13 | 14 |
14 content_tests_gypi_values = | 15 content_tests_gypi_values = |
15 exec_script("//build/gypi_to_gn.py", | 16 exec_script("//build/gypi_to_gn.py", |
16 [ | 17 [ |
17 rebase_path("../content_tests.gypi"), | 18 rebase_path("../content_tests.gypi"), |
18 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", | 19 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", |
19 ], | 20 ], |
20 "scope", | 21 "scope", |
21 [ "../content_tests.gypi" ]) | 22 [ "../content_tests.gypi" ]) |
22 | 23 |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
766 "//ui/ozone:ozone_base", | 767 "//ui/ozone:ozone_base", |
767 ] | 768 ] |
768 } else { | 769 } else { |
769 sources -= | 770 sources -= |
770 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ] | 771 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ] |
771 } | 772 } |
772 | 773 |
773 if (is_mac && use_openssl) { | 774 if (is_mac && use_openssl) { |
774 deps += [ "//third_party/boringssl" ] | 775 deps += [ "//third_party/boringssl" ] |
775 } | 776 } |
777 | |
778 if (use_openh264) { | |
779 sources += [ "../browser/media/openh264_unittests.cc" ] | |
780 deps += [ "//third_party/openh264/testing:openh264_testing" ] | |
Dirk Pranke
2015/11/19 02:46:56
see comment in openh264_unittests; I don't underst
hbos_chromium
2015/11/19 13:00:43
There's overhead in creating new test binaries, I'
| |
781 } | |
776 } | 782 } |
777 | 783 |
778 test("content_perftests") { | 784 test("content_perftests") { |
779 sources = [ | 785 sources = [ |
780 "../browser/renderer_host/input/input_router_impl_perftest.cc", | 786 "../browser/renderer_host/input/input_router_impl_perftest.cc", |
781 "../common/cc_messages_perftest.cc", | 787 "../common/cc_messages_perftest.cc", |
782 "../test/run_all_perftests.cc", | 788 "../test/run_all_perftests.cc", |
783 ] | 789 ] |
784 deps = [ | 790 deps = [ |
785 "//base/allocator", | 791 "//base/allocator", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
859 "//gpu/blink", | 865 "//gpu/blink", |
860 "//testing/gtest", | 866 "//testing/gtest", |
861 "//third_party/WebKit/public:blink", | 867 "//third_party/WebKit/public:blink", |
862 "//ui/base", | 868 "//ui/base", |
863 "//ui/gfx", | 869 "//ui/gfx", |
864 "//ui/gfx/geometry", | 870 "//ui/gfx/geometry", |
865 "//ui/gl", | 871 "//ui/gl", |
866 "//ui/gl:test_support", | 872 "//ui/gl:test_support", |
867 ] | 873 ] |
868 } | 874 } |
OLD | NEW |