| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
| 7 | 7 |
| 8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("../chrome_renderer.gypi") ], | 9 [ rebase_path("../chrome_renderer.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 131 } |
| 132 if (enable_extensions && enable_webrtc) { | 132 if (enable_extensions && enable_webrtc) { |
| 133 sources += | 133 sources += |
| 134 rebase_path(gypi_values.chrome_renderer_webrtc_extensions_sources, | 134 rebase_path(gypi_values.chrome_renderer_webrtc_extensions_sources, |
| 135 ".", | 135 ".", |
| 136 "..") | 136 "..") |
| 137 } | 137 } |
| 138 if (enable_spellcheck) { | 138 if (enable_spellcheck) { |
| 139 sources += | 139 sources += |
| 140 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") | 140 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") |
| 141 deps += [ "//third_party/hunspell_new" ] | 141 deps += [ "//third_party/hunspell" ] |
| 142 } | 142 } |
| 143 | 143 |
| 144 if (enable_basic_printing || enable_print_preview) { | 144 if (enable_basic_printing || enable_print_preview) { |
| 145 deps += [ "//printing" ] | 145 deps += [ "//printing" ] |
| 146 sources += | 146 sources += |
| 147 rebase_path(gypi_values.chrome_renderer_printing_sources, ".", "..") | 147 rebase_path(gypi_values.chrome_renderer_printing_sources, ".", "..") |
| 148 if (enable_print_preview) { | 148 if (enable_print_preview) { |
| 149 sources += rebase_path(gypi_values.chrome_renderer_full_printing_sources, | 149 sources += rebase_path(gypi_values.chrome_renderer_full_printing_sources, |
| 150 ".", | 150 ".", |
| 151 "..") | 151 "..") |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 deps += [ "//chrome/service" ] | 192 deps += [ "//chrome/service" ] |
| 193 } | 193 } |
| 194 | 194 |
| 195 if (enable_webrtc) { | 195 if (enable_webrtc) { |
| 196 sources += [ | 196 sources += [ |
| 197 "media/mock_webrtc_logging_message_filter.cc", | 197 "media/mock_webrtc_logging_message_filter.cc", |
| 198 "media/mock_webrtc_logging_message_filter.h", | 198 "media/mock_webrtc_logging_message_filter.h", |
| 199 ] | 199 ] |
| 200 } | 200 } |
| 201 } | 201 } |
| OLD | NEW |