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

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

Issue 1081403002: Refactor safe-browsing build-config definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again to fix collision Created 5 years, 8 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
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_tab_observer.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("../../chrome_browser_ui.gypi") ], 10 [ rebase_path("../../chrome_browser_ui.gypi") ],
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "//chrome") 148 "//chrome")
149 deps += [ "//components/policy" ] 149 deps += [ "//components/policy" ]
150 } 150 }
151 if (enable_plugins) { 151 if (enable_plugins) {
152 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, 152 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources,
153 ".", 153 ".",
154 "//chrome") 154 "//chrome")
155 deps += [ "//ppapi/proxy:ipc" ] 155 deps += [ "//ppapi/proxy:ipc" ]
156 } 156 }
157 if (safe_browsing_mode == 1) { 157 if (safe_browsing_mode == 1) {
158 defines += [ "FULL_SAFE_BROWSING" ]
159 deps += [ 158 deps += [
160 "//chrome/browser/safe_browsing:chunk_proto", 159 "//chrome/browser/safe_browsing:chunk_proto",
161 "//chrome/common/safe_browsing:proto", 160 "//chrome/common/safe_browsing:proto",
162 "//chrome/browser/safe_browsing:report_proto", 161 "//chrome/browser/safe_browsing:report_proto",
163 ] 162 ]
164 } 163 }
165 if (is_chromeos) { 164 if (is_chromeos) {
166 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, 165 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources,
167 ".", 166 ".",
168 "//chrome") 167 "//chrome")
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 "//chrome/browser", 493 "//chrome/browser",
495 "//content/public/browser", 494 "//content/public/browser",
496 "//content/public/common", 495 "//content/public/common",
497 "//content/test:test_support", 496 "//content/test:test_support",
498 "//net:test_support", 497 "//net:test_support",
499 "//skia", 498 "//skia",
500 "//testing/gtest", 499 "//testing/gtest",
501 "//ui/base", 500 "//ui/base",
502 ] 501 ]
503 } 502 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_tab_observer.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698