| 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.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 executable("standalone") { |
| 10 output_name = "mojo_runner" | 10 output_name = "mojo_runner" |
| 11 sources = [ | 11 sources = [ |
| 12 "desktop/main.cc", | 12 "desktop/main.cc", |
| 13 ] | 13 ] |
| 14 deps = [ | 14 deps = [ |
| 15 ":lib", | 15 ":lib", |
| 16 "//base", | 16 "//base", |
| 17 "//build/config/sanitizers:deps", | 17 "//build/config/sanitizers:deps", |
| 18 "//build/win:default_exe_manifest", |
| 18 ] | 19 ] |
| 19 } | 20 } |
| 20 | 21 |
| 21 source_set("lib") { | 22 source_set("lib") { |
| 22 sources = [ | 23 sources = [ |
| 23 "context.cc", | 24 "context.cc", |
| 24 "context.h", | 25 "context.h", |
| 25 "desktop/launcher_process.cc", | 26 "desktop/launcher_process.cc", |
| 26 "desktop/launcher_process.h", | 27 "desktop/launcher_process.h", |
| 27 "desktop/main_helper.cc", | 28 "desktop/main_helper.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 51 ] | 52 ] |
| 52 | 53 |
| 53 # This target includes some files behind #ifdef OS... guards. Since gn is not | 54 # 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 # 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 # 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 # 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 # 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 # separate source_set so we can leave checking on for the rest of the target. |
| 59 check_includes = false | 60 check_includes = false |
| 60 } | 61 } |
| OLD | NEW |