mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# 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",
|
|
"url_pattern_with_wildcards.cc",
|
|
"url_pattern_with_wildcards.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",
|
|
"url_pattern_with_wildcards_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":optimization_guide",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//components/optimization_guide/proto:optimization_guide_proto",
|
|
"//testing/gtest",
|
|
]
|
|
}
|