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( | 9 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 } | 211 } |
212 if (use_ash) { | 212 if (use_ash) { |
213 sources += rebase_path( | 213 sources += rebase_path( |
214 gypi_values.chrome_browser_ui_ash_non_athena_sources, | 214 gypi_values.chrome_browser_ui_ash_non_athena_sources, |
215 ".", "//chrome") | 215 ".", "//chrome") |
216 } | 216 } |
217 } | 217 } |
218 if (toolkit_views) { | 218 if (toolkit_views) { |
219 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 219 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
220 ".", "//chrome") | 220 ".", "//chrome") |
| 221 deps += [ "//components/constrained_window" ] |
221 if (!is_chromeos) { | 222 if (!is_chromeos) { |
222 sources += rebase_path( | 223 sources += rebase_path( |
223 gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 224 gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
224 ".", "//chrome") | 225 ".", "//chrome") |
225 } | 226 } |
226 if (!is_mac) { | 227 if (!is_mac) { |
227 sources += rebase_path( | 228 sources += rebase_path( |
228 gypi_values.chrome_browser_ui_views_non_mac_sources, | 229 gypi_values.chrome_browser_ui_views_non_mac_sources, |
229 ".", "//chrome") | 230 ".", "//chrome") |
230 deps += [ | 231 deps += [ |
231 "//components/constrained_window", | |
232 "//extensions/components/native_app_window", | 232 "//extensions/components/native_app_window", |
233 ] | 233 ] |
234 } | 234 } |
235 if (use_ash) { | 235 if (use_ash) { |
236 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, | 236 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, |
237 ".", "//chrome") | 237 ".", "//chrome") |
238 } | 238 } |
239 } | 239 } |
240 if (use_aura && !use_ozone && is_desktop_linux) { | 240 if (use_aura && !use_ozone && is_desktop_linux) { |
241 deps += [ | 241 deps += [ |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 "//chrome/browser", | 486 "//chrome/browser", |
487 "//content/public/browser", | 487 "//content/public/browser", |
488 "//content/public/common", | 488 "//content/public/common", |
489 "//content/test:test_support", | 489 "//content/test:test_support", |
490 "//net:test_support", | 490 "//net:test_support", |
491 "//skia", | 491 "//skia", |
492 "//testing/gtest", | 492 "//testing/gtest", |
493 "//ui/base", | 493 "//ui/base", |
494 ] | 494 ] |
495 } | 495 } |
OLD | NEW |