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 { # Not athena. |
| 200 if (!is_android) { |
| 201 sources += rebase_path( |
| 202 gypi_values.chrome_browser_ui_non_athena_non_android_sources, |
| 203 ".", "//chrome") |
| 204 } |
| 205 if (use_ash) { |
| 206 sources += rebase_path( |
| 207 gypi_values.chrome_browser_ui_ash_non_athena_sources, |
| 208 ".", "//chrome") |
| 209 } |
| 210 } |
196 if (toolkit_views) { | 211 if (toolkit_views) { |
197 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, | 212 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, |
198 ".", "//chrome") | 213 ".", "//chrome") |
199 if (!is_chromeos) { | 214 if (!is_chromeos) { |
200 sources += rebase_path( | 215 sources += rebase_path( |
201 gypi_values.chrome_browser_ui_views_non_chromeos_sources, | 216 gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
202 ".", "//chrome") | 217 ".", "//chrome") |
203 } | 218 } |
204 if (!is_mac) { | 219 if (!is_mac) { |
205 sources += rebase_path( | 220 sources += rebase_path( |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 "//chrome/browser", | 468 "//chrome/browser", |
454 "//content/public/browser", | 469 "//content/public/browser", |
455 "//content/public/common", | 470 "//content/public/common", |
456 "//content/test:test_support", | 471 "//content/test:test_support", |
457 "//net:test_support", | 472 "//net:test_support", |
458 "//skia", | 473 "//skia", |
459 "//testing/gtest", | 474 "//testing/gtest", |
460 "//ui/base", | 475 "//ui/base", |
461 ] | 476 ] |
462 } | 477 } |
OLD | NEW |