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

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

Issue 249183003: Extract common macros and start a base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
« src/base/macros.h ('K') | « src/libplatform/worker-thread.h ('k') | 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 'python', 230 'python',
231 '../../tools/generate-trig-table.py', 231 '../../tools/generate-trig-table.py',
232 '<@(_outputs)', 232 '<@(_outputs)',
233 ], 233 ],
234 }, 234 },
235 ] 235 ]
236 }, 236 },
237 { 237 {
238 'target_name': 'v8_base.<(v8_target_arch)', 238 'target_name': 'v8_base.<(v8_target_arch)',
239 'type': 'static_library', 239 'type': 'static_library',
240 'dependencies': [
241 'v8_libbase.<(v8_target_arch)',
242 ],
240 'variables': { 243 'variables': {
241 'optimize': 'max', 244 'optimize': 'max',
242 }, 245 },
243 'include_dirs+': [ 246 'include_dirs+': [
244 '../../src', 247 '../../src',
245 ], 248 ],
246 'sources': [ ### gcmole(all) ### 249 'sources': [ ### gcmole(all) ###
247 '../../src/accessors.cc', 250 '../../src/accessors.cc',
248 '../../src/accessors.h', 251 '../../src/accessors.h',
249 '../../src/allocation.cc', 252 '../../src/allocation.cc',
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 ['OS=="win"', { 1027 ['OS=="win"', {
1025 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], 1028 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
1026 }, { 1029 }, {
1027 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], 1030 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
1028 }], 1031 }],
1029 ], 1032 ],
1030 }], 1033 }],
1031 ], 1034 ],
1032 }, 1035 },
1033 { 1036 {
1037 'target_name': 'v8_libbase.<(v8_target_arch)',
1038 # TODO(jochen): Should be a static library once it has sources in it.
1039 'type': 'none',
1040 'variables': {
1041 'optimize': 'max',
1042 },
1043 'include_dirs+': [
1044 '../../src',
1045 ],
1046 'sources': [
1047 '../../src/base/macros.h',
1048 ],
1049 'conditions': [
1050 ['want_separate_host_toolset==1', {
1051 'toolsets': ['host', 'target'],
1052 }, {
1053 'toolsets': ['target'],
1054 }],
1055 ['component=="shared_library"', {
1056 'defines': [
1057 'BUILDING_V8_SHARED',
1058 'V8_SHARED',
1059 ],
1060 }],
1061 ],
1062 },
1063 {
1034 'target_name': 'js2c', 1064 'target_name': 'js2c',
1035 'type': 'none', 1065 'type': 'none',
1036 'conditions': [ 1066 'conditions': [
1037 ['want_separate_host_toolset==1', { 1067 ['want_separate_host_toolset==1', {
1038 'toolsets': ['host'], 1068 'toolsets': ['host'],
1039 }, { 1069 }, {
1040 'toolsets': ['target'], 1070 'toolsets': ['target'],
1041 }], 1071 }],
1042 ['v8_enable_i18n_support==1', { 1072 ['v8_enable_i18n_support==1', {
1043 'variables': { 1073 'variables': {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 }], 1206 }],
1177 ['v8_compress_startup_data=="bz2"', { 1207 ['v8_compress_startup_data=="bz2"', {
1178 'libraries': [ 1208 'libraries': [
1179 '-lbz2', 1209 '-lbz2',
1180 ] 1210 ]
1181 }], 1211 }],
1182 ], 1212 ],
1183 }, 1213 },
1184 ], 1214 ],
1185 } 1215 }
OLDNEW
« src/base/macros.h ('K') | « src/libplatform/worker-thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698