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( | 9 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "//components/user_manager", | 186 "//components/user_manager", |
187 ] | 187 ] |
188 if (!is_chromeos) { | 188 if (!is_chromeos) { |
189 sources += rebase_path(gypi_values.chrome_browser_ui_ash_non_chromeos, | 189 sources += rebase_path(gypi_values.chrome_browser_ui_ash_non_chromeos, |
190 ".", "//chrome") | 190 ".", "//chrome") |
191 } | 191 } |
192 } else { # Not ash. | 192 } else { # Not ash. |
193 sources += rebase_path(gypi_values.chrome_browser_ui_non_ash_sources, | 193 sources += rebase_path(gypi_values.chrome_browser_ui_non_ash_sources, |
194 ".", "//chrome") | 194 ".", "//chrome") |
195 } | 195 } |
| 196 if (use_athena) { |
| 197 sources += rebase_path(gypi_values.chrome_browser_ui_athena_sources, |
| 198 ".", "//chrome") |
| 199 } else { |
| 200 sources += rebase_path(gypi_values.chrome_browser_ui_non_athena_sources, |
| 201 ".", "//chrome") |
| 202 if (use_ash) { # Not Athena. |
| 203 sources += rebase_path(gypi_values.chrome_browser_ui_ash_non_athena_source
s, |
| 204 ".", "//chrome") |
| 205 } |
| 206 } |
196 if (toolkit_views) { | 207 if (toolkit_views) { |
197 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 208 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
198 ".", "//chrome") | 209 ".", "//chrome") |
199 if (!is_chromeos) { | 210 if (!is_chromeos) { |
200 sources += rebase_path( | 211 sources += rebase_path( |
201 gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 212 gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
202 ".", "//chrome") | 213 ".", "//chrome") |
203 } | 214 } |
204 if (!is_mac) { | 215 if (!is_mac) { |
205 sources += rebase_path( | 216 sources += rebase_path( |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 "//chrome/browser", | 464 "//chrome/browser", |
454 "//content/public/browser", | 465 "//content/public/browser", |
455 "//content/public/common", | 466 "//content/public/common", |
456 "//content/test:test_support", | 467 "//content/test:test_support", |
457 "//net:test_support", | 468 "//net:test_support", |
458 "//skia", | 469 "//skia", |
459 "//testing/gtest", | 470 "//testing/gtest", |
460 "//ui/base", | 471 "//ui/base", |
461 ] | 472 ] |
462 } | 473 } |
OLD | NEW |