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

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: 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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 'profiler/cpu-profiler.cc', 993 'profiler/cpu-profiler.cc',
993 'profiler/cpu-profiler.h', 994 'profiler/cpu-profiler.h',
994 'profiler/heap-profiler.cc', 995 'profiler/heap-profiler.cc',
995 'profiler/heap-profiler.h', 996 'profiler/heap-profiler.h',
996 'profiler/heap-snapshot-generator-inl.h', 997 'profiler/heap-snapshot-generator-inl.h',
997 'profiler/heap-snapshot-generator.cc', 998 'profiler/heap-snapshot-generator.cc',
998 'profiler/heap-snapshot-generator.h', 999 'profiler/heap-snapshot-generator.h',
999 'profiler/profile-generator-inl.h', 1000 'profiler/profile-generator-inl.h',
1000 'profiler/profile-generator.cc', 1001 'profiler/profile-generator.cc',
1001 'profiler/profile-generator.h', 1002 'profiler/profile-generator.h',
1002 'profiler/sampler.cc',
1003 'profiler/sampler.h',
1004 'profiler/sampling-heap-profiler.cc', 1003 'profiler/sampling-heap-profiler.cc',
1005 'profiler/sampling-heap-profiler.h', 1004 'profiler/sampling-heap-profiler.h',
1006 'profiler/strings-storage.cc', 1005 'profiler/strings-storage.cc',
1007 'profiler/strings-storage.h', 1006 'profiler/strings-storage.h',
1008 'profiler/tick-sample.cc', 1007 'profiler/tick-sample.cc',
1009 'profiler/tick-sample.h', 1008 'profiler/tick-sample.h',
1010 'profiler/unbound-queue-inl.h', 1009 'profiler/unbound-queue-inl.h',
1011 'profiler/unbound-queue.h', 1010 'profiler/unbound-queue.h',
1012 'property-descriptor.cc', 1011 'property-descriptor.cc',
1013 'property-descriptor.h', 1012 'property-descriptor.h',
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 'toolsets': ['target'], 1928 'toolsets': ['target'],
1930 }], 1929 }],
1931 ], 1930 ],
1932 'direct_dependent_settings': { 1931 'direct_dependent_settings': {
1933 'include_dirs': [ 1932 'include_dirs': [
1934 '../include', 1933 '../include',
1935 ], 1934 ],
1936 }, 1935 },
1937 }, 1936 },
1938 { 1937 {
1938 'target_name': 'v8_libsampler',
1939 'type': 'static_library',
1940 'variables': {
1941 'optimize': 'max',
1942 },
1943 'dependencies': [
1944 'v8_libbase',
1945 ],
1946 'include_dirs+': [
1947 '..',
1948 '../include',
1949 ],
1950 'sources': [
1951 'libsampler/hashmap.h',
1952 'libsampler/utils.h',
1953 'libsampler/v8-sampler.cc',
1954 'libsampler/v8-sampler.h'
1955 ],
1956 'conditions': [
1957 ['want_separate_host_toolset==1', {
1958 'toolsets': ['host', 'target'],
1959 }, {
1960 'toolsets': ['target'],
1961 }],
1962 ],
1963 'direct_dependent_settings': {
1964 'include_dirs': [
1965 '../include',
1966 ],
1967 },
1968 },
1969 {
1939 'target_name': 'natives_blob', 1970 'target_name': 'natives_blob',
1940 'type': 'none', 1971 'type': 'none',
1941 'conditions': [ 1972 'conditions': [
1942 [ 'v8_use_external_startup_data==1', { 1973 [ 'v8_use_external_startup_data==1', {
1943 'conditions': [ 1974 'conditions': [
1944 ['want_separate_host_toolset==1', { 1975 ['want_separate_host_toolset==1', {
1945 'dependencies': ['js2c#host'], 1976 'dependencies': ['js2c#host'],
1946 }, { 1977 }, {
1947 'dependencies': ['js2c'], 1978 'dependencies': ['js2c'],
1948 }], 1979 }],
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 }], 2273 }],
2243 ['want_separate_host_toolset==1', { 2274 ['want_separate_host_toolset==1', {
2244 'toolsets': ['host'], 2275 'toolsets': ['host'],
2245 }, { 2276 }, {
2246 'toolsets': ['target'], 2277 'toolsets': ['target'],
2247 }], 2278 }],
2248 ], 2279 ],
2249 }, 2280 },
2250 ], 2281 ],
2251 } 2282 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698