naiveproxy/components/autofill/content/browser/BUILD.gn
2018-01-29 00:30:36 +08:00

82 lines
2.0 KiB
Plaintext

# Copyright 2014 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")
static_library("browser") {
sources = [
"content_autofill_driver.cc",
"content_autofill_driver.h",
"content_autofill_driver_factory.cc",
"content_autofill_driver_factory.h",
"key_press_handler_manager.cc",
"key_press_handler_manager.h",
"risk/fingerprint.cc",
"risk/fingerprint.h",
]
public_deps = [
":risk_proto",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//skia",
]
deps = [
"//base",
"//base:i18n",
"//components/os_crypt",
"//components/prefs",
"//components/resources",
"//components/strings",
"//components/user_prefs",
"//content/public/browser",
"//content/public/common",
"//device/geolocation",
"//gpu/config",
"//mojo/common:common_base",
"//net",
"//ppapi/features",
"//services/service_manager/public/cpp",
"//sql",
"//ui/base",
"//ui/display",
"//ui/gfx",
"//ui/gfx/geometry",
"//url",
]
}
proto_library("risk_proto") {
sources = [
"risk/proto/fingerprint.proto",
]
proto_out_dir = "components/autofill/content/browser/risk/proto"
}
source_set("unit_tests") {
testonly = true
sources = [
"content_autofill_driver_unittest.cc",
"key_press_handler_manager_unittest.cc",
]
deps = [
":browser",
"//base",
"//components/autofill/content/common:mojo_interfaces",
"//components/autofill/core/browser",
"//components/autofill/core/browser:test_support",
"//components/autofill/core/common",
"//content/public/browser",
"//content/public/common",
"//content/test:test_support",
"//mojo/common:common_base",
"//net:test_support",
"//services/service_manager/public/cpp",
"//testing/gmock",
"//testing/gtest",
]
}