chromium/components/filename_generation/BUILD.gn

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

if (is_android) {
  import("//build/config/android/rules.gni")
}

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

  deps = [
    "//base",
    "//base:i18n",
    "//build:chromeos_buildflags",
    "//components/url_formatter:url_formatter",
    "//net",
    "//url",
  ]
}

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

  deps = [
    ":filename_generation",
    "//base",
    "//build:chromeos_buildflags",
    "//net",
    "//testing/gtest",
    "//url",
  ]
}