| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 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 | |
| 5 import("//mojo/public/mojo_application.gni") | |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | |
| 7 import("//testing/test.gni") | |
| 8 | |
| 9 executable("standalone") { | |
| 10 output_name = "mojo_runner" | |
| 11 sources = [ | |
| 12 "desktop/main.cc", | |
| 13 ] | |
| 14 deps = [ | |
| 15 ":lib", | |
| 16 "//base", | |
| 17 "//build/config/sanitizers:deps", | |
| 18 ] | |
| 19 } | |
| 20 | |
| 21 source_set("lib") { | |
| 22 sources = [ | |
| 23 "context.cc", | |
| 24 "context.h", | |
| 25 "desktop/launcher_process.cc", | |
| 26 "desktop/launcher_process.h", | |
| 27 "desktop/main_helper.cc", | |
| 28 "desktop/main_helper.h", | |
| 29 "tracer.cc", | |
| 30 "tracer.h", | |
| 31 ] | |
| 32 | |
| 33 deps = [ | |
| 34 "//base", | |
| 35 "//base:base_static", | |
| 36 "//base/third_party/dynamic_annotations", | |
| 37 "//components/tracing:startup_tracing", | |
| 38 "//mojo/edk/system", | |
| 39 "//mojo/message_pump", | |
| 40 "//mojo/services/catalog:lib", | |
| 41 "//mojo/services/tracing/public/cpp", | |
| 42 "//mojo/services/tracing/public/interfaces", | |
| 43 "//mojo/shell", | |
| 44 "//mojo/shell/public/cpp", | |
| 45 "//mojo/shell/runner/host:lib", | |
| 46 "//url", | |
| 47 ] | |
| 48 | |
| 49 data_deps = [ | |
| 50 "//mojo/services/tracing", | |
| 51 ] | |
| 52 | |
| 53 # This target includes some files behind #ifdef OS... guards. Since gn is not | |
| 54 # smart enough to understand preprocess includes, it does complains about | |
| 55 # these includes when not using the build files for that OS. Suppress checking | |
| 56 # so we can enable checking for the rest of the targets in this file. | |
| 57 # TODO: Might be better to split the files with OS-specific includes out to a | |
| 58 # separate source_set so we can leave checking on for the rest of the target. | |
| 59 check_includes = false | |
| 60 } | |
| OLD | NEW |