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

Side by Side Diff: src/d8.gyp

Issue 2342563002: [d8] Fix the shared-library build (Closed)
Patch Set: Mark as extern in .cc Created 4 years, 3 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 | « src/d8.cc ('k') | src/factory.h » ('j') | 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'v8.gyp:v8_libplatform', 42 'v8.gyp:v8_libplatform',
43 ], 43 ],
44 # Generated source files need this explicitly: 44 # Generated source files need this explicitly:
45 'include_dirs+': [ 45 'include_dirs+': [
46 '..', 46 '..',
47 '<(DEPTH)', 47 '<(DEPTH)',
48 ], 48 ],
49 'sources': [ 49 'sources': [
50 'd8.h', 50 'd8.h',
51 'd8.cc', 51 'd8.cc',
52 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
52 ], 53 ],
53 'conditions': [ 54 'conditions': [
54 [ 'want_separate_host_toolset==1', { 55 [ 'want_separate_host_toolset==1', {
55 'toolsets': [ 'target', ], 56 'toolsets': [ 'target', ],
57 'dependencies': [
58 'd8_js2c#host',
59 ],
60 }, {
61 'dependencies': [
62 'd8_js2c',
63 ],
56 }], 64 }],
57 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ 65 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \
58 or OS=="openbsd" or OS=="solaris" or OS=="android" \ 66 or OS=="openbsd" or OS=="solaris" or OS=="android" \
59 or OS=="qnx" or OS=="aix")', { 67 or OS=="qnx" or OS=="aix")', {
60 'sources': [ 'd8-posix.cc', ] 68 'sources': [ 'd8-posix.cc', ]
61 }], 69 }],
62 [ 'OS=="win"', { 70 [ 'OS=="win"', {
63 'sources': [ 'd8-windows.cc', ] 71 'sources': [ 'd8-windows.cc', ]
64 }], 72 }],
65 [ 'component!="shared_library"', { 73 [ 'component!="shared_library"', {
66 'sources': [
67 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
68 ],
69 'conditions': [ 74 'conditions': [
70 [ 'want_separate_host_toolset==1', {
71 'dependencies': [
72 'd8_js2c#host',
73 ],
74 }, {
75 'dependencies': [
76 'd8_js2c',
77 ],
78 }],
79 [ 'v8_postmortem_support=="true"', { 75 [ 'v8_postmortem_support=="true"', {
80 'xcode_settings': { 76 'xcode_settings': {
81 'OTHER_LDFLAGS': [ 77 'OTHER_LDFLAGS': [
82 '-Wl,-force_load,<(PRODUCT_DIR)/libv8_base.a' 78 '-Wl,-force_load,<(PRODUCT_DIR)/libv8_base.a'
83 ], 79 ],
84 }, 80 },
85 }], 81 }],
86 ], 82 ],
87 }], 83 }],
88 ['v8_enable_vtunejit==1', { 84 ['v8_enable_vtunejit==1', {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 '../gypfiles/isolate.gypi', 149 '../gypfiles/isolate.gypi',
154 ], 150 ],
155 'sources': [ 151 'sources': [
156 'd8.isolate', 152 'd8.isolate',
157 ], 153 ],
158 }, 154 },
159 ], 155 ],
160 }], 156 }],
161 ], 157 ],
162 } 158 }
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698