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

Side by Side Diff: mojo/edk/embedder/BUILD.gn

Issue 2039713004: [mojo-edk] Make the Mojo EDK compile under NaCl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 6 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 | « mojo/edk/DEPS ('k') | mojo/edk/embedder/embedder.cc » ('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("//build/config/nacl/config.gni")
6
5 source_set("headers") { 7 source_set("headers") {
6 sources = [ 8 sources = [
7 "configuration.h", 9 "configuration.h",
8 "embedder.h", 10 "embedder.h",
9 "embedder_internal.h", 11 "embedder_internal.h",
10 "named_platform_channel_pair.h", 12 "named_platform_channel_pair.h",
11 "platform_channel_pair.h", 13 "platform_channel_pair.h",
12 "platform_handle.h", 14 "platform_handle.h",
13 "platform_handle_utils.h", 15 "platform_handle_utils.h",
14 "process_delegate.h", 16 "process_delegate.h",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 configs += [ "//mojo/edk/system:system_config" ] 54 configs += [ "//mojo/edk/system:system_config" ]
53 55
54 public_deps = [ 56 public_deps = [
55 ":delegates", 57 ":delegates",
56 ":headers", 58 ":headers",
57 ":platform", 59 ":platform",
58 "//base", 60 "//base",
59 "//mojo/public/cpp/system", 61 "//mojo/public/cpp/system",
60 ] 62 ]
61 63
62 deps = [ 64 if (!is_nacl) {
63 "//crypto", 65 deps = [
64 ] 66 "//crypto",
67 ]
68 }
65 } 69 }
66 70
67 source_set("platform") { 71 source_set("platform") {
68 # This isn't really a standalone target; it must be linked into the 72 # This isn't really a standalone target; it must be linked into the
69 # mojo_system_impl component. 73 # mojo_system_impl component.
70 visibility = [ 74 visibility = [
71 ":embedder", 75 ":embedder",
72 "//mojo/edk/system", 76 "//mojo/edk/system",
73 ] 77 ]
74 78
(...skipping 25 matching lines...) Expand all
100 "//mojo/public/cpp/system", 104 "//mojo/public/cpp/system",
101 ] 105 ]
102 106
103 deps = [ 107 deps = [
104 "//base", 108 "//base",
105 ] 109 ]
106 110
107 if (is_android) { 111 if (is_android) {
108 deps += [ "//third_party/ashmem" ] 112 deps += [ "//third_party/ashmem" ]
109 } 113 }
114
115 if (is_nacl && !is_nacl_nonsfi) {
116 sources -= [ "platform_channel_utils_posix.cc" ]
117 }
110 } 118 }
111 119
112 source_set("delegates") { 120 source_set("delegates") {
113 # This isn't really a standalone target; it must be linked into the 121 # This isn't really a standalone target; it must be linked into the
114 # mojo_system_impl component. 122 # mojo_system_impl component.
115 visibility = [ 123 visibility = [
116 ":embedder", 124 ":embedder",
117 "//mojo/edk/system", 125 "//mojo/edk/system",
118 ] 126 ]
119 127
(...skipping 24 matching lines...) Expand all
144 152
145 deps = [ 153 deps = [
146 "//base", 154 "//base",
147 "//base/test:test_support", 155 "//base/test:test_support",
148 "//mojo/edk/system", 156 "//mojo/edk/system",
149 "//mojo/edk/system:test_utils", 157 "//mojo/edk/system:test_utils",
150 "//mojo/edk/test:test_support", 158 "//mojo/edk/test:test_support",
151 "//testing/gtest", 159 "//testing/gtest",
152 ] 160 ]
153 } 161 }
OLDNEW
« no previous file with comments | « mojo/edk/DEPS ('k') | mojo/edk/embedder/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698