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

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

Issue 658383003: Componentize Constrained Window Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: gn Created 6 years, 2 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
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( 9 gypi_values = exec_script(
10 "//build/gypi_to_gn.py", 10 "//build/gypi_to_gn.py",
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ".", "//chrome") 213 ".", "//chrome")
214 if (!is_chromeos) { 214 if (!is_chromeos) {
215 sources += rebase_path( 215 sources += rebase_path(
216 gypi_values.chrome_browser_ui_views_non_chromeos_sources, 216 gypi_values.chrome_browser_ui_views_non_chromeos_sources,
217 ".", "//chrome") 217 ".", "//chrome")
218 } 218 }
219 if (!is_mac) { 219 if (!is_mac) {
220 sources += rebase_path( 220 sources += rebase_path(
221 gypi_values.chrome_browser_ui_views_non_mac_sources, 221 gypi_values.chrome_browser_ui_views_non_mac_sources,
222 ".", "//chrome") 222 ".", "//chrome")
223 deps += [ "//extensions/components/native_app_window" ] 223 deps += [
224 "//components/constrained_window",
225 "//extensions/components/native_app_window",
226 ]
224 } 227 }
225 if (use_ash) { 228 if (use_ash) {
226 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, 229 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources,
227 ".", "//chrome") 230 ".", "//chrome")
228 } 231 }
229 } 232 }
230 if (use_aura && !use_ozone && is_desktop_linux) { 233 if (use_aura && !use_ozone && is_desktop_linux) {
231 deps += [ 234 deps += [
232 "//build/config/linux:gio", 235 "//build/config/linux:gio",
233 # gtk2 is the only component that can interact with gtk2 in our new 236 # gtk2 is the only component that can interact with gtk2 in our new
234 # world. 237 # world.
235 "//chrome/browser/ui/libgtk2ui", 238 "//chrome/browser/ui/libgtk2ui",
236 ] 239 ]
237 } 240 }
238 if (is_win || is_mac || is_desktop_linux) { 241 if (is_win || is_mac || is_desktop_linux) {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 "//chrome/browser", 476 "//chrome/browser",
474 "//content/public/browser", 477 "//content/public/browser",
475 "//content/public/common", 478 "//content/public/common",
476 "//content/test:test_support", 479 "//content/test:test_support",
477 "//net:test_support", 480 "//net:test_support",
478 "//skia", 481 "//skia",
479 "//testing/gtest", 482 "//testing/gtest",
480 "//ui/base", 483 "//ui/base",
481 ] 484 ]
482 } 485 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/DEPS » ('j') | chrome/browser/ui/views/chrome_constrained_window_views_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698