Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1615)

Side by Side Diff: services/shell/standalone/BUILD.gn

Issue 2004743002: [iOS/GN] Fix the compilation of "all" on iOS with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/shell/public/cpp/BUILD.gn ('k') | skia/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "//build/win:default_exe_manifest",
19 ] 19 ]
20 } 20 }
21 21
22 source_set("lib") { 22 source_set("lib") {
23 sources = [ 23 sources = [
24 "context.cc",
25 "context.h",
26 "desktop/launcher_process.cc", 24 "desktop/launcher_process.cc",
27 "desktop/launcher_process.h", 25 "desktop/launcher_process.h",
28 "desktop/main_helper.cc", 26 "desktop/main_helper.cc",
29 "desktop/main_helper.h", 27 "desktop/main_helper.h",
30 "tracer.cc", 28 "tracer.cc",
31 "tracer.h", 29 "tracer.h",
32 ] 30 ]
33 31
34 deps = [ 32 deps = [
35 "//base", 33 "//base",
36 "//base:base_static", 34 "//base:base_static",
37 "//base/third_party/dynamic_annotations", 35 "//base/third_party/dynamic_annotations",
38 "//components/tracing:startup_tracing", 36 "//components/tracing:startup_tracing",
39 "//mojo/edk/system", 37 "//mojo/edk/system",
40 "//services/catalog:lib", 38 "//services/catalog:lib",
41 "//services/shell", 39 "//services/shell",
42 "//services/shell/public/cpp", 40 "//services/shell/public/cpp",
43 "//services/shell/runner/host:lib", 41 "//services/shell/runner/host:lib",
44 "//services/tracing/public/cpp", 42 "//services/tracing/public/cpp",
45 "//services/tracing/public/interfaces", 43 "//services/tracing/public/interfaces",
46 "//url", 44 "//url",
47 ] 45 ]
48 46
49 data_deps = [ 47 data_deps = [
50 "//services/tracing", 48 "//services/tracing",
51 ] 49 ]
52 50
51 if (!is_ios) {
52 sources += [
53 "context.cc",
54 "context.h",
55 ]
56 }
57
53 # This target includes some files behind #ifdef OS... guards. Since gn is not 58 # This target includes some files behind #ifdef OS... guards. Since gn is not
54 # smart enough to understand preprocess includes, it does complains about 59 # smart enough to understand preprocess includes, it does complains about
55 # these includes when not using the build files for that OS. Suppress checking 60 # 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. 61 # 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 62 # 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. 63 # separate source_set so we can leave checking on for the rest of the target.
59 check_includes = false 64 check_includes = false
60 } 65 }
OLDNEW
« no previous file with comments | « services/shell/public/cpp/BUILD.gn ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698