OLD | NEW |
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 2038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2049 '-lws2_32.lib' | 2049 '-lws2_32.lib' |
2050 ], | 2050 ], |
2051 }, | 2051 }, |
2052 }], | 2052 }], |
2053 ], | 2053 ], |
2054 }], | 2054 }], |
2055 ], | 2055 ], |
2056 }, | 2056 }, |
2057 { | 2057 { |
2058 'target_name': 'v8_libplatform', | 2058 'target_name': 'v8_libplatform', |
2059 'type': 'static_library', | 2059 'type': '<(component)', |
2060 'variables': { | 2060 'variables': { |
2061 'optimize': 'max', | 2061 'optimize': 'max', |
2062 }, | 2062 }, |
2063 'dependencies': [ | 2063 'dependencies': [ |
2064 'v8_libbase', | 2064 'v8_libbase', |
2065 ], | 2065 ], |
2066 'include_dirs+': [ | 2066 'include_dirs+': [ |
2067 '..', | 2067 '..', |
2068 '<(DEPTH)', | 2068 '<(DEPTH)', |
2069 '../include', | 2069 '../include', |
2070 ], | 2070 ], |
2071 'sources': [ | 2071 'sources': [ |
2072 '../include/libplatform/libplatform.h', | 2072 '../include/libplatform/libplatform.h', |
| 2073 '../include/libplatform/libplatform-export.h', |
2073 '../include/libplatform/v8-tracing.h', | 2074 '../include/libplatform/v8-tracing.h', |
2074 'libplatform/default-platform.cc', | 2075 'libplatform/default-platform.cc', |
2075 'libplatform/default-platform.h', | 2076 'libplatform/default-platform.h', |
2076 'libplatform/task-queue.cc', | 2077 'libplatform/task-queue.cc', |
2077 'libplatform/task-queue.h', | 2078 'libplatform/task-queue.h', |
2078 'libplatform/tracing/trace-buffer.cc', | 2079 'libplatform/tracing/trace-buffer.cc', |
2079 'libplatform/tracing/trace-buffer.h', | 2080 'libplatform/tracing/trace-buffer.h', |
2080 'libplatform/tracing/trace-config.cc', | 2081 'libplatform/tracing/trace-config.cc', |
2081 'libplatform/tracing/trace-object.cc', | 2082 'libplatform/tracing/trace-object.cc', |
2082 'libplatform/tracing/trace-writer.cc', | 2083 'libplatform/tracing/trace-writer.cc', |
2083 'libplatform/tracing/trace-writer.h', | 2084 'libplatform/tracing/trace-writer.h', |
2084 'libplatform/tracing/tracing-controller.cc', | 2085 'libplatform/tracing/tracing-controller.cc', |
2085 'libplatform/worker-thread.cc', | 2086 'libplatform/worker-thread.cc', |
2086 'libplatform/worker-thread.h', | 2087 'libplatform/worker-thread.h', |
2087 ], | 2088 ], |
2088 'conditions': [ | 2089 'conditions': [ |
2089 ['want_separate_host_toolset==1', { | 2090 ['want_separate_host_toolset==1', { |
2090 'toolsets': ['host', 'target'], | 2091 'toolsets': ['host', 'target'], |
2091 }, { | 2092 }, { |
2092 'toolsets': ['target'], | 2093 'toolsets': ['target'], |
2093 }], | 2094 }], |
| 2095 ['component=="shared_library"', { |
| 2096 'direct_dependent_settings': { |
| 2097 'defines': [ 'USING_V8_PLATFORM_SHARED' ], |
| 2098 }, |
| 2099 'defines': [ 'BUILDING_V8_PLATFORM_SHARED' ], |
| 2100 }] |
2094 ], | 2101 ], |
2095 'direct_dependent_settings': { | 2102 'direct_dependent_settings': { |
2096 'include_dirs': [ | 2103 'include_dirs': [ |
2097 '../include', | 2104 '../include', |
2098 ], | 2105 ], |
2099 }, | 2106 }, |
2100 }, | 2107 }, |
2101 { | 2108 { |
2102 'target_name': 'v8_libsampler', | 2109 'target_name': 'v8_libsampler', |
2103 'type': 'static_library', | 2110 'type': 'static_library', |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2455 'conditions': [ | 2462 'conditions': [ |
2456 ['want_separate_host_toolset_mkpeephole==1', { | 2463 ['want_separate_host_toolset_mkpeephole==1', { |
2457 'toolsets': ['host'], | 2464 'toolsets': ['host'], |
2458 }, { | 2465 }, { |
2459 'toolsets': ['target'], | 2466 'toolsets': ['target'], |
2460 }], | 2467 }], |
2461 ], | 2468 ], |
2462 }, | 2469 }, |
2463 ], | 2470 ], |
2464 } | 2471 } |
OLD | NEW |