| 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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//chrome/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 "//media:test_support", | 156 "//media:test_support", |
| 157 "//ppapi/shared_impl", | 157 "//ppapi/shared_impl", |
| 158 "//sql:test_support", | 158 "//sql:test_support", |
| 159 "//third_party/leveldatabase", | 159 "//third_party/leveldatabase", |
| 160 "//ui/base", | 160 "//ui/base", |
| 161 "//ui/events:events_base", | 161 "//ui/events:events_base", |
| 162 "//ui/gl", | 162 "//ui/gl", |
| 163 ] | 163 ] |
| 164 } | 164 } |
| 165 | 165 |
| 166 if (is_android) { |
| 167 sources -= [ |
| 168 "base/dialog_test_browser_window.cc", |
| 169 "base/dialog_test_browser_window.h", |
| 170 "base/in_process_browser_test.cc", |
| 171 "base/in_process_browser_test.h", |
| 172 "base/test_browser_window.cc", |
| 173 "base/test_browser_window.h", |
| 174 ] |
| 175 } |
| 176 |
| 166 if (enable_extensions) { | 177 if (enable_extensions) { |
| 167 deps += [ | 178 deps += [ |
| 168 "//chrome/common/extensions/api", | 179 "//chrome/common/extensions/api", |
| 169 "//extensions:test_support", | 180 "//extensions:test_support", |
| 170 ] | 181 ] |
| 171 } | 182 } |
| 172 | 183 |
| 173 if (is_linux) { | 184 if (is_linux) { |
| 174 deps += [ "//crypto:platform" ] | 185 deps += [ "//crypto:platform" ] |
| 175 } | 186 } |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 testonly = true | 663 testonly = true |
| 653 deps = [ | 664 deps = [ |
| 654 ":browser_tests", | 665 ":browser_tests", |
| 655 ] | 666 ] |
| 656 } | 667 } |
| 657 | 668 |
| 658 # TODO(GYP): Delete this after we've converted everything to GN. | 669 # TODO(GYP): Delete this after we've converted everything to GN. |
| 659 # The _run targets exist only for compatibility w/ GYP. | 670 # The _run targets exist only for compatibility w/ GYP. |
| 660 group("browser_tests_run") { | 671 group("browser_tests_run") { |
| 661 testonly = true | 672 testonly = true |
| 662 data_deps = [ ":browser_tests" ] | 673 data_deps = [ |
| 674 ":browser_tests", |
| 675 ] |
| 663 } | 676 } |
| 664 | 677 |
| 665 test("browser_tests") { | 678 test("browser_tests") { |
| 666 sources = [ | 679 sources = [ |
| 667 "base/browser_tests_main.cc", | 680 "base/browser_tests_main.cc", |
| 668 ] | 681 ] |
| 669 sources += | 682 sources += |
| 670 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, | 683 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, |
| 671 ".", | 684 ".", |
| 672 "//chrome") | 685 "//chrome") |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 "//chrome/renderer", | 1214 "//chrome/renderer", |
| 1202 "//crypto:platform", | 1215 "//crypto:platform", |
| 1203 "//sync", | 1216 "//sync", |
| 1204 "//testing/gmock", | 1217 "//testing/gmock", |
| 1205 "//testing/gtest", | 1218 "//testing/gtest", |
| 1206 "//third_party/icu", | 1219 "//third_party/icu", |
| 1207 "//third_party/leveldatabase", | 1220 "//third_party/leveldatabase", |
| 1208 "//third_party/WebKit/public:blink", | 1221 "//third_party/WebKit/public:blink", |
| 1209 ] | 1222 ] |
| 1210 | 1223 |
| 1211 data_deps = [ "//third_party/mesa:osmesa" ] | 1224 data_deps = [ |
| 1225 "//third_party/mesa:osmesa", |
| 1226 ] |
| 1212 | 1227 |
| 1213 if (cld_version == 2) { | 1228 if (cld_version == 2) { |
| 1214 # Language detection is irrelevant to sync, so it can depend on any | 1229 # Language detection is irrelevant to sync, so it can depend on any |
| 1215 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | 1230 # implementation for CLD2. Dynamic is smaller, so go with dynamic. |
| 1216 deps += [ "//third_party/cld_2:cld2_dynamic" ] | 1231 deps += [ "//third_party/cld_2:cld2_dynamic" ] |
| 1217 } | 1232 } |
| 1218 if (is_mac) { | 1233 if (is_mac) { |
| 1219 # Dictionary sync is disabled on Mac. | 1234 # Dictionary sync is disabled on Mac. |
| 1220 sources -= [ | 1235 sources -= [ |
| 1221 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c
c", | 1236 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c
c", |
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2019 "//third_party/mojo/src/mojo/edk/system", | 2034 "//third_party/mojo/src/mojo/edk/system", |
| 2020 ] | 2035 ] |
| 2021 | 2036 |
| 2022 if (!is_android && use_ash) { | 2037 if (!is_android && use_ash) { |
| 2023 sources += rebase_path( | 2038 sources += rebase_path( |
| 2024 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2039 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
| 2025 ".", | 2040 ".", |
| 2026 "//chrome") | 2041 "//chrome") |
| 2027 } | 2042 } |
| 2028 } | 2043 } |
| OLD | NEW |