mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-06-04 21:36:29 +03:00
Import chromium-64.0.3282.119
This commit is contained in:
47
components/optimization_guide/BUILD.gn
Normal file
47
components/optimization_guide/BUILD.gn
Normal file
@@ -0,0 +1,47 @@
|
||||
# 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",
|
||||
]
|
||||
}
|
||||
11
components/optimization_guide/proto/BUILD.gn
Normal file
11
components/optimization_guide/proto/BUILD.gn
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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.
|
||||
|
||||
import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
proto_library("optimization_guide_proto") {
|
||||
sources = [
|
||||
"hints.proto",
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user