| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 ".", "//chrome") | 122 ".", "//chrome") |
| 123 deps += [ "//net" ] | 123 deps += [ "//net" ] |
| 124 } | 124 } |
| 125 | 125 |
| 126 if (!is_android && !is_ios) { | 126 if (!is_android && !is_ios) { |
| 127 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, | 127 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, |
| 128 ".", "//chrome") | 128 ".", "//chrome") |
| 129 deps += [ "//device/bluetooth" ] | 129 deps += [ "//device/bluetooth" ] |
| 130 } | 130 } |
| 131 | 131 |
| 132 if (printing_mode != 0) { | 132 if (enable_basic_printing || enable_print_preview) { |
| 133 deps += [ "//printing" ] | 133 deps += [ "//printing" ] |
| 134 } | 134 } |
| 135 | 135 |
| 136 if (enable_one_click_signin) { | 136 if (enable_one_click_signin) { |
| 137 sources += rebase_path( | 137 sources += rebase_path( |
| 138 gypi_values.chrome_browser_ui_one_click_signin_sources, | 138 gypi_values.chrome_browser_ui_one_click_signin_sources, |
| 139 ".", "//chrome") | 139 ".", "//chrome") |
| 140 } | 140 } |
| 141 if (enable_task_manager) { | 141 if (enable_task_manager) { |
| 142 sources += rebase_path(gypi_values.chrome_browser_ui_task_manager_sources, | 142 sources += rebase_path(gypi_values.chrome_browser_ui_task_manager_sources, |
| (...skipping 125 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 (enable_print_preview) { |
| 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 |