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("//chrome/chrome_tests.gni") | 9 import("//chrome/chrome_tests.gni") |
10 import("//chrome/test/base/js2gtest.gni") | 10 import("//chrome/test/base/js2gtest.gni") |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 "logging/win/log_file_printer.cc", | 77 "logging/win/log_file_printer.cc", |
78 "logging/win/log_file_printer.h", | 78 "logging/win/log_file_printer.h", |
79 "logging/win/log_file_reader.cc", | 79 "logging/win/log_file_reader.cc", |
80 "logging/win/log_file_reader.h", | 80 "logging/win/log_file_reader.h", |
81 "logging/win/mof_data_parser.cc", | 81 "logging/win/mof_data_parser.cc", |
82 "logging/win/mof_data_parser.h", | 82 "logging/win/mof_data_parser.h", |
83 "logging/win/test_log_collector.cc", | 83 "logging/win/test_log_collector.cc", |
84 "logging/win/test_log_collector.h", | 84 "logging/win/test_log_collector.h", |
85 ] | 85 ] |
86 | 86 |
87 configs += [ "//build/config:precompiled_headers" ] | |
88 | |
89 # New deps should go in the non-iOS section below. | 87 # New deps should go in the non-iOS section below. |
90 public_deps = [ | 88 public_deps = [ |
91 "//content/test:test_support", | 89 "//content/test:test_support", |
92 ] | 90 ] |
93 deps = [ | 91 deps = [ |
94 "//base:prefs_test_support", | 92 "//base:prefs_test_support", |
95 "//base/test:test_support", | 93 "//base/test:test_support", |
96 "//chrome:resources", | 94 "//chrome:resources", |
97 "//chrome:strings", | 95 "//chrome:strings", |
98 "//chrome/app:test_support", | 96 "//chrome/app:test_support", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 "../common/safe_browsing/ipc_protobuf_message_test.proto", | 221 "../common/safe_browsing/ipc_protobuf_message_test.proto", |
224 ] | 222 ] |
225 } | 223 } |
226 | 224 |
227 test("interactive_ui_tests") { | 225 test("interactive_ui_tests") { |
228 sources = | 226 sources = |
229 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, | 227 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, |
230 ".", | 228 ".", |
231 "//chrome") | 229 "//chrome") |
232 | 230 |
233 configs += [ "//build/config:precompiled_headers" ] | |
234 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 231 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
235 ldflags = [] | 232 ldflags = [] |
236 | 233 |
237 deps = [ | 234 deps = [ |
238 "//base/allocator", | 235 "//base/allocator", |
239 "//chrome/browser", | 236 "//chrome/browser", |
240 "//chrome/browser/devtools", | 237 "//chrome/browser/devtools", |
241 "//chrome/renderer", | 238 "//chrome/renderer", |
242 "//chrome/test:test_support", | 239 "//chrome/test:test_support", |
243 "//chrome:resources", | 240 "//chrome:resources", |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 ] | 540 ] |
544 sources += | 541 sources += |
545 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, | 542 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, |
546 ".", | 543 ".", |
547 "//chrome") | 544 "//chrome") |
548 sources += rebase_path( | 545 sources += rebase_path( |
549 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour
ces, | 546 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour
ces, |
550 ".", | 547 ".", |
551 "//chrome") | 548 "//chrome") |
552 | 549 |
553 configs += [ "//build/config:precompiled_headers" ] | |
554 | |
555 deps = [ | 550 deps = [ |
556 ":browser_tests_js_webui", | 551 ":browser_tests_js_webui", |
557 ":sync_integration_test_support", | 552 ":sync_integration_test_support", |
558 ":test_support", | 553 ":test_support", |
559 "//base", | 554 "//base", |
560 "//base:i18n", | 555 "//base:i18n", |
561 "//base/allocator", | 556 "//base/allocator", |
562 "//base/test:test_support", | 557 "//base/test:test_support", |
563 "//chrome:browser_tests_pak", | 558 "//chrome:browser_tests_pak", |
564 "//chrome:packed_extra_resources", | 559 "//chrome:packed_extra_resources", |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1152 "//chrome") | 1147 "//chrome") |
1153 } | 1148 } |
1154 } | 1149 } |
1155 | 1150 |
1156 test("unit_tests") { | 1151 test("unit_tests") { |
1157 sources = | 1152 sources = |
1158 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_sources, | 1153 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_sources, |
1159 ".", | 1154 ".", |
1160 "//chrome") | 1155 "//chrome") |
1161 | 1156 |
1162 configs += [ "//build/config:precompiled_headers" ] | |
1163 defines = [] | 1157 defines = [] |
1164 | 1158 |
1165 deps = [ | 1159 deps = [ |
1166 # NOTE: New depndencies should generally be added in the OS!="ios" | 1160 # NOTE: New depndencies should generally be added in the OS!="ios" |
1167 # dependencies block below, rather than here. | 1161 # dependencies block below, rather than here. |
1168 # Unit tests should only depend on: | 1162 # Unit tests should only depend on: |
1169 # 1) everything that the chrome binaries depend on: | 1163 # 1) everything that the chrome binaries depend on: |
1170 "//chrome:browser_dependencies", | 1164 "//chrome:browser_dependencies", |
1171 "//chrome:child_dependencies", | 1165 "//chrome:child_dependencies", |
1172 | 1166 |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 "//third_party/mojo/src/mojo/edk/system", | 1771 "//third_party/mojo/src/mojo/edk/system", |
1778 ] | 1772 ] |
1779 | 1773 |
1780 if (!is_android && use_ash) { | 1774 if (!is_android && use_ash) { |
1781 sources += rebase_path( | 1775 sources += rebase_path( |
1782 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 1776 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
1783 ".", | 1777 ".", |
1784 "//chrome") | 1778 "//chrome") |
1785 } | 1779 } |
1786 } | 1780 } |
OLD | NEW |