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

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

Issue 2289693002: Add MIPS SIMD Arch (MSA) optimized WebGL image conversion function (Closed)
Patch Set: Fixed merge conflicts Created 4 years, 3 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 | « AUTHORS ('k') | third_party/WebKit/Source/platform/blink_platform.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")
11 import( 11 import(
12 "//third_party/WebKit/Source/platform/inspector_protocol/inspector_protocol. gni") 12 "//third_party/WebKit/Source/platform/inspector_protocol/inspector_protocol. gni")
13 import("//third_party/WebKit/Source/platform/platform_generated.gni") 13 import("//third_party/WebKit/Source/platform/platform_generated.gni")
14 14
15 # Most targets in this file are private actions so use that as the default. 15 # Most targets in this file are private actions so use that as the default.
16 visibility = [ ":*" ] 16 visibility = [ ":*" ]
17 17
18 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] 18 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ]
19 19
20 blink_platform_msa_files = [ "graphics/cpu/mips/WebGLImageConversionMSA.h" ]
21
20 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] 22 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ]
21 23
22 component("blink_common") { 24 component("blink_common") {
23 visibility = [] # Allow re-assignment of list. 25 visibility = [] # Allow re-assignment of list.
24 visibility = [ "//third_party/WebKit/*" ] 26 visibility = [ "//third_party/WebKit/*" ]
25 sources = [ 27 sources = [
26 "../web/WebInputEvent.cpp", 28 "../web/WebInputEvent.cpp",
27 "exported/FilePathConversion.cpp", 29 "exported/FilePathConversion.cpp",
28 "exported/URLConversion.cpp", 30 "exported/URLConversion.cpp",
29 "exported/WebCString.cpp", 31 "exported/WebCString.cpp",
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 "blob/BlobRegistry.cpp", 558 "blob/BlobRegistry.cpp",
557 "blob/BlobRegistry.h", 559 "blob/BlobRegistry.h",
558 "blob/BlobURL.cpp", 560 "blob/BlobURL.cpp",
559 "blob/BlobURL.h", 561 "blob/BlobURL.h",
560 "clipboard/ClipboardMimeTypes.cpp", 562 "clipboard/ClipboardMimeTypes.cpp",
561 "clipboard/ClipboardMimeTypes.h", 563 "clipboard/ClipboardMimeTypes.h",
562 "clipboard/ClipboardUtilities.cpp", 564 "clipboard/ClipboardUtilities.cpp",
563 "clipboard/ClipboardUtilities.h", 565 "clipboard/ClipboardUtilities.h",
564 "clipboard/ClipboardUtilitiesPosix.cpp", 566 "clipboard/ClipboardUtilitiesPosix.cpp",
565 "clipboard/ClipboardUtilitiesWin.cpp", 567 "clipboard/ClipboardUtilitiesWin.cpp",
568 "cpu/mips/CommonMacrosMSA.h",
566 "credentialmanager/PlatformCredential.cpp", 569 "credentialmanager/PlatformCredential.cpp",
567 "credentialmanager/PlatformCredential.h", 570 "credentialmanager/PlatformCredential.h",
568 "credentialmanager/PlatformFederatedCredential.cpp", 571 "credentialmanager/PlatformFederatedCredential.cpp",
569 "credentialmanager/PlatformFederatedCredential.h", 572 "credentialmanager/PlatformFederatedCredential.h",
570 "credentialmanager/PlatformPasswordCredential.cpp", 573 "credentialmanager/PlatformPasswordCredential.cpp",
571 "credentialmanager/PlatformPasswordCredential.h", 574 "credentialmanager/PlatformPasswordCredential.h",
572 "exported/Platform.cpp", 575 "exported/Platform.cpp",
573 "exported/ServiceRegistry.cpp", 576 "exported/ServiceRegistry.cpp",
574 "exported/WebActiveGestureAnimation.cpp", 577 "exported/WebActiveGestureAnimation.cpp",
575 "exported/WebActiveGestureAnimation.h", 578 "exported/WebActiveGestureAnimation.h",
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 "graphics/SquashingDisallowedReasons.h", 954 "graphics/SquashingDisallowedReasons.h",
952 "graphics/StaticBitmapImage.cpp", 955 "graphics/StaticBitmapImage.cpp",
953 "graphics/StaticBitmapImage.h", 956 "graphics/StaticBitmapImage.h",
954 "graphics/StrokeData.cpp", 957 "graphics/StrokeData.cpp",
955 "graphics/StrokeData.h", 958 "graphics/StrokeData.h",
956 "graphics/UnacceleratedImageBufferSurface.cpp", 959 "graphics/UnacceleratedImageBufferSurface.cpp",
957 "graphics/UnacceleratedImageBufferSurface.h", 960 "graphics/UnacceleratedImageBufferSurface.h",
958 "graphics/compositing/PaintArtifactCompositor.cpp", 961 "graphics/compositing/PaintArtifactCompositor.cpp",
959 "graphics/compositing/PaintArtifactCompositor.h", 962 "graphics/compositing/PaintArtifactCompositor.h",
960 "graphics/cpu/arm/WebGLImageConversionNEON.h", 963 "graphics/cpu/arm/WebGLImageConversionNEON.h",
964 "graphics/cpu/mips/WebGLImageConversionMSA.h",
961 "graphics/cpu/x86/WebGLImageConversionSSE.h", 965 "graphics/cpu/x86/WebGLImageConversionSSE.h",
962 "graphics/filters/DistantLightSource.cpp", 966 "graphics/filters/DistantLightSource.cpp",
963 "graphics/filters/DistantLightSource.h", 967 "graphics/filters/DistantLightSource.h",
964 "graphics/filters/FEBlend.cpp", 968 "graphics/filters/FEBlend.cpp",
965 "graphics/filters/FEBlend.h", 969 "graphics/filters/FEBlend.h",
966 "graphics/filters/FEBoxReflect.cpp", 970 "graphics/filters/FEBoxReflect.cpp",
967 "graphics/filters/FEBoxReflect.h", 971 "graphics/filters/FEBoxReflect.h",
968 "graphics/filters/FEColorMatrix.cpp", 972 "graphics/filters/FEColorMatrix.cpp",
969 "graphics/filters/FEColorMatrix.h", 973 "graphics/filters/FEColorMatrix.h",
970 "graphics/filters/FEComponentTransfer.cpp", 974 "graphics/filters/FEComponentTransfer.cpp",
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 "weborigin/SecurityOrigin.h", 1494 "weborigin/SecurityOrigin.h",
1491 "weborigin/SecurityOriginCache.h", 1495 "weborigin/SecurityOriginCache.h",
1492 "weborigin/SecurityOriginHash.h", 1496 "weborigin/SecurityOriginHash.h",
1493 "weborigin/SecurityPolicy.cpp", 1497 "weborigin/SecurityPolicy.cpp",
1494 "weborigin/SecurityPolicy.h", 1498 "weborigin/SecurityPolicy.h",
1495 "weborigin/Suborigin.cpp", 1499 "weborigin/Suborigin.cpp",
1496 "weborigin/Suborigin.h", 1500 "weborigin/Suborigin.h",
1497 ] 1501 ]
1498 1502
1499 sources -= blink_platform_neon_files 1503 sources -= blink_platform_neon_files
1504 sources -= blink_platform_msa_files
1500 sources -= blink_platform_sse_files 1505 sources -= blink_platform_sse_files
1501 1506
1502 # Add in the generated files. 1507 # Add in the generated files.
1503 sources += get_target_outputs(":character_data") + 1508 sources += get_target_outputs(":character_data") +
1504 get_target_outputs(":color_data") + 1509 get_target_outputs(":color_data") +
1505 get_target_outputs(":font_family_names") + 1510 get_target_outputs(":font_family_names") +
1506 get_target_outputs(":http_names") + 1511 get_target_outputs(":http_names") +
1507 get_target_outputs(":inspector_debugger_script") + 1512 get_target_outputs(":inspector_debugger_script") +
1508 get_target_outputs(":inspector_injected_script") + 1513 get_target_outputs(":inspector_injected_script") +
1509 get_target_outputs(":inspector_protocol_sources") + 1514 get_target_outputs(":inspector_protocol_sources") +
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 sources -= [ 1640 sources -= [
1636 "scroll/ScrollbarThemeAura.cpp", 1641 "scroll/ScrollbarThemeAura.cpp",
1637 "scroll/ScrollbarThemeAura.h", 1642 "scroll/ScrollbarThemeAura.h",
1638 ] 1643 ]
1639 } 1644 }
1640 1645
1641 if (current_cpu == "arm") { 1646 if (current_cpu == "arm") {
1642 deps += [ ":blink_arm_neon" ] 1647 deps += [ ":blink_arm_neon" ]
1643 } 1648 }
1644 1649
1650 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
1651 deps += [ ":blink_mips_msa" ]
1652 }
1653
1645 if (current_cpu == "x86" || current_cpu == "x64") { 1654 if (current_cpu == "x86" || current_cpu == "x64") {
1646 deps += [ ":blink_x86_sse" ] 1655 deps += [ ":blink_x86_sse" ]
1647 } 1656 }
1648 1657
1649 if (use_webaudio_ffmpeg) { 1658 if (use_webaudio_ffmpeg) {
1650 include_dirs += [ "//third_party/ffmpeg" ] 1659 include_dirs += [ "//third_party/ffmpeg" ]
1651 deps += [ "//third_party/ffmpeg" ] 1660 deps += [ "//third_party/ffmpeg" ]
1652 } 1661 }
1653 if (use_openmax_dl_fft) { 1662 if (use_openmax_dl_fft) {
1654 include_dirs += [ "//third_party/openmax_dl" ] 1663 include_dirs += [ "//third_party/openmax_dl" ]
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 # 'cflags!': ['-mthumb'], 2006 # 'cflags!': ['-mthumb'],
1998 # }], 2007 # }],
1999 # ], 2008 # ],
2000 2009
2001 deps = [ 2010 deps = [
2002 ":blink_common", 2011 ":blink_common",
2003 ] 2012 ]
2004 } 2013 }
2005 } 2014 }
2006 2015
2016 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
2017 source_set("blink_mips_msa") {
2018 sources = blink_platform_msa_files
2019 deps = [
2020 ":blink_common",
2021 ]
2022 }
2023 }
2024
2007 if (current_cpu == "x86" || current_cpu == "x64") { 2025 if (current_cpu == "x86" || current_cpu == "x64") {
2008 source_set("blink_x86_sse") { 2026 source_set("blink_x86_sse") {
2009 sources = blink_platform_sse_files 2027 sources = blink_platform_sse_files
2010 deps = [ 2028 deps = [
2011 ":blink_common", 2029 ":blink_common",
2012 ] 2030 ]
2013 } 2031 }
2014 } 2032 }
2015 2033
2016 # This source set is used for fuzzers that need an environment similar to unit 2034 # This source set is used for fuzzers that need an environment similar to unit
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 "//third_party/WebKit/Source:inside_blink", 2092 "//third_party/WebKit/Source:inside_blink",
2075 ] 2093 ]
2076 2094
2077 deps = [ 2095 deps = [
2078 ":test_support", 2096 ":test_support",
2079 "//cc/surfaces:surface_id", 2097 "//cc/surfaces:surface_id",
2080 "//testing/gmock", 2098 "//testing/gmock",
2081 "//testing/gtest", 2099 "//testing/gtest",
2082 ] 2100 ]
2083 } 2101 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/platform/blink_platform.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698