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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 if (!is_chromeos) { | 218 if (!is_chromeos) { |
219 sources += rebase_path(gypi_values.chrome_browser_ui_ash_non_chromeos, | 219 sources += rebase_path(gypi_values.chrome_browser_ui_ash_non_chromeos, |
220 ".", | 220 ".", |
221 "//chrome") | 221 "//chrome") |
222 } | 222 } |
223 } else { # Not ash. | 223 } else { # Not ash. |
224 sources += rebase_path(gypi_values.chrome_browser_ui_non_ash_sources, | 224 sources += rebase_path(gypi_values.chrome_browser_ui_non_ash_sources, |
225 ".", | 225 ".", |
226 "//chrome") | 226 "//chrome") |
227 } | 227 } |
228 if (use_athena) { | |
229 sources += rebase_path(gypi_values.chrome_browser_ui_athena_sources, | |
230 ".", | |
231 "//chrome") | |
232 } else { # Not athena. | |
233 if (!is_android) { | |
234 sources += rebase_path( | |
235 gypi_values.chrome_browser_ui_non_athena_non_mobile_sources, | |
236 ".", | |
237 "//chrome") | |
238 } | |
239 if (use_ash) { | |
240 sources += | |
241 rebase_path(gypi_values.chrome_browser_ui_ash_non_athena_sources, | |
242 ".", | |
243 "//chrome") | |
244 } | |
245 } | |
246 if (toolkit_views) { | 228 if (toolkit_views) { |
247 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 229 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
248 ".", | 230 ".", |
249 "//chrome") | 231 "//chrome") |
250 deps += [ "//components/constrained_window" ] | 232 deps += [ "//components/constrained_window" ] |
251 if (!is_chromeos) { | 233 if (!is_chromeos) { |
252 sources += | 234 sources += |
253 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 235 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
254 ".", | 236 ".", |
255 "//chrome") | 237 "//chrome") |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 "//chrome/browser", | 524 "//chrome/browser", |
543 "//content/public/browser", | 525 "//content/public/browser", |
544 "//content/public/common", | 526 "//content/public/common", |
545 "//content/test:test_support", | 527 "//content/test:test_support", |
546 "//net:test_support", | 528 "//net:test_support", |
547 "//skia", | 529 "//skia", |
548 "//testing/gtest", | 530 "//testing/gtest", |
549 "//ui/base", | 531 "//ui/base", |
550 ] | 532 ] |
551 } | 533 } |
OLD | NEW |