| Index: ash/BUILD.gn
|
| diff --git a/ash/BUILD.gn b/ash/BUILD.gn
|
| index e9d599406e82f5d46a2113aa48a168ac16b3f226..d00bfb7967c4f16db47d3111c5719c6913549c8d 100644
|
| --- a/ash/BUILD.gn
|
| +++ b/ash/BUILD.gn
|
| @@ -152,6 +152,9 @@ component("ash") {
|
| "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h",
|
| ]
|
| }
|
| +
|
| + # Usage of content should be in ash_content_unittests.
|
| + assert_no_deps = [ "//content/*" ]
|
| }
|
|
|
| component("ash_with_content") {
|
| @@ -407,7 +410,7 @@ test("ash_content_unittests") {
|
|
|
| data_deps = [
|
| "//ash/common/strings:ash_test_strings",
|
| - "//ash/resources:ash_test_resources_100_percent",
|
| + "//ash/resources:ash_test_resources_with_content_100_percent",
|
| "//ash/resources:ash_test_resources_200_percent",
|
| ]
|
|
|
| @@ -537,6 +540,9 @@ test("ash_unittests") {
|
| if (!use_x11 || !is_chromeos) {
|
| sources -= [ "touch/touch_transformer_controller_unittest.cc" ]
|
| }
|
| +
|
| + # Usage of content should be in ash_with_content.
|
| + assert_no_deps = [ "//content/*" ]
|
| }
|
|
|
| executable("ash_shell_with_content") {
|
| @@ -557,7 +563,7 @@ executable("ash_shell_with_content") {
|
|
|
| data_deps = [
|
| "//ash/common/strings:ash_test_strings",
|
| - "//ash/resources:ash_test_resources_100_percent",
|
| + "//ash/resources:ash_test_resources_with_content_100_percent",
|
| "//ash/resources:ash_test_resources_200_percent",
|
| ]
|
|
|
|
|