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

Side by Side Diff: src/trusted/service_runtime/BUILD.gn

Issue 2378623006: native client + hermetic toolchain + gn (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | src/trusted/service_runtime/osx/run_mig.py » ('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 (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client 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/toolchain/toolchain.gni")
5 import("//native_client/src/trusted/asm.gni") 6 import("//native_client/src/trusted/asm.gni")
6 7
7 source_set("sel_main") { 8 source_set("sel_main") {
8 sources = [ 9 sources = [
9 "sel_main.c", 10 "sel_main.c",
10 ] 11 ]
11 deps = [ 12 deps = [
12 "//build/config/nacl:nacl_base", 13 "//build/config/nacl:nacl_base",
13 "//native_client/src/trusted/debug_stub:debug_stub", 14 "//native_client/src/trusted/debug_stub:debug_stub",
14 ":sel", 15 ":sel",
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 script = "osx/run_mig.py" 320 script = "osx/run_mig.py"
320 sources = [ 321 sources = [
321 mac_sdk_path + "/usr/include/mach/exc.defs", 322 mac_sdk_path + "/usr/include/mach/exc.defs",
322 ] 323 ]
323 outputs = [ 324 outputs = [
324 "$target_gen_dir/nacl_exc.h", 325 "$target_gen_dir/nacl_exc.h",
325 "$target_gen_dir/nacl_exc_server.c", 326 "$target_gen_dir/nacl_exc_server.c",
326 ] 327 ]
327 args = rebase_path(sources, root_build_dir) + 328 args = rebase_path(sources, root_build_dir) +
328 rebase_path(outputs, root_build_dir) 329 rebase_path(outputs, root_build_dir)
330 args += [ hermetic_xcode_path]
329 } 331 }
330 } 332 }
331 333
332 executable("sel_ldr") { 334 executable("sel_ldr") {
333 sources = [ 335 sources = [
334 "nacl_test_injection_main.c", 336 "nacl_test_injection_main.c",
335 ] 337 ]
336 deps = [ 338 deps = [
337 ":sel_main", 339 ":sel_main",
338 340
339 # All executables must have the sanitizer deps to properly link in 341 # All executables must have the sanitizer deps to properly link in
340 # asan mode (this target will be empty in other cases). 342 # asan mode (this target will be empty in other cases).
341 "//build/config/sanitizers:deps", 343 "//build/config/sanitizers:deps",
342 344
343 "//build/win:default_exe_manifest", 345 "//build/win:default_exe_manifest",
344 ] 346 ]
345 if (is_linux) { 347 if (is_linux) {
346 configs -= [ "//build/config:default_libs" ] 348 configs -= [ "//build/config:default_libs" ]
347 libs = [ "rt" ] 349 libs = [ "rt" ]
348 ldflags = [ "-pie" ] 350 ldflags = [ "-pie" ]
349 } 351 }
350 if (is_linux) { 352 if (is_linux) {
351 data_deps = [ 353 data_deps = [
352 "linux:bootstrap", 354 "linux:bootstrap",
353 ] 355 ]
354 } 356 }
355 } 357 }
OLDNEW
« no previous file with comments | « no previous file | src/trusted/service_runtime/osx/run_mig.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698