| OLD | NEW |
| 1 # Copyright 2010, Google Inc. | 1 # Copyright 2013 The Native Client Authors. All rights reserved. |
| 2 # Copyright 2009 The Native Client Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can | 2 # Use of this source code is governed by a BSD-style license that can |
| 4 # be found in the LICENSE file. | 3 # be found in the LICENSE file. |
| 5 | 4 |
| 6 { | 5 { |
| 7 # ---------------------------------------------------------------------- | 6 # ---------------------------------------------------------------------- |
| 8 # Default settings | 7 # Default settings |
| 9 # ---------------------------------------------------------------------- | 8 # ---------------------------------------------------------------------- |
| 10 | 9 |
| 11 'includes': [ | 10 'includes': [ |
| 12 '../../../build/common.gypi', | 11 '../../../build/common.gypi', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 30 # When ncvalidate is a dependency, it needs to be a hard dependency | 29 # When ncvalidate is a dependency, it needs to be a hard dependency |
| 31 # because dependents may rely on ncvalidate to create header files below. | 30 # because dependents may rely on ncvalidate to create header files below. |
| 32 'hard_dependency': 1, | 31 'hard_dependency': 1, |
| 33 }, | 32 }, |
| 34 # ---------------------------------------------------------------------- | 33 # ---------------------------------------------------------------------- |
| 35 # actual targets | 34 # actual targets |
| 36 # ---------------------------------------------------------------------- | 35 # ---------------------------------------------------------------------- |
| 37 'targets': [ | 36 'targets': [ |
| 38 # ---------------------------------------------------------------------- | 37 # ---------------------------------------------------------------------- |
| 39 { | 38 { |
| 40 'target_name': 'arm_validator_core', | 39 'target_name': 'cpu_features', |
| 41 'type': 'static_library', | 40 'type': 'static_library', |
| 42 'sources': [ | 41 # TODO(jfb) See TODO in build.scons on why x86 is built this way. |
| 43 'address_set.cc', | 42 'conditions': [ |
| 44 'actual_classes.cc', | 43 ['target_arch=="ia32" or target_arch=="x64"', { |
| 45 'baseline_classes.cc', | 44 'sources': [ |
| 46 'cpuid_arm.c', | 45 'arch/arm/cpu_arm.c', |
| 47 'inst_classes.cc', | 46 'arch/mips/cpu_mips.c', |
| 48 'model.cc', | 47 'arch/x86/cpu_x86.c', |
| 49 'validator.cc', | 48 'arch/x86/cpu_xgetbv.S', |
| 50 'gen/arm32_decode.cc', | 49 ], |
| 51 'gen/arm32_decode_actuals.cc' | 50 }], |
| 51 ['target_arch=="arm" or target_arch=="mips"', { |
| 52 'sources': [ |
| 53 'arch/arm/cpu_arm.c', |
| 54 'arch/mips/cpu_mips.c', |
| 55 ], |
| 56 }], |
| 57 ], |
| 58 'dependencies': [ |
| 59 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', |
| 52 ], | 60 ], |
| 53 }, | 61 }, |
| 54 # ---------------------------------------------------------------------- | 62 ], |
| 55 { | 63 'conditions': [ |
| 56 'target_name': 'ncvalidate_arm_v2', | 64 ['OS=="win" and target_arch=="ia32"', { |
| 57 'type': 'static_library', | 65 'targets': [ |
| 58 'sources': [ 'ncvalidate.cc' ], | 66 { |
| 59 'dependencies': [ | 67 'target_name': 'cpu_features64', |
| 60 'arm_validator_core' | 68 'type': 'static_library', |
| 69 'variables': { |
| 70 'win_target': 'x64', |
| 71 }, |
| 72 'sources': [ |
| 73 'arch/arm/cpu_arm.c', |
| 74 'arch/mips/cpu_mips.c', |
| 75 'arch/x86/cpu_x86.c', |
| 76 'arch/x86/cpu_xgetbv.S', |
| 77 ], |
| 78 'dependencies': [ |
| 79 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64'
, |
| 80 ], |
| 81 }, |
| 61 ], | 82 ], |
| 62 }, | 83 }, |
| 63 # ---------------------------------------------------------------------- | 84 ], |
| 64 { | |
| 65 'target_name': 'arm_validator_reporters', | |
| 66 'type': 'static_library', | |
| 67 'sources': [ 'problem_reporter.cc' ], | |
| 68 }, | |
| 69 ], | 85 ], |
| 70 } | 86 } |
| OLD | NEW |