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

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

Issue 2674953003: Only generate suggested filenames when actually dragging an image. (Closed)
Patch Set: Maybe? Created 3 years, 10 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
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/public/public_features.gni") 9 import("//third_party/WebKit/public/public_features.gni")
10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 "blob/BlobData.cpp", 484 "blob/BlobData.cpp",
485 "blob/BlobData.h", 485 "blob/BlobData.h",
486 "blob/BlobRegistry.cpp", 486 "blob/BlobRegistry.cpp",
487 "blob/BlobRegistry.h", 487 "blob/BlobRegistry.h",
488 "blob/BlobURL.cpp", 488 "blob/BlobURL.cpp",
489 "blob/BlobURL.h", 489 "blob/BlobURL.h",
490 "clipboard/ClipboardMimeTypes.cpp", 490 "clipboard/ClipboardMimeTypes.cpp",
491 "clipboard/ClipboardMimeTypes.h", 491 "clipboard/ClipboardMimeTypes.h",
492 "clipboard/ClipboardUtilities.cpp", 492 "clipboard/ClipboardUtilities.cpp",
493 "clipboard/ClipboardUtilities.h", 493 "clipboard/ClipboardUtilities.h",
494 "clipboard/ClipboardUtilitiesPosix.cpp",
495 "clipboard/ClipboardUtilitiesWin.cpp",
496 "cpu/mips/CommonMacrosMSA.h", 494 "cpu/mips/CommonMacrosMSA.h",
497 "credentialmanager/PlatformCredential.cpp", 495 "credentialmanager/PlatformCredential.cpp",
498 "credentialmanager/PlatformCredential.h", 496 "credentialmanager/PlatformCredential.h",
499 "credentialmanager/PlatformFederatedCredential.cpp", 497 "credentialmanager/PlatformFederatedCredential.cpp",
500 "credentialmanager/PlatformFederatedCredential.h", 498 "credentialmanager/PlatformFederatedCredential.h",
501 "credentialmanager/PlatformPasswordCredential.cpp", 499 "credentialmanager/PlatformPasswordCredential.cpp",
502 "credentialmanager/PlatformPasswordCredential.h", 500 "credentialmanager/PlatformPasswordCredential.h",
503 "exported/InterfaceRegistry.cpp", 501 "exported/InterfaceRegistry.cpp",
504 "exported/Platform.cpp", 502 "exported/Platform.cpp",
505 "exported/ServiceRegistry.cpp", 503 "exported/ServiceRegistry.cpp",
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1505 "geometry/cg/FloatPointCG.cpp", 1503 "geometry/cg/FloatPointCG.cpp",
1506 "geometry/cg/FloatRectCG.cpp", 1504 "geometry/cg/FloatRectCG.cpp",
1507 "geometry/cg/FloatSizeCG.cpp", 1505 "geometry/cg/FloatSizeCG.cpp",
1508 "geometry/cg/IntPointCG.cpp", 1506 "geometry/cg/IntPointCG.cpp",
1509 "geometry/cg/IntRectCG.cpp", 1507 "geometry/cg/IntRectCG.cpp",
1510 "geometry/cg/IntSizeCG.cpp", 1508 "geometry/cg/IntSizeCG.cpp",
1511 ] 1509 ]
1512 } 1510 }
1513 1511
1514 if (is_win) { 1512 if (is_win) {
1513 sources += [ "clipboard/ClipboardUtilitiesWin.cpp" ]
1515 sources -= [ 1514 sources -= [
1516 "clipboard/ClipboardUtilitiesPosix.cpp",
1517
1518 # Uses LocaleWin instead. 1515 # Uses LocaleWin instead.
1519 "text/LocaleICU.cpp", 1516 "text/LocaleICU.cpp",
1520 "text/LocaleICU.h", 1517 "text/LocaleICU.h",
1521 ] 1518 ]
1522 cflags = [ 1519 cflags = [
1523 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. 1520 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits.
1524 "/wd4724", # Modulo by 0. 1521 "/wd4724", # Modulo by 0.
1525 ] 1522 ]
1526 } else { 1523 } else {
1527 sources -= [ 1524 sources -= [ "text/LocaleWin.cpp" ]
1528 "clipboard/ClipboardUtilitiesWin.cpp",
1529 "text/LocaleWin.cpp",
1530 ]
1531 } 1525 }
1532 1526
1533 if (is_android) { 1527 if (is_android) {
1534 # Add in some Linux files also shared with Android. 1528 # Add in some Linux files also shared with Android.
1535 set_sources_assignment_filter([]) 1529 set_sources_assignment_filter([])
1536 sources += [ 1530 sources += [
1537 "fonts/linux/FontPlatformDataLinux.cpp", 1531 "fonts/linux/FontPlatformDataLinux.cpp",
1538 "fonts/linux/FontRenderStyle.cpp", 1532 "fonts/linux/FontRenderStyle.cpp",
1539 "fonts/linux/FontRenderStyle.h", 1533 "fonts/linux/FontRenderStyle.h",
1540 ] 1534 ]
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 "WebTaskRunnerTest.cpp", 1689 "WebTaskRunnerTest.cpp",
1696 "WebVectorTest.cpp", 1690 "WebVectorTest.cpp",
1697 "animation/AnimationTranslationUtilTest.cpp", 1691 "animation/AnimationTranslationUtilTest.cpp",
1698 "animation/CompositorAnimationHostTest.cpp", 1692 "animation/CompositorAnimationHostTest.cpp",
1699 "animation/CompositorAnimationPlayerTest.cpp", 1693 "animation/CompositorAnimationPlayerTest.cpp",
1700 "animation/CompositorAnimationTest.cpp", 1694 "animation/CompositorAnimationTest.cpp",
1701 "animation/CompositorAnimationTimelineTest.cpp", 1695 "animation/CompositorAnimationTimelineTest.cpp",
1702 "animation/CompositorFloatAnimationCurveTest.cpp", 1696 "animation/CompositorFloatAnimationCurveTest.cpp",
1703 "animation/TimingFunctionTest.cpp", 1697 "animation/TimingFunctionTest.cpp",
1704 "blob/BlobDataTest.cpp", 1698 "blob/BlobDataTest.cpp",
1705 "clipboard/ClipboardUtilitiesTest.cpp",
1706 "exported/FilePathConversionTest.cpp", 1699 "exported/FilePathConversionTest.cpp",
1707 "exported/WebStringTest.cpp", 1700 "exported/WebStringTest.cpp",
1708 "feature_policy/FeaturePolicyTest.cpp", 1701 "feature_policy/FeaturePolicyTest.cpp",
1709 "fonts/AcceptLanguagesResolverTest.cpp", 1702 "fonts/AcceptLanguagesResolverTest.cpp",
1710 "fonts/FontCacheTest.cpp", 1703 "fonts/FontCacheTest.cpp",
1711 "fonts/FontDescriptionTest.cpp", 1704 "fonts/FontDescriptionTest.cpp",
1712 "fonts/FontPlatformDataTest.cpp", 1705 "fonts/FontPlatformDataTest.cpp",
1713 "fonts/FontTest.cpp", 1706 "fonts/FontTest.cpp",
1714 "fonts/GenericFontFamilySettingsTest.cpp", 1707 "fonts/GenericFontFamilySettingsTest.cpp",
1715 "fonts/GlyphBufferTest.cpp", 1708 "fonts/GlyphBufferTest.cpp",
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
2117 "//third_party/WebKit/Source:config", 2110 "//third_party/WebKit/Source:config",
2118 "//third_party/WebKit/Source:inside_blink", 2111 "//third_party/WebKit/Source:inside_blink",
2119 ] 2112 ]
2120 2113
2121 deps = [ 2114 deps = [
2122 ":test_support", 2115 ":test_support",
2123 "//testing/gmock", 2116 "//testing/gmock",
2124 "//testing/gtest", 2117 "//testing/gtest",
2125 ] 2118 ]
2126 } 2119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698