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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//sky/engine/build/scripts/scripts.gni") | 6 import("//sky/engine/build/scripts/scripts.gni") |
7 import("//sky/engine/config.gni") | 7 import("//sky/engine/config.gni") |
8 | 8 |
9 # Most targets in this file are private actions so use that as the default. | 9 # Most targets in this file are private actions so use that as the default. |
10 visibility = [":*"] | 10 visibility = [":*"] |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 "animation/KeyframeValueList.cpp", | 205 "animation/KeyframeValueList.cpp", |
206 "animation/KeyframeValueList.h", | 206 "animation/KeyframeValueList.h", |
207 "animation/TimingFunction.cpp", | 207 "animation/TimingFunction.cpp", |
208 "animation/TimingFunction.h", | 208 "animation/TimingFunction.h", |
209 "animation/UnitBezier.h", | 209 "animation/UnitBezier.h", |
210 "clipboard/ClipboardMimeTypes.cpp", | 210 "clipboard/ClipboardMimeTypes.cpp", |
211 "clipboard/ClipboardMimeTypes.h", | 211 "clipboard/ClipboardMimeTypes.h", |
212 "clipboard/ClipboardUtilities.cpp", | 212 "clipboard/ClipboardUtilities.cpp", |
213 "clipboard/ClipboardUtilities.h", | 213 "clipboard/ClipboardUtilities.h", |
214 "clipboard/ClipboardUtilitiesPosix.cpp", | 214 "clipboard/ClipboardUtilitiesPosix.cpp", |
215 "clipboard/ClipboardUtilitiesWin.cpp", | |
216 "exported/Platform.cpp", | 215 "exported/Platform.cpp", |
217 "exported/WebActiveGestureAnimation.cpp", | 216 "exported/WebActiveGestureAnimation.cpp", |
218 "exported/WebActiveGestureAnimation.h", | 217 "exported/WebActiveGestureAnimation.h", |
219 "exported/WebArrayBuffer.cpp", | 218 "exported/WebArrayBuffer.cpp", |
220 "exported/WebConvertableToTraceFormat.cpp", | 219 "exported/WebConvertableToTraceFormat.cpp", |
221 "exported/WebCursorInfo.cpp", | 220 "exported/WebCursorInfo.cpp", |
222 "exported/WebData.cpp", | 221 "exported/WebData.cpp", |
223 "exported/WebFilterKeyframe.cpp", | 222 "exported/WebFilterKeyframe.cpp", |
224 "exported/WebHTTPBody.cpp", | 223 "exported/WebHTTPBody.cpp", |
225 "exported/WebHTTPLoadInfo.cpp", | 224 "exported/WebHTTPLoadInfo.cpp", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 "fonts/harfbuzz/HarfBuzzFace.h", | 298 "fonts/harfbuzz/HarfBuzzFace.h", |
300 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", | 299 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", |
301 "fonts/harfbuzz/HarfBuzzFaceSkia.cpp", | 300 "fonts/harfbuzz/HarfBuzzFaceSkia.cpp", |
302 "fonts/harfbuzz/HarfBuzzShaper.cpp", | 301 "fonts/harfbuzz/HarfBuzzShaper.cpp", |
303 "fonts/harfbuzz/HarfBuzzShaper.h", | 302 "fonts/harfbuzz/HarfBuzzShaper.h", |
304 "fonts/linux/FontCacheLinux.cpp", | 303 "fonts/linux/FontCacheLinux.cpp", |
305 "fonts/linux/FontPlatformDataLinux.cpp", | 304 "fonts/linux/FontPlatformDataLinux.cpp", |
306 "fonts/opentype/OpenTypeSanitizer.cpp", | 305 "fonts/opentype/OpenTypeSanitizer.cpp", |
307 "fonts/opentype/OpenTypeSanitizer.h", | 306 "fonts/opentype/OpenTypeSanitizer.h", |
308 "fonts/opentype/OpenTypeTypes.h", | 307 "fonts/opentype/OpenTypeTypes.h", |
309 "fonts/opentype/OpenTypeUtilities.cpp", | |
310 "fonts/opentype/OpenTypeUtilities.h", | |
311 "fonts/opentype/OpenTypeVerticalData.cpp", | 308 "fonts/opentype/OpenTypeVerticalData.cpp", |
312 "fonts/opentype/OpenTypeVerticalData.h", | 309 "fonts/opentype/OpenTypeVerticalData.h", |
313 "fonts/skia/FontCacheSkia.cpp", | 310 "fonts/skia/FontCacheSkia.cpp", |
314 "fonts/skia/FontCustomPlatformDataSkia.cpp", | 311 "fonts/skia/FontCustomPlatformDataSkia.cpp", |
315 "fonts/skia/FontPlatformDataSkia.cpp", | 312 "fonts/skia/FontPlatformDataSkia.cpp", |
316 "fonts/skia/SimpleFontDataSkia.cpp", | 313 "fonts/skia/SimpleFontDataSkia.cpp", |
317 "geometry/FloatBoxExtent.h", | 314 "geometry/FloatBoxExtent.h", |
318 "geometry/FloatPolygon.cpp", | 315 "geometry/FloatPolygon.cpp", |
319 "geometry/FloatPolygon.h", | 316 "geometry/FloatPolygon.h", |
320 "geometry/FloatPoint.cpp", | 317 "geometry/FloatPoint.cpp", |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 "text/BidiTextRun.h", | 572 "text/BidiTextRun.h", |
576 "text/DateTimeFormat.cpp", | 573 "text/DateTimeFormat.cpp", |
577 "text/DateTimeFormat.h", | 574 "text/DateTimeFormat.h", |
578 "text/DecodeEscapeSequences.h", | 575 "text/DecodeEscapeSequences.h", |
579 "text/LineEnding.cpp", | 576 "text/LineEnding.cpp", |
580 "text/LineEnding.h", | 577 "text/LineEnding.h", |
581 "text/LocaleICU.cpp", | 578 "text/LocaleICU.cpp", |
582 "text/LocaleICU.h", | 579 "text/LocaleICU.h", |
583 "text/LocaleToScriptMapping.cpp", | 580 "text/LocaleToScriptMapping.cpp", |
584 "text/LocaleToScriptMapping.h", | 581 "text/LocaleToScriptMapping.h", |
585 "text/LocaleWin.cpp", | |
586 "text/LocaleWin.h", | |
587 "text/NonCJKGlyphOrientation.h", | 582 "text/NonCJKGlyphOrientation.h", |
588 "text/ParserUtilities.h", | 583 "text/ParserUtilities.h", |
589 "text/PlatformLocale.cpp", | 584 "text/PlatformLocale.cpp", |
590 "text/PlatformLocale.h", | 585 "text/PlatformLocale.h", |
591 "text/QuotedPrintable.cpp", | 586 "text/QuotedPrintable.cpp", |
592 "text/QuotedPrintable.h", | 587 "text/QuotedPrintable.h", |
593 "text/SegmentedString.cpp", | 588 "text/SegmentedString.cpp", |
594 "text/SegmentedString.h", | 589 "text/SegmentedString.h", |
595 "text/StringTruncator.cpp", | 590 "text/StringTruncator.cpp", |
596 "text/StringTruncator.h", | 591 "text/StringTruncator.h", |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 ] | 703 ] |
709 | 704 |
710 # FIXME(sky): Can sky use this stuff? Why mac only? | 705 # FIXME(sky): Can sky use this stuff? Why mac only? |
711 sources -= [ | 706 sources -= [ |
712 # FIXME: We will eventually compile this too, but for now it's | 707 # FIXME: We will eventually compile this too, but for now it's |
713 # only used on mac. | 708 # only used on mac. |
714 "fonts/FontPlatformData.cpp", | 709 "fonts/FontPlatformData.cpp", |
715 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", | 710 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", |
716 ] | 711 ] |
717 | 712 |
718 if (is_win) { | |
719 sources -= [ | |
720 # Uses LocaleWin instead. | |
721 "text/LocaleICU.cpp", | |
722 "text/LocaleICU.h", | |
723 ] | |
724 cflags = [ | |
725 "/wd4267", # Conversion from 'size_t' to 'type', possible loss of data. | |
726 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. | |
727 "/wd4724", # Modulo by 0. | |
728 ] | |
729 } else { | |
730 sources -= [ | |
731 "clipboard/ClipboardUtilitiesWin.cpp", | |
732 "fonts/opentype/OpenTypeUtilities.cpp", | |
733 "fonts/opentype/OpenTypeUtilities.h", | |
734 "text/LocaleWin.cpp", | |
735 ] | |
736 } | |
737 | |
738 if (is_android) { | 713 if (is_android) { |
739 # Add in some Linux files also shared with Android. | 714 # Add in some Linux files also shared with Android. |
740 set_sources_assignment_filter([]) | 715 set_sources_assignment_filter([]) |
741 sources += [ | 716 sources += [ |
742 "exported/linux/WebFontRenderStyle.cpp", | 717 "exported/linux/WebFontRenderStyle.cpp", |
743 "fonts/linux/FontPlatformDataLinux.cpp", | 718 "fonts/linux/FontPlatformDataLinux.cpp", |
744 ] | 719 ] |
745 set_sources_assignment_filter(sources_assignment_filter) | 720 set_sources_assignment_filter(sources_assignment_filter) |
746 } | 721 } |
747 | 722 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 #'cflags': ['-marm'], | 870 #'cflags': ['-marm'], |
896 # 'conditions': [ | 871 # 'conditions': [ |
897 # ['OS=="android"', { | 872 # ['OS=="android"', { |
898 # 'cflags!': ['-mthumb'], | 873 # 'cflags!': ['-mthumb'], |
899 # }], | 874 # }], |
900 # ], | 875 # ], |
901 | 876 |
902 deps = [ ":sky_common" ] | 877 deps = [ ":sky_common" ] |
903 } | 878 } |
904 } | 879 } |
OLD | NEW |