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

Side by Side Diff: components/nacl/loader/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/browser/BUILD.gn ('k') | extensions/shell/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 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("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 assert(enable_nacl) 9 assert(enable_nacl)
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 # For setting up nacl_helper. 134 # For setting up nacl_helper.
135 source_set("nacl_helper_integration") { 135 source_set("nacl_helper_integration") {
136 public = [ 136 public = [
137 "nacl_helper_linux.h", 137 "nacl_helper_linux.h",
138 ] 138 ]
139 data_deps = [ 139 data_deps = [
140 ":nacl_helper", 140 ":nacl_helper",
141 ] 141 ]
142 } 142 }
143 143
144 test("nacl_helper_nonsfi_unittests") { 144 if (enable_nacl_nonsfi) {
145 sources = [ 145 test("nacl_helper_nonsfi_unittests") {
146 "nonsfi/nacl_helper_nonsfi_unittests.cc", 146 sources = [
147 ] 147 "nonsfi/nacl_helper_nonsfi_unittests.cc",
148 deps = [ 148 ]
149 "//base", 149 deps = [
150 "//base/test:test_launcher_nacl_nonsfi", 150 "//base",
151 ] 151 "//base/test:test_launcher_nacl_nonsfi",
152 data_deps = [ 152 ]
153 ":nacl_helper_nonsfi_unittests_main_copy(//build/toolchain/nacl:newlib_pna cl_nonsfi)", 153 data_deps = [
154 ] 154 ":nacl_helper_nonsfi_unittests_main_copy(//build/toolchain/nacl:newlib_p nacl_nonsfi)",
155 } 155 ]
156 }
156 157
157 group("helper_nonsfi") { 158 group("helper_nonsfi") {
158 data_deps = [ 159 data_deps = [
159 ":nacl_helper_nonsfi_copy(//build/toolchain/nacl:newlib_pnacl_nonsfi)", 160 ":nacl_helper_nonsfi_copy(//build/toolchain/nacl:newlib_pnacl_nonsfi)",
160 ] 161 ]
162 }
161 } 163 }
162 } 164 }
163 165
164 if (is_win && target_cpu == "x86" && current_cpu == "x64") { 166 if (is_win && target_cpu == "x86" && current_cpu == "x64") {
165 source_set("nacl_helper_win_64") { 167 source_set("nacl_helper_win_64") {
166 sources = [ 168 sources = [
167 "nacl_helper_win_64.cc", 169 "nacl_helper_win_64.cc",
168 "nacl_helper_win_64.h", 170 "nacl_helper_win_64.h",
169 ] 171 ]
170 172
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", 280 "${root_out_dir}/nacl_helper_nonsfi_unittests_main",
279 ] 281 ]
280 outputs = [ 282 outputs = [
281 "${root_build_dir}/{{source_file_part}}", 283 "${root_build_dir}/{{source_file_part}}",
282 ] 284 ]
283 deps = [ 285 deps = [
284 ":nacl_helper_nonsfi_unittests_main", 286 ":nacl_helper_nonsfi_unittests_main",
285 ] 287 ]
286 } 288 }
287 } 289 }
OLDNEW
« no previous file with comments | « components/nacl/browser/BUILD.gn ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698