naiveproxy/components/translate/content/renderer/BUILD.gn

39 lines
846 B
Plaintext
Raw Permalink Normal View History

2018-01-28 19:30:36 +03:00
# 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("//build/config/features.gni")
static_library("renderer") {
sources = [
"translate_helper.cc",
"translate_helper.h",
]
deps = [
"//base",
"//components/translate/content/common",
"//components/translate/core/common",
"//components/translate/core/language_detection",
"//content/public/common",
"//content/public/renderer",
"//services/service_manager/public/cpp",
"//third_party/WebKit/public:blink",
"//third_party/cld",
"//url",
"//v8",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"translate_helper_unittest.cc",
]
deps = [
":renderer",
"//base",
"//testing/gtest",
]
}