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

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

Issue 2459403002: [MIPS] skip building vcpuid (Closed)
Patch Set: Created 4 years, 1 month 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 | 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 # Autogenerated from src/trusted/platform_qualify/build.scons. 5 # Autogenerated from src/trusted/platform_qualify/build.scons.
6 6
7 static_library("platform_qual_lib") { 7 static_library("platform_qual_lib") {
8 sources = [] 8 sources = []
9 if (current_os != "win") { 9 if (current_os != "win") {
10 sources += [ "posix/nacl_dep_qualify.c" ] 10 sources += [ "posix/nacl_dep_qualify.c" ]
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 if (is_linux) { 49 if (is_linux) {
50 sources += [ "linux/nacl_os_qualify.c" ] 50 sources += [ "linux/nacl_os_qualify.c" ]
51 } 51 }
52 52
53 deps = [ 53 deps = [
54 "//build/config/nacl:nacl_base", 54 "//build/config/nacl:nacl_base",
55 "//native_client/src/trusted/cpu_features:cpu_features", 55 "//native_client/src/trusted/cpu_features:cpu_features",
56 ] 56 ]
57 } 57 }
58 58
59 if (current_cpu != "arm") { 59 if (current_cpu != "arm" && current_cpu != "mipsel") {
60 static_library("vcpuid") { 60 static_library("vcpuid") {
61 cflags_c = [] 61 cflags_c = []
62 sources = [ 62 sources = [
63 "arch/x86/vcpuid.c", 63 "arch/x86/vcpuid.c",
64 ] 64 ]
65 65
66 if (current_os == "linux") { 66 if (current_os == "linux") {
67 cflags_c += [ "-msse3" ] 67 cflags_c += [ "-msse3" ]
68 } 68 }
69 69
70 if (current_os == "mac") { 70 if (current_os == "mac") {
71 cflags_c += [ "-mdynamic-no-pic" ] 71 cflags_c += [ "-mdynamic-no-pic" ]
72 } 72 }
73 73
74 deps = [ 74 deps = [
75 "//build/config/nacl:nacl_base", 75 "//build/config/nacl:nacl_base",
76 ] 76 ]
77 } 77 }
78 } 78 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698