Chromium Code Reviews| 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 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 510 "weborigin/KURL.h", | 510 "weborigin/KURL.h", |
| 511 "weborigin/KURLHash.h", | 511 "weborigin/KURLHash.h", |
| 512 "weborigin/KnownPorts.cpp", | 512 "weborigin/KnownPorts.cpp", |
| 513 "weborigin/KnownPorts.h", | 513 "weborigin/KnownPorts.h", |
| 514 "weborigin/Referrer.h", | 514 "weborigin/Referrer.h", |
| 515 "weborigin/ReferrerPolicy.h", | 515 "weborigin/ReferrerPolicy.h", |
| 516 "weborigin/SecurityPolicy.cpp", | 516 "weborigin/SecurityPolicy.cpp", |
| 517 "weborigin/SecurityPolicy.h", | 517 "weborigin/SecurityPolicy.h", |
| 518 ] | 518 ] |
| 519 | 519 |
| 520 if (is_ios || is_mac) { | |
| 521 sources += [ "fonts/apple/FontPlatformDataApple.cpp" ] | |
| 522 } | |
| 523 | |
| 520 # Add in the generated files. | 524 # Add in the generated files. |
| 521 sources += get_target_outputs(":font_family_names") + | 525 sources += get_target_outputs(":font_family_names") + |
| 522 get_target_outputs(":runtime_enabled_features") + | 526 get_target_outputs(":runtime_enabled_features") + |
| 523 get_target_outputs(":color_data") | 527 get_target_outputs(":color_data") |
| 524 | 528 |
| 525 configs += [ | 529 configs += [ |
| 526 "//sky/engine:config", | 530 "//sky/engine:config", |
| 527 "//sky/engine:non_test_config", | 531 "//sky/engine:non_test_config", |
| 528 ] | 532 ] |
| 529 | 533 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 570 if (is_android) { | 574 if (is_android) { |
| 571 # Add in some Linux files also shared with Android. | 575 # Add in some Linux files also shared with Android. |
| 572 set_sources_assignment_filter([]) | 576 set_sources_assignment_filter([]) |
| 573 sources += [ | 577 sources += [ |
| 574 "exported/linux/WebFontRenderStyle.cpp", | 578 "exported/linux/WebFontRenderStyle.cpp", |
| 575 "fonts/linux/FontPlatformDataLinux.cpp", | 579 "fonts/linux/FontPlatformDataLinux.cpp", |
| 576 ] | 580 ] |
| 577 set_sources_assignment_filter(sources_assignment_filter) | 581 set_sources_assignment_filter(sources_assignment_filter) |
| 578 } | 582 } |
| 579 | 583 |
| 580 if (is_ios) { | |
| 581 sources += [ "fonts/ios/FontPlatformDataIOS.cpp" ] | |
| 582 } | |
| 583 | |
| 584 if (is_linux) { | 584 if (is_linux) { |
| 585 direct_dependent_configs = [ "//build/config/linux:fontconfig" ] | 585 direct_dependent_configs = [ "//build/config/linux:fontconfig" ] |
| 586 } | 586 } |
| 587 | 587 |
| 588 if (target_cpu == "arm") { | 588 if (target_cpu == "arm") { |
| 589 deps += [ ":sky_arm_neon" ] | 589 deps += [ ":sky_arm_neon" ] |
| 590 } | 590 } |
| 591 } | 591 } |
| 592 | 592 |
| 593 test("platform_unittests") { | 593 test("platform_unittests") { |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 611 "fonts/GlyphPageTreeNodeTest.cpp", | 611 "fonts/GlyphPageTreeNodeTest.cpp", |
| 612 "fonts/android/FontCacheAndroidTest.cpp", | 612 "fonts/android/FontCacheAndroidTest.cpp", |
| 613 "geometry/FloatBoxTest.cpp", | 613 "geometry/FloatBoxTest.cpp", |
| 614 "geometry/FloatBoxTestHelpers.cpp", | 614 "geometry/FloatBoxTestHelpers.cpp", |
| 615 "geometry/FloatRoundedRectTest.cpp", | 615 "geometry/FloatRoundedRectTest.cpp", |
| 616 "geometry/RegionTest.cpp", | 616 "geometry/RegionTest.cpp", |
| 617 "geometry/RoundedRectTest.cpp", | 617 "geometry/RoundedRectTest.cpp", |
| 618 "graphics/GraphicsContextTest.cpp", | 618 "graphics/GraphicsContextTest.cpp", |
| 619 "graphics/ThreadSafeDataTransportTest.cpp", | 619 "graphics/ThreadSafeDataTransportTest.cpp", |
| 620 "image-decoders/ImageDecoderTest.cpp", | 620 "image-decoders/ImageDecoderTest.cpp", |
| 621 "mac/ScrollElasticityControllerTest.mm", | 621 "network/HTTPParsersTest.cpp", |
|
abarth-chromium
2015/07/15 20:57:40
Bad merge? This file should have been deleted.
Chinmay
2015/07/15 21:05:56
That was a bad merge. Fixed.
| |
| 622 "testing/RunAllTests.cpp", | 622 "testing/RunAllTests.cpp", |
| 623 "text/BidiResolverTest.cpp", | 623 "text/BidiResolverTest.cpp", |
| 624 "text/SegmentedStringTest.cpp", | 624 "text/SegmentedStringTest.cpp", |
| 625 "text/UnicodeUtilitiesTest.cpp", | 625 "text/UnicodeUtilitiesTest.cpp", |
| 626 "transforms/TransformOperationsTest.cpp", | 626 "transforms/TransformOperationsTest.cpp", |
| 627 "transforms/TransformationMatrixTest.cpp", | 627 "transforms/TransformationMatrixTest.cpp", |
| 628 "weborigin/KURLTest.cpp", | 628 "weborigin/KURLTest.cpp", |
| 629 "weborigin/SecurityPolicyTest.cpp", | 629 "weborigin/SecurityPolicyTest.cpp", |
| 630 ] | 630 ] |
| 631 | 631 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 669 # See https://bugs.webkit.org/show_bug.cgi?id=62916. | 669 # See https://bugs.webkit.org/show_bug.cgi?id=62916. |
| 670 # TODO(GYP) | 670 # TODO(GYP) |
| 671 #'cflags': ['-marm'], | 671 #'cflags': ['-marm'], |
| 672 # 'conditions': [ | 672 # 'conditions': [ |
| 673 # ['OS=="android"', { | 673 # ['OS=="android"', { |
| 674 # 'cflags!': ['-mthumb'], | 674 # 'cflags!': ['-mthumb'], |
| 675 # }], | 675 # }], |
| 676 # ], | 676 # ], |
| 677 } | 677 } |
| 678 } | 678 } |
| OLD | NEW |