| Index: src/v8.gyp
|
| diff --git a/src/v8.gyp b/src/v8.gyp
|
| index ef0c562ebcf13f9481da9dc93a3382d0366bd661..c39e88eb9c34445216a2445fa94603fd5efe8efe 100644
|
| --- a/src/v8.gyp
|
| +++ b/src/v8.gyp
|
| @@ -381,6 +381,7 @@
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| 'v8_libbase',
|
| + 'v8_libsampler',
|
| ],
|
| 'variables': {
|
| 'optimize': 'max',
|
| @@ -999,8 +1000,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',
|
| @@ -1936,6 +1935,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': [
|
|
|