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

Side by Side Diff: tools/gyp/v8.gyp

Issue 12022021: Remove <(library) usage from v8.gyp. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 }], 92 }],
93 ], 93 ],
94 'direct_dependent_settings': { 94 'direct_dependent_settings': {
95 'include_dirs': [ 95 'include_dirs': [
96 '../../include', 96 '../../include',
97 ], 97 ],
98 }, 98 },
99 }, 99 },
100 { 100 {
101 'target_name': 'v8_snapshot', 101 'target_name': 'v8_snapshot',
102 'type': '<(library)', 102 'type': 'static_library',
103 'conditions': [ 103 'conditions': [
104 ['want_separate_host_toolset==1', { 104 ['want_separate_host_toolset==1', {
105 'toolsets': ['host', 'target'], 105 'toolsets': ['host', 'target'],
106 'dependencies': ['mksnapshot#host', 'js2c#host'], 106 'dependencies': ['mksnapshot#host', 'js2c#host'],
107 }, { 107 }, {
108 'toolsets': ['target'], 108 'toolsets': ['target'],
109 'dependencies': ['mksnapshot', 'js2c'], 109 'dependencies': ['mksnapshot', 'js2c'],
110 }], 110 }],
111 ['component=="shared_library"', { 111 ['component=="shared_library"', {
112 'defines': [ 112 'defines': [
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 'action': [ 183 'action': [
184 '<@(_inputs)', 184 '<@(_inputs)',
185 '<@(mksnapshot_flags)', 185 '<@(mksnapshot_flags)',
186 '<@(_outputs)' 186 '<@(_outputs)'
187 ], 187 ],
188 }, 188 },
189 ], 189 ],
190 }, 190 },
191 { 191 {
192 'target_name': 'v8_nosnapshot', 192 'target_name': 'v8_nosnapshot',
193 'type': '<(library)', 193 'type': 'static_library',
194 'dependencies': [ 194 'dependencies': [
195 'v8_base', 195 'v8_base',
196 ], 196 ],
197 'include_dirs+': [ 197 'include_dirs+': [
198 '../../src', 198 '../../src',
199 ], 199 ],
200 'sources': [ 200 'sources': [
201 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 201 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
202 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 202 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
203 '../../src/snapshot-empty.cc', 203 '../../src/snapshot-empty.cc',
204 ], 204 ],
205 'conditions': [ 205 'conditions': [
206 ['want_separate_host_toolset==1', { 206 ['want_separate_host_toolset==1', {
207 'toolsets': ['host', 'target'], 207 'toolsets': ['host', 'target'],
208 'dependencies': ['js2c#host'], 208 'dependencies': ['js2c#host'],
209 }, { 209 }, {
210 'toolsets': ['target'], 210 'toolsets': ['target'],
211 'dependencies': ['js2c'], 211 'dependencies': ['js2c'],
212 }], 212 }],
213 ['component=="shared_library"', { 213 ['component=="shared_library"', {
214 'defines': [ 214 'defines': [
215 'BUILDING_V8_SHARED', 215 'BUILDING_V8_SHARED',
216 'V8_SHARED', 216 'V8_SHARED',
217 ], 217 ],
218 }], 218 }],
219 ] 219 ]
220 }, 220 },
221 { 221 {
222 'target_name': 'v8_base', 222 'target_name': 'v8_base',
223 'type': '<(library)', 223 'type': 'static_library',
224 'variables': { 224 'variables': {
225 'optimize': 'max', 225 'optimize': 'max',
226 }, 226 },
227 'include_dirs+': [ 227 'include_dirs+': [
228 '../../src', 228 '../../src',
229 ], 229 ],
230 'sources': [ 230 'sources': [
231 '../../src/accessors.cc', 231 '../../src/accessors.cc',
232 '../../src/accessors.h', 232 '../../src/accessors.h',
233 '../../src/allocation.cc', 233 '../../src/allocation.cc',
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 }], 901 }],
902 ['v8_compress_startup_data=="bz2"', { 902 ['v8_compress_startup_data=="bz2"', {
903 'libraries': [ 903 'libraries': [
904 '-lbz2', 904 '-lbz2',
905 ] 905 ]
906 }], 906 }],
907 ], 907 ],
908 }, 908 },
909 { 909 {
910 'target_name': 'preparser_lib', 910 'target_name': 'preparser_lib',
911 'type': '<(library)', 911 'type': 'static_library',
912 'include_dirs+': [ 912 'include_dirs+': [
913 '../../src', 913 '../../src',
914 ], 914 ],
915 'sources': [ 915 'sources': [
916 '../../include/v8-preparser.h', 916 '../../include/v8-preparser.h',
917 '../../include/v8stdint.h', 917 '../../include/v8stdint.h',
918 '../../src/allocation.cc', 918 '../../src/allocation.cc',
919 '../../src/allocation.h', 919 '../../src/allocation.h',
920 '../../src/atomicops.h', 920 '../../src/atomicops.h',
921 '../../src/atomicops_internals_x86_gcc.cc', 921 '../../src/atomicops_internals_x86_gcc.cc',
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 }], 1044 }],
1045 ], 1045 ],
1046 'dependencies': [ 1046 'dependencies': [
1047 'v8' 1047 'v8'
1048 ], 1048 ],
1049 }, 1049 },
1050 ], 1050 ],
1051 }], 1051 }],
1052 ], 1052 ],
1053 } 1053 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698