mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
43 lines
912 B
Plaintext
43 lines
912 B
Plaintext
# Copyright 2018 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("browser") {
|
|
sources = [
|
|
"browser/contextual_search_preference.cc",
|
|
"browser/contextual_search_preference.h",
|
|
"browser/ctr_aggregator.cc",
|
|
"browser/ctr_aggregator.h",
|
|
"browser/weekly_activity_storage.cc",
|
|
"browser/weekly_activity_storage.h",
|
|
]
|
|
deps = [
|
|
"//base",
|
|
"//components/contextual_search:buildflags",
|
|
"//components/prefs:prefs",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"browser/ctr_aggregator_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":browser",
|
|
"//base",
|
|
"//testing/gtest",
|
|
]
|
|
}
|
|
|
|
if (is_android) {
|
|
import("//build/config/android/rules.gni")
|
|
|
|
java_cpp_enum("enums_java") {
|
|
sources = [
|
|
"browser/contextual_search_preference.h",
|
|
]
|
|
}
|
|
}
|