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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 170 } |
171 if (is_win) { | 171 if (is_win) { |
172 deps += [ "//third_party/wtl" ] | 172 deps += [ "//third_party/wtl" ] |
173 } | 173 } |
174 if (is_android) { | 174 if (is_android) { |
175 sources -= [ | 175 sources -= [ |
176 "spellchecker/hunspell_engine.cc", | 176 "spellchecker/hunspell_engine.cc", |
177 "spellchecker/hunspell_engine.h", | 177 "spellchecker/hunspell_engine.h", |
178 ] | 178 ] |
179 } | 179 } |
180 if (!is_android) { | |
181 sources += | |
182 rebase_path(gypi_values.chrome_renderer_non_android_sources, ".", "..") | |
183 } | |
184 } | 180 } |
185 | 181 |
186 # In GYP this is part of test_support_common. | 182 # In GYP this is part of test_support_common. |
187 source_set("test_support") { | 183 source_set("test_support") { |
188 testonly = true | 184 testonly = true |
189 visibility = [ "//chrome/test:test_support" ] | 185 visibility = [ "//chrome/test:test_support" ] |
190 | 186 |
191 sources = [ | 187 sources = [ |
192 "chrome_mock_render_thread.cc", | 188 "chrome_mock_render_thread.cc", |
193 "chrome_mock_render_thread.h", | 189 "chrome_mock_render_thread.h", |
(...skipping 14 matching lines...) Expand all Loading... |
208 deps += [ "//chrome/service" ] | 204 deps += [ "//chrome/service" ] |
209 } | 205 } |
210 | 206 |
211 if (enable_webrtc) { | 207 if (enable_webrtc) { |
212 sources += [ | 208 sources += [ |
213 "media/mock_webrtc_logging_message_filter.cc", | 209 "media/mock_webrtc_logging_message_filter.cc", |
214 "media/mock_webrtc_logging_message_filter.h", | 210 "media/mock_webrtc_logging_message_filter.h", |
215 ] | 211 ] |
216 } | 212 } |
217 } | 213 } |
OLD | NEW |