blob: 0c0e96d1cfb15248290e312fc24a2357860b2a58 [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
source_set("common") {
sources = [
"content_capture_data.cc",
"content_capture_data.h",
"content_capture_features.cc",
"content_capture_features.h",
]
deps = [
"//base",
"//ui/gfx/geometry",
]
}
mojom("mojo_interfaces") {
sources = [ "content_capture.mojom" ]
public_deps = [
":mojo_types",
"//mojo/public/mojom/base",
"//ui/gfx/geometry/mojom",
]
}
mojom("mojo_types") {
sources = [ "content_capture_data.mojom" ]
public_deps = [
"//mojo/public/mojom/base",
"//ui/gfx/geometry/mojom",
]
}
mojom("mojo_test_types") {
testonly = true
sources = [ "traits_test_service.test-mojom" ]
public_deps = [ ":mojo_types" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "content_capture_mojom_traits_unittest.cc" ]
public_deps = [ ":mojo_test_types" ]
deps = [
":common",
"//base",
"//base/test:test_support",
"//mojo/public/cpp/bindings",
"//testing/gtest",
]
}