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 import("//chrome/common/features.gni") | 8 import("//chrome/common/features.gni") |
9 | 9 |
10 gypi_values = exec_script("//build/gypi_to_gn.py", | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "//chrome") | 275 "//chrome") |
276 } | 276 } |
277 if (toolkit_views) { | 277 if (toolkit_views) { |
278 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 278 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
279 ".", | 279 ".", |
280 "//chrome") | 280 "//chrome") |
281 deps += [ "//components/constrained_window" ] | 281 deps += [ "//components/constrained_window" ] |
282 | 282 |
283 if (enable_extensions) { | 283 if (enable_extensions) { |
284 deps += [ "//extensions/components/native_app_window" ] | 284 deps += [ "//extensions/components/native_app_window" ] |
| 285 sources += |
| 286 rebase_path(gypi_values.chrome_browser_ui_views_extensions_sources, |
| 287 ".", |
| 288 "//chrome") |
285 } | 289 } |
286 | 290 |
287 if (!is_chromeos && (!is_mac || mac_views_browser)) { | 291 if (!is_chromeos && (!is_mac || mac_views_browser)) { |
288 sources += | 292 sources += |
289 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 293 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
290 ".", | 294 ".", |
291 "//chrome") | 295 "//chrome") |
292 } | 296 } |
293 if (!is_mac) { | 297 if (!is_mac) { |
294 sources += | 298 sources += |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 "//chrome/browser", | 670 "//chrome/browser", |
667 "//content/public/browser", | 671 "//content/public/browser", |
668 "//content/public/common", | 672 "//content/public/common", |
669 "//content/test:test_support", | 673 "//content/test:test_support", |
670 "//net:test_support", | 674 "//net:test_support", |
671 "//skia", | 675 "//skia", |
672 "//testing/gtest", | 676 "//testing/gtest", |
673 "//ui/base", | 677 "//ui/base", |
674 ] | 678 ] |
675 } | 679 } |
OLD | NEW |