From 70a066a5b57a18a34161fd60d302c605dcf43a32 Mon Sep 17 00:00:00 2001 From: sky Date: Mon, 2 Nov 2015 11:53:07 -0800 Subject: [PATCH] Fix gn check for components/mus Someone removed this from gn check a while back when it was fine. This fixes the issues that crept in and adds it back to .gn. BUG=none TEST=none R=brettw@chromium.org TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/1410743006 Cr-Commit-Position: refs/heads/master@{#357410} --- .gn | 3 ++- components/mus/example/mock_sysui/BUILD.gn | 1 + components/mus/example/wm/window_layout.cc | 1 - components/mus/public/cpp/tests/BUILD.gn | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gn b/.gn index 6f4d7f54493c63..abde532ca361bc 100644 --- a/.gn +++ b/.gn @@ -106,7 +106,8 @@ check_targets = [ #"//components/metrics/*", #"//components/metrics_services_manager/*", #"//components/mime_util/*", - #"//components/mus/*", + "//components/mus/*", + #"//components/nacl/*", #"//components/navigation_interception/*", #"//components/navigation_metrics/*", diff --git a/components/mus/example/mock_sysui/BUILD.gn b/components/mus/example/mock_sysui/BUILD.gn index c01ef85d64ae44..932520ce91cc9d 100644 --- a/components/mus/example/mock_sysui/BUILD.gn +++ b/components/mus/example/mock_sysui/BUILD.gn @@ -20,6 +20,7 @@ mojo_native_application("mock_sysui") { "//components/mus/public/interfaces", "//mojo/application/public/cpp", "//mojo/common:common_base", + "//mojo/converters/network", "//skia", "//ui/views", "//ui/views/mus", diff --git a/components/mus/example/wm/window_layout.cc b/components/mus/example/wm/window_layout.cc index 2fa3d42e4761ad..af9365b7b296f8 100644 --- a/components/mus/example/wm/window_layout.cc +++ b/components/mus/example/wm/window_layout.cc @@ -8,7 +8,6 @@ #include "components/mus/public/cpp/property_type_converters.h" #include "components/mus/public/cpp/window.h" #include "components/mus/public/cpp/window_property.h" -#include "ui/mojo/geometry/geometry_util.h" WindowLayout::WindowLayout(mus::Window* owner) : LayoutManager(owner) { AddLayoutProperty(mus::mojom::WindowManager::kPreferredSize_Property); diff --git a/components/mus/public/cpp/tests/BUILD.gn b/components/mus/public/cpp/tests/BUILD.gn index 97ab6b0694a168..9db2d6da714782 100644 --- a/components/mus/public/cpp/tests/BUILD.gn +++ b/components/mus/public/cpp/tests/BUILD.gn @@ -11,6 +11,7 @@ source_set("unittest_support") { ] deps = [ + "//base", "//components/mus/public/cpp", ] }