Chromium Code Reviews| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 359 ".", | 359 ".", |
| 360 "//chrome") | 360 "//chrome") |
| 361 } | 361 } |
| 362 } | 362 } |
| 363 if (ui_compositor_image_transport) { | 363 if (ui_compositor_image_transport) { |
| 364 deps += [ "//ui/gl" ] | 364 deps += [ "//ui/gl" ] |
| 365 } | 365 } |
| 366 if (use_nss_certs) { | 366 if (use_nss_certs) { |
| 367 sources += | 367 sources += |
| 368 rebase_path(gypi_values.chrome_browser_ui_nss_sources, ".", "//chrome") | 368 rebase_path(gypi_values.chrome_browser_ui_nss_sources, ".", "//chrome") |
| 369 } else { | |
| 370 if (is_mac || is_win) { | |
| 371 sources += rebase_path(gypi_values.chrome_browser_ui_non_nss_sources, | |
| 372 ".", | |
| 373 "//chrome") | |
| 374 } | |
| 369 } | 375 } |
|
Dan Beam
2016/03/31 00:20:57
nit:
if (use_nss_certs) {
...
}
if (is_mac || i
dpapad
2016/03/31 01:15:03
Done.
| |
| 370 if (!enable_themes) { | 376 if (!enable_themes) { |
| 371 sources -= [ "webui/theme_source.cc" ] | 377 sources -= [ "webui/theme_source.cc" ] |
| 372 } | 378 } |
| 373 if (enable_print_preview) { | 379 if (enable_print_preview) { |
| 374 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 380 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
| 375 ".", | 381 ".", |
| 376 "//chrome") | 382 "//chrome") |
| 377 } | 383 } |
| 378 | 384 |
| 379 if (is_android) { | 385 if (is_android) { |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 664 "//chrome/browser", | 670 "//chrome/browser", |
| 665 "//content/public/browser", | 671 "//content/public/browser", |
| 666 "//content/public/common", | 672 "//content/public/common", |
| 667 "//content/test:test_support", | 673 "//content/test:test_support", |
| 668 "//net:test_support", | 674 "//net:test_support", |
| 669 "//skia", | 675 "//skia", |
| 670 "//testing/gtest", | 676 "//testing/gtest", |
| 671 "//ui/base", | 677 "//ui/base", |
| 672 ] | 678 ] |
| 673 } | 679 } |
| OLD | NEW |