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/chrome_build.gni") | 5 import("//build/config/chrome_build.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 import("//printing/features/features.gni") | 8 import("//printing/features/features.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 if (is_android || is_linux || is_mac || is_win) { | 45 if (is_android || is_linux || is_mac || is_win) { |
46 data = [ | 46 data = [ |
47 "test/data/", | 47 "test/data/", |
48 | 48 |
49 # TODO(dpranke): Remove the next two lines after GN has rolled to 339778. | 49 # TODO(dpranke): Remove the next two lines after GN has rolled to 339778. |
50 "$root_out_dir/components_tests_resources.pak", | 50 "$root_out_dir/components_tests_resources.pak", |
51 "$root_out_dir/ui_test.pak", | 51 "$root_out_dir/ui_test.pak", |
52 ] | 52 ] |
53 } | 53 } |
54 | 54 |
| 55 if (is_android) { |
| 56 enable_multidex = true |
| 57 } |
| 58 |
55 # Add only ":unit_tests" dependencies here. If your tests have dependencies | 59 # Add only ":unit_tests" dependencies here. If your tests have dependencies |
56 # (this would at least include the component itself), they should be on the | 60 # (this would at least include the component itself), they should be on the |
57 # test source set and not here. | 61 # test source set and not here. |
58 | 62 |
59 deps = [ | 63 deps = [ |
60 "//base", | 64 "//base", |
61 "//components/autofill/core/browser:unit_tests", | 65 "//components/autofill/core/browser:unit_tests", |
62 "//components/autofill/core/common:unit_tests", | 66 "//components/autofill/core/common:unit_tests", |
63 "//components/base32:unit_tests", | 67 "//components/base32:unit_tests", |
64 "//components/bookmarks/browser:unit_tests", | 68 "//components/bookmarks/browser:unit_tests", |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 "//testing/perf", | 504 "//testing/perf", |
501 "//url", | 505 "//url", |
502 ] | 506 ] |
503 | 507 |
504 if (!is_ios) { | 508 if (!is_ios) { |
505 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per
ftest.cc" ] | 509 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per
ftest.cc" ] |
506 deps += [ "//components/discardable_memory/common" ] | 510 deps += [ "//components/discardable_memory/common" ] |
507 } | 511 } |
508 } | 512 } |
509 } | 513 } |
OLD | NEW |