OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 import("//tools/grit/repack.gni") | 7 import("//tools/grit/repack.gni") |
8 | 8 |
9 mojom("mojo_bindings") { | 9 mojom("mojo_bindings") { |
10 sources = [ | 10 sources = [ |
(...skipping 25 matching lines...) Expand all Loading... |
36 ] | 36 ] |
37 outputs = [ | 37 outputs = [ |
38 "grit/test_resources.h", | 38 "grit/test_resources.h", |
39 "test_resources.pak", | 39 "test_resources.pak", |
40 ] | 40 ] |
41 grit_flags = [ | 41 grit_flags = [ |
42 "-E", | 42 "-E", |
43 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 43 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
44 ] | 44 ] |
45 } | 45 } |
| 46 |
| 47 source_set("test_support") { |
| 48 testonly = true |
| 49 |
| 50 deps = [ |
| 51 "//base", |
| 52 "//base/test:test_support", |
| 53 "//ios/web:web", |
| 54 "//testing/gtest", |
| 55 "//third_party/ocmock", |
| 56 "//ui/base", |
| 57 ] |
| 58 |
| 59 sources = [ |
| 60 "crw_fake_web_controller_observer.h", |
| 61 "crw_fake_web_controller_observer.mm", |
| 62 "test_url_constants.cc", |
| 63 "test_url_constants.h", |
| 64 "test_web_thread.cc", |
| 65 "test_web_thread_bundle.cc", |
| 66 "url_test_util.mm", |
| 67 "web_int_test.h", |
| 68 "web_int_test.mm", |
| 69 "web_test_suite.mm", |
| 70 "web_test_with_web_controller.h", |
| 71 "web_test_with_web_controller.mm", |
| 72 "wk_web_view_crash_utils.h", |
| 73 "wk_web_view_crash_utils.mm", |
| 74 ] |
| 75 } |
OLD | NEW |