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

Side by Side Diff: components/nacl/common/BUILD.gn

Issue 2590853002: Revert of Convert NaCl renderer-loader messages to mojo. (Closed)
Patch Set: Created 4 years 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 | « components/nacl/DEPS ('k') | components/nacl/common/OWNERS » ('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 2015 The Chromium Authors. All rights reserved. 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 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7 6
8 if (enable_nacl) { 7 if (enable_nacl) {
9 # This is separate so it can be used by ../broker:nacl64. 8 # This is separate so it can be used by ../broker:nacl64.
10 static_library("minimal") { 9 static_library("minimal") {
11 sources = [ 10 sources = [
12 "nacl_cmd_line.cc", 11 "nacl_cmd_line.cc",
13 "nacl_cmd_line.h", 12 "nacl_cmd_line.h",
14 "nacl_constants.cc", 13 "nacl_constants.cc",
15 "nacl_constants.h", 14 "nacl_constants.h",
16 "nacl_messages.cc", 15 "nacl_messages.cc",
17 "nacl_messages.h", 16 "nacl_messages.h",
18 "nacl_process_type.h", 17 "nacl_process_type.h",
18 "nacl_renderer_messages.cc",
19 "nacl_renderer_messages.h",
19 "nacl_sandbox_type.h", 20 "nacl_sandbox_type.h",
20 "nacl_types.cc", 21 "nacl_types.cc",
21 "nacl_types.h", 22 "nacl_types.h",
22 "nacl_types_param_traits.cc", 23 "nacl_types_param_traits.cc",
23 "nacl_types_param_traits.h", 24 "nacl_types_param_traits.h",
24 ] 25 ]
25 26
26 public_deps = [ 27 public_deps = [
27 ":switches", 28 ":switches",
28 ] 29 ]
29 30
30 deps = [ 31 deps = [
31 ":minimal_content_dummy", 32 ":minimal_content_dummy",
32 ":nacl_error_code",
33 "//base", 33 "//base",
34 "//base:base_static", 34 "//base:base_static",
35 "//ipc", 35 "//ipc",
36 ] 36 ]
37 } 37 }
38 38
39 # This exists just to make 'gn check' happy with :minimal. It can't 39 # This exists just to make 'gn check' happy with :minimal. It can't
40 # depend on //content/public/common or anything like that, because that 40 # depend on //content/public/common or anything like that, because that
41 # would bring in lots more than counts as "minimal" (stuff that should 41 # would bring in lots more than counts as "minimal" (stuff that should
42 # not be in the nacl64.exe build). 42 # not be in the nacl64.exe build).
(...skipping 16 matching lines...) Expand all
59 "nacl_host_messages.cc", 59 "nacl_host_messages.cc",
60 "nacl_host_messages.h", 60 "nacl_host_messages.h",
61 "nacl_nonsfi_util.cc", 61 "nacl_nonsfi_util.cc",
62 "nacl_nonsfi_util.h", 62 "nacl_nonsfi_util.h",
63 "pnacl_types.cc", 63 "pnacl_types.cc",
64 "pnacl_types.h", 64 "pnacl_types.h",
65 ] 65 ]
66 66
67 public_deps = [ 67 public_deps = [
68 ":minimal", 68 ":minimal",
69 ":mojo_bindings",
70 ":switches", 69 ":switches",
71 ] 70 ]
72 71
73 deps = [ 72 deps = [
74 "//base", 73 "//base",
75 "//content/public/common", 74 "//content/public/common",
76 "//ipc", 75 "//ipc",
77 "//url", 76 "//url",
78 ] 77 ]
79 78
(...skipping 10 matching lines...) Expand all
90 source_set("debug_exception_handler") { 89 source_set("debug_exception_handler") {
91 sources = [ 90 sources = [
92 "nacl_debug_exception_handler_win.cc", 91 "nacl_debug_exception_handler_win.cc",
93 "nacl_debug_exception_handler_win.h", 92 "nacl_debug_exception_handler_win.h",
94 ] 93 ]
95 94
96 deps = [ 95 deps = [
97 "//base", 96 "//base",
98 ] 97 ]
99 } 98 }
100
101 source_set("nacl_error_code") {
102 sources = [
103 "//native_client/src/trusted/service_runtime/nacl_error_code.h",
104 ]
105 }
106
107 mojom("mojo_bindings") {
108 sources = [
109 "nacl.mojom",
110 ]
111 }
112 } 99 }
113 100
114 # Depending on this allows targets to unconditionally include 101 # Depending on this allows targets to unconditionally include
115 # nacl_process_type.h without testing whether nacl is enabled. 102 # nacl_process_type.h without testing whether nacl is enabled.
116 source_set("process_type") { 103 source_set("process_type") {
117 public = [ 104 public = [
118 "nacl_process_type.h", 105 "nacl_process_type.h",
119 ] 106 ]
120 107
121 deps = [ 108 deps = [
122 "//content/public/common", 109 "//content/public/common",
123 ] 110 ]
124 } 111 }
125 112
126 static_library("switches") { 113 static_library("switches") {
127 sources = [ 114 sources = [
128 "nacl_switches.cc", 115 "nacl_switches.cc",
129 "nacl_switches.h", 116 "nacl_switches.h",
130 ] 117 ]
131 } 118 }
OLDNEW
« no previous file with comments | « components/nacl/DEPS ('k') | components/nacl/common/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698