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/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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 ] | 846 ] |
847 | 847 |
848 configs += [ "//build/config:precompiled_headers" ] | 848 configs += [ "//build/config:precompiled_headers" ] |
849 defines = [ "ASH_IMPLEMENTATION" ] | 849 defines = [ "ASH_IMPLEMENTATION" ] |
850 | 850 |
851 public_deps = [ | 851 public_deps = [ |
852 "//ash/common/strings", | 852 "//ash/common/strings", |
853 "//ash/resources", | 853 "//ash/resources", |
854 "//ash/resources/vector_icons", | 854 "//ash/resources/vector_icons", |
855 "//ash/shared:app_types", | 855 "//ash/shared:app_types", |
| 856 |
| 857 # This is a tiny dependency that just defines some service name strings & is |
| 858 # not equivalent to depending on content in a more substantial manner. |
| 859 "//content/public/common:service_names", |
856 ] | 860 ] |
857 deps = [ | 861 deps = [ |
858 "//ash/autoclick/common:autoclick", | 862 "//ash/autoclick/common:autoclick", |
859 "//ash/public/cpp", | 863 "//ash/public/cpp", |
860 "//ash/public/interfaces", | 864 "//ash/public/interfaces", |
861 "//ash/touch_hud", | 865 "//ash/touch_hud", |
862 "//base", | 866 "//base", |
863 "//base:i18n", | 867 "//base:i18n", |
864 "//base/third_party/dynamic_annotations", | 868 "//base/third_party/dynamic_annotations", |
865 "//cc", | 869 "//cc", |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 "touch/touch_transformer_controller.cc", | 991 "touch/touch_transformer_controller.cc", |
988 "touch/touch_transformer_controller.h", | 992 "touch/touch_transformer_controller.h", |
989 "touch/touchscreen_util.cc", | 993 "touch/touchscreen_util.cc", |
990 "touch/touchscreen_util.h", | 994 "touch/touchscreen_util.h", |
991 "virtual_keyboard_controller.cc", | 995 "virtual_keyboard_controller.cc", |
992 "virtual_keyboard_controller.h", | 996 "virtual_keyboard_controller.h", |
993 ] | 997 ] |
994 } | 998 } |
995 | 999 |
996 # Usage of content should be in ash_content_unittests. | 1000 # Usage of content should be in ash_content_unittests. |
997 assert_no_deps = [ "//content/*" ] | 1001 assert_no_deps = [ |
| 1002 "//content/public/browser", |
| 1003 "//content/public/common", |
| 1004 ] |
998 } | 1005 } |
999 | 1006 |
1000 component("ash_with_content") { | 1007 component("ash_with_content") { |
1001 sources = [ | 1008 sources = [ |
1002 "content/ash_with_content_export.h", | 1009 "content/ash_with_content_export.h", |
1003 "content/gpu_support_impl.cc", | 1010 "content/gpu_support_impl.cc", |
1004 "content/gpu_support_impl.h", | 1011 "content/gpu_support_impl.h", |
1005 "content/keyboard_overlay/keyboard_overlay_delegate.cc", | 1012 "content/keyboard_overlay/keyboard_overlay_delegate.cc", |
1006 "content/keyboard_overlay/keyboard_overlay_delegate.h", | 1013 "content/keyboard_overlay/keyboard_overlay_delegate.h", |
1007 "content/keyboard_overlay/keyboard_overlay_view.cc", | 1014 "content/keyboard_overlay/keyboard_overlay_view.cc", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 "shell/toplevel_window.cc", | 1064 "shell/toplevel_window.cc", |
1058 "shell/toplevel_window.h", | 1065 "shell/toplevel_window.h", |
1059 "shell/widgets.cc", | 1066 "shell/widgets.cc", |
1060 "shell/window_watcher.cc", | 1067 "shell/window_watcher.cc", |
1061 "shell/window_watcher.h", | 1068 "shell/window_watcher.h", |
1062 "shell/window_watcher_shelf_item_delegate.cc", | 1069 "shell/window_watcher_shelf_item_delegate.cc", |
1063 "shell/window_watcher_shelf_item_delegate.h", | 1070 "shell/window_watcher_shelf_item_delegate.h", |
1064 ] | 1071 ] |
1065 | 1072 |
1066 # Usage of content should be in ash_shell_lib_with_content. | 1073 # Usage of content should be in ash_shell_lib_with_content. |
1067 assert_no_deps = [ "//content/*" ] | 1074 assert_no_deps = [ |
| 1075 "//content/public/browser", |
| 1076 "//content/public/common", |
| 1077 ] |
1068 | 1078 |
1069 deps = [ | 1079 deps = [ |
1070 ":ash", | 1080 ":ash", |
1071 "//ash/common/test:test_support", | 1081 "//ash/common/test:test_support", |
1072 "//ash/public/cpp", | 1082 "//ash/public/cpp", |
1073 "//ash/test:test_support_without_content", | 1083 "//ash/test:test_support_without_content", |
1074 "//base", | 1084 "//base", |
1075 "//base:i18n", | 1085 "//base:i18n", |
1076 "//components/user_manager", | 1086 "//components/user_manager", |
1077 "//skia", | 1087 "//skia", |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 "wm/maximize_mode/maximize_mode_window_manager_unittest.cc", | 1470 "wm/maximize_mode/maximize_mode_window_manager_unittest.cc", |
1461 "wm/workspace/workspace_window_resizer_unittest.cc", | 1471 "wm/workspace/workspace_window_resizer_unittest.cc", |
1462 ] | 1472 ] |
1463 } | 1473 } |
1464 | 1474 |
1465 if (!use_x11 || !is_chromeos) { | 1475 if (!use_x11 || !is_chromeos) { |
1466 sources -= [ "touch/touch_transformer_controller_unittest.cc" ] | 1476 sources -= [ "touch/touch_transformer_controller_unittest.cc" ] |
1467 } | 1477 } |
1468 | 1478 |
1469 # Usage of content should be in ash_with_content. | 1479 # Usage of content should be in ash_with_content. |
1470 assert_no_deps = [ "//content/*" ] | 1480 assert_no_deps = [ |
| 1481 "//content/public/browser", |
| 1482 "//content/public/common", |
| 1483 ] |
1471 } | 1484 } |
1472 | 1485 |
1473 executable("ash_shell_with_content") { | 1486 executable("ash_shell_with_content") { |
1474 testonly = true | 1487 testonly = true |
1475 sources = [ | 1488 sources = [ |
1476 "shell/content/shell_with_content_main.cc", | 1489 "shell/content/shell_with_content_main.cc", |
1477 ] | 1490 ] |
1478 | 1491 |
1479 deps = [ | 1492 deps = [ |
1480 ":ash_shell_lib_with_content", | 1493 ":ash_shell_lib_with_content", |
(...skipping 14 matching lines...) Expand all Loading... |
1495 if (is_win) { | 1508 if (is_win) { |
1496 configs -= [ "//build/config/win:console" ] | 1509 configs -= [ "//build/config/win:console" ] |
1497 configs += [ "//build/config/win:windowed" ] | 1510 configs += [ "//build/config/win:windowed" ] |
1498 deps += [ "//sandbox" ] | 1511 deps += [ "//sandbox" ] |
1499 } | 1512 } |
1500 | 1513 |
1501 if (is_chromeos) { | 1514 if (is_chromeos) { |
1502 deps += [ "//device/bluetooth" ] | 1515 deps += [ "//device/bluetooth" ] |
1503 } | 1516 } |
1504 } | 1517 } |
OLD | NEW |