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

Side by Side Diff: src/trusted/cpu_features/cpu_features.gyp

Issue 11864002: Move CPU features into its own static library. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Another go at Windows x64, with help from Noel. Created 7 years, 11 months 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 | Annotate | Revision Log
OLDNEW
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
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 'sources': [
43 'address_set.cc', 42 'arch/arm/cpu_arm.c',
44 'actual_classes.cc', 43 'arch/mips/cpu_mips.c',
45 'baseline_classes.cc', 44 'arch/x86/cpu_x86.c',
46 'cpuid_arm.c', 45 'arch/x86/cpu_xgetbv.S',
47 'inst_classes.cc', 46 ],
48 'model.cc', 47 'dependencies': [
49 'validator.cc', 48 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
50 'gen/arm32_decode.cc',
51 'gen/arm32_decode_actuals.cc'
52 ], 49 ],
53 }, 50 },
54 # ---------------------------------------------------------------------- 51 ],
55 { 52 'conditions': [
56 'target_name': 'ncvalidate_arm_v2', 53 ['OS=="win" and target_arch=="ia32"', {
57 'type': 'static_library', 54 'targets': [
58 'sources': [ 'ncvalidate.cc' ], 55 {
59 'dependencies': [ 56 'target_name': 'cpu_features64',
60 'arm_validator_core' 57 'type': 'static_library',
58 'variables': {
59 'win_target': 'x64',
60 },
61 'sources': [
62 'arch/arm/cpu_arm.c',
63 'arch/mips/cpu_mips.c',
64 'arch/x86/cpu_x86.c',
65 'arch/x86/cpu_xgetbv.S',
66 ],
67 'dependencies': [
68 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64' ,
69 ],
70 },
61 ], 71 ],
62 }, 72 },
63 # ---------------------------------------------------------------------- 73 ],
64 {
65 'target_name': 'arm_validator_reporters',
66 'type': 'static_library',
67 'sources': [ 'problem_reporter.cc' ],
68 },
69 ], 74 ],
70 } 75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698