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

38 lines
820 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +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/blink/public:blink",
"//url",
"//v8",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"translate_helper_unittest.cc",
]
deps = [
":renderer",
"//base",
"//testing/gtest",
]
}