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 28 matching lines...) Expand all Loading... |
39 ] | 39 ] |
40 outputs = [ | 40 outputs = [ |
41 "grit/test_resources.h", | 41 "grit/test_resources.h", |
42 "test_resources.pak", | 42 "test_resources.pak", |
43 ] | 43 ] |
44 grit_flags = [ | 44 grit_flags = [ |
45 "-E", | 45 "-E", |
46 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 46 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
47 ] | 47 ] |
48 } | 48 } |
| 49 |
| 50 source_set("test_support") { |
| 51 testonly = true |
| 52 |
| 53 deps = [ |
| 54 ":test_constants", |
| 55 "//base", |
| 56 "//base/test:test_support", |
| 57 "//ios/web:web", |
| 58 "//ios/web/public/test/fakes", |
| 59 "//ios/web/public/test/http_server", |
| 60 "//testing/gtest", |
| 61 "//third_party/ocmock", |
| 62 "//ui/base", |
| 63 ] |
| 64 |
| 65 sources = [ |
| 66 "crw_fake_web_controller_observer.h", |
| 67 "crw_fake_web_controller_observer.mm", |
| 68 "test_web_thread.cc", |
| 69 "test_web_thread_bundle.cc", |
| 70 "url_test_util.mm", |
| 71 "web_int_test.h", |
| 72 "web_int_test.mm", |
| 73 "web_test_suite.mm", |
| 74 "web_test_with_web_controller.h", |
| 75 "web_test_with_web_controller.mm", |
| 76 "wk_web_view_crash_utils.h", |
| 77 "wk_web_view_crash_utils.mm", |
| 78 ] |
| 79 } |
| 80 |
| 81 source_set("test_constants") { |
| 82 testonly = true |
| 83 sources = [ |
| 84 "test_url_constants.cc", |
| 85 "test_url_constants.h", |
| 86 ] |
| 87 } |
OLD | NEW |