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