chromium/components/enterprise/watermarking/BUILD.gn

# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("watermarking") {
  sources = [
    "features.cc",
    "features.h",
    "watermark.cc",
    "watermark.h",
  ]

  public_deps = [
    "//skia",
    "//ui/gfx:gfx",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "watermark_unittest.cc" ]

  data = [
    "//components/test/data/enterprise/watermark_dark.png",
    "//components/test/data/enterprise/watermark_light.png",
  ]

  deps = [
    ":watermarking",
    "//cc:test_support",
    "//cc/paint",
    "//testing/gtest",
  ]
}