OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2008 The Native Client Authors. All rights reserved. | 2 # Copyright 2008 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../../build/common.gypi', | 10 '../../../build/common.gypi', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 'sources': [ | 44 'sources': [ |
45 'arch/x86/nacl_cpuwhitelist.h', | 45 'arch/x86/nacl_cpuwhitelist.h', |
46 'arch/x86/nacl_cpuwhitelist.c', | 46 'arch/x86/nacl_cpuwhitelist.c', |
47 #'arch/x86/vcpuid.h', | 47 #'arch/x86/vcpuid.h', |
48 #'arch/x86/vcpuid.c', | 48 #'arch/x86/vcpuid.c', |
49 ], | 49 ], |
50 }], | 50 }], |
51 # x86-32 specifics | 51 # x86-32 specifics |
52 ['target_arch=="ia32"', { | 52 ['target_arch=="ia32"', { |
53 'sources': [ | 53 'sources': [ |
54 'arch/x86_32/nacl_dep_qualify.c', | 54 'arch/x86_32/nacl_dep_qualify_arch.c', |
55 ], | 55 ], |
56 }], | 56 }], |
57 # x86-64 specifics | 57 # x86-64 specifics |
58 ['target_arch=="x64"', { | 58 ['target_arch=="x64"', { |
59 'sources': [ | 59 'sources': [ |
60 'arch/x86_64/nacl_dep_qualify.c', | 60 'arch/x86_64/nacl_dep_qualify_arch.c', |
| 61 ], |
| 62 }], |
| 63 # arm specifics |
| 64 ['target_arch=="arm"', { |
| 65 'sources': [ |
| 66 'arch/arm/nacl_dep_qualify_arch.c', |
61 ], | 67 ], |
62 }], | 68 }], |
63 ], | 69 ], |
64 }], | 70 }], |
65 ], | 71 ], |
66 }, | 72 }, |
67 'targets': [ | 73 'targets': [ |
68 { | 74 { |
69 'target_name': 'platform_qual_lib', | 75 'target_name': 'platform_qual_lib', |
70 'type': 'static_library', | 76 'type': 'static_library', |
(...skipping 26 matching lines...) Expand all Loading... |
97 #if env.Bit('mac'): | 103 #if env.Bit('mac'): |
98 # vcpuid_env.Append(CCFLAGS = ['-mdynamic-no-pic']) | 104 # vcpuid_env.Append(CCFLAGS = ['-mdynamic-no-pic']) |
99 #if env.Bit('linux'): | 105 #if env.Bit('linux'): |
100 # vcpuid_env.Append(CCFLAGS = ['-msse3']) | 106 # vcpuid_env.Append(CCFLAGS = ['-msse3']) |
101 #nacl_vcpuid = vcpuid_env.ComponentLibrary('vcpuid', 'vcpuid.c') | 107 #nacl_vcpuid = vcpuid_env.ComponentLibrary('vcpuid', 'vcpuid.c') |
102 #env.Append(LIBS = ['vcpuid', 'platform_qual_lib', 'ncvalidate']) | 108 #env.Append(LIBS = ['vcpuid', 'platform_qual_lib', 'ncvalidate']) |
103 # | 109 # |
104 #env.ComponentProgram('platform_qual_test', 'platform_qual_test.c') | 110 #env.ComponentProgram('platform_qual_test', 'platform_qual_test.c') |
105 #env.ComponentProgram('nacl_cpuwhitelist_test', 'nacl_cpuwhitelist_test.c') | 111 #env.ComponentProgram('nacl_cpuwhitelist_test', 'nacl_cpuwhitelist_test.c') |
106 # | 112 # |
OLD | NEW |