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