| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 "//chrome") | 221 "//chrome") |
| 222 deps += [ "//components/constrained_window" ] | 222 deps += [ "//components/constrained_window" ] |
| 223 if (!is_chromeos) { | 223 if (!is_chromeos) { |
| 224 sources += | 224 sources += |
| 225 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 225 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
| 226 ".", | 226 ".", |
| 227 "//chrome") | 227 "//chrome") |
| 228 } | 228 } |
| 229 if (is_mac) { | 229 if (is_mac) { |
| 230 if (mac_views_browser) { | 230 if (mac_views_browser) { |
| 231 sources += [ "views/apps/chrome_app_window_client_views_mac.mm" ] | 231 sources += rebase_path(gypi_values.chrome_browser_ui_views_mac_sources, |
| 232 ".", |
| 233 "//chrome") |
| 232 sources -= [ | 234 sources -= [ |
| 233 "cocoa/apps/chrome_app_window_client_cocoa.mm", | 235 "cocoa/apps/chrome_app_window_client_cocoa.mm", |
| 234 "cocoa/bookmarks/bookmark_drag_drop_cocoa.mm", | 236 "cocoa/bookmarks/bookmark_drag_drop_cocoa.mm", |
| 235 "cocoa/browser_window_factory_cocoa.mm", | 237 "cocoa/browser_window_factory_cocoa.mm", |
| 236 "cocoa/tab_dialogs_cocoa.mm", | 238 "cocoa/tab_dialogs_cocoa.mm", |
| 237 ] | 239 ] |
| 238 deps += [ "//extensions/components/native_app_window" ] | 240 deps += [ "//extensions/components/native_app_window" ] |
| 239 } else { | 241 } else { |
| 240 sources -= [ | 242 sources -= [ |
| 241 "views/apps/chrome_native_app_window_views.cc", | 243 "views/apps/chrome_native_app_window_views.cc", |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 "//chrome/browser", | 531 "//chrome/browser", |
| 530 "//content/public/browser", | 532 "//content/public/browser", |
| 531 "//content/public/common", | 533 "//content/public/common", |
| 532 "//content/test:test_support", | 534 "//content/test:test_support", |
| 533 "//net:test_support", | 535 "//net:test_support", |
| 534 "//skia", | 536 "//skia", |
| 535 "//testing/gtest", | 537 "//testing/gtest", |
| 536 "//ui/base", | 538 "//ui/base", |
| 537 ] | 539 ] |
| 538 } | 540 } |
| OLD | NEW |