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

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: Fix TSAN failure 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
« no previous file with comments | « src/v8.cc ('k') | test/cctest/cctest.gyp » ('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 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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 'toolsets': ['target'], 1932 'toolsets': ['target'],
1934 }], 1933 }],
1935 ], 1934 ],
1936 'direct_dependent_settings': { 1935 'direct_dependent_settings': {
1937 'include_dirs': [ 1936 'include_dirs': [
1938 '../include', 1937 '../include',
1939 ], 1938 ],
1940 }, 1939 },
1941 }, 1940 },
1942 { 1941 {
1942 'target_name': 'v8_libsampler',
1943 'type': 'static_library',
1944 'variables': {
1945 'optimize': 'max',
1946 },
1947 'dependencies': [
1948 'v8_libbase',
1949 ],
1950 'include_dirs+': [
1951 '..',
1952 '../include',
1953 ],
1954 'sources': [
1955 'libsampler/hashmap.h',
1956 'libsampler/utils.h',
1957 'libsampler/v8-sampler.cc',
1958 'libsampler/v8-sampler.h'
1959 ],
1960 'conditions': [
1961 ['want_separate_host_toolset==1', {
1962 'toolsets': ['host', 'target'],
1963 }, {
1964 'toolsets': ['target'],
1965 }],
1966 ],
1967 'direct_dependent_settings': {
1968 'include_dirs': [
1969 '../include',
1970 ],
1971 },
1972 },
1973 {
1943 'target_name': 'natives_blob', 1974 'target_name': 'natives_blob',
1944 'type': 'none', 1975 'type': 'none',
1945 'conditions': [ 1976 'conditions': [
1946 [ 'v8_use_external_startup_data==1', { 1977 [ 'v8_use_external_startup_data==1', {
1947 'conditions': [ 1978 'conditions': [
1948 ['want_separate_host_toolset==1', { 1979 ['want_separate_host_toolset==1', {
1949 'dependencies': ['js2c#host'], 1980 'dependencies': ['js2c#host'],
1950 }, { 1981 }, {
1951 'dependencies': ['js2c'], 1982 'dependencies': ['js2c'],
1952 }], 1983 }],
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 }], 2277 }],
2247 ['want_separate_host_toolset==1', { 2278 ['want_separate_host_toolset==1', {
2248 'toolsets': ['host'], 2279 'toolsets': ['host'],
2249 }, { 2280 }, {
2250 'toolsets': ['target'], 2281 'toolsets': ['target'],
2251 }], 2282 }],
2252 ], 2283 ],
2253 }, 2284 },
2254 ], 2285 ],
2255 } 2286 }
OLDNEW
« no previous file with comments | « src/v8.cc ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698