| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 if (toolkit_views) { | 196 if (toolkit_views) { |
| 197 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 197 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
| 198 ".", | 198 ".", |
| 199 "//chrome") | 199 "//chrome") |
| 200 deps += [ "//components/constrained_window" ] | 200 deps += [ "//components/constrained_window" ] |
| 201 | 201 |
| 202 if (enable_extensions) { | 202 if (enable_extensions) { |
| 203 deps += [ "//extensions/components/native_app_window" ] | 203 deps += [ "//extensions/components/native_app_window" ] |
| 204 } | 204 } |
| 205 | 205 |
| 206 if (!is_chromeos) { | 206 if (!is_chromeos && (!is_mac || mac_views_browser)) { |
| 207 sources += | 207 sources += |
| 208 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 208 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
| 209 ".", | 209 ".", |
| 210 "//chrome") | 210 "//chrome") |
| 211 } | 211 } |
| 212 if (!is_mac) { | 212 if (!is_mac) { |
| 213 sources += | 213 sources += |
| 214 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, | 214 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, |
| 215 ".", | 215 ".", |
| 216 "//chrome") | 216 "//chrome") |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 "//chrome/browser", | 526 "//chrome/browser", |
| 527 "//content/public/browser", | 527 "//content/public/browser", |
| 528 "//content/public/common", | 528 "//content/public/common", |
| 529 "//content/test:test_support", | 529 "//content/test:test_support", |
| 530 "//net:test_support", | 530 "//net:test_support", |
| 531 "//skia", | 531 "//skia", |
| 532 "//testing/gtest", | 532 "//testing/gtest", |
| 533 "//ui/base", | 533 "//ui/base", |
| 534 ] | 534 ] |
| 535 } | 535 } |
| OLD | NEW |