Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: chrome/browser/BUILD.gn

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux/mac/windows compile issues Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//components/nacl/nacl_defines.gni") 8 import("//components/nacl/nacl_defines.gni")
9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which
10 # produces a conflict for the "grit" template so we have to only include one. 10 # produces a conflict for the "grit" template so we have to only include one.
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 ".", "//chrome") 245 ".", "//chrome")
246 deps += [ 246 deps += [
247 #"app_shim" TODO(GYP) 247 #"app_shim" TODO(GYP)
248 #"browser_app_shim" TODO(GYP) 248 #"browser_app_shim" TODO(GYP)
249 ] 249 ]
250 } 250 }
251 if (is_mac || is_ios) { 251 if (is_mac || is_ios) {
252 sources += rebase_path(gypi_values.chrome_browser_mac_ios_sources, 252 sources += rebase_path(gypi_values.chrome_browser_mac_ios_sources,
253 ".", "//chrome") 253 ".", "//chrome")
254 } 254 }
255 if (cld2_data_source == "component") {
256 sources += [
257 "component_updater/cld_component_installer.cc",
258 "component_updater/cld_component_installer.h",
259 ]
260 }
261 if (enable_extensions) { 255 if (enable_extensions) {
262 public_deps += [ "//chrome/browser/extensions" ] 256 public_deps += [ "//chrome/browser/extensions" ]
263 deps += [ 257 deps += [
264 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr oto", 258 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr oto",
265 "//chrome/common/extensions/api", 259 "//chrome/common/extensions/api",
266 "//chrome/common/extensions/api:api_registration", 260 "//chrome/common/extensions/api:api_registration",
267 ] 261 ]
268 sources += rebase_path(gypi_values.chrome_browser_extensions_sources, 262 sources += rebase_path(gypi_values.chrome_browser_extensions_sources,
269 ".", "//chrome") 263 ".", "//chrome")
270 } 264 }
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 ] 956 ]
963 } 957 }
964 958
965 if (enable_wifi_bootstrapping) { 959 if (enable_wifi_bootstrapping) {
966 sources += [ 960 sources += [
967 "local_discovery/wifi/mock_wifi_manager.cc", 961 "local_discovery/wifi/mock_wifi_manager.cc",
968 "local_discovery/wifi/mock_wifi_manager.h", 962 "local_discovery/wifi/mock_wifi_manager.h",
969 ] 963 ]
970 } 964 }
971 } 965 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698