| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 if (toolkit_views) { | 302 if (toolkit_views) { |
| 303 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 303 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
| 304 ".", | 304 ".", |
| 305 "//chrome") | 305 "//chrome") |
| 306 deps += [ "//components/constrained_window" ] | 306 deps += [ "//components/constrained_window" ] |
| 307 | 307 |
| 308 if (enable_extensions) { | 308 if (enable_extensions) { |
| 309 deps += [ "//extensions/components/native_app_window" ] | 309 deps += [ "//extensions/components/native_app_window" ] |
| 310 } | 310 } |
| 311 | 311 |
| 312 if (!is_chromeos && (!is_mac || mac_views_browser)) { | 312 if (is_chromeos) { |
| 313 sources += |
| 314 rebase_path(gypi_values.chrome_browser_ui_views_chromeos_sources, |
| 315 ".", |
| 316 "//chrome") |
| 317 } else if (!is_mac || mac_views_browser) { |
| 313 sources += | 318 sources += |
| 314 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 319 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
| 315 ".", | 320 ".", |
| 316 "//chrome") | 321 "//chrome") |
| 317 } | 322 } |
| 318 if (!is_mac) { | 323 if (!is_mac) { |
| 319 sources += | 324 sources += |
| 320 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, | 325 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, |
| 321 ".", | 326 ".", |
| 322 "//chrome") | 327 "//chrome") |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 "//chrome/browser", | 715 "//chrome/browser", |
| 711 "//content/public/browser", | 716 "//content/public/browser", |
| 712 "//content/public/common", | 717 "//content/public/common", |
| 713 "//content/test:test_support", | 718 "//content/test:test_support", |
| 714 "//net:test_support", | 719 "//net:test_support", |
| 715 "//skia", | 720 "//skia", |
| 716 "//testing/gtest", | 721 "//testing/gtest", |
| 717 "//ui/base", | 722 "//ui/base", |
| 718 ] | 723 ] |
| 719 } | 724 } |
| OLD | NEW |