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

Side by Side Diff: ash/BUILD.gn

Issue 2374893002: Adds AshTest (Closed)
Patch Set: real feedback 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
« no previous file with comments | « no previous file | ash/common/test/ash_test.h » ('j') | ash/common/test/ash_test.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//ui/base/ui_features.gni") 8 import("//ui/base/ui_features.gni")
9 9
10 assert(use_aura) 10 assert(use_aura)
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 "//ui/keyboard:keyboard_with_content", 997 "//ui/keyboard:keyboard_with_content",
998 "//ui/resources", 998 "//ui/resources",
999 "//ui/strings", 999 "//ui/strings",
1000 "//ui/views", 1000 "//ui/views",
1001 "//ui/views/controls/webview", 1001 "//ui/views/controls/webview",
1002 "//ui/web_dialogs", 1002 "//ui/web_dialogs",
1003 "//url", 1003 "//url",
1004 ] 1004 ]
1005 } 1005 }
1006 1006
1007 # Used to test ash with an aura backend.
1008 source_set("ash_with_aura_test_support") {
1009 testonly = true
1010 sources = [
1011 "test/ash_test_impl_aura.cc",
1012 "test/ash_test_impl_aura.h",
1013 ]
1014 deps = [
1015 ":ash",
1016 ":test_support_common",
1017 "//base",
1018 "//skia",
1019 "//ui/display",
1020 ]
1021 }
1022
1007 # Internal target consumed by |test_support_with_content| and 1023 # Internal target consumed by |test_support_with_content| and
1008 # |test_support_without_content|. This target contains all the test support 1024 # |test_support_without_content|. This target contains all the test support
1009 # files, with the exception of an implementation of AshTestEnvironment. 1025 # files, with the exception of an implementation of AshTestEnvironment.
1010 # Consumers of ash should use one of |test_support_with_content| or 1026 # Consumers of ash should use one of |test_support_with_content| or
1011 # |test_support_without_content|. 1027 # |test_support_without_content|.
1012 static_library("test_support_common") { 1028 static_library("test_support_common") {
1013 testonly = true 1029 testonly = true
1014 visibility = [ ":*" ] 1030 visibility = [ ":*" ]
1015 sources = [ 1031 sources = [
1032 "common/test/ash_test.cc",
1033 "common/test/ash_test.h",
1034 "common/test/ash_test_impl.h",
1016 "common/test/material_design_controller_test_api.cc", 1035 "common/test/material_design_controller_test_api.cc",
1017 "common/test/material_design_controller_test_api.h", 1036 "common/test/material_design_controller_test_api.h",
1018 "common/test/test_palette_delegate.cc", 1037 "common/test/test_palette_delegate.cc",
1019 "common/test/test_palette_delegate.h", 1038 "common/test/test_palette_delegate.h",
1020 "common/test/test_volume_control_delegate.cc", 1039 "common/test/test_volume_control_delegate.cc",
1021 "common/test/test_volume_control_delegate.h", 1040 "common/test/test_volume_control_delegate.h",
1022 "shell/toplevel_window.cc", 1041 "shell/toplevel_window.cc",
1023 "shell/toplevel_window.h", 1042 "shell/toplevel_window.h",
1024 "test/ash_md_test_base.cc", 1043 "test/ash_md_test_base.cc",
1025 "test/ash_md_test_base.h", 1044 "test/ash_md_test_base.h",
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 "content/keyboard_overlay/keyboard_overlay_view_unittest.cc", 1329 "content/keyboard_overlay/keyboard_overlay_view_unittest.cc",
1311 "test/ash_unittests.cc", 1330 "test/ash_unittests.cc",
1312 ] 1331 ]
1313 configs += [ 1332 configs += [
1314 "//build/config:precompiled_headers", 1333 "//build/config:precompiled_headers",
1315 "//build/config/compiler:no_size_t_to_int_warning", 1334 "//build/config/compiler:no_size_t_to_int_warning",
1316 ] 1335 ]
1317 1336
1318 deps = [ 1337 deps = [
1319 ":ash", 1338 ":ash",
1339 ":ash_with_aura_test_support",
1320 ":ash_with_content", 1340 ":ash_with_content",
1321 ":test_support_with_content", 1341 ":test_support_with_content",
1322 "//base", 1342 "//base",
1323 "//base/test:test_support", 1343 "//base/test:test_support",
1324 "//components/signin/core/account_id", 1344 "//components/signin/core/account_id",
1325 "//components/user_manager", 1345 "//components/user_manager",
1326 "//content/public/browser", 1346 "//content/public/browser",
1327 "//content/test:test_support", 1347 "//content/test:test_support",
1328 "//mojo/edk/system", 1348 "//mojo/edk/system",
1329 "//skia", 1349 "//skia",
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 "wm/workspace_controller_test_helper.h", 1530 "wm/workspace_controller_test_helper.h",
1511 "wm/workspace_controller_unittest.cc", 1531 "wm/workspace_controller_unittest.cc",
1512 ] 1532 ]
1513 configs += [ 1533 configs += [
1514 "//build/config:precompiled_headers", 1534 "//build/config:precompiled_headers",
1515 "//build/config/compiler:no_size_t_to_int_warning", 1535 "//build/config/compiler:no_size_t_to_int_warning",
1516 ] 1536 ]
1517 1537
1518 deps = [ 1538 deps = [
1519 ":ash", 1539 ":ash",
1540 ":ash_with_aura_test_support",
1520 ":test_support_without_content", 1541 ":test_support_without_content",
1521 "//ash/autoclick/common:autoclick", 1542 "//ash/autoclick/common:autoclick",
1522 "//ash/common/strings", 1543 "//ash/common/strings",
1523 "//ash/resources", 1544 "//ash/resources",
1524 "//ash/touch_hud", 1545 "//ash/touch_hud",
1525 "//base", 1546 "//base",
1526 "//base/test:test_support", 1547 "//base/test:test_support",
1527 "//components/signin/core/account_id", 1548 "//components/signin/core/account_id",
1528 "//components/user_manager", 1549 "//components/user_manager",
1529 "//mojo/edk/system", 1550 "//mojo/edk/system",
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 if (is_win) { 1671 if (is_win) {
1651 configs -= [ "//build/config/win:console" ] 1672 configs -= [ "//build/config/win:console" ]
1652 configs += [ "//build/config/win:windowed" ] 1673 configs += [ "//build/config/win:windowed" ]
1653 deps += [ "//sandbox" ] 1674 deps += [ "//sandbox" ]
1654 } 1675 }
1655 1676
1656 if (is_chromeos) { 1677 if (is_chromeos) {
1657 deps += [ "//device/bluetooth" ] 1678 deps += [ "//device/bluetooth" ]
1658 } 1679 }
1659 } 1680 }
OLDNEW
« no previous file with comments | « no previous file | ash/common/test/ash_test.h » ('j') | ash/common/test/ash_test.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698