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

Side by Side Diff: sky/engine/platform/BUILD.gn

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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 | « sky/engine/config.gni ('k') | sky/engine/platform/graphics/ImageDecodingStoreTest.cpp » ('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/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 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 # Most targets in this file are private actions so use that as the default. 10 # Most targets in this file are private actions so use that as the default.
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 "exported/linux/WebFontRenderStyle.cpp", 633 "exported/linux/WebFontRenderStyle.cpp",
634 "fonts/linux/FontPlatformDataLinux.cpp", 634 "fonts/linux/FontPlatformDataLinux.cpp",
635 ] 635 ]
636 set_sources_assignment_filter(sources_assignment_filter) 636 set_sources_assignment_filter(sources_assignment_filter)
637 } 637 }
638 638
639 if (is_linux) { 639 if (is_linux) {
640 direct_dependent_configs = [ "//build/config/linux:fontconfig" ] 640 direct_dependent_configs = [ "//build/config/linux:fontconfig" ]
641 } 641 }
642 642
643 if (cpu_arch == "arm") { 643 if (target_cpu == "arm") {
644 deps += [ ":sky_arm_neon" ] 644 deps += [ ":sky_arm_neon" ]
645 } 645 }
646 } 646 }
647 647
648 test("platform_unittests") { 648 test("platform_unittests") {
649 visibility += [ "//sky/*" ] 649 visibility += [ "//sky/*" ]
650 output_name = "sky_platform_unittests" 650 output_name = "sky_platform_unittests"
651 651
652 sources = [ 652 sources = [
653 "ClockTest.cpp", 653 "ClockTest.cpp",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 # that injects the system thunks, so system calls don't actually work. This 706 # that injects the system thunks, so system calls don't actually work. This
707 # just tricks the linker into thinking that an implementation of these calls 707 # just tricks the linker into thinking that an implementation of these calls
708 # will be injected at runtime so the link succeeds. 708 # will be injected at runtime so the link succeeds.
709 deps += [ "//mojo/public/platform/native:system" ] 709 deps += [ "//mojo/public/platform/native:system" ]
710 710
711 defines = [ "INSIDE_BLINK" ] 711 defines = [ "INSIDE_BLINK" ]
712 712
713 include_dirs = [ "$root_build_dir" ] 713 include_dirs = [ "$root_build_dir" ]
714 } 714 }
715 715
716 if (cpu_arch == "arm") { 716 if (target_cpu == "arm") {
717 source_set("sky_arm_neon") { 717 source_set("sky_arm_neon") {
718 sources = [ 718 sources = [
719 "graphics/cpu/arm/WebGLImageConversionNEON.h", 719 "graphics/cpu/arm/WebGLImageConversionNEON.h",
720 "graphics/cpu/arm/filters/FEBlendNEON.h", 720 "graphics/cpu/arm/filters/FEBlendNEON.h",
721 "graphics/cpu/arm/filters/FECompositeArithmeticNEON.h", 721 "graphics/cpu/arm/filters/FECompositeArithmeticNEON.h",
722 "graphics/cpu/arm/filters/FEGaussianBlurNEON.h", 722 "graphics/cpu/arm/filters/FEGaussianBlurNEON.h",
723 "graphics/cpu/arm/filters/NEONHelpers.h", 723 "graphics/cpu/arm/filters/NEONHelpers.h",
724 ] 724 ]
725 # The *NEON.cpp files fail to compile when -mthumb is passed. Force 725 # The *NEON.cpp files fail to compile when -mthumb is passed. Force
726 # them to build in ARM mode. 726 # them to build in ARM mode.
727 # See https://bugs.webkit.org/show_bug.cgi?id=62916. 727 # See https://bugs.webkit.org/show_bug.cgi?id=62916.
728 # TODO(GYP) 728 # TODO(GYP)
729 #'cflags': ['-marm'], 729 #'cflags': ['-marm'],
730 # 'conditions': [ 730 # 'conditions': [
731 # ['OS=="android"', { 731 # ['OS=="android"', {
732 # 'cflags!': ['-mthumb'], 732 # 'cflags!': ['-mthumb'],
733 # }], 733 # }],
734 # ], 734 # ],
735 } 735 }
736 } 736 }
OLDNEW
« no previous file with comments | « sky/engine/config.gni ('k') | sky/engine/platform/graphics/ImageDecodingStoreTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698