| 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 import("//chrome/common/features.gni") | 8 import("//chrome/common/features.gni") |
| 9 | 9 |
| 10 gypi_values = exec_script("//build/gypi_to_gn.py", | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 "//chrome") | 355 "//chrome") |
| 356 } | 356 } |
| 357 } | 357 } |
| 358 if (ui_compositor_image_transport) { | 358 if (ui_compositor_image_transport) { |
| 359 deps += [ "//ui/gl" ] | 359 deps += [ "//ui/gl" ] |
| 360 } | 360 } |
| 361 if (use_nss_certs) { | 361 if (use_nss_certs) { |
| 362 sources += | 362 sources += |
| 363 rebase_path(gypi_values.chrome_browser_ui_nss_sources, ".", "//chrome") | 363 rebase_path(gypi_values.chrome_browser_ui_nss_sources, ".", "//chrome") |
| 364 } | 364 } |
| 365 if (is_mac || is_win) { |
| 366 sources += rebase_path(gypi_values.chrome_browser_ui_non_nss_sources, |
| 367 ".", |
| 368 "//chrome") |
| 369 } |
| 365 if (!enable_themes) { | 370 if (!enable_themes) { |
| 366 sources -= [ "webui/theme_source.cc" ] | 371 sources -= [ "webui/theme_source.cc" ] |
| 367 } | 372 } |
| 368 if (enable_print_preview) { | 373 if (enable_print_preview) { |
| 369 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 374 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
| 370 ".", | 375 ".", |
| 371 "//chrome") | 376 "//chrome") |
| 372 } | 377 } |
| 373 | 378 |
| 374 if (is_android) { | 379 if (is_android) { |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 "//chrome/browser", | 664 "//chrome/browser", |
| 660 "//content/public/browser", | 665 "//content/public/browser", |
| 661 "//content/public/common", | 666 "//content/public/common", |
| 662 "//content/test:test_support", | 667 "//content/test:test_support", |
| 663 "//net:test_support", | 668 "//net:test_support", |
| 664 "//skia", | 669 "//skia", |
| 665 "//testing/gtest", | 670 "//testing/gtest", |
| 666 "//ui/base", | 671 "//ui/base", |
| 667 ] | 672 ] |
| 668 } | 673 } |
| OLD | NEW |