| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//ios/build/config.gni") | 5 import("//ios/build/config.gni") |
| 6 import("//ios/public/provider/chrome/browser/build_config.gni") | 6 import("//ios/public/provider/chrome/browser/build_config.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 # All tests needs to be listed in that target to be built as part of | 9 # All tests needs to be listed in that target to be built as part of |
| 10 # "gn_all" target (i.e. by the bots). | 10 # "gn_all" target (i.e. by the bots). |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 deps = [ | 74 deps = [ |
| 75 "//base", | 75 "//base", |
| 76 "//testing/gtest", | 76 "//testing/gtest", |
| 77 "//third_party/google_toolbox_for_mac", | 77 "//third_party/google_toolbox_for_mac", |
| 78 ] | 78 ] |
| 79 } | 79 } |
| 80 | 80 |
| 81 test("ios_chrome_perftests") { | 81 test("ios_chrome_perftests") { |
| 82 deps = [ | 82 deps = [ |
| 83 # Ensure that all perf tests are run, use fake hooks and pack resources. | 83 # Ensure that all perf tests are run, use fake hooks and pack resources. |
| 84 ":run_all_unittests", |
| 84 "//ios/chrome/app:tests_fake_hook", | 85 "//ios/chrome/app:tests_fake_hook", |
| 85 "//ios/chrome/test:run_all_unittests", | |
| 86 ios_packed_resources_target, | 86 ios_packed_resources_target, |
| 87 | 87 |
| 88 # Add perf_tests target here. | 88 # Add perf_tests target here. |
| 89 "//ios/chrome/browser/ui:perf_tests", | 89 "//ios/chrome/browser/ui:perf_tests", |
| 90 "//ios/chrome/browser/ui/ntp:perf_tests", | 90 "//ios/chrome/browser/ui/ntp:perf_tests", |
| 91 "//ios/chrome/browser/ui/stack_view:perf_tests", | 91 "//ios/chrome/browser/ui/stack_view:perf_tests", |
| 92 "//ios/chrome/browser/web:perf_tests", | 92 "//ios/chrome/browser/web:perf_tests", |
| 93 ] | 93 ] |
| 94 | 94 |
| 95 assert_no_deps = ios_assert_no_deps | 95 assert_no_deps = ios_assert_no_deps |
| 96 } | 96 } |
| 97 | 97 |
| 98 test("ios_chrome_unittests") { | 98 test("ios_chrome_unittests") { |
| 99 deps = [ | 99 deps = [ |
| 100 # Ensure that all unit tests are run, use fake hooks and pack resources. | 100 # Ensure that all unit tests are run, use fake hooks and pack resources. |
| 101 ":run_all_unittests", |
| 101 "//ios/chrome/app:tests_fake_hook", | 102 "//ios/chrome/app:tests_fake_hook", |
| 102 "//ios/chrome/test:run_all_unittests", | |
| 103 ios_packed_resources_target, | 103 ios_packed_resources_target, |
| 104 | 104 |
| 105 # Add unit_tests target here. | 105 # Add unit_tests target here. |
| 106 ":unit_tests", | 106 ":unit_tests", |
| 107 "//ios/chrome/app:unit_tests", | 107 "//ios/chrome/app:unit_tests", |
| 108 "//ios/chrome/app/application_delegate:unit_tests", | 108 "//ios/chrome/app/application_delegate:unit_tests", |
| 109 "//ios/chrome/app/safe_mode:unit_tests", | 109 "//ios/chrome/app/safe_mode:unit_tests", |
| 110 "//ios/chrome/app/spotlight:unit_tests", | 110 "//ios/chrome/app/spotlight:unit_tests", |
| 111 "//ios/chrome/browser:unit_tests", | 111 "//ios/chrome/browser:unit_tests", |
| 112 "//ios/chrome/browser/autofill:unit_tests", | 112 "//ios/chrome/browser/autofill:unit_tests", |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 "//ios/chrome/browser/web:unit_tests", | 178 "//ios/chrome/browser/web:unit_tests", |
| 179 "//ios/chrome/browser/web:unit_tests_internal", | 179 "//ios/chrome/browser/web:unit_tests_internal", |
| 180 "//ios/chrome/browser/web_resource:unit_tests", | 180 "//ios/chrome/browser/web_resource:unit_tests", |
| 181 "//ios/chrome/common:unit_tests", | 181 "//ios/chrome/common:unit_tests", |
| 182 "//ios/chrome/test/base:unit_tests", | 182 "//ios/chrome/test/base:unit_tests", |
| 183 "//ios/web/public/image_fetcher:unit_tests", | 183 "//ios/web/public/image_fetcher:unit_tests", |
| 184 ] | 184 ] |
| 185 | 185 |
| 186 assert_no_deps = ios_assert_no_deps | 186 assert_no_deps = ios_assert_no_deps |
| 187 } | 187 } |
| OLD | NEW |