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

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

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup gn files Created 6 years, 5 months 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 8
9 gypi_values = exec_script( 9 gypi_values = exec_script(
10 "//build/gypi_to_gn.py", 10 "//build/gypi_to_gn.py",
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources, 156 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources,
157 ".", "//chrome") 157 ".", "//chrome")
158 deps += [ "//components/policy" ] 158 deps += [ "//components/policy" ]
159 } 159 }
160 if (enable_plugins) { 160 if (enable_plugins) {
161 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, 161 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources,
162 ".", "//chrome") 162 ".", "//chrome")
163 deps += [ "//ppapi:ppapi_ipc" ] 163 deps += [ "//ppapi:ppapi_ipc" ]
164 } 164 }
165 if (safe_browsing_mode == 1) { 165 if (safe_browsing_mode == 1) {
166 defines += [ "FULL_SAFE_BROWSING" ]
167 deps += [ 166 deps += [
168 "//chrome/browser/safe_browsing:chunk_proto", 167 "//chrome/browser/safe_browsing:chunk_proto",
169 "//chrome/common/safe_browsing:proto", 168 "//chrome/common/safe_browsing:proto",
170 "//chrome/browser/safe_browsing:report_proto", 169 "//chrome/browser/safe_browsing:report_proto",
171 ] 170 ]
172 } 171 }
173 if (is_chromeos) { 172 if (is_chromeos) {
174 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, 173 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources,
175 ".", "//chrome") 174 ".", "//chrome")
176 deps += [ 175 deps += [
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 } 411 }
413 if (enable_service_discovery) { 412 if (enable_service_discovery) {
414 sources += rebase_path( 413 sources += rebase_path(
415 gypi_values.chrome_browser_ui_service_discovery_sources, 414 gypi_values.chrome_browser_ui_service_discovery_sources,
416 ".", "//chrome") 415 ".", "//chrome")
417 } 416 }
418 if (enable_spellcheck) { 417 if (enable_spellcheck) {
419 deps += [ "//third_party/hunspell" ] 418 deps += [ "//third_party/hunspell" ]
420 } 419 }
421 } 420 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698