mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
# Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni")
|
|
|
|
mojom("mojo_bindings") {
|
|
sources = [
|
|
"common/contextual_search_js_api_service.mojom",
|
|
]
|
|
public_deps = [
|
|
"//url/mojom:url_mojom_gurl",
|
|
]
|
|
}
|
|
|
|
static_library("browser") {
|
|
sources = [
|
|
"browser/contextual_search_js_api_service_impl.cc",
|
|
"browser/contextual_search_js_api_service_impl.h",
|
|
"browser/ctr_aggregator.cc",
|
|
"browser/ctr_aggregator.h",
|
|
"browser/weekly_activity_storage.cc",
|
|
"browser/weekly_activity_storage.h",
|
|
]
|
|
deps = [
|
|
":mojo_bindings",
|
|
"//base",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"browser/ctr_aggregator_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":browser",
|
|
"//base",
|
|
"//testing/gtest",
|
|
]
|
|
}
|
|
|
|
static_library("renderer") {
|
|
sources = [
|
|
"renderer/contextual_search_wrapper.cc",
|
|
"renderer/contextual_search_wrapper.h",
|
|
"renderer/overlay_js_render_frame_observer.cc",
|
|
"renderer/overlay_js_render_frame_observer.h",
|
|
]
|
|
deps = [
|
|
":mojo_bindings",
|
|
"//base",
|
|
"//content/public/common",
|
|
"//content/public/renderer",
|
|
"//gin",
|
|
"//mojo/public/cpp/bindings",
|
|
"//services/service_manager/public/cpp",
|
|
"//third_party/blink/public:blink_headers",
|
|
"//v8",
|
|
]
|
|
}
|