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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 sources += | 237 sources += |
238 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, | 238 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, |
239 ".", | 239 ".", |
240 "//chrome") | 240 "//chrome") |
241 if (enable_extensions) { | 241 if (enable_extensions) { |
242 sources += rebase_path( | 242 sources += rebase_path( |
243 gypi_values.chrome_browser_ui_views_extensions_non_mac_sources, | 243 gypi_values.chrome_browser_ui_views_extensions_non_mac_sources, |
244 ".", | 244 ".", |
245 "//chrome") | 245 "//chrome") |
246 } | 246 } |
| 247 if (use_ash || is_android) { |
| 248 sources += [ "views/tabs/window_finder_impl.cc" ] |
| 249 } |
247 } | 250 } |
248 if (use_ash) { | 251 if (use_ash) { |
249 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, | 252 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, |
250 ".", | 253 ".", |
251 "//chrome") | 254 "//chrome") |
252 } | 255 } |
253 } else { | 256 } else { |
254 # !toolkit_views | 257 # !toolkit_views |
255 if (!is_ios) { | 258 if (!is_ios) { |
256 deps -= [ "//chrome/browser/ui/views" ] | 259 deps -= [ "//chrome/browser/ui/views" ] |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 "//chrome/browser", | 588 "//chrome/browser", |
586 "//content/public/browser", | 589 "//content/public/browser", |
587 "//content/public/common", | 590 "//content/public/common", |
588 "//content/test:test_support", | 591 "//content/test:test_support", |
589 "//net:test_support", | 592 "//net:test_support", |
590 "//skia", | 593 "//skia", |
591 "//testing/gtest", | 594 "//testing/gtest", |
592 "//ui/base", | 595 "//ui/base", |
593 ] | 596 ] |
594 } | 597 } |
OLD | NEW |