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") | |
289 } | 285 } |
290 | 286 |
291 if (!is_chromeos && (!is_mac || mac_views_browser)) { | 287 if (!is_chromeos && (!is_mac || mac_views_browser)) { |
292 sources += | 288 sources += |
293 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 289 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
294 ".", | 290 ".", |
295 "//chrome") | 291 "//chrome") |
296 } | 292 } |
297 if (!is_mac) { | 293 if (!is_mac) { |
298 sources += | 294 sources += |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 "//chrome/browser", | 666 "//chrome/browser", |
671 "//content/public/browser", | 667 "//content/public/browser", |
672 "//content/public/common", | 668 "//content/public/common", |
673 "//content/test:test_support", | 669 "//content/test:test_support", |
674 "//net:test_support", | 670 "//net:test_support", |
675 "//skia", | 671 "//skia", |
676 "//testing/gtest", | 672 "//testing/gtest", |
677 "//ui/base", | 673 "//ui/base", |
678 ] | 674 ] |
679 } | 675 } |
OLD | NEW |