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

Side by Side Diff: src/v8.gyp

Issue 1922303002: Create libsampler as V8 sampler library. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address alph's comment Created 4 years, 7 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
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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 }, 374 },
375 ], 375 ],
376 }], 376 }],
377 ], 377 ],
378 }, 378 },
379 { 379 {
380 'target_name': 'v8_base', 380 'target_name': 'v8_base',
381 'type': 'static_library', 381 'type': 'static_library',
382 'dependencies': [ 382 'dependencies': [
383 'v8_libbase', 383 'v8_libbase',
384 'v8_libsampler',
384 ], 385 ],
385 'variables': { 386 'variables': {
386 'optimize': 'max', 387 'optimize': 'max',
387 }, 388 },
388 'include_dirs+': [ 389 'include_dirs+': [
389 '..', 390 '..',
390 # To be able to find base/trace_event/common/trace_event_common.h 391 # To be able to find base/trace_event/common/trace_event_common.h
391 '../..', 392 '../..',
392 ], 393 ],
393 'sources': [ ### gcmole(all) ### 394 'sources': [ ### gcmole(all) ###
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 'profiler/cpu-profiler.cc', 995 'profiler/cpu-profiler.cc',
995 'profiler/cpu-profiler.h', 996 'profiler/cpu-profiler.h',
996 'profiler/heap-profiler.cc', 997 'profiler/heap-profiler.cc',
997 'profiler/heap-profiler.h', 998 'profiler/heap-profiler.h',
998 'profiler/heap-snapshot-generator-inl.h', 999 'profiler/heap-snapshot-generator-inl.h',
999 'profiler/heap-snapshot-generator.cc', 1000 'profiler/heap-snapshot-generator.cc',
1000 'profiler/heap-snapshot-generator.h', 1001 'profiler/heap-snapshot-generator.h',
1001 'profiler/profile-generator-inl.h', 1002 'profiler/profile-generator-inl.h',
1002 'profiler/profile-generator.cc', 1003 'profiler/profile-generator.cc',
1003 'profiler/profile-generator.h', 1004 'profiler/profile-generator.h',
1004 'profiler/sampler.cc',
1005 'profiler/sampler.h',
1006 'profiler/sampling-heap-profiler.cc', 1005 'profiler/sampling-heap-profiler.cc',
1007 'profiler/sampling-heap-profiler.h', 1006 'profiler/sampling-heap-profiler.h',
1008 'profiler/strings-storage.cc', 1007 'profiler/strings-storage.cc',
1009 'profiler/strings-storage.h', 1008 'profiler/strings-storage.h',
1010 'profiler/tick-sample.cc', 1009 'profiler/tick-sample.cc',
1011 'profiler/tick-sample.h', 1010 'profiler/tick-sample.h',
1012 'profiler/unbound-queue-inl.h', 1011 'profiler/unbound-queue-inl.h',
1013 'profiler/unbound-queue.h', 1012 'profiler/unbound-queue.h',
1014 'property-descriptor.cc', 1013 'property-descriptor.cc',
1015 'property-descriptor.h', 1014 'property-descriptor.h',
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 'toolsets': ['target'], 1930 'toolsets': ['target'],
1932 }], 1931 }],
1933 ], 1932 ],
1934 'direct_dependent_settings': { 1933 'direct_dependent_settings': {
1935 'include_dirs': [ 1934 'include_dirs': [
1936 '../include', 1935 '../include',
1937 ], 1936 ],
1938 }, 1937 },
1939 }, 1938 },
1940 { 1939 {
1940 'target_name': 'v8_libsampler',
1941 'type': 'static_library',
1942 'variables': {
1943 'optimize': 'max',
1944 },
1945 'dependencies': [
1946 'v8_libbase',
1947 ],
1948 'include_dirs+': [
1949 '..',
1950 '../include',
1951 ],
1952 'sources': [
1953 'libsampler/hashmap.h',
1954 'libsampler/utils.h',
1955 'libsampler/v8-sampler.cc',
1956 'libsampler/v8-sampler.h'
1957 ],
1958 'conditions': [
1959 ['want_separate_host_toolset==1', {
1960 'toolsets': ['host', 'target'],
1961 }, {
1962 'toolsets': ['target'],
1963 }],
1964 ],
1965 'direct_dependent_settings': {
1966 'include_dirs': [
1967 '../include',
1968 ],
1969 },
1970 },
1971 {
1941 'target_name': 'natives_blob', 1972 'target_name': 'natives_blob',
1942 'type': 'none', 1973 'type': 'none',
1943 'conditions': [ 1974 'conditions': [
1944 [ 'v8_use_external_startup_data==1', { 1975 [ 'v8_use_external_startup_data==1', {
1945 'conditions': [ 1976 'conditions': [
1946 ['want_separate_host_toolset==1', { 1977 ['want_separate_host_toolset==1', {
1947 'dependencies': ['js2c#host'], 1978 'dependencies': ['js2c#host'],
1948 }, { 1979 }, {
1949 'dependencies': ['js2c'], 1980 'dependencies': ['js2c'],
1950 }], 1981 }],
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 }], 2275 }],
2245 ['want_separate_host_toolset==1', { 2276 ['want_separate_host_toolset==1', {
2246 'toolsets': ['host'], 2277 'toolsets': ['host'],
2247 }, { 2278 }, {
2248 'toolsets': ['target'], 2279 'toolsets': ['target'],
2249 }], 2280 }],
2250 ], 2281 ],
2251 }, 2282 },
2252 ], 2283 ],
2253 } 2284 }
OLDNEW
« src/libsampler/hashmap.h ('K') | « src/v8.cc ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698