Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: chrome/test/BUILD.gn

Issue 2364173002: Add app_list_presenterr pointer in app_list_presenter_delegate_mus to use dismiss function (Closed)
Patch Set: remove unnecessary includes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 13 matching lines...) Expand all
24 group("test") { 24 group("test") {
25 testonly = true 25 testonly = true
26 } 26 }
27 27
28 # Use a static library here because many test binaries depend on this but don't 28 # Use a static library here because many test binaries depend on this but don't
29 # require many files from it. This makes linking more efficient. 29 # require many files from it. This makes linking more efficient.
30 static_library("test_support") { 30 static_library("test_support") {
31 defines = [] 31 defines = []
32 testonly = true 32 testonly = true
33 33
34
35
36 deps = [
37 "//base",
38 "//base/test:test_support",
39 "//services/shell/background:lib",
40 "//services/shell/background/tests:test_support",
41 "//services/shell/public/cpp:sources",
42 "//services/ui/common:mus_common",
43 "//testing/gtest",
44 "//ui/aura",
45 "//ui/gl:test_support",
46 ]
47
34 sources = [ 48 sources = [
49 "//ui/views/test/native_widget_factory_mus.cc",
35 "base/chrome_process_util.cc", 50 "base/chrome_process_util.cc",
36 "base/chrome_process_util.h", 51 "base/chrome_process_util.h",
37 "base/chrome_process_util_mac.cc", 52 "base/chrome_process_util_mac.cc",
38 "base/chrome_render_view_host_test_harness.cc", 53 "base/chrome_render_view_host_test_harness.cc",
39 "base/chrome_render_view_host_test_harness.h", 54 "base/chrome_render_view_host_test_harness.h",
40 "base/chrome_test_launcher.cc", 55 "base/chrome_test_launcher.cc",
41 "base/chrome_test_launcher.h", 56 "base/chrome_test_launcher.h",
42 "base/chrome_test_suite.cc", 57 "base/chrome_test_suite.cc",
43 "base/chrome_test_suite.h", 58 "base/chrome_test_suite.h",
44 "base/chrome_unit_test_suite.cc", 59 "base/chrome_unit_test_suite.cc",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "logging/win/file_logger.cc", 91 "logging/win/file_logger.cc",
77 "logging/win/file_logger.h", 92 "logging/win/file_logger.h",
78 "logging/win/log_file_printer.cc", 93 "logging/win/log_file_printer.cc",
79 "logging/win/log_file_printer.h", 94 "logging/win/log_file_printer.h",
80 "logging/win/log_file_reader.cc", 95 "logging/win/log_file_reader.cc",
81 "logging/win/log_file_reader.h", 96 "logging/win/log_file_reader.h",
82 "logging/win/mof_data_parser.cc", 97 "logging/win/mof_data_parser.cc",
83 "logging/win/mof_data_parser.h", 98 "logging/win/mof_data_parser.h",
84 "logging/win/test_log_collector.cc", 99 "logging/win/test_log_collector.cc",
85 "logging/win/test_log_collector.h", 100 "logging/win/test_log_collector.h",
101 "views_chrome_test_suite.cc",
102 "views_chrome_test_suite.h",
86 ] 103 ]
87 104
88 configs += [ "//build/config:precompiled_headers" ] 105 configs += [ "//build/config:precompiled_headers" ]
89 106
90 # New deps should go in the non-iOS section below. 107 # New deps should go in the non-iOS section below.
91 public_deps = [ 108 public_deps = [
92 "//base/test:test_support", 109 "//base/test:test_support",
93 "//chrome:resources", 110 "//chrome:resources",
94 "//chrome:strings", 111 "//chrome:strings",
95 "//chrome/app:test_support", 112 "//chrome/app:test_support",
(...skipping 3139 matching lines...) Expand 10 before | Expand all | Expand 10 after
3235 "../browser/sync/profile_sync_service_factory_unittest.cc", 3252 "../browser/sync/profile_sync_service_factory_unittest.cc",
3236 "../browser/sync/sync_startup_tracker_unittest.cc", 3253 "../browser/sync/sync_startup_tracker_unittest.cc",
3237 "../browser/task_profiler/task_profiler_data_serializer_unittest.cc", 3254 "../browser/task_profiler/task_profiler_data_serializer_unittest.cc",
3238 "../browser/thumbnails/content_analysis_unittest.cc", 3255 "../browser/thumbnails/content_analysis_unittest.cc",
3239 "../browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc", 3256 "../browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc",
3240 "../browser/thumbnails/simple_thumbnail_crop_unittest.cc", 3257 "../browser/thumbnails/simple_thumbnail_crop_unittest.cc",
3241 "../browser/thumbnails/thumbnail_service_unittest.cc", 3258 "../browser/thumbnails/thumbnail_service_unittest.cc",
3242 "../browser/translate/translate_service_unittest.cc", 3259 "../browser/translate/translate_service_unittest.cc",
3243 "../browser/ui/android/tab_model/tab_model_list_unittest.cc", 3260 "../browser/ui/android/tab_model/tab_model_list_unittest.cc",
3244 "../browser/ui/android/tab_model/tab_model_unittest.cc", 3261 "../browser/ui/android/tab_model/tab_model_unittest.cc",
3262 "../browser/ui/ash/app_list/app_list_presenter_delegate_mus_unittest.cc",
3245 "../browser/ui/autofill/autofill_dialog_models_unittest.cc", 3263 "../browser/ui/autofill/autofill_dialog_models_unittest.cc",
3246 "../browser/ui/autofill/autofill_popup_layout_model_unittest.cc", 3264 "../browser/ui/autofill/autofill_popup_layout_model_unittest.cc",
3247 "../browser/ui/autofill/popup_view_common_unittest.cc", 3265 "../browser/ui/autofill/popup_view_common_unittest.cc",
3248 "../browser/ui/bookmarks/bookmark_editor_unittest.cc", 3266 "../browser/ui/bookmarks/bookmark_editor_unittest.cc",
3249 "../browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc", 3267 "../browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc",
3250 "../browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc", 3268 "../browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc",
3251 "../browser/ui/chrome_select_file_policy_unittest.cc", 3269 "../browser/ui/chrome_select_file_policy_unittest.cc",
3252 "../browser/ui/find_bar/find_backend_unittest.cc", 3270 "../browser/ui/find_bar/find_backend_unittest.cc",
3253 "../browser/ui/login/login_handler_unittest.cc", 3271 "../browser/ui/login/login_handler_unittest.cc",
3254 "../browser/ui/passwords/manage_passwords_state_unittest.cc", 3272 "../browser/ui/passwords/manage_passwords_state_unittest.cc",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
3324 "../../tools/json_schema_compiler/test/callbacks_unittest.cc", 3342 "../../tools/json_schema_compiler/test/callbacks_unittest.cc",
3325 "../../tools/json_schema_compiler/test/choices_unittest.cc", 3343 "../../tools/json_schema_compiler/test/choices_unittest.cc",
3326 "../../tools/json_schema_compiler/test/crossref_unittest.cc", 3344 "../../tools/json_schema_compiler/test/crossref_unittest.cc",
3327 "../../tools/json_schema_compiler/test/enums_unittest.cc", 3345 "../../tools/json_schema_compiler/test/enums_unittest.cc",
3328 "../../tools/json_schema_compiler/test/error_generation_unittest.cc", 3346 "../../tools/json_schema_compiler/test/error_generation_unittest.cc",
3329 "../../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc", 3347 "../../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc",
3330 "../../tools/json_schema_compiler/test/functions_on_types_unittest.cc", 3348 "../../tools/json_schema_compiler/test/functions_on_types_unittest.cc",
3331 "../../tools/json_schema_compiler/test/idl_schemas_unittest.cc", 3349 "../../tools/json_schema_compiler/test/idl_schemas_unittest.cc",
3332 "../../tools/json_schema_compiler/test/objects_unittest.cc", 3350 "../../tools/json_schema_compiler/test/objects_unittest.cc",
3333 "../../tools/json_schema_compiler/test/simple_api_unittest.cc", 3351 "../../tools/json_schema_compiler/test/simple_api_unittest.cc",
3352
3353 "run_all_unittests_chrome.cc",
3334 ] 3354 ]
3335 3355
3336 configs += [ "//build/config:precompiled_headers" ] 3356 configs += [ "//build/config:precompiled_headers" ]
3337 3357
3338 data = [ 3358 data = [
3339 "data/", 3359 "data/",
3340 "//base/test/data/", 3360 "//base/test/data/",
3341 "//chrome/third_party/mock4js/", 3361 "//chrome/third_party/mock4js/",
3342 "//components/test/data/", 3362 "//components/test/data/",
3343 "//extensions/test/data/", 3363 "//extensions/test/data/",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
3384 "//components/sync:test_support_sync_api", 3404 "//components/sync:test_support_sync_api",
3385 "//components/sync:test_support_sync_core", 3405 "//components/sync:test_support_sync_core",
3386 "//components/sync:test_support_sync_core_impl", 3406 "//components/sync:test_support_sync_core_impl",
3387 "//components/sync_sessions:test_support", 3407 "//components/sync_sessions:test_support",
3388 "//content/public/app:both", 3408 "//content/public/app:both",
3389 "//content/test:test_support", 3409 "//content/test:test_support",
3390 "//crypto:platform", 3410 "//crypto:platform",
3391 "//crypto:test_support", 3411 "//crypto:test_support",
3392 "//net", 3412 "//net",
3393 "//net:test_support", 3413 "//net:test_support",
3414 "//services/ui/public/cpp/tests:unittest_support",
3394 "//testing/gmock", 3415 "//testing/gmock",
3395 "//testing/gtest", 3416 "//testing/gtest",
3396 3417
3397 # 3) anything tests directly depend on 3418 # 3) anything tests directly depend on
3398 "//chrome:resources", 3419 "//chrome:resources",
3399 "//chrome:strings", 3420 "//chrome:strings",
3400 "//components/component_updater:test_support", 3421 "//components/component_updater:test_support",
3401 "//components/safe_browsing_db:test_database_manager", 3422 "//components/safe_browsing_db:test_database_manager",
3402 "//components/subresource_filter/core/browser:test_support", 3423 "//components/subresource_filter/core/browser:test_support",
3403 "//components/version_info:generate_version_info", 3424 "//components/version_info:generate_version_info",
3404 "//courgette:courgette_lib", 3425 "//courgette:courgette_lib",
3405 "//google_apis", 3426 "//google_apis",
3406 "//skia", 3427 "//skia",
3407 "//third_party/cacheinvalidation", 3428 "//third_party/cacheinvalidation",
3408 "//third_party/icu", 3429 "//third_party/icu",
3409 "//third_party/libxml", 3430 "//third_party/libxml",
3410 "//ui/base:test_support", 3431 "//ui/base:test_support",
3411 "//ui/display:test_support", 3432 "//ui/display:test_support",
3412 "//ui/gfx:test_support", 3433 "//ui/gfx:test_support",
3413 "//ui/resources", 3434 "//ui/resources",
3435 "//services/shell/background:main", # Provides main().
3414 ] 3436 ]
3415 data_deps = [] 3437
3438 data_deps = [
3439 ":unittests_manifest",
3440 "//services/ui/test_wm",
3441 ]
3442
3443 if (use_x11) {
3444 configs += [
3445 "//build/config/linux:x11",
3446 "//build/config/linux:xext",
3447 ]
3448 deps += [
3449 "//ui/events/devices",
3450 "//ui/events/platform/x11",
3451 "//ui/gfx/x",
3452 ]
3453 }
3416 3454
3417 if (!is_ios) { 3455 if (!is_ios) {
3418 deps += [ 3456 deps += [
3419 "//components/autofill/content/renderer:test_support", 3457 "//components/autofill/content/renderer:test_support",
3420 "//components/data_reduction_proxy/core/browser:test_support", 3458 "//components/data_reduction_proxy/core/browser:test_support",
3421 "//components/data_use_measurement/core", 3459 "//components/data_use_measurement/core",
3422 "//components/metrics/proto", 3460 "//components/metrics/proto",
3423 "//components/os_crypt:test_support", 3461 "//components/os_crypt:test_support",
3424 "//components/safe_browsing_db", 3462 "//components/safe_browsing_db",
3425 "//components/safe_json:test_support", 3463 "//components/safe_json:test_support",
(...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after
4997 "touch_hud", 5035 "touch_hud",
4998 "ui", 5036 "ui",
4999 ] 5037 ]
5000 5038
5001 if (is_linux && !is_android) { 5039 if (is_linux && !is_android) {
5002 deps += [ "//components/font_service:manifest" ] 5040 deps += [ "//components/font_service:manifest" ]
5003 packaged_services += [ "font_service" ] 5041 packaged_services += [ "font_service" ]
5004 } 5042 }
5005 } 5043 }
5006 } 5044 }
5045
5046 service_manifest("unittests_manifest") {
5047 type = "exe"
5048 name = "unit_tests"
5049 source = "unittests_manifest.json"
5050 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/app_list/test_window_manager_connection.cc ('k') | chrome/test/run_all_unittests_chrome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698