| Index: src/v8.gyp
|
| diff --git a/src/v8.gyp b/src/v8.gyp
|
| index 5ae43bb92f12cbc0fd00cf4d99dafed3f8539530..607176755c0b97e68fd49198ae6ca59d2f1974eb 100644
|
| --- a/src/v8.gyp
|
| +++ b/src/v8.gyp
|
| @@ -381,6 +381,7 @@
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| 'v8_libbase',
|
| + 'v8_libsampler',
|
| ],
|
| 'variables': {
|
| 'optimize': 'max',
|
| @@ -1001,8 +1002,6 @@
|
| 'profiler/profile-generator-inl.h',
|
| 'profiler/profile-generator.cc',
|
| 'profiler/profile-generator.h',
|
| - 'profiler/sampler.cc',
|
| - 'profiler/sampler.h',
|
| 'profiler/sampling-heap-profiler.cc',
|
| 'profiler/sampling-heap-profiler.h',
|
| 'profiler/strings-storage.cc',
|
| @@ -1938,6 +1937,38 @@
|
| },
|
| },
|
| {
|
| + 'target_name': 'v8_libsampler',
|
| + 'type': 'static_library',
|
| + 'variables': {
|
| + 'optimize': 'max',
|
| + },
|
| + 'dependencies': [
|
| + 'v8_libbase',
|
| + ],
|
| + 'include_dirs+': [
|
| + '..',
|
| + '../include',
|
| + ],
|
| + 'sources': [
|
| + 'libsampler/hashmap.h',
|
| + 'libsampler/utils.h',
|
| + 'libsampler/v8-sampler.cc',
|
| + 'libsampler/v8-sampler.h'
|
| + ],
|
| + 'conditions': [
|
| + ['want_separate_host_toolset==1', {
|
| + 'toolsets': ['host', 'target'],
|
| + }, {
|
| + 'toolsets': ['target'],
|
| + }],
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '../include',
|
| + ],
|
| + },
|
| + },
|
| + {
|
| 'target_name': 'natives_blob',
|
| 'type': 'none',
|
| 'conditions': [
|
|
|