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

Side by Side Diff: src/trusted/validator_mips/validator_mips.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: Address bsy's comments by not building x86 target when host isn't x86. This is how things are curre… 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 2012, Google Inc. 1 # Copyright 2012, Google Inc.
2 # Copyright 2012 The Native Client Authors. All rights reserved. 2 # Copyright 2012 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 # ---------------------------------------------------------------------- 7 # ----------------------------------------------------------------------
8 # Default settings 8 # Default settings
9 # ---------------------------------------------------------------------- 9 # ----------------------------------------------------------------------
10 10
(...skipping 27 matching lines...) Expand all
38 # ---------------------------------------------------------------------- 38 # ----------------------------------------------------------------------
39 # actual targets 39 # actual targets
40 # ---------------------------------------------------------------------- 40 # ----------------------------------------------------------------------
41 'targets': [ 41 'targets': [
42 # ---------------------------------------------------------------------- 42 # ----------------------------------------------------------------------
43 { 43 {
44 'target_name': 'mips_validator_core', 44 'target_name': 'mips_validator_core',
45 'type': 'static_library', 45 'type': 'static_library',
46 'sources': [ 46 'sources': [
47 'address_set.cc', 47 'address_set.cc',
48 'cpuid_mips.c',
49 'inst_classes.cc', 48 'inst_classes.cc',
50 'validator.cc', 49 'validator.cc',
51 '<(validate_gen_out)/decode.cc' 50 '<(validate_gen_out)/decode.cc'
52 ], 51 ],
53 'dependencies': ['decode_gen'], 52 'dependencies': [
53 '<(DEPTH)/native_client/src/trusted/cpu_features/cpu_features.gyp:cpu_fe atures',
54 'decode_gen'
55 ],
54 }, 56 },
55 # ---------------------------------------------------------------------- 57 # ----------------------------------------------------------------------
56 { 58 {
57 'target_name': 'decode_gen', 59 'target_name': 'decode_gen',
58 'type': 'none', 60 'type': 'none',
59 'direct_dependent_settings': { 61 'direct_dependent_settings': {
60 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], 62 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'],
61 }, 63 },
62 'actions': [ 64 'actions': [
63 { 65 {
(...skipping 16 matching lines...) Expand all
80 'mips-opt.table', 82 'mips-opt.table',
81 '<@(_outputs)', 83 '<@(_outputs)',
82 ], 84 ],
83 'process_outputs_as_sources': 1, 85 'process_outputs_as_sources': 1,
84 'message': 'generate decoder.cc', 86 'message': 'generate decoder.cc',
85 }, 87 },
86 ], 88 ],
87 }, 89 },
88 ], 90 ],
89 } 91 }
OLDNEW
« no previous file with comments | « src/trusted/validator_mips/ncvalidate.cc ('k') | src/trusted/validator_ragel/unreviewed/decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698