1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import("//build/config/features.gni") 6 7 static_library("browser") { 8 sources = [ 9 "browser_cld_data_provider.h", 10 "content_translate_driver.cc", 11 "content_translate_driver.h", 12 ] 13 14 deps = [ 15 "//base", 16 "//components/translate/core/browser", 17 "//content/public/browser", 18 ] 19 20 if (cld2_data_source == "standalone" || cld2_data_source == "component") { 21 sources += [ 22 "data_file_browser_cld_data_provider.cc", 23 "data_file_browser_cld_data_provider.h", 24 ] 25 } else if (cld2_data_source == "static") { 26 sources += [ 27 "static_browser_cld_data_provider.cc", 28 "static_browser_cld_data_provider.h", 29 ] 30 } 31 } 32