naiveproxy/components/optimization_guide/BUILD.gn

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
# Copyright 2017 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.
static_library("optimization_guide") {
sources = [
"optimization_guide_constants.cc",
"optimization_guide_constants.h",
"optimization_guide_service.cc",
"optimization_guide_service.h",
"optimization_guide_service_observer.h",
]
deps = [
"//base",
"//components/optimization_guide/proto:optimization_guide_proto",
]
}
static_library("test_support") {
testonly = true
sources = [
"test_component_creator.cc",
"test_component_creator.h",
]
deps = [
":optimization_guide",
"//base",
"//components/optimization_guide/proto:optimization_guide_proto",
"//testing/gtest",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"optimization_guide_service_unittest.cc",
]
deps = [
":optimization_guide",
"//base",
"//base/test:test_support",
"//components/optimization_guide/proto:optimization_guide_proto",
"//testing/gtest",
]
}