| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 5 import("//testing/test.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 group("headless") { | 9 group("headless") { |
| 10 deps = [ | 10 deps = [ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "lib/headless_content_main_delegate.cc", | 77 "lib/headless_content_main_delegate.cc", |
| 78 "lib/headless_content_main_delegate.h", | 78 "lib/headless_content_main_delegate.h", |
| 79 "lib/renderer/headless_content_renderer_client.cc", | 79 "lib/renderer/headless_content_renderer_client.cc", |
| 80 "lib/renderer/headless_content_renderer_client.h", | 80 "lib/renderer/headless_content_renderer_client.h", |
| 81 "lib/utility/headless_content_utility_client.cc", | 81 "lib/utility/headless_content_utility_client.cc", |
| 82 "lib/utility/headless_content_utility_client.h", | 82 "lib/utility/headless_content_utility_client.h", |
| 83 "public/headless_browser.cc", | 83 "public/headless_browser.cc", |
| 84 "public/headless_browser.h", | 84 "public/headless_browser.h", |
| 85 "public/headless_export.h", | 85 "public/headless_export.h", |
| 86 "public/headless_web_contents.h", | 86 "public/headless_web_contents.h", |
| 87 "public/util/maybe.h", |
| 87 ] | 88 ] |
| 88 | 89 |
| 89 deps = [ | 90 deps = [ |
| 90 ":pak", | 91 ":pak", |
| 91 "//base", | 92 "//base", |
| 92 "//components/devtools_http_handler", | 93 "//components/devtools_http_handler", |
| 93 "//content/public/app:both", | 94 "//content/public/app:both", |
| 94 "//content/public/browser", | 95 "//content/public/browser", |
| 95 "//content/public/child", | 96 "//content/public/child", |
| 96 "//content/public/common", | 97 "//content/public/common", |
| 97 "//content/public/renderer", | 98 "//content/public/renderer", |
| 98 "//content/public/utility", | 99 "//content/public/utility", |
| 99 "//net", | 100 "//net", |
| 100 "//ui/aura", | 101 "//ui/aura", |
| 101 "//ui/base", | 102 "//ui/base", |
| 102 "//ui/compositor", | 103 "//ui/compositor", |
| 103 "//ui/ozone", | 104 "//ui/ozone", |
| 104 "//url", | 105 "//url", |
| 105 ] | 106 ] |
| 106 } | 107 } |
| 107 | 108 |
| 108 group("headless_tests") { | 109 group("headless_tests") { |
| 109 testonly = true | 110 testonly = true |
| 110 | 111 |
| 111 deps = [ | 112 deps = [ |
| 112 ":headless_browsertests", | 113 ":headless_browsertests", |
| 114 ":headless_unittests", |
| 113 ] | 115 ] |
| 114 } | 116 } |
| 115 | 117 |
| 118 test("headless_unittests") { |
| 119 sources = [ |
| 120 "public/util/maybe_unittest.cc", |
| 121 ] |
| 122 |
| 123 deps = [ |
| 124 "//base/test:run_all_unittests", |
| 125 "//base/test:test_support", |
| 126 "//testing/gtest", |
| 127 ] |
| 128 } |
| 129 |
| 116 test("headless_browsertests") { | 130 test("headless_browsertests") { |
| 117 sources = [ | 131 sources = [ |
| 118 "lib/headless_browser_browsertest.cc", | 132 "lib/headless_browser_browsertest.cc", |
| 119 "lib/headless_web_contents_browsertest.cc", | 133 "lib/headless_web_contents_browsertest.cc", |
| 120 "test/headless_browser_test.cc", | 134 "test/headless_browser_test.cc", |
| 121 "test/headless_browser_test.h", | 135 "test/headless_browser_test.h", |
| 122 "test/headless_test_launcher.cc", | 136 "test/headless_test_launcher.cc", |
| 123 ] | 137 ] |
| 124 | 138 |
| 125 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 139 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| (...skipping 14 matching lines...) Expand all Loading... |
| 140 sources = [ | 154 sources = [ |
| 141 "app/headless_shell.cc", | 155 "app/headless_shell.cc", |
| 142 "app/headless_shell_switches.cc", | 156 "app/headless_shell_switches.cc", |
| 143 "app/headless_shell_switches.h", | 157 "app/headless_shell_switches.h", |
| 144 ] | 158 ] |
| 145 | 159 |
| 146 deps = [ | 160 deps = [ |
| 147 "//headless:headless_lib", | 161 "//headless:headless_lib", |
| 148 ] | 162 ] |
| 149 } | 163 } |
| OLD | NEW |