chromium/components/enterprise/common/BUILD.gn

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

import("//build/config/features.gni")

static_library("strings") {
  sources = [
    "strings.cc",
    "strings.h",
  ]
}

if (use_blink) {
  static_library("files_scan_data") {
    sources = [
      "files_scan_data.cc",
      "files_scan_data.h",
    ]
    deps = [
      "//base",
      "//ui/base",
    ]
  }
}

source_set("unit_tests") {
  testonly = true

  if (!is_ios) {
    sources = [ "files_scan_data_unittest.cc" ]

    deps = [
      ":files_scan_data",
      "//base/test:test_support",
      "//content/public/browser",
      "//content/test:test_support",
      "//testing/gtest",
    ]
  }
}