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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 gypi_values = exec_script( | 8 gypi_values = exec_script( |
9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
10 [ rebase_path("../chrome_tests.gypi") ], | 10 [ rebase_path("../chrome_tests.gypi") ], |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 if (enable_background) { | 189 if (enable_background) { |
190 defines += [ "ENABLE_BACKGROUND=1" ] | 190 defines += [ "ENABLE_BACKGROUND=1" ] |
191 } | 191 } |
192 | 192 |
193 if (enable_extensions) { | 193 if (enable_extensions) { |
194 deps += [ | 194 deps += [ |
195 "//chrome/common/extensions/api", | 195 "//chrome/common/extensions/api", |
196 "//extensions:test_support", | 196 "//extensions:test_support", |
197 ] | 197 ] |
198 } | 198 } |
| 199 |
| 200 if (is_android) { |
| 201 deps += [ |
| 202 "//ui/android", |
| 203 ] |
| 204 } |
199 } | 205 } |
200 | 206 |
201 source_set("test_support_unit") { | 207 source_set("test_support_unit") { |
202 testonly = true | 208 testonly = true |
203 sources = [ | 209 sources = [ |
204 "../browser/sync/glue/session_sync_test_helper.cc", | 210 "../browser/sync/glue/session_sync_test_helper.cc", |
205 "../browser/sync/glue/session_sync_test_helper.h", | 211 "../browser/sync/glue/session_sync_test_helper.h", |
206 "base/run_all_unittests.cc", | 212 "base/run_all_unittests.cc", |
207 ] | 213 ] |
208 | 214 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 } else { | 383 } else { |
378 sources -= [ | 384 sources -= [ |
379 "../app/chrome_version.rc.version", | 385 "../app/chrome_version.rc.version", |
380 ] | 386 ] |
381 } | 387 } |
382 | 388 |
383 if (toolkit_views) { | 389 if (toolkit_views) { |
384 deps += [ "//ui/views" ] | 390 deps += [ "//ui/views" ] |
385 } | 391 } |
386 } | 392 } |
OLD | NEW |