| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 # '<@(nacl_defines)', | 119 # '<@(nacl_defines)', |
| 120 # ], | 120 # ], |
| 121 # }, | 121 # }, |
| 122 } else { | 122 } else { |
| 123 # iOS. | 123 # iOS. |
| 124 sources += rebase_path(gypi_values.chrome_browser_ui_ios_sources, | 124 sources += rebase_path(gypi_values.chrome_browser_ui_ios_sources, |
| 125 ".", "//chrome") | 125 ".", "//chrome") |
| 126 deps += [ "//net" ] | 126 deps += [ "//net" ] |
| 127 } | 127 } |
| 128 | 128 |
| 129 if (printing_mode != 0) { | 129 if (enable_printing != 0) { |
| 130 deps += [ "//printing" ] | 130 deps += [ "//printing" ] |
| 131 } | 131 } |
| 132 | 132 |
| 133 if (enable_one_click_signin) { | 133 if (enable_one_click_signin) { |
| 134 sources += rebase_path( | 134 sources += rebase_path( |
| 135 gypi_values.chrome_browser_ui_one_click_signin_sources, | 135 gypi_values.chrome_browser_ui_one_click_signin_sources, |
| 136 ".", "//chrome") | 136 ".", "//chrome") |
| 137 } | 137 } |
| 138 if (enable_task_manager) { | 138 if (enable_task_manager) { |
| 139 sources += rebase_path(gypi_values.chrome_browser_ui_task_manager_sources, | 139 sources += rebase_path(gypi_values.chrome_browser_ui_task_manager_sources, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 if (ui_compositor_image_transport) { | 251 if (ui_compositor_image_transport) { |
| 252 deps += [ "//ui/gl" ] | 252 deps += [ "//ui/gl" ] |
| 253 } | 253 } |
| 254 if (use_nss_certs) { | 254 if (use_nss_certs) { |
| 255 sources += rebase_path(gypi_values.chrome_browser_ui_nss_sources, | 255 sources += rebase_path(gypi_values.chrome_browser_ui_nss_sources, |
| 256 ".", "//chrome") | 256 ".", "//chrome") |
| 257 } | 257 } |
| 258 if (!enable_themes) { | 258 if (!enable_themes) { |
| 259 sources -= [ "webui/theme_source.cc" ] | 259 sources -= [ "webui/theme_source.cc" ] |
| 260 } | 260 } |
| 261 if (printing_mode == 1) { | 261 if (enable_printing == 1) { |
| 262 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 262 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
| 263 ".", "//chrome") | 263 ".", "//chrome") |
| 264 } | 264 } |
| 265 if (is_linux || is_android) { | 265 if (is_linux || is_android) { |
| 266 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources, | 266 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources, |
| 267 ".", "//chrome") | 267 ".", "//chrome") |
| 268 } | 268 } |
| 269 | 269 |
| 270 if (is_android) { | 270 if (is_android) { |
| 271 deps += [ | 271 deps += [ |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 } | 412 } |
| 413 if (enable_service_discovery) { | 413 if (enable_service_discovery) { |
| 414 sources += rebase_path( | 414 sources += rebase_path( |
| 415 gypi_values.chrome_browser_ui_service_discovery_sources, | 415 gypi_values.chrome_browser_ui_service_discovery_sources, |
| 416 ".", "//chrome") | 416 ".", "//chrome") |
| 417 } | 417 } |
| 418 if (enable_spellcheck) { | 418 if (enable_spellcheck) { |
| 419 deps += [ "//third_party/hunspell" ] | 419 deps += [ "//third_party/hunspell" ] |
| 420 } | 420 } |
| 421 } | 421 } |
| OLD | NEW |