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

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

Issue 2519103003: Change some source_sets to static_library to shrink binary (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 | « src/trusted/service_runtime/BUILD.gn ('k') | no next file » | 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 ClientAuthors. All rights reserved. 1 # Copyright (c) 2014 The Native ClientAuthors. 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("//native_client/src/trusted/asm.gni") 5 import("//native_client/src/trusted/asm.gni")
6 6
7 if (current_cpu == "x86" || current_cpu == "x64") { 7 if (current_cpu == "x86" || current_cpu == "x64") {
8 if (current_toolchain == nacl_asm_toolchain) { 8 if (current_toolchain == nacl_asm_toolchain) {
9 source_set("nccopy_asm") { 9 source_set("nccopy_asm") {
10 sources = [ 10 sources = [
11 "nccopycode_stores.S", 11 "nccopycode_stores.S",
12 ] 12 ]
13 deps = [ 13 deps = [
14 "//build/config/nacl:nacl_base", 14 "//build/config/nacl:nacl_base",
15 ] 15 ]
16 } 16 }
17 } 17 }
18 18
19 source_set("nccopy") { 19 static_library("nccopy") {
20 sources = [ 20 sources = [
21 "nccopycode.c", 21 "nccopycode.c",
22 ] 22 ]
23 deps = [ 23 deps = [
24 "//build/config/nacl:nacl_base", 24 "//build/config/nacl:nacl_base",
25 ":nccopy_asm($nacl_asm_toolchain)", 25 ":nccopy_asm($nacl_asm_toolchain)",
26 ] 26 ]
27 } 27 }
28 } 28 }
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698