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

Side by Side Diff: src/v8.gyp

Issue 2372983003: Turn libplatform into a component (Closed)
Patch Set: updates Created 4 years, 2 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/libplatform/worker-thread.h ('k') | no next file » | 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 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 '-lws2_32.lib' 2035 '-lws2_32.lib'
2036 ], 2036 ],
2037 }, 2037 },
2038 }], 2038 }],
2039 ], 2039 ],
2040 }], 2040 }],
2041 ], 2041 ],
2042 }, 2042 },
2043 { 2043 {
2044 'target_name': 'v8_libplatform', 2044 'target_name': 'v8_libplatform',
2045 'type': 'static_library', 2045 'type': '<(component)',
2046 'variables': { 2046 'variables': {
2047 'optimize': 'max', 2047 'optimize': 'max',
2048 }, 2048 },
2049 'dependencies': [ 2049 'dependencies': [
2050 'v8_libbase', 2050 'v8_libbase',
2051 ], 2051 ],
2052 'include_dirs+': [ 2052 'include_dirs+': [
2053 '..', 2053 '..',
2054 '<(DEPTH)', 2054 '<(DEPTH)',
2055 '../include', 2055 '../include',
2056 ], 2056 ],
2057 'sources': [ 2057 'sources': [
2058 '../include/libplatform/libplatform.h', 2058 '../include/libplatform/libplatform.h',
2059 '../include/libplatform/libplatform-export.h',
2059 '../include/libplatform/v8-tracing.h', 2060 '../include/libplatform/v8-tracing.h',
2060 'libplatform/default-platform.cc', 2061 'libplatform/default-platform.cc',
2061 'libplatform/default-platform.h', 2062 'libplatform/default-platform.h',
2062 'libplatform/task-queue.cc', 2063 'libplatform/task-queue.cc',
2063 'libplatform/task-queue.h', 2064 'libplatform/task-queue.h',
2064 'libplatform/tracing/trace-buffer.cc', 2065 'libplatform/tracing/trace-buffer.cc',
2065 'libplatform/tracing/trace-buffer.h', 2066 'libplatform/tracing/trace-buffer.h',
2066 'libplatform/tracing/trace-config.cc', 2067 'libplatform/tracing/trace-config.cc',
2067 'libplatform/tracing/trace-object.cc', 2068 'libplatform/tracing/trace-object.cc',
2068 'libplatform/tracing/trace-writer.cc', 2069 'libplatform/tracing/trace-writer.cc',
2069 'libplatform/tracing/trace-writer.h', 2070 'libplatform/tracing/trace-writer.h',
2070 'libplatform/tracing/tracing-controller.cc', 2071 'libplatform/tracing/tracing-controller.cc',
2071 'libplatform/worker-thread.cc', 2072 'libplatform/worker-thread.cc',
2072 'libplatform/worker-thread.h', 2073 'libplatform/worker-thread.h',
2073 ], 2074 ],
2074 'conditions': [ 2075 'conditions': [
2075 ['want_separate_host_toolset==1', { 2076 ['want_separate_host_toolset==1', {
2076 'toolsets': ['host', 'target'], 2077 'toolsets': ['host', 'target'],
2077 }, { 2078 }, {
2078 'toolsets': ['target'], 2079 'toolsets': ['target'],
2079 }], 2080 }],
2081 ['component=="shared_library"', {
2082 'direct_dependent_settings': {
2083 'defines': [ 'USING_V8_PLATFORM_SHARED' ],
2084 },
2085 'defines': [ 'BUILD_V8_PLATFORM_SHARED' ],
Michael Achenbach 2016/09/27 13:09:09 You called it BUILDING
2086 }]
2080 ], 2087 ],
2081 'direct_dependent_settings': { 2088 'direct_dependent_settings': {
2082 'include_dirs': [ 2089 'include_dirs': [
2083 '../include', 2090 '../include',
2084 ], 2091 ],
2085 }, 2092 },
2086 }, 2093 },
2087 { 2094 {
2088 'target_name': 'v8_libsampler', 2095 'target_name': 'v8_libsampler',
2089 'type': 'static_library', 2096 'type': 'static_library',
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2436 'conditions': [ 2443 'conditions': [
2437 ['want_separate_host_toolset_mkpeephole==1', { 2444 ['want_separate_host_toolset_mkpeephole==1', {
2438 'toolsets': ['host'], 2445 'toolsets': ['host'],
2439 }, { 2446 }, {
2440 'toolsets': ['target'], 2447 'toolsets': ['target'],
2441 }], 2448 }],
2442 ], 2449 ],
2443 }, 2450 },
2444 ], 2451 ],
2445 } 2452 }
OLDNEW
« no previous file with comments | « src/libplatform/worker-thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698