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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2444873002: Move WebMIMERegistry impl from //content to blink:platform/network/mime (Closed)
Patch Set: remove indirection Created 4 years, 1 month 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
OLDNEW
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")
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "LengthFunctions.cpp", 263 "LengthFunctions.cpp",
264 "LengthFunctions.h", 264 "LengthFunctions.h",
265 "LengthPoint.h", 265 "LengthPoint.h",
266 "LengthSize.h", 266 "LengthSize.h",
267 "LifecycleNotifier.h", 267 "LifecycleNotifier.h",
268 "LifecycleObserver.h", 268 "LifecycleObserver.h",
269 "LinkHash.cpp", 269 "LinkHash.cpp",
270 "LinkHash.h", 270 "LinkHash.h",
271 "MIMETypeFromURL.cpp", 271 "MIMETypeFromURL.cpp",
272 "MIMETypeFromURL.h", 272 "MIMETypeFromURL.h",
273 "MIMETypeRegistry.cpp",
274 "MIMETypeRegistry.h", 273 "MIMETypeRegistry.h",
275 "MemoryCoordinator.cpp", 274 "MemoryCoordinator.cpp",
276 "MemoryCoordinator.h", 275 "MemoryCoordinator.h",
277 "PODArena.h", 276 "PODArena.h",
278 "PODFreeListArena.h", 277 "PODFreeListArena.h",
279 "PODInterval.h", 278 "PODInterval.h",
280 "PODIntervalTree.h", 279 "PODIntervalTree.h",
281 "PODRedBlackTree.h", 280 "PODRedBlackTree.h",
282 "PartitionAllocMemoryDumpProvider.cpp", 281 "PartitionAllocMemoryDumpProvider.cpp",
283 "PartitionAllocMemoryDumpProvider.h", 282 "PartitionAllocMemoryDumpProvider.h",
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 "network/ResourceRequest.cpp", 1108 "network/ResourceRequest.cpp",
1110 "network/ResourceRequest.h", 1109 "network/ResourceRequest.h",
1111 "network/ResourceResponse.cpp", 1110 "network/ResourceResponse.cpp",
1112 "network/ResourceResponse.h", 1111 "network/ResourceResponse.h",
1113 "network/ResourceTimingInfo.cpp", 1112 "network/ResourceTimingInfo.cpp",
1114 "network/ResourceTimingInfo.h", 1113 "network/ResourceTimingInfo.h",
1115 "network/WebSocketHandshakeRequest.cpp", 1114 "network/WebSocketHandshakeRequest.cpp",
1116 "network/WebSocketHandshakeRequest.h", 1115 "network/WebSocketHandshakeRequest.h",
1117 "network/WebSocketHandshakeResponse.cpp", 1116 "network/WebSocketHandshakeResponse.cpp",
1118 "network/WebSocketHandshakeResponse.h", 1117 "network/WebSocketHandshakeResponse.h",
1118 "network/mime/MIMETypeRegistry.cpp",
1119 "peerconnection/RTCAnswerOptionsPlatform.h", 1119 "peerconnection/RTCAnswerOptionsPlatform.h",
1120 "peerconnection/RTCOfferOptionsPlatform.h", 1120 "peerconnection/RTCOfferOptionsPlatform.h",
1121 "peerconnection/RTCSessionDescriptionRequest.h", 1121 "peerconnection/RTCSessionDescriptionRequest.h",
1122 "peerconnection/RTCStatsRequest.h", 1122 "peerconnection/RTCStatsRequest.h",
1123 "peerconnection/RTCStatsResponseBase.h", 1123 "peerconnection/RTCStatsResponseBase.h",
1124 "peerconnection/RTCVoidRequest.h", 1124 "peerconnection/RTCVoidRequest.h",
1125 "plugins/PluginData.cpp", 1125 "plugins/PluginData.cpp",
1126 "plugins/PluginData.h", 1126 "plugins/PluginData.h",
1127 "plugins/PluginListBuilder.cpp", 1127 "plugins/PluginListBuilder.cpp",
1128 "plugins/PluginListBuilder.h", 1128 "plugins/PluginListBuilder.h",
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 ] 1386 ]
1387 1387
1388 public_deps = [ 1388 public_deps = [
1389 ":make_platform_generated", 1389 ":make_platform_generated",
1390 "//base", 1390 "//base",
1391 "//cc", 1391 "//cc",
1392 "//gpu/command_buffer/client:client", 1392 "//gpu/command_buffer/client:client",
1393 "//gpu/command_buffer/client:gles2_c_lib", 1393 "//gpu/command_buffer/client:gles2_c_lib",
1394 "//gpu/command_buffer/client:gles2_interface", 1394 "//gpu/command_buffer/client:gles2_interface",
1395 "//gpu/command_buffer/common:common", 1395 "//gpu/command_buffer/common:common",
1396 "//media",
1396 "//net", 1397 "//net",
1397 "//skia", 1398 "//skia",
1398 "//third_party:jpeg", 1399 "//third_party:jpeg",
1399 "//third_party/WebKit/Source/wtf", 1400 "//third_party/WebKit/Source/wtf",
1400 "//third_party/WebKit/public:mojo_bindings_blink", 1401 "//third_party/WebKit/public:mojo_bindings_blink",
1401 "//third_party/iccjpeg", 1402 "//third_party/iccjpeg",
1402 "//third_party/libpng", 1403 "//third_party/libpng",
1403 "//third_party/libwebp", 1404 "//third_party/libwebp",
1404 "//third_party/ots", 1405 "//third_party/ots",
1405 "//third_party/qcms", 1406 "//third_party/qcms",
1406 "//url", 1407 "//url",
1407 "//v8", 1408 "//v8",
1408 ] 1409 ]
1409 deps = [ 1410 deps = [
1410 ":blink_common", 1411 ":blink_common",
1411 "//components/link_header_util:link_header_util", 1412 "//components/link_header_util:link_header_util",
1412 "//components/mime_util:mime_util", 1413 "//components/mime_util:mime_util",
1413 "//mojo/public/cpp/bindings", 1414 "//mojo/public/cpp/bindings",
1414 "//mojo/public/cpp/bindings:wtf_support", 1415 "//mojo/public/cpp/bindings:wtf_support",
1415 "//third_party/WebKit/Source/platform/heap", 1416 "//third_party/WebKit/Source/platform/heap",
1417 "//third_party/WebKit/public:mojo_bindings_blink",
1416 "//third_party/WebKit/public:offscreen_canvas_mojo_bindings_blink", 1418 "//third_party/WebKit/public:offscreen_canvas_mojo_bindings_blink",
1417 "//third_party/ced", 1419 "//third_party/ced",
1418 "//third_party/harfbuzz-ng", 1420 "//third_party/harfbuzz-ng",
1419 "//third_party/icu", 1421 "//third_party/icu",
1420 "//ui/gfx", 1422 "//ui/gfx",
1421 "//ui/gfx/geometry", 1423 "//ui/gfx/geometry",
1422 ] 1424 ]
1423 1425
1424 if (is_mac) { 1426 if (is_mac) {
1425 sources -= [ 1427 sources -= [
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 configs -= [ "//build/config/compiler:default_symbols" ] 1526 configs -= [ "//build/config/compiler:default_symbols" ]
1525 configs += [ "//build/config/compiler:no_symbols" ] 1527 configs += [ "//build/config/compiler:no_symbols" ]
1526 } 1528 }
1527 } 1529 }
1528 1530
1529 static_library("test_support") { 1531 static_library("test_support") {
1530 visibility += [ "//third_party/WebKit/*" ] 1532 visibility += [ "//third_party/WebKit/*" ]
1531 testonly = true 1533 testonly = true
1532 1534
1533 sources = [ 1535 sources = [
1536 "network/mime/MockMimeRegistry.h",
1534 "scheduler/base/task_queue_manager_delegate_for_test.cc", 1537 "scheduler/base/task_queue_manager_delegate_for_test.cc",
1535 "scheduler/base/test_time_source.cc", 1538 "scheduler/base/test_time_source.cc",
1536 "scheduler/child/scheduler_tqm_delegate_for_test.cc", 1539 "scheduler/child/scheduler_tqm_delegate_for_test.cc",
1537 "scheduler/test/fake_renderer_scheduler.cc", 1540 "scheduler/test/fake_renderer_scheduler.cc",
1538 "scheduler/test/fake_web_task_runner.cc", 1541 "scheduler/test/fake_web_task_runner.cc",
1539 "scheduler/test/fake_web_task_runner.h", 1542 "scheduler/test/fake_web_task_runner.h",
1540 "scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc", 1543 "scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc",
1541 "scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h", 1544 "scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h",
1542 "scheduler/test/renderer_scheduler_test_support.cc", 1545 "scheduler/test/renderer_scheduler_test_support.cc",
1543 "scroll/ScrollbarTestSuite.h", 1546 "scroll/ScrollbarTestSuite.h",
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1703 "mac/VersionUtilMacTest.mm", 1706 "mac/VersionUtilMacTest.mm",
1704 "mojo/CommonCustomTypesStructTraitsTest.cpp", 1707 "mojo/CommonCustomTypesStructTraitsTest.cpp",
1705 "mojo/GeometryStructTraitsTest.cpp", 1708 "mojo/GeometryStructTraitsTest.cpp",
1706 "mojo/KURLSecurityOriginTest.cpp", 1709 "mojo/KURLSecurityOriginTest.cpp",
1707 "network/EncodedFormDataTest.cpp", 1710 "network/EncodedFormDataTest.cpp",
1708 "network/HTTPParsersTest.cpp", 1711 "network/HTTPParsersTest.cpp",
1709 "network/LinkHeaderTest.cpp", 1712 "network/LinkHeaderTest.cpp",
1710 "network/NetworkUtilsTest.cpp", 1713 "network/NetworkUtilsTest.cpp",
1711 "network/ResourceRequestTest.cpp", 1714 "network/ResourceRequestTest.cpp",
1712 "network/ResourceResponseTest.cpp", 1715 "network/ResourceResponseTest.cpp",
1716 "network/mime/MIMETypeRegistryTest.cpp",
1713 "scheduler/CancellableTaskFactoryTest.cpp", 1717 "scheduler/CancellableTaskFactoryTest.cpp",
1714 "scheduler/base/intrusive_heap_unittest.cc", 1718 "scheduler/base/intrusive_heap_unittest.cc",
1715 "scheduler/base/queueing_time_estimator_unittest.cc", 1719 "scheduler/base/queueing_time_estimator_unittest.cc",
1716 "scheduler/base/task_queue_manager_unittest.cc", 1720 "scheduler/base/task_queue_manager_unittest.cc",
1717 "scheduler/base/task_queue_selector_unittest.cc", 1721 "scheduler/base/task_queue_selector_unittest.cc",
1718 "scheduler/base/test_count_uses_time_source.cc", 1722 "scheduler/base/test_count_uses_time_source.cc",
1719 "scheduler/base/thread_load_tracker_unittest.cc", 1723 "scheduler/base/thread_load_tracker_unittest.cc",
1720 "scheduler/base/time_domain_unittest.cc", 1724 "scheduler/base/time_domain_unittest.cc",
1721 "scheduler/base/work_queue_sets_unittest.cc", 1725 "scheduler/base/work_queue_sets_unittest.cc",
1722 "scheduler/base/work_queue_unittest.cc", 1726 "scheduler/base/work_queue_unittest.cc",
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1980 "//third_party/WebKit/Source:inside_blink", 1984 "//third_party/WebKit/Source:inside_blink",
1981 ] 1985 ]
1982 1986
1983 deps = [ 1987 deps = [
1984 ":test_support", 1988 ":test_support",
1985 "//cc/surfaces:surface_id", 1989 "//cc/surfaces:surface_id",
1986 "//testing/gmock", 1990 "//testing/gmock",
1987 "//testing/gtest", 1991 "//testing/gtest",
1988 ] 1992 ]
1989 } 1993 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698