OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("//ios/build/config.gni") | 5 import("//ios/build/config.gni") |
6 import("//build/config/ios/rules.gni") | 6 import("//build/config/ios/rules.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 group("all_tests") { | 9 group("all_tests") { |
10 testonly = true | 10 testonly = true |
11 deps = [ | 11 deps = [ |
12 ":ios_web_view_inttests", | 12 ":ios_web_view_inttests", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 test("ios_web_view_inttests") { | 16 test("ios_web_view_inttests") { |
17 testonly = true | 17 testonly = true |
18 sources = [ | 18 sources = [ |
19 "chrome_web_view_kvo_inttest.mm", | 19 "chrome_web_view_kvo_inttest.mm", |
| 20 "chrome_web_view_restorable_state_inttest.mm", |
20 "chrome_web_view_test.h", | 21 "chrome_web_view_test.h", |
21 "chrome_web_view_test.mm", | 22 "chrome_web_view_test.mm", |
22 "observer.h", | 23 "observer.h", |
23 "observer.mm", | 24 "observer.mm", |
24 "web_view_interaction_test_util.h", | 25 "web_view_interaction_test_util.h", |
25 "web_view_interaction_test_util.mm", | 26 "web_view_interaction_test_util.mm", |
26 ] | 27 ] |
27 | 28 |
28 deps = [ | 29 deps = [ |
29 "//base", | 30 "//base", |
30 "//base/test:run_all_unittests", | 31 "//base/test:run_all_unittests", |
31 "//ios/testing:ios_test_support", | 32 "//ios/testing:ios_test_support", |
32 "//ios/web_view:web_view+link", | 33 "//ios/web_view:web_view+link", |
33 "//net", | 34 "//net", |
34 "//net:test_support", | 35 "//net:test_support", |
35 "//testing/gtest", | 36 "//testing/gtest", |
36 ] | 37 ] |
37 | 38 |
38 bundle_deps = [ "//ios/web_view:web_view+bundle" ] | 39 bundle_deps = [ "//ios/web_view:web_view+bundle" ] |
39 | 40 |
40 configs += [ "//build/config/compiler:enable_arc" ] | 41 configs += [ "//build/config/compiler:enable_arc" ] |
41 | 42 |
42 assert_no_deps = ios_assert_no_deps | 43 assert_no_deps = ios_assert_no_deps |
43 } | 44 } |
OLD | NEW |