Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1029)

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 975043003: [MacViews] Add NativeAppWindowViewsMac and port HideWithApp behavior from NativeAppWindowCocoa. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views
Patch Set: Change gypi variable name. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(
232 gypi_values.chrome_browser_ui_views_mac_experimental_sources,
233 ".",
234 "//chrome")
232 sources -= [ 235 sources -= [
233 "cocoa/apps/chrome_app_window_client_cocoa.mm", 236 "cocoa/apps/chrome_app_window_client_cocoa.mm",
234 "cocoa/bookmarks/bookmark_drag_drop_cocoa.mm", 237 "cocoa/bookmarks/bookmark_drag_drop_cocoa.mm",
235 "cocoa/browser_window_factory_cocoa.mm", 238 "cocoa/browser_window_factory_cocoa.mm",
236 "cocoa/tab_dialogs_cocoa.mm", 239 "cocoa/tab_dialogs_cocoa.mm",
237 ] 240 ]
238 deps += [ "//extensions/components/native_app_window" ] 241 deps += [ "//extensions/components/native_app_window" ]
239 } else { 242 } else {
240 sources -= [ 243 sources -= [
241 "views/apps/chrome_native_app_window_views.cc", 244 "views/apps/chrome_native_app_window_views.cc",
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 "//chrome/browser", 532 "//chrome/browser",
530 "//content/public/browser", 533 "//content/public/browser",
531 "//content/public/common", 534 "//content/public/common",
532 "//content/test:test_support", 535 "//content/test:test_support",
533 "//net:test_support", 536 "//net:test_support",
534 "//skia", 537 "//skia",
535 "//testing/gtest", 538 "//testing/gtest",
536 "//ui/base", 539 "//ui/base",
537 ] 540 ]
538 } 541 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698