| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 }, | 7 }, |
| 8 'includes': [ | 8 'includes': [ |
| 9 '../../../build/common.gypi', | 9 '../../../build/common.gypi', |
| 10 ], | 10 ], |
| 11 'target_defaults': { | 11 'target_defaults': { |
| 12 'variables':{ | 12 'variables':{ |
| 13 'target_base': 'none', | 13 'target_base': 'none', |
| 14 }, | 14 }, |
| 15 'target_conditions': [ | 15 'target_conditions': [ |
| 16 ['target_base=="pqlib"', { | 16 ['target_base=="pqlib"', { |
| 17 'sources': [ | 17 'sources': [ |
| 18 'kernel_version.h', | 18 'kernel_version.h', |
| 19 'nacl_dep_qualify.h', | 19 'nacl_dep_qualify.h', |
| 20 'nacl_os_qualify.h', | 20 'nacl_os_qualify.h', |
| 21 ], | 21 ], |
| 22 'conditions': [ | 22 'conditions': [ |
| 23 ['OS=="linux"', { | 23 ['OS=="linux"', { |
| 24 'sources': [ | 24 'sources': [ |
| 25 'linux/nacl_os_qualify.c', | 25 'linux/nacl_os_qualify.c', |
| 26 'linux/sysv_shm_and_mmap.c', | |
| 27 'posix/nacl_dep_qualify.c', | 26 'posix/nacl_dep_qualify.c', |
| 28 ], | 27 ], |
| 29 }], | 28 }], |
| 30 ['OS=="mac"', { | 29 ['OS=="mac"', { |
| 31 'sources': [ | 30 'sources': [ |
| 32 'osx/nacl_os_qualify.c', | 31 'osx/nacl_os_qualify.c', |
| 33 'posix/nacl_dep_qualify.c', | 32 'posix/nacl_dep_qualify.c', |
| 34 ], | 33 ], |
| 35 }], | 34 }], |
| 36 ['OS=="win"', { | 35 ['OS=="win"', { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 #if env.Bit('mac'): | 116 #if env.Bit('mac'): |
| 118 # vcpuid_env.Append(CCFLAGS = ['-mdynamic-no-pic']) | 117 # vcpuid_env.Append(CCFLAGS = ['-mdynamic-no-pic']) |
| 119 #if env.Bit('linux'): | 118 #if env.Bit('linux'): |
| 120 # vcpuid_env.Append(CCFLAGS = ['-msse3']) | 119 # vcpuid_env.Append(CCFLAGS = ['-msse3']) |
| 121 #nacl_vcpuid = vcpuid_env.ComponentLibrary('vcpuid', 'vcpuid.c') | 120 #nacl_vcpuid = vcpuid_env.ComponentLibrary('vcpuid', 'vcpuid.c') |
| 122 #env.Append(LIBS = ['vcpuid', 'platform_qual_lib', 'ncvalidate']) | 121 #env.Append(LIBS = ['vcpuid', 'platform_qual_lib', 'ncvalidate']) |
| 123 # | 122 # |
| 124 #env.ComponentProgram('platform_qual_test', 'platform_qual_test.c') | 123 #env.ComponentProgram('platform_qual_test', 'platform_qual_test.c') |
| 125 #env.ComponentProgram('nacl_cpuwhitelist_test', 'nacl_cpuwhitelist_test.c') | 124 #env.ComponentProgram('nacl_cpuwhitelist_test', 'nacl_cpuwhitelist_test.c') |
| 126 # | 125 # |
| OLD | NEW |