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

Side by Side Diff: extensions/shell/BUILD.gn

Issue 2242893002: [MIPS] Adding NaCl/PNaCl support for mipsel to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non Linux builds Created 4 years, 4 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 | « components/nacl/loader/BUILD.gn ('k') | ppapi/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("//build/config/features.gni")
5 import("//extensions/shell/app_shell.gni") 6 import("//extensions/shell/app_shell.gni")
6 7
7 # Technically, this directory should not depend on files from src/chrome, but 8 # Technically, this directory should not depend on files from src/chrome, but
8 # that's where the VERSION file is. This should probably all be moved to 9 # that's where the VERSION file is. This should probably all be moved to
9 # src/build. 10 # src/build.
10 import("//chrome/version.gni") 11 import("//chrome/version.gni")
11 import("//testing/test.gni") 12 import("//testing/test.gni")
12 import("//tools/grit/grit_rule.gni") 13 import("//tools/grit/grit_rule.gni")
13 14
14 assert(enable_extensions) 15 assert(enable_extensions)
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 98
98 deps += [ 99 deps += [
99 "//components/nacl/browser", 100 "//components/nacl/browser",
100 "//components/nacl/common", 101 "//components/nacl/common",
101 "//components/nacl/loader", 102 "//components/nacl/loader",
102 "//components/nacl/renderer", 103 "//components/nacl/renderer",
103 "//components/nacl/renderer/plugin:nacl_trusted_plugin", 104 "//components/nacl/renderer/plugin:nacl_trusted_plugin",
104 ] 105 ]
105 106
106 if (is_linux) { 107 if (is_linux) {
107 deps += [ 108 deps += [ "//components/nacl/loader:nacl_helper" ]
108 "//components/nacl/loader:helper_nonsfi", 109
109 "//components/nacl/loader:nacl_helper", 110 if (enable_nacl_nonsfi) {
110 ] 111 deps += [ "//components/nacl/loader:helper_nonsfi" ]
112 }
111 } 113 }
112 } 114 }
113 } 115 }
114 116
115 executable("app_shell") { 117 executable("app_shell") {
116 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. 118 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment.
117 testonly = true 119 testonly = true
118 sources = rebase_path(app_shell_gypi_values.app_shell_sources, 120 sources = rebase_path(app_shell_gypi_values.app_shell_sources,
119 ".", 121 ".",
120 "//extensions/shell") 122 "//extensions/shell")
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 testonly = true 212 testonly = true
211 sources = [ 213 sources = [
212 "app/shell_main_mac.cc", 214 "app/shell_main_mac.cc",
213 "app/shell_main_mac.h", 215 "app/shell_main_mac.h",
214 ] 216 ]
215 deps = [ 217 deps = [
216 ":app_shell_lib", 218 ":app_shell_lib",
217 ] 219 ]
218 } 220 }
219 } 221 }
OLDNEW
« no previous file with comments | « components/nacl/loader/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698