naiveproxy/components/contextual_search/core/BUILD.gn
2018-12-09 21:59:24 -05:00

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",
]
}
}