| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 10 import("//third_party/WebKit/Source/config.gni") | 10 import("//third_party/WebKit/Source/config.gni") |
| 11 import( | |
| 12 "//third_party/WebKit/Source/platform/inspector_protocol/inspector_protocol.
gni") | |
| 13 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 11 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
| 14 | 12 |
| 15 # Most targets in this file are private actions so use that as the default. | 13 # Most targets in this file are private actions so use that as the default. |
| 16 visibility = [ ":*" ] | 14 visibility = [ ":*" ] |
| 17 | 15 |
| 18 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] | 16 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] |
| 19 | 17 |
| 20 blink_platform_msa_files = [ "graphics/cpu/mips/WebGLImageConversionMSA.h" ] | 18 blink_platform_msa_files = [ "graphics/cpu/mips/WebGLImageConversionMSA.h" ] |
| 21 | 19 |
| 22 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] | 20 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 configs += [ "//third_party/WebKit/Source:config" ] | 169 configs += [ "//third_party/WebKit/Source:config" ] |
| 172 deps = [ | 170 deps = [ |
| 173 "//build/config/sanitizers:deps", | 171 "//build/config/sanitizers:deps", |
| 174 | 172 |
| 175 # Default manifest on Windows (a no-op elsewhere). | 173 # Default manifest on Windows (a no-op elsewhere). |
| 176 "//build/win:default_exe_manifest", | 174 "//build/win:default_exe_manifest", |
| 177 "//third_party/icu", | 175 "//third_party/icu", |
| 178 ] | 176 ] |
| 179 } | 177 } |
| 180 | 178 |
| 181 # Inspector protocol | |
| 182 | |
| 183 inspector_protocol_generate("inspector_protocol_sources") { | |
| 184 out_dir = blink_platform_output_dir | |
| 185 | |
| 186 config_file = "v8_inspector/inspector_protocol_config.json" | |
| 187 inputs = [ | |
| 188 "v8_inspector/js_protocol.json", | |
| 189 "v8_inspector/inspector_protocol_config.json", | |
| 190 ] | |
| 191 | |
| 192 # This are relative to blink_platform_output_dir. | |
| 193 outputs = [ | |
| 194 "v8_inspector/protocol/Forward.h", | |
| 195 "v8_inspector/protocol/Protocol.cpp", | |
| 196 "v8_inspector/protocol/Protocol.h", | |
| 197 "v8_inspector/protocol/Console.cpp", | |
| 198 "v8_inspector/protocol/Console.h", | |
| 199 "v8_inspector/protocol/Debugger.cpp", | |
| 200 "v8_inspector/protocol/Debugger.h", | |
| 201 "v8_inspector/protocol/HeapProfiler.cpp", | |
| 202 "v8_inspector/protocol/HeapProfiler.h", | |
| 203 "v8_inspector/protocol/Profiler.cpp", | |
| 204 "v8_inspector/protocol/Profiler.h", | |
| 205 "v8_inspector/protocol/Runtime.cpp", | |
| 206 "v8_inspector/protocol/Runtime.h", | |
| 207 "v8_inspector/protocol/Schema.cpp", | |
| 208 "v8_inspector/protocol/Schema.h", | |
| 209 "v8_inspector/public/protocol/Debugger.h", | |
| 210 "v8_inspector/public/protocol/Runtime.h", | |
| 211 "v8_inspector/public/protocol/Schema.h", | |
| 212 ] | |
| 213 | |
| 214 deps = [ | |
| 215 ":inspector_protocol_compatibility", | |
| 216 ] | |
| 217 } | |
| 218 | |
| 219 action("inspector_protocol_compatibility") { | |
| 220 script = "inspector_protocol/CheckProtocolCompatibility.py" | |
| 221 inputs = [ | |
| 222 "v8_inspector/js_protocol.json", | |
| 223 ] | |
| 224 _stamp = "$blink_platform_output_dir/v8_inspector/js_protocol.stamp" | |
| 225 outputs = [ | |
| 226 _stamp, | |
| 227 ] | |
| 228 | |
| 229 args = [ | |
| 230 "--stamp", | |
| 231 rebase_path(_stamp, root_build_dir), | |
| 232 rebase_path("v8_inspector/js_protocol.json", root_build_dir), | |
| 233 ] | |
| 234 } | |
| 235 | |
| 236 action("inspector_injected_script") { | |
| 237 script = "v8_inspector/build/xxd.py" | |
| 238 inputs = [ | |
| 239 "v8_inspector/InjectedScriptSource.js", | |
| 240 ] | |
| 241 outputs = [ | |
| 242 "$blink_platform_output_dir/v8_inspector/InjectedScriptSource.h", | |
| 243 ] | |
| 244 args = [ | |
| 245 "InjectedScriptSource_js", | |
| 246 rebase_path("v8_inspector/InjectedScriptSource.js", root_build_dir), | |
| 247 rebase_path( | |
| 248 "$blink_platform_output_dir/v8_inspector/InjectedScriptSource.h", | |
| 249 root_build_dir), | |
| 250 ] | |
| 251 } | |
| 252 | |
| 253 action("inspector_debugger_script") { | |
| 254 script = "v8_inspector/build/xxd.py" | |
| 255 inputs = [ | |
| 256 "v8_inspector/DebuggerScript.js", | |
| 257 ] | |
| 258 outputs = [ | |
| 259 "$blink_platform_output_dir/v8_inspector/DebuggerScript.h", | |
| 260 ] | |
| 261 args = [ | |
| 262 "DebuggerScript_js", | |
| 263 rebase_path("v8_inspector/DebuggerScript.js", root_build_dir), | |
| 264 rebase_path("$blink_platform_output_dir/v8_inspector/DebuggerScript.h", | |
| 265 root_build_dir), | |
| 266 ] | |
| 267 } | |
| 268 | |
| 269 # This isn't strictly necessary since we can just add the deps to "platform", | 179 # This isn't strictly necessary since we can just add the deps to "platform", |
| 270 # but it helps to have the targets match the GYP build. | 180 # but it helps to have the targets match the GYP build. |
| 271 group("make_platform_generated") { | 181 group("make_platform_generated") { |
| 272 visibility = [] # Allow re-assignment of list. | 182 visibility = [] # Allow re-assignment of list. |
| 273 visibility = [ "//third_party/WebKit/Source/*" ] | 183 visibility = [ "//third_party/WebKit/Source/*" ] |
| 274 public_deps = [ | 184 public_deps = [ |
| 275 ":blink_common", | 185 ":blink_common", |
| 276 ":character_data", | 186 ":character_data", |
| 277 ":color_data", | 187 ":color_data", |
| 278 ":font_family_names", | 188 ":font_family_names", |
| 279 ":http_names", | 189 ":http_names", |
| 280 ":inspector_debugger_script", | |
| 281 ":inspector_injected_script", | |
| 282 ":inspector_protocol_sources", | |
| 283 ":runtime_enabled_features", | 190 ":runtime_enabled_features", |
| 284 ] | 191 ] |
| 285 } | 192 } |
| 286 | 193 |
| 287 component("platform") { | 194 component("platform") { |
| 288 visibility = [] # Allow re-assignment of list. | 195 visibility = [] # Allow re-assignment of list. |
| 289 visibility = [ | 196 visibility = [ |
| 290 "//third_party/WebKit/*", | 197 "//third_party/WebKit/*", |
| 291 "//url/mojo:url_mojom_origin_blink_cpp_sources", | 198 "//url/mojo:url_mojom_origin_blink_cpp_sources", |
| 292 "//url/mojo:url_mojom_gurl_blink_cpp_sources", | 199 "//url/mojo:url_mojom_gurl_blink_cpp_sources", |
| (...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1409 "transforms/Rotation.h", | 1316 "transforms/Rotation.h", |
| 1410 "transforms/ScaleTransformOperation.cpp", | 1317 "transforms/ScaleTransformOperation.cpp", |
| 1411 "transforms/ScaleTransformOperation.h", | 1318 "transforms/ScaleTransformOperation.h", |
| 1412 "transforms/SkewTransformOperation.cpp", | 1319 "transforms/SkewTransformOperation.cpp", |
| 1413 "transforms/SkewTransformOperation.h", | 1320 "transforms/SkewTransformOperation.h", |
| 1414 "transforms/TransformOperations.cpp", | 1321 "transforms/TransformOperations.cpp", |
| 1415 "transforms/TransformationMatrix.cpp", | 1322 "transforms/TransformationMatrix.cpp", |
| 1416 "transforms/TransformationMatrix.h", | 1323 "transforms/TransformationMatrix.h", |
| 1417 "transforms/TranslateTransformOperation.cpp", | 1324 "transforms/TranslateTransformOperation.cpp", |
| 1418 "transforms/TranslateTransformOperation.h", | 1325 "transforms/TranslateTransformOperation.h", |
| 1419 "v8_inspector/Allocator.h", | |
| 1420 "v8_inspector/Atomics.h", | |
| 1421 "v8_inspector/InjectedScript.cpp", | |
| 1422 "v8_inspector/InjectedScript.h", | |
| 1423 "v8_inspector/InjectedScriptNative.cpp", | |
| 1424 "v8_inspector/InjectedScriptNative.h", | |
| 1425 "v8_inspector/InspectedContext.cpp", | |
| 1426 "v8_inspector/InspectedContext.h", | |
| 1427 "v8_inspector/JavaScriptCallFrame.cpp", | |
| 1428 "v8_inspector/JavaScriptCallFrame.h", | |
| 1429 "v8_inspector/ProtocolPlatform.h", | |
| 1430 "v8_inspector/RemoteObjectId.cpp", | |
| 1431 "v8_inspector/RemoteObjectId.h", | |
| 1432 "v8_inspector/ScriptBreakpoint.h", | |
| 1433 "v8_inspector/SearchUtil.cpp", | |
| 1434 "v8_inspector/SearchUtil.h", | |
| 1435 "v8_inspector/String16.cpp", | |
| 1436 "v8_inspector/String16.h", | |
| 1437 "v8_inspector/StringUtil.cpp", | |
| 1438 "v8_inspector/StringUtil.h", | |
| 1439 "v8_inspector/V8Compat.h", | |
| 1440 "v8_inspector/V8Console.cpp", | |
| 1441 "v8_inspector/V8Console.h", | |
| 1442 "v8_inspector/V8ConsoleAgentImpl.cpp", | |
| 1443 "v8_inspector/V8ConsoleAgentImpl.h", | |
| 1444 "v8_inspector/V8ConsoleMessage.cpp", | |
| 1445 "v8_inspector/V8ConsoleMessage.h", | |
| 1446 "v8_inspector/V8Debugger.cpp", | |
| 1447 "v8_inspector/V8Debugger.h", | |
| 1448 "v8_inspector/V8DebuggerAgentImpl.cpp", | |
| 1449 "v8_inspector/V8DebuggerAgentImpl.h", | |
| 1450 "v8_inspector/V8DebuggerScript.cpp", | |
| 1451 "v8_inspector/V8DebuggerScript.h", | |
| 1452 "v8_inspector/V8FunctionCall.cpp", | |
| 1453 "v8_inspector/V8FunctionCall.h", | |
| 1454 "v8_inspector/V8HeapProfilerAgentImpl.cpp", | |
| 1455 "v8_inspector/V8HeapProfilerAgentImpl.h", | |
| 1456 "v8_inspector/V8InjectedScriptHost.cpp", | |
| 1457 "v8_inspector/V8InjectedScriptHost.h", | |
| 1458 "v8_inspector/V8InspectorImpl.cpp", | |
| 1459 "v8_inspector/V8InspectorImpl.h", | |
| 1460 "v8_inspector/V8InspectorSessionImpl.cpp", | |
| 1461 "v8_inspector/V8InspectorSessionImpl.h", | |
| 1462 "v8_inspector/V8InternalValueType.cpp", | |
| 1463 "v8_inspector/V8InternalValueType.h", | |
| 1464 "v8_inspector/V8ProfilerAgentImpl.cpp", | |
| 1465 "v8_inspector/V8ProfilerAgentImpl.h", | |
| 1466 "v8_inspector/V8Regex.cpp", | |
| 1467 "v8_inspector/V8Regex.h", | |
| 1468 "v8_inspector/V8RuntimeAgentImpl.cpp", | |
| 1469 "v8_inspector/V8RuntimeAgentImpl.h", | |
| 1470 "v8_inspector/V8SchemaAgentImpl.cpp", | |
| 1471 "v8_inspector/V8SchemaAgentImpl.h", | |
| 1472 "v8_inspector/V8StackTraceImpl.cpp", | |
| 1473 "v8_inspector/V8StackTraceImpl.h", | |
| 1474 "v8_inspector/V8ValueCopier.cpp", | |
| 1475 "v8_inspector/V8ValueCopier.h", | |
| 1476 "v8_inspector/public/StringBuffer.h", | |
| 1477 "v8_inspector/public/StringView.h", | |
| 1478 "v8_inspector/public/V8ContextInfo.h", | |
| 1479 "v8_inspector/public/V8Inspector.h", | |
| 1480 "v8_inspector/public/V8InspectorClient.h", | |
| 1481 "v8_inspector/public/V8InspectorSession.h", | |
| 1482 "v8_inspector/public/V8StackTrace.h", | |
| 1483 "web_memory_allocator_dump.cc", | 1326 "web_memory_allocator_dump.cc", |
| 1484 "web_memory_allocator_dump.h", | 1327 "web_memory_allocator_dump.h", |
| 1485 "web_process_memory_dump.cc", | 1328 "web_process_memory_dump.cc", |
| 1486 "web_process_memory_dump.h", | 1329 "web_process_memory_dump.h", |
| 1487 "weborigin/KURL.cpp", | 1330 "weborigin/KURL.cpp", |
| 1488 "weborigin/KURL.h", | 1331 "weborigin/KURL.h", |
| 1489 "weborigin/KURLHash.h", | 1332 "weborigin/KURLHash.h", |
| 1490 "weborigin/KnownPorts.cpp", | 1333 "weborigin/KnownPorts.cpp", |
| 1491 "weborigin/KnownPorts.h", | 1334 "weborigin/KnownPorts.h", |
| 1492 "weborigin/OriginAccessEntry.cpp", | 1335 "weborigin/OriginAccessEntry.cpp", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1507 | 1350 |
| 1508 sources -= blink_platform_neon_files | 1351 sources -= blink_platform_neon_files |
| 1509 sources -= blink_platform_msa_files | 1352 sources -= blink_platform_msa_files |
| 1510 sources -= blink_platform_sse_files | 1353 sources -= blink_platform_sse_files |
| 1511 | 1354 |
| 1512 # Add in the generated files. | 1355 # Add in the generated files. |
| 1513 sources += get_target_outputs(":character_data") + | 1356 sources += get_target_outputs(":character_data") + |
| 1514 get_target_outputs(":color_data") + | 1357 get_target_outputs(":color_data") + |
| 1515 get_target_outputs(":font_family_names") + | 1358 get_target_outputs(":font_family_names") + |
| 1516 get_target_outputs(":http_names") + | 1359 get_target_outputs(":http_names") + |
| 1517 get_target_outputs(":inspector_debugger_script") + | |
| 1518 get_target_outputs(":inspector_injected_script") + | |
| 1519 get_target_outputs(":inspector_protocol_sources") + | |
| 1520 get_target_outputs(":runtime_enabled_features") | 1360 get_target_outputs(":runtime_enabled_features") |
| 1521 | 1361 |
| 1522 configs += [ | 1362 configs += [ |
| 1523 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1363 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1524 "//build/config/compiler:no_size_t_to_int_warning", | 1364 "//build/config/compiler:no_size_t_to_int_warning", |
| 1525 "//third_party/WebKit/Source:config", | 1365 "//third_party/WebKit/Source:config", |
| 1526 "//third_party/WebKit/Source:non_test_config", | 1366 "//third_party/WebKit/Source:non_test_config", |
| 1527 ] | 1367 ] |
| 1528 | 1368 |
| 1529 defines = [ | 1369 defines = [ |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2098 "//third_party/WebKit/Source:inside_blink", | 1938 "//third_party/WebKit/Source:inside_blink", |
| 2099 ] | 1939 ] |
| 2100 | 1940 |
| 2101 deps = [ | 1941 deps = [ |
| 2102 ":test_support", | 1942 ":test_support", |
| 2103 "//cc/surfaces:surface_id", | 1943 "//cc/surfaces:surface_id", |
| 2104 "//testing/gmock", | 1944 "//testing/gmock", |
| 2105 "//testing/gtest", | 1945 "//testing/gtest", |
| 2106 ] | 1946 ] |
| 2107 } | 1947 } |
| OLD | NEW |