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

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

Issue 26004003: Fix shared_library build after r17107 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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
« no previous file with comments | « src/unicode.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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 # dependency however the Android toolchain requires libv8_base.a 51 # dependency however the Android toolchain requires libv8_base.a
52 # to appear before libv8_snapshot.a so it's listed explicitly. 52 # to appear before libv8_snapshot.a so it's listed explicitly.
53 'dependencies': [ 53 'dependencies': [
54 'v8_base.<(v8_target_arch)', 54 'v8_base.<(v8_target_arch)',
55 'v8_nosnapshot.<(v8_target_arch)', 55 'v8_nosnapshot.<(v8_target_arch)',
56 ], 56 ],
57 }], 57 }],
58 ['component=="shared_library"', { 58 ['component=="shared_library"', {
59 'type': '<(component)', 59 'type': '<(component)',
60 'sources': [ 60 'sources': [
61 '../../src/defaults.cc',
rmcilroy 2013/10/04 14:42:08 I think you need this in the v8 target for both "c
61 # Note: on non-Windows we still build this file so that gyp 62 # Note: on non-Windows we still build this file so that gyp
62 # has some sources to link into the component. 63 # has some sources to link into the component.
63 '../../src/v8dll-main.cc', 64 '../../src/v8dll-main.cc',
64 '../../src/defaults.cc',
65 ],
66 'include_dirs': [
67 '../../include',
68 ], 65 ],
rmcilroy 2013/10/04 14:42:08 if you do: 'include_dirs': [ '../../src', ],
69 'defines': [ 66 'defines': [
70 'V8_SHARED', 67 'V8_SHARED',
71 'BUILDING_V8_SHARED', 68 'BUILDING_V8_SHARED',
72 ], 69 ],
73 'direct_dependent_settings': { 70 'direct_dependent_settings': {
74 'defines': [ 71 'defines': [
75 'V8_SHARED', 72 'V8_SHARED',
76 'USING_V8_SHARED', 73 'USING_V8_SHARED',
77 ], 74 ],
78 }, 75 },
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 '../../src/data-flow.h', 264 '../../src/data-flow.h',
268 '../../src/date.cc', 265 '../../src/date.cc',
269 '../../src/date.h', 266 '../../src/date.h',
270 '../../src/dateparser-inl.h', 267 '../../src/dateparser-inl.h',
271 '../../src/dateparser.cc', 268 '../../src/dateparser.cc',
272 '../../src/dateparser.h', 269 '../../src/dateparser.h',
273 '../../src/debug-agent.cc', 270 '../../src/debug-agent.cc',
274 '../../src/debug-agent.h', 271 '../../src/debug-agent.h',
275 '../../src/debug.cc', 272 '../../src/debug.cc',
276 '../../src/debug.h', 273 '../../src/debug.h',
277 '../../src/defaults.cc',
278 '../../src/deoptimizer.cc', 274 '../../src/deoptimizer.cc',
279 '../../src/deoptimizer.h', 275 '../../src/deoptimizer.h',
280 '../../src/disasm.h', 276 '../../src/disasm.h',
281 '../../src/disassembler.cc', 277 '../../src/disassembler.cc',
282 '../../src/disassembler.h', 278 '../../src/disassembler.h',
283 '../../src/diy-fp.cc', 279 '../../src/diy-fp.cc',
284 '../../src/diy-fp.h', 280 '../../src/diy-fp.h',
285 '../../src/double.h', 281 '../../src/double.h',
286 '../../src/dtoa.cc', 282 '../../src/dtoa.cc',
287 '../../src/dtoa.h', 283 '../../src/dtoa.h',
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], 847 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
852 }, 848 },
853 }], 849 }],
854 ], 850 ],
855 }], 851 }],
856 ['component=="shared_library"', { 852 ['component=="shared_library"', {
857 'defines': [ 853 'defines': [
858 'BUILDING_V8_SHARED', 854 'BUILDING_V8_SHARED',
859 'V8_SHARED', 855 'V8_SHARED',
860 ], 856 ],
857 }, {
858 'sources': [
859 '../../src/defaults.cc',
860 ],
861 }], 861 }],
862 ['v8_postmortem_support=="true"', { 862 ['v8_postmortem_support=="true"', {
863 'sources': [ 863 'sources': [
864 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', 864 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
865 ] 865 ]
866 }], 866 }],
867 ['v8_enable_i18n_support==1', { 867 ['v8_enable_i18n_support==1', {
868 'dependencies': [ 868 'dependencies': [
869 '<(icu_gyp_path):icui18n', 869 '<(icu_gyp_path):icui18n',
870 '<(icu_gyp_path):icuuc', 870 '<(icu_gyp_path):icuuc',
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 }], 1051 }],
1052 ['v8_compress_startup_data=="bz2"', { 1052 ['v8_compress_startup_data=="bz2"', {
1053 'libraries': [ 1053 'libraries': [
1054 '-lbz2', 1054 '-lbz2',
1055 ] 1055 ]
1056 }], 1056 }],
1057 ], 1057 ],
1058 }, 1058 },
1059 ], 1059 ],
1060 } 1060 }
OLDNEW
« no previous file with comments | « src/unicode.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698