altimin | 168fe2a | 2015-12-02 15:35:21 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
alexclarke | a50533ee | 2016-07-29 11:34:48 | [diff] [blame] | 5 | import("//mojo/public/tools/bindings/mojom.gni") |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 6 | import("//testing/test.gni") |
skyostil | 85c6b56 | 2016-03-02 16:13:05 | [diff] [blame] | 7 | import("//tools/grit/grit_rule.gni") |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 8 | import("//tools/grit/repack.gni") |
| 9 | |
altimin | 3156ebc | 2016-06-09 11:43:15 | [diff] [blame] | 10 | config("headless_implementation") { |
| 11 | defines = [ "HEADLESS_IMPLEMENTATION" ] |
| 12 | } |
| 13 | |
altimin | 168fe2a | 2015-12-02 15:35:21 | [diff] [blame] | 14 | group("headless") { |
| 15 | deps = [ |
| 16 | "//headless:headless_lib", |
| 17 | ] |
| 18 | } |
| 19 | |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 20 | repack("pak") { |
altimin | 168fe2a | 2015-12-02 15:35:21 | [diff] [blame] | 21 | sources = [ |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 22 | "$root_gen_dir/blink/devtools_resources.pak", |
| 23 | "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak", |
| 24 | "$root_gen_dir/blink/public/resources/blink_resources.pak", |
| 25 | "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
| 26 | "$root_gen_dir/content/app/strings/content_strings_en-US.pak", |
| 27 | "$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
| 28 | "$root_gen_dir/content/content_resources.pak", |
skyostil | 85c6b56 | 2016-03-02 16:13:05 | [diff] [blame] | 29 | "$root_gen_dir/headless/headless_lib_resources.pak", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 30 | "$root_gen_dir/net/net_resources.pak", |
| 31 | "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
| 32 | "$root_gen_dir/ui/resources/webui_resources.pak", |
| 33 | "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 34 | "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
altimin | 168fe2a | 2015-12-02 15:35:21 | [diff] [blame] | 35 | ] |
| 36 | |
| 37 | deps = [ |
skyostil | 85c6b56 | 2016-03-02 16:13:05 | [diff] [blame] | 38 | ":headless_lib_resources_grit", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 39 | "//content:resources", |
| 40 | "//content/app/resources", |
| 41 | "//content/app/strings", |
| 42 | "//content/browser/devtools:resources", |
| 43 | "//content/browser/tracing:resources", |
| 44 | "//net:net_resources", |
| 45 | "//third_party/WebKit/public:image_resources", |
| 46 | "//third_party/WebKit/public:resources", |
| 47 | "//ui/resources", |
| 48 | "//ui/strings", |
| 49 | ] |
| 50 | |
| 51 | output = "$root_out_dir/headless_lib.pak" |
| 52 | } |
| 53 | |
skyostil | 85c6b56 | 2016-03-02 16:13:05 | [diff] [blame] | 54 | grit("headless_lib_resources_grit") { |
| 55 | source = "lib/resources/headless_lib_resources.grd" |
| 56 | outputs = [ |
| 57 | "grit/headless_lib_resources.h", |
| 58 | "$root_gen_dir/headless/headless_lib_resources.pak", |
| 59 | ] |
| 60 | } |
| 61 | |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 62 | generated_devtools_api = [ |
| 63 | "$target_gen_dir/public/domains/accessibility.cc", |
| 64 | "$target_gen_dir/public/domains/accessibility.h", |
| 65 | "$target_gen_dir/public/domains/animation.cc", |
| 66 | "$target_gen_dir/public/domains/animation.h", |
| 67 | "$target_gen_dir/public/domains/application_cache.cc", |
| 68 | "$target_gen_dir/public/domains/application_cache.h", |
| 69 | "$target_gen_dir/public/domains/browser.cc", |
| 70 | "$target_gen_dir/public/domains/browser.h", |
| 71 | "$target_gen_dir/public/domains/cache_storage.cc", |
| 72 | "$target_gen_dir/public/domains/cache_storage.h", |
| 73 | "$target_gen_dir/public/domains/console.cc", |
| 74 | "$target_gen_dir/public/domains/console.h", |
| 75 | "$target_gen_dir/public/domains/css.cc", |
| 76 | "$target_gen_dir/public/domains/css.h", |
| 77 | "$target_gen_dir/public/domains/database.cc", |
| 78 | "$target_gen_dir/public/domains/database.h", |
| 79 | "$target_gen_dir/public/domains/debugger.cc", |
| 80 | "$target_gen_dir/public/domains/debugger.h", |
| 81 | "$target_gen_dir/public/domains/device_orientation.cc", |
| 82 | "$target_gen_dir/public/domains/device_orientation.h", |
| 83 | "$target_gen_dir/public/domains/dom_debugger.cc", |
| 84 | "$target_gen_dir/public/domains/dom_debugger.h", |
| 85 | "$target_gen_dir/public/domains/dom.cc", |
| 86 | "$target_gen_dir/public/domains/dom.h", |
| 87 | "$target_gen_dir/public/domains/dom_storage.cc", |
| 88 | "$target_gen_dir/public/domains/dom_storage.h", |
| 89 | "$target_gen_dir/public/domains/emulation.cc", |
| 90 | "$target_gen_dir/public/domains/emulation.h", |
| 91 | "$target_gen_dir/public/domains/heap_profiler.cc", |
| 92 | "$target_gen_dir/public/domains/heap_profiler.h", |
| 93 | "$target_gen_dir/public/domains/indexeddb.cc", |
| 94 | "$target_gen_dir/public/domains/indexeddb.h", |
| 95 | "$target_gen_dir/public/domains/input.cc", |
| 96 | "$target_gen_dir/public/domains/input.h", |
| 97 | "$target_gen_dir/public/domains/inspector.cc", |
| 98 | "$target_gen_dir/public/domains/inspector.h", |
| 99 | "$target_gen_dir/public/domains/io.cc", |
| 100 | "$target_gen_dir/public/domains/io.h", |
| 101 | "$target_gen_dir/public/domains/layer_tree.cc", |
| 102 | "$target_gen_dir/public/domains/layer_tree.h", |
| 103 | "$target_gen_dir/public/domains/log.cc", |
| 104 | "$target_gen_dir/public/domains/log.h", |
| 105 | "$target_gen_dir/public/domains/memory.cc", |
| 106 | "$target_gen_dir/public/domains/memory.h", |
| 107 | "$target_gen_dir/public/domains/network.cc", |
| 108 | "$target_gen_dir/public/domains/network.h", |
| 109 | "$target_gen_dir/public/domains/page.cc", |
| 110 | "$target_gen_dir/public/domains/page.h", |
| 111 | "$target_gen_dir/public/domains/profiler.cc", |
| 112 | "$target_gen_dir/public/domains/profiler.h", |
| 113 | "$target_gen_dir/public/domains/rendering.cc", |
| 114 | "$target_gen_dir/public/domains/rendering.h", |
| 115 | "$target_gen_dir/public/domains/runtime.cc", |
| 116 | "$target_gen_dir/public/domains/runtime.h", |
| 117 | "$target_gen_dir/public/domains/security.cc", |
| 118 | "$target_gen_dir/public/domains/security.h", |
| 119 | "$target_gen_dir/public/domains/service_worker.cc", |
| 120 | "$target_gen_dir/public/domains/service_worker.h", |
| 121 | "$target_gen_dir/public/domains/tracing.cc", |
| 122 | "$target_gen_dir/public/domains/tracing.h", |
| 123 | "$target_gen_dir/public/domains/type_conversions.h", |
| 124 | "$target_gen_dir/public/domains/types.cc", |
| 125 | "$target_gen_dir/public/domains/types.h", |
| 126 | "$target_gen_dir/public/domains/worker.cc", |
| 127 | "$target_gen_dir/public/domains/worker.h", |
| 128 | ] |
| 129 | |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 130 | action("gen_devtools_client_api") { |
| 131 | script = "//headless/lib/browser/client_api_generator.py" |
pfeldman | b3464215 | 2016-06-04 01:28:42 | [diff] [blame] | 132 | deps = [ |
| 133 | "//third_party/WebKit/Source/core/inspector:protocol_version", |
| 134 | ] |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 135 | inputs = [ |
pfeldman | b3464215 | 2016-06-04 01:28:42 | [diff] [blame] | 136 | "$root_gen_dir/blink/core/inspector/protocol.json", |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 137 | ] |
| 138 | |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 139 | outputs = generated_devtools_api |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 140 | |
| 141 | sources = [ |
| 142 | "lib/browser/domain_cc.template", |
| 143 | "lib/browser/domain_h.template", |
| 144 | "lib/browser/type_conversions_h.template", |
| 145 | "lib/browser/types_cc.template", |
| 146 | "lib/browser/types_h.template", |
| 147 | ] |
| 148 | |
| 149 | args = [ |
| 150 | "--protocol", |
| 151 | rebase_path(inputs[0], root_build_dir), |
| 152 | "--output_dir", |
| 153 | rebase_path(target_gen_dir) + "/public/domains", |
| 154 | ] |
| 155 | } |
| 156 | |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 157 | static_library("headless_lib") { |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 158 | sources = generated_devtools_api + [ |
| 159 | "lib/browser/headless_browser_context_impl.cc", |
| 160 | "lib/browser/headless_browser_context_impl.h", |
| 161 | "lib/browser/headless_browser_context_options.cc", |
| 162 | "lib/browser/headless_browser_context_options.h", |
| 163 | "lib/browser/headless_browser_impl.cc", |
| 164 | "lib/browser/headless_browser_impl.h", |
| 165 | "lib/browser/headless_browser_main_parts.cc", |
| 166 | "lib/browser/headless_browser_main_parts.h", |
| 167 | "lib/browser/headless_content_browser_client.cc", |
| 168 | "lib/browser/headless_content_browser_client.h", |
| 169 | "lib/browser/headless_devtools.cc", |
| 170 | "lib/browser/headless_devtools.h", |
| 171 | "lib/browser/headless_devtools_client_impl.cc", |
| 172 | "lib/browser/headless_devtools_client_impl.h", |
| 173 | "lib/browser/headless_devtools_manager_delegate.cc", |
| 174 | "lib/browser/headless_devtools_manager_delegate.h", |
| 175 | "lib/browser/headless_screen.cc", |
| 176 | "lib/browser/headless_screen.h", |
| 177 | "lib/browser/headless_url_request_context_getter.cc", |
| 178 | "lib/browser/headless_url_request_context_getter.h", |
| 179 | "lib/browser/headless_web_contents_impl.cc", |
| 180 | "lib/browser/headless_web_contents_impl.h", |
| 181 | "lib/browser/headless_window_tree_client.cc", |
| 182 | "lib/browser/headless_window_tree_client.h", |
| 183 | "lib/headless_content_client.cc", |
| 184 | "lib/headless_content_client.h", |
| 185 | "lib/headless_content_main_delegate.cc", |
| 186 | "lib/headless_content_main_delegate.h", |
| 187 | "lib/renderer/headless_content_renderer_client.cc", |
| 188 | "lib/renderer/headless_content_renderer_client.h", |
| 189 | "lib/utility/headless_content_utility_client.cc", |
| 190 | "lib/utility/headless_content_utility_client.h", |
| 191 | "public/headless_browser.cc", |
| 192 | "public/headless_browser.h", |
| 193 | "public/headless_browser_context.h", |
| 194 | "public/headless_devtools_client.h", |
| 195 | "public/headless_devtools_host.h", |
| 196 | "public/headless_devtools_target.h", |
| 197 | "public/headless_export.h", |
| 198 | "public/headless_web_contents.h", |
| 199 | "public/internal/message_dispatcher.h", |
| 200 | "public/internal/value_conversions.h", |
| 201 | "public/util/black_hole_protocol_handler.cc", |
| 202 | "public/util/black_hole_protocol_handler.h", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 203 | "public/util/deterministic_dispatcher.cc", |
| 204 | "public/util/deterministic_dispatcher.h", |
alexclarke | ad54054 | 2016-09-23 18:03:37 | [diff] [blame] | 205 | "public/util/deterministic_http_protocol_handler.cc", |
| 206 | "public/util/deterministic_http_protocol_handler.h", |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 207 | "public/util/error_reporter.cc", |
| 208 | "public/util/error_reporter.h", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 209 | "public/util/expedited_dispatcher.cc", |
| 210 | "public/util/expedited_dispatcher.h", |
| 211 | "public/util/generic_url_request_job.cc", |
| 212 | "public/util/generic_url_request_job.h", |
alexclarke | ad54054 | 2016-09-23 18:03:37 | [diff] [blame] | 213 | "public/util/http_url_fetcher.cc", |
| 214 | "public/util/http_url_fetcher.h", |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 215 | "public/util/in_memory_protocol_handler.cc", |
| 216 | "public/util/in_memory_protocol_handler.h", |
| 217 | "public/util/in_memory_request_job.cc", |
| 218 | "public/util/in_memory_request_job.h", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 219 | "public/util/managed_dispatch_url_request_job.cc", |
| 220 | "public/util/managed_dispatch_url_request_job.h", |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 221 | "public/util/user_agent.cc", |
| 222 | "public/util/user_agent.h", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 223 | "public/util/url_fetcher.cc", |
| 224 | "public/util/url_fetcher.h", |
| 225 | "public/util/url_request_dispatcher.h", |
altimin | 93a0240 | 2016-08-03 16:26:43 | [diff] [blame] | 226 | ] |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 227 | |
| 228 | deps = [ |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 229 | ":gen_devtools_client_api", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 230 | ":pak", |
altimin | 168fe2a | 2015-12-02 15:35:21 | [diff] [blame] | 231 | "//base", |
skyostil | 185d8aa | 2016-04-05 11:36:32 | [diff] [blame] | 232 | "//content/public/app:both", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 233 | "//content/public/browser", |
skyostil | 185d8aa | 2016-04-05 11:36:32 | [diff] [blame] | 234 | "//content/public/child", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 235 | "//content/public/common", |
| 236 | "//content/public/renderer", |
| 237 | "//content/public/utility", |
| 238 | "//net", |
alexclarke | a50533ee | 2016-07-29 11:34:48 | [diff] [blame] | 239 | "//services/shell/public/cpp", |
skyostil | ebfd8684 | 2016-07-28 18:43:42 | [diff] [blame] | 240 | "//third_party/mesa:osmesa", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 241 | "//ui/aura", |
| 242 | "//ui/base", |
| 243 | "//ui/compositor", |
oshima | fa4fba0 | 2016-05-03 12:56:54 | [diff] [blame] | 244 | "//ui/display", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 245 | "//ui/ozone", |
| 246 | "//url", |
| 247 | ] |
altimin | 3156ebc | 2016-06-09 11:43:15 | [diff] [blame] | 248 | |
| 249 | configs += [ ":headless_implementation" ] |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 250 | } |
| 251 | |
| 252 | group("headless_tests") { |
| 253 | testonly = true |
| 254 | |
| 255 | deps = [ |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 256 | ":client_api_generator_tests", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 257 | ":headless_browsertests", |
skyostil | d79e151 | 2016-04-07 17:50:58 | [diff] [blame] | 258 | ":headless_unittests", |
| 259 | ] |
| 260 | } |
| 261 | |
| 262 | test("headless_unittests") { |
| 263 | sources = [ |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 264 | "public/domains/types_unittest.cc", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 265 | "public/util/deterministic_dispatcher_test.cc", |
skyostil | 8ad264e | 2016-04-11 16:23:06 | [diff] [blame] | 266 | "public/util/error_reporter_unittest.cc", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 267 | "public/util/expedited_dispatcher_test.cc", |
| 268 | "public/util/generic_url_request_job_test.cc", |
| 269 | "public/util/testing/fake_managed_dispatch_url_request_job.cc", |
| 270 | "public/util/testing/fake_managed_dispatch_url_request_job.h", |
| 271 | "public/util/testing/generic_url_request_mocks.cc", |
| 272 | "public/util/testing/generic_url_request_mocks.h", |
skyostil | d79e151 | 2016-04-07 17:50:58 | [diff] [blame] | 273 | ] |
| 274 | |
| 275 | deps = [ |
skyostil | 8ad264e | 2016-04-11 16:23:06 | [diff] [blame] | 276 | ":headless_lib", |
skyostil | d79e151 | 2016-04-07 17:50:58 | [diff] [blame] | 277 | "//base/test:run_all_unittests", |
| 278 | "//base/test:test_support", |
alexclarke | 1660df5 | 2016-08-19 14:02:49 | [diff] [blame] | 279 | "//testing/gmock", |
skyostil | d79e151 | 2016-04-07 17:50:58 | [diff] [blame] | 280 | "//testing/gtest", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 281 | ] |
| 282 | } |
| 283 | |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 284 | action("client_api_generator_tests") { |
| 285 | _stamp = "$target_gen_dir/client_api_generator_unittests.stamp" |
| 286 | inputs = [ |
| 287 | "lib/browser/client_api_generator.py", |
| 288 | "lib/browser/client_api_generator_unittest.py", |
| 289 | ] |
| 290 | outputs = [ |
| 291 | _stamp, |
| 292 | ] |
| 293 | |
| 294 | script = "lib/browser/client_api_generator_unittest.py" |
| 295 | args = [ |
| 296 | "--stamp", |
| 297 | rebase_path(_stamp, root_build_dir), |
| 298 | ] |
| 299 | } |
| 300 | |
alexclarke | a50533ee | 2016-07-29 11:34:48 | [diff] [blame] | 301 | mojom("embedder_mojo_for_testing") { |
| 302 | sources = [ |
| 303 | "lib/embedder_test.mojom", |
| 304 | ] |
| 305 | } |
| 306 | |
| 307 | grit("headless_browsertest_resources_grit") { |
| 308 | source = "lib/headless_browsertest_resources.grd" |
| 309 | outputs = [ |
| 310 | "grit/headless_browsertest_resources.h", |
| 311 | "$root_gen_dir/headless/headless_browsertest_resources.pak", |
| 312 | ] |
| 313 | grit_flags = [ |
| 314 | "-E", |
| 315 | "mojom_root=" + rebase_path(root_gen_dir), |
| 316 | ] |
| 317 | deps = [ |
| 318 | ":embedder_mojo_for_testing__generator", |
| 319 | ] |
| 320 | resource_ids = "lib/headless_browsertest_resource_ids" |
| 321 | } |
| 322 | |
| 323 | repack("headless_browser_tests_pak") { |
| 324 | sources = [ |
| 325 | "$root_gen_dir/headless/headless_browsertest_resources.pak", |
| 326 | ] |
| 327 | output = "$root_out_dir/headless_browser_tests.pak" |
| 328 | deps = [ |
| 329 | ":headless_browsertest_resources_grit", |
| 330 | ] |
| 331 | } |
| 332 | |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 333 | test("headless_browsertests") { |
| 334 | sources = [ |
alexclarke | a50533ee | 2016-07-29 11:34:48 | [diff] [blame] | 335 | "lib/embedder_mojo_browsertest.cc", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 336 | "lib/headless_browser_browsertest.cc", |
skyostil | d34af14 | 2016-06-23 17:19:45 | [diff] [blame] | 337 | "lib/headless_browser_context_browsertest.cc", |
skyostil | 564a123 | 2016-04-20 13:45:18 | [diff] [blame] | 338 | "lib/headless_devtools_client_browsertest.cc", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 339 | "lib/headless_web_contents_browsertest.cc", |
| 340 | "test/headless_browser_test.cc", |
| 341 | "test/headless_browser_test.h", |
| 342 | "test/headless_test_launcher.cc", |
skyostil | d34af14 | 2016-06-23 17:19:45 | [diff] [blame] | 343 | "test/test_protocol_handler.cc", |
| 344 | "test/test_protocol_handler.h", |
| 345 | "test/test_url_request_job.cc", |
| 346 | "test/test_url_request_job.h", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 347 | ] |
| 348 | |
alexclarke | a50533ee | 2016-07-29 11:34:48 | [diff] [blame] | 349 | data = [ |
| 350 | "$root_out_dir/headless_browser_tests.pak", |
| 351 | ] |
| 352 | |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 353 | defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 354 | |
| 355 | deps = [ |
alexclarke | a50533ee | 2016-07-29 11:34:48 | [diff] [blame] | 356 | ":embedder_mojo_for_testing", |
| 357 | ":headless_browser_tests_pak", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 358 | "//base", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 359 | "//content/test:test_support", |
| 360 | "//headless:headless_lib", |
| 361 | "//testing/gmock", |
| 362 | "//testing/gtest", |
| 363 | ] |
| 364 | } |
| 365 | |
| 366 | executable("headless_shell") { |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 367 | sources = [ |
| 368 | "app/headless_shell.cc", |
skyostil | f52fa5b | 2016-03-15 11:38:45 | [diff] [blame] | 369 | "app/headless_shell_switches.cc", |
| 370 | "app/headless_shell_switches.h", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 371 | ] |
| 372 | |
| 373 | deps = [ |
| 374 | "//headless:headless_lib", |
altimin | 168fe2a | 2015-12-02 15:35:21 | [diff] [blame] | 375 | ] |
| 376 | } |