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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 if (ui_compositor_image_transport) { | 268 if (ui_compositor_image_transport) { |
269 deps += [ "//ui/gl" ] | 269 deps += [ "//ui/gl" ] |
270 } | 270 } |
271 if (use_nss_certs) { | 271 if (use_nss_certs) { |
272 sources += rebase_path(gypi_values.chrome_browser_ui_nss_sources, | 272 sources += rebase_path(gypi_values.chrome_browser_ui_nss_sources, |
273 ".", "//chrome") | 273 ".", "//chrome") |
274 } | 274 } |
275 if (!enable_themes) { | 275 if (!enable_themes) { |
276 sources -= [ "webui/theme_source.cc" ] | 276 sources -= [ "webui/theme_source.cc" ] |
277 } | 277 } |
278 if (printing_mode == 1) { | 278 if (printing_mode > 1) { |
279 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 279 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
280 ".", "//chrome") | 280 ".", "//chrome") |
281 } | 281 } |
282 if (is_linux || is_android) { | 282 if (is_linux || is_android) { |
283 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources, | 283 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources, |
284 ".", "//chrome") | 284 ".", "//chrome") |
285 } | 285 } |
286 | 286 |
287 if (is_android) { | 287 if (is_android) { |
288 deps += [ | 288 deps += [ |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 "//chrome/browser", | 487 "//chrome/browser", |
488 "//content/public/browser", | 488 "//content/public/browser", |
489 "//content/public/common", | 489 "//content/public/common", |
490 "//content/test:test_support", | 490 "//content/test:test_support", |
491 "//net:test_support", | 491 "//net:test_support", |
492 "//skia", | 492 "//skia", |
493 "//testing/gtest", | 493 "//testing/gtest", |
494 "//ui/base", | 494 "//ui/base", |
495 ] | 495 ] |
496 } | 496 } |
OLD | NEW |