OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
6 | 6 |
7 _inspector_protocol = v8_path_prefix + "/third_party/inspector_protocol" | 7 _inspector_protocol = v8_path_prefix + "/third_party/inspector_protocol" |
8 import("$_inspector_protocol/inspector_protocol.gni") | 8 import("$_inspector_protocol/inspector_protocol.gni") |
9 | 9 |
10 _protocol_generated = [ | 10 _protocol_generated = [ |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 if (is_win) { | 83 if (is_win) { |
84 cflags += [ | 84 cflags += [ |
85 "/wd4267", # Truncation from size_t to int. | 85 "/wd4267", # Truncation from size_t to int. |
86 "/wd4305", # Truncation from 'type1' to 'type2'. | 86 "/wd4305", # Truncation from 'type1' to 'type2'. |
87 "/wd4324", # Struct padded due to declspec(align). | 87 "/wd4324", # Struct padded due to declspec(align). |
88 "/wd4714", # Function marked forceinline not inlined. | 88 "/wd4714", # Function marked forceinline not inlined. |
89 "/wd4800", # Value forced to bool. | 89 "/wd4800", # Value forced to bool. |
90 "/wd4996", # Deprecated function call. | 90 "/wd4996", # Deprecated function call. |
91 ] | 91 ] |
92 } | 92 } |
93 if (is_component_build) { | 93 if (is_component_build || v8_component_build) { |
94 defines = [ "BUILDING_V8_SHARED" ] | 94 defines = [ "BUILDING_V8_SHARED" ] |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 v8_source_set("inspector") { | 98 v8_source_set("inspector") { |
99 deps = [ | 99 deps = [ |
100 ":inspector_injected_script", | 100 ":inspector_injected_script", |
101 ":protocol_generated_sources", | 101 ":protocol_generated_sources", |
102 ] | 102 ] |
103 configs = [ ":inspector_config" ] | 103 configs = [ ":inspector_config" ] |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 "v8-schema-agent-impl.cc", | 161 "v8-schema-agent-impl.cc", |
162 "v8-schema-agent-impl.h", | 162 "v8-schema-agent-impl.h", |
163 "v8-stack-trace-impl.cc", | 163 "v8-stack-trace-impl.cc", |
164 "v8-stack-trace-impl.h", | 164 "v8-stack-trace-impl.h", |
165 "v8-value-utils.cc", | 165 "v8-value-utils.cc", |
166 "v8-value-utils.h", | 166 "v8-value-utils.h", |
167 "wasm-translation.cc", | 167 "wasm-translation.cc", |
168 "wasm-translation.h", | 168 "wasm-translation.h", |
169 ] | 169 ] |
170 } | 170 } |
OLD | NEW |