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

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: rebase 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 "blob/BlobData.cpp", 482 "blob/BlobData.cpp",
483 "blob/BlobData.h", 483 "blob/BlobData.h",
484 "blob/BlobRegistry.cpp", 484 "blob/BlobRegistry.cpp",
485 "blob/BlobRegistry.h", 485 "blob/BlobRegistry.h",
486 "blob/BlobURL.cpp", 486 "blob/BlobURL.cpp",
487 "blob/BlobURL.h", 487 "blob/BlobURL.h",
488 "clipboard/ClipboardMimeTypes.cpp", 488 "clipboard/ClipboardMimeTypes.cpp",
489 "clipboard/ClipboardMimeTypes.h", 489 "clipboard/ClipboardMimeTypes.h",
490 "clipboard/ClipboardUtilities.cpp", 490 "clipboard/ClipboardUtilities.cpp",
491 "clipboard/ClipboardUtilities.h", 491 "clipboard/ClipboardUtilities.h",
492 "clipboard/ClipboardUtilitiesPosix.cpp",
493 "clipboard/ClipboardUtilitiesWin.cpp",
494 "cpu/mips/CommonMacrosMSA.h", 492 "cpu/mips/CommonMacrosMSA.h",
495 "credentialmanager/PlatformCredential.cpp", 493 "credentialmanager/PlatformCredential.cpp",
496 "credentialmanager/PlatformCredential.h", 494 "credentialmanager/PlatformCredential.h",
497 "credentialmanager/PlatformFederatedCredential.cpp", 495 "credentialmanager/PlatformFederatedCredential.cpp",
498 "credentialmanager/PlatformFederatedCredential.h", 496 "credentialmanager/PlatformFederatedCredential.h",
499 "credentialmanager/PlatformPasswordCredential.cpp", 497 "credentialmanager/PlatformPasswordCredential.cpp",
500 "credentialmanager/PlatformPasswordCredential.h", 498 "credentialmanager/PlatformPasswordCredential.h",
501 "exported/InterfaceRegistry.cpp", 499 "exported/InterfaceRegistry.cpp",
502 "exported/Platform.cpp", 500 "exported/Platform.cpp",
503 "exported/ServiceRegistry.cpp", 501 "exported/ServiceRegistry.cpp",
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 "geometry/cg/FloatPointCG.cpp", 1502 "geometry/cg/FloatPointCG.cpp",
1505 "geometry/cg/FloatRectCG.cpp", 1503 "geometry/cg/FloatRectCG.cpp",
1506 "geometry/cg/FloatSizeCG.cpp", 1504 "geometry/cg/FloatSizeCG.cpp",
1507 "geometry/cg/IntPointCG.cpp", 1505 "geometry/cg/IntPointCG.cpp",
1508 "geometry/cg/IntRectCG.cpp", 1506 "geometry/cg/IntRectCG.cpp",
1509 "geometry/cg/IntSizeCG.cpp", 1507 "geometry/cg/IntSizeCG.cpp",
1510 ] 1508 ]
1511 } 1509 }
1512 1510
1513 if (is_win) { 1511 if (is_win) {
1512 sources += [ "clipboard/ClipboardUtilitiesWin.cpp" ]
1514 sources -= [ 1513 sources -= [
1515 "clipboard/ClipboardUtilitiesPosix.cpp",
1516
1517 # Uses LocaleWin instead. 1514 # Uses LocaleWin instead.
1518 "text/LocaleICU.cpp", 1515 "text/LocaleICU.cpp",
1519 "text/LocaleICU.h", 1516 "text/LocaleICU.h",
1520 ] 1517 ]
1521 cflags = [ 1518 cflags = [
1522 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. 1519 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits.
1523 "/wd4724", # Modulo by 0. 1520 "/wd4724", # Modulo by 0.
1524 ] 1521 ]
1525 } else { 1522 } else {
1526 sources -= [ 1523 sources -= [ "text/LocaleWin.cpp" ]
1527 "clipboard/ClipboardUtilitiesWin.cpp",
1528 "text/LocaleWin.cpp",
1529 ]
1530 } 1524 }
1531 1525
1532 if (is_android) { 1526 if (is_android) {
1533 # Add in some Linux files also shared with Android. 1527 # Add in some Linux files also shared with Android.
1534 set_sources_assignment_filter([]) 1528 set_sources_assignment_filter([])
1535 sources += [ 1529 sources += [
1536 "fonts/linux/FontPlatformDataLinux.cpp", 1530 "fonts/linux/FontPlatformDataLinux.cpp",
1537 "fonts/linux/FontRenderStyle.cpp", 1531 "fonts/linux/FontRenderStyle.cpp",
1538 "fonts/linux/FontRenderStyle.h", 1532 "fonts/linux/FontRenderStyle.h",
1539 ] 1533 ]
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 "WebVectorTest.cpp", 1689 "WebVectorTest.cpp",
1696 "animation/AnimationTranslationUtilTest.cpp", 1690 "animation/AnimationTranslationUtilTest.cpp",
1697 "animation/CompositorAnimationHostTest.cpp", 1691 "animation/CompositorAnimationHostTest.cpp",
1698 "animation/CompositorAnimationPlayerTest.cpp", 1692 "animation/CompositorAnimationPlayerTest.cpp",
1699 "animation/CompositorAnimationTest.cpp", 1693 "animation/CompositorAnimationTest.cpp",
1700 "animation/CompositorAnimationTimelineTest.cpp", 1694 "animation/CompositorAnimationTimelineTest.cpp",
1701 "animation/CompositorFloatAnimationCurveTest.cpp", 1695 "animation/CompositorFloatAnimationCurveTest.cpp",
1702 "animation/TimingFunctionTest.cpp", 1696 "animation/TimingFunctionTest.cpp",
1703 "audio/PushPullFIFOTest.cpp", 1697 "audio/PushPullFIFOTest.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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
2114 "//third_party/WebKit/Source:config", 2107 "//third_party/WebKit/Source:config",
2115 "//third_party/WebKit/Source:inside_blink", 2108 "//third_party/WebKit/Source:inside_blink",
2116 ] 2109 ]
2117 2110
2118 deps = [ 2111 deps = [
2119 ":test_support", 2112 ":test_support",
2120 "//testing/gmock", 2113 "//testing/gmock",
2121 "//testing/gtest", 2114 "//testing/gtest",
2122 ] 2115 ]
2123 } 2116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698