Commit e8aa5e34 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

latency_info: remove unnecessary dep

latency_info was including and depending upon gfx, but it isn't actually
using anything from there. This removes the deps and fixs the targets that
were using gfx.

BUG=none
TEST=none

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel
Change-Id: I7f5f04316b9d11d55ed442d99e34e4155e36566a
Reviewed-on: https://chromium-review.googlesource.com/c/1267516Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597638}
parent 87618746
......@@ -349,6 +349,7 @@ source_set("common") {
"//ui/events/blink",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gfx/geometry/mojo:struct_traits",
"//ui/gfx/ipc",
"//ui/gfx/ipc/color",
"//ui/gfx/ipc/geometry",
......
......@@ -7,6 +7,7 @@ public_headers = [ "//cc/trees/render_frame_metadata.h" ]
traits_headers = [ "//content/common/render_frame_metadata_struct_traits.h" ]
deps = [
"//cc",
"//ui/gfx/geometry/mojo:struct_traits",
]
sources = [
"//content/common/render_frame_metadata_struct_traits.cc",
......
......@@ -1945,6 +1945,7 @@ test("content_unittests") {
"//ui/events/blink",
"//ui/gfx:test_support",
"//ui/gfx/geometry",
"//ui/gfx/geometry/mojo:struct_traits",
"//ui/gfx/ipc",
"//ui/gfx/ipc/skia",
"//ui/gl",
......
......@@ -47,5 +47,6 @@ source_set("perftests") {
"//ui/gfx",
"//ui/gfx:test_support",
"//ui/gfx/geometry",
"//ui/gfx/geometry/mojo:struct_traits",
]
}
......@@ -14,4 +14,5 @@ sources = [
type_mappings = [ "viz.mojom.TransferableResource=viz::TransferableResource" ]
deps = [
"//gpu/ipc/common:struct_traits",
"//ui/gfx/geometry/mojo:struct_traits",
]
......@@ -70,6 +70,7 @@ source_set("tests") {
"//testing/gtest",
"//ui/display/types",
"//ui/gfx:test_support",
"//ui/gfx/geometry/mojo:struct_traits",
"//ui/gfx/range/mojo:struct_traits",
]
}
......@@ -6,3 +6,6 @@ mojom = "//ui/gfx/mojo/selection_bound.mojom"
public_headers = [ "//ui/gfx/selection_bound.h" ]
traits_headers = [ "//ui/gfx/mojo/selection_bound_struct_traits.h" ]
type_mappings = [ "gfx.mojom.SelectionBound=gfx::SelectionBound" ]
deps = [
"//ui/gfx/geometry/mojo:struct_traits",
]
......@@ -5,6 +5,7 @@
#ifndef UI_GFX_MOJO_SELECTION_BOUND_STRUCT_TRAITS_H_
#define UI_GFX_MOJO_SELECTION_BOUND_STRUCT_TRAITS_H_
#include "ui/gfx/geometry/mojo/geometry_struct_traits.h"
#include "ui/gfx/mojo/selection_bound.mojom-shared.h"
#include "ui/gfx/selection_bound.h"
......
......@@ -11,7 +11,6 @@ mojom("interfaces") {
public_deps = [
"//mojo/public/mojom/base",
"//ui/gfx/geometry/mojo",
]
}
......
include_rules = [
"+mojo/public",
"+ui/gfx/geometry/mojo",
"+ui/latency",
]
......@@ -5,7 +5,6 @@
module ui.mojom;
import "mojo/public/mojom/base/time.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
enum LatencyComponentType {
// ---------------------------BEGIN COMPONENT-------------------------------
......
......@@ -13,7 +13,6 @@ sources = [
"latency_info_struct_traits.h",
]
public_deps = [
"//ui/gfx/geometry/mojo:struct_traits",
"//ui/latency",
]
deps = [
......
......@@ -5,7 +5,6 @@
#ifndef UI_LATENCY_MOJO_LATENCY_INFO_STRUCT_TRAITS_H_
#define UI_LATENCY_MOJO_LATENCY_INFO_STRUCT_TRAITS_H_
#include "ui/gfx/geometry/mojo/geometry_struct_traits.h"
#include "ui/latency/latency_info.h"
#include "ui/latency/mojo/latency_info.mojom-shared.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment