blob: fabf63271f6be8b60063ab5df0bbe2dfd5cc55a9 [file] [log] [blame]
# 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",
"//components/url_formatter",
"//net",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "filename_generation_unittest.cc" ]
deps = [
":filename_generation",
"//base",
"//net",
"//testing/gtest",
"//url",
]
# TODO(crbug.com/40031409): Fix code that adds exit-time destructors and
# enable the diagnostic by removing this line.
configs += [ "//build/config/compiler:no_exit_time_destructors" ]
}