OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |