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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 group("make_platform_generated") { | 78 group("make_platform_generated") { |
79 visibility += [ ":*" ] | 79 visibility += [ ":*" ] |
80 deps = [ | 80 deps = [ |
81 ":color_data", | 81 ":color_data", |
82 ":font_family_names", | 82 ":font_family_names", |
83 ":runtime_enabled_features", | 83 ":runtime_enabled_features", |
84 ] | 84 ] |
85 } | 85 } |
86 | 86 |
87 component("platform") { | 87 source_set("platform") { |
88 visibility += [ "//sky/*" ] | 88 visibility += [ "//sky/*" ] |
89 | 89 |
90 output_name = "sky_platform" | |
91 | |
92 sources = [ | 90 sources = [ |
93 "animation/AnimationUtilities.h", | 91 "animation/AnimationUtilities.h", |
94 "animation/AnimationValue.h", | 92 "animation/AnimationValue.h", |
95 "animation/KeyframeValueList.cpp", | 93 "animation/KeyframeValueList.cpp", |
96 "animation/KeyframeValueList.h", | 94 "animation/KeyframeValueList.h", |
97 "animation/TimingFunction.cpp", | 95 "animation/TimingFunction.cpp", |
98 "animation/TimingFunction.h", | 96 "animation/TimingFunction.h", |
99 "animation/UnitBezier.h", | 97 "animation/UnitBezier.h", |
100 "AsyncMethodRunner.h", | 98 "AsyncMethodRunner.h", |
101 "CalculationValue.h", | 99 "CalculationValue.h", |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 | 635 |
638 include_dirs = [ "$root_build_dir" ] | 636 include_dirs = [ "$root_build_dir" ] |
639 | 637 |
640 deps = [ | 638 deps = [ |
641 ":make_platform_generated", | 639 ":make_platform_generated", |
642 "//base:base", | 640 "//base:base", |
643 "//gpu/command_buffer/client:gles2_c_lib", | 641 "//gpu/command_buffer/client:gles2_c_lib", |
644 "//mojo/application", | 642 "//mojo/application", |
645 "//mojo/common", | 643 "//mojo/common", |
646 "//mojo/environment:chromium", | 644 "//mojo/environment:chromium", |
647 "//mojo/public/c/system:for_shared_library", | 645 "//mojo/public/c/system", |
648 "//mojo/public/cpp/bindings", | 646 "//mojo/public/cpp/bindings", |
649 "//mojo/public/cpp/system", | 647 "//mojo/public/cpp/system", |
650 "//mojo/public/cpp/utility", | 648 "//mojo/public/cpp/utility", |
651 "//mojo/services/public/interfaces/network", | 649 "//mojo/services/public/interfaces/network", |
652 "//skia", | 650 "//skia", |
653 "//sky/engine/wtf", | 651 "//sky/engine/wtf", |
654 "//third_party/harfbuzz-ng", | 652 "//third_party/harfbuzz-ng", |
655 "//third_party/iccjpeg", | 653 "//third_party/iccjpeg", |
656 "//third_party/icu", | 654 "//third_party/icu", |
657 "//third_party/libpng", | 655 "//third_party/libpng", |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 "//base/allocator", | 747 "//base/allocator", |
750 "//base/test:test_support", | 748 "//base/test:test_support", |
751 "//skia", | 749 "//skia", |
752 "//testing/gmock", | 750 "//testing/gmock", |
753 "//testing/gtest", | 751 "//testing/gtest", |
754 "//sky/engine/wtf", | 752 "//sky/engine/wtf", |
755 "//sky/engine/wtf:test_support", | 753 "//sky/engine/wtf:test_support", |
756 "//url", | 754 "//url", |
757 ] | 755 ] |
758 | 756 |
| 757 # TODO(abarth): This is a lie - this test is not embedded in an environment |
| 758 # that injects the system thunks, so system calls don't actually work. This |
| 759 # just tricks the linker into thinking that an implementation of these calls |
| 760 # will be injected at runtime so the link succeeds. |
| 761 deps += [ "//mojo/public/platform/native:system" ] |
| 762 |
759 defines = [ "INSIDE_BLINK" ] | 763 defines = [ "INSIDE_BLINK" ] |
760 | 764 |
761 include_dirs = [ "$root_build_dir" ] | 765 include_dirs = [ "$root_build_dir" ] |
762 } | 766 } |
763 | 767 |
764 if (cpu_arch == "arm") { | 768 if (cpu_arch == "arm") { |
765 source_set("sky_arm_neon") { | 769 source_set("sky_arm_neon") { |
766 sources = [ | 770 sources = [ |
767 "graphics/cpu/arm/WebGLImageConversionNEON.h", | 771 "graphics/cpu/arm/WebGLImageConversionNEON.h", |
768 "graphics/cpu/arm/filters/FEBlendNEON.h", | 772 "graphics/cpu/arm/filters/FEBlendNEON.h", |
769 "graphics/cpu/arm/filters/FECompositeArithmeticNEON.h", | 773 "graphics/cpu/arm/filters/FECompositeArithmeticNEON.h", |
770 "graphics/cpu/arm/filters/FEGaussianBlurNEON.h", | 774 "graphics/cpu/arm/filters/FEGaussianBlurNEON.h", |
771 "graphics/cpu/arm/filters/NEONHelpers.h", | 775 "graphics/cpu/arm/filters/NEONHelpers.h", |
772 ] | 776 ] |
773 # The *NEON.cpp files fail to compile when -mthumb is passed. Force | 777 # The *NEON.cpp files fail to compile when -mthumb is passed. Force |
774 # them to build in ARM mode. | 778 # them to build in ARM mode. |
775 # See https://bugs.webkit.org/show_bug.cgi?id=62916. | 779 # See https://bugs.webkit.org/show_bug.cgi?id=62916. |
776 # TODO(GYP) | 780 # TODO(GYP) |
777 #'cflags': ['-marm'], | 781 #'cflags': ['-marm'], |
778 # 'conditions': [ | 782 # 'conditions': [ |
779 # ['OS=="android"', { | 783 # ['OS=="android"', { |
780 # 'cflags!': ['-mthumb'], | 784 # 'cflags!': ['-mthumb'], |
781 # }], | 785 # }], |
782 # ], | 786 # ], |
783 } | 787 } |
784 } | 788 } |
OLD | NEW |