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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 204 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
205 ".", | 205 ".", |
206 "//chrome") | 206 "//chrome") |
207 } | 207 } |
208 if (!is_mac) { | 208 if (!is_mac) { |
209 sources += | 209 sources += |
210 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, | 210 rebase_path(gypi_values.chrome_browser_ui_views_non_mac_sources, |
211 ".", | 211 ".", |
212 "//chrome") | 212 "//chrome") |
213 deps += [ "//extensions/components/native_app_window" ] | 213 deps += [ "//extensions/components/native_app_window" ] |
| 214 if (is_chromeos) { |
| 215 # TODO(GYP): crbug.com/481629. These files should probably not be |
| 216 # a part of ui_views_non_mac_sources at all. |
| 217 sources -= [ |
| 218 "views/frame/opaque_browser_frame_view.cc", |
| 219 "views/frame/opaque_browser_frame_view.h", |
| 220 "views/frame/opaque_browser_frame_view_linux.cc", |
| 221 "views/frame/opaque_browser_frame_view_linux.h", |
| 222 ] |
| 223 } |
214 } | 224 } |
215 if (use_ash) { | 225 if (use_ash) { |
216 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, | 226 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, |
217 ".", | 227 ".", |
218 "//chrome") | 228 "//chrome") |
219 } | 229 } |
220 } | 230 } |
221 if (use_aura && !use_ozone && is_desktop_linux) { | 231 if (use_aura && !use_ozone && is_desktop_linux) { |
222 deps += [ | 232 deps += [ |
223 "//build/config/linux:gio", | 233 "//build/config/linux:gio", |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 "//chrome/browser", | 510 "//chrome/browser", |
501 "//content/public/browser", | 511 "//content/public/browser", |
502 "//content/public/common", | 512 "//content/public/common", |
503 "//content/test:test_support", | 513 "//content/test:test_support", |
504 "//net:test_support", | 514 "//net:test_support", |
505 "//skia", | 515 "//skia", |
506 "//testing/gtest", | 516 "//testing/gtest", |
507 "//ui/base", | 517 "//ui/base", |
508 ] | 518 ] |
509 } | 519 } |
OLD | NEW |