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

Side by Side Diff: build/toolchain.gypi

Issue 598723002: Enable FDO for v8 in android build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 'xcode_settings': { 614 'xcode_settings': {
615 'ARCHS': [ 'i386' ], 615 'ARCHS': [ 'i386' ],
616 }, 616 },
617 }], 617 }],
618 ['_toolset=="target"', { 618 ['_toolset=="target"', {
619 'conditions': [ 619 'conditions': [
620 ['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', { 620 ['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', {
621 'cflags': [ '-m32' ], 621 'cflags': [ '-m32' ],
622 'ldflags': [ '-m32' ], 622 'ldflags': [ '-m32' ],
623 }], 623 }],
624 # Enable feedback-directed optimisation when building in android.
625 [ 'android_webview_build == 1', {
626 'aosp_build_settings': {
627 'LOCAL_FDO_SUPPORT': 'true',
628 },
629 }],
624 ], 630 ],
625 'xcode_settings': { 631 'xcode_settings': {
626 'ARCHS': [ 'i386' ], 632 'ARCHS': [ 'i386' ],
627 }, 633 },
628 }], 634 }],
629 ], 635 ],
630 }], 636 }],
631 ['(OS=="linux" or OS=="android") and \ 637 ['(OS=="linux" or OS=="android") and \
632 (v8_target_arch=="x64" or v8_target_arch=="arm64")', { 638 (v8_target_arch=="x64" or v8_target_arch=="arm64")', {
633 'target_conditions': [ 639 'target_conditions': [
634 ['_toolset=="host"', { 640 ['_toolset=="host"', {
635 'conditions': [ 641 'conditions': [
636 ['host_cxx_is_biarch==1', { 642 ['host_cxx_is_biarch==1', {
637 'cflags': [ '-m64' ], 643 'cflags': [ '-m64' ],
638 'ldflags': [ '-m64' ] 644 'ldflags': [ '-m64' ]
639 }], 645 }],
640 ], 646 ],
641 }], 647 }],
642 ['_toolset=="target"', { 648 ['_toolset=="target"', {
643 'conditions': [ 649 'conditions': [
644 ['target_cxx_is_biarch==1', { 650 ['target_cxx_is_biarch==1', {
645 'cflags': [ '-m64' ], 651 'cflags': [ '-m64' ],
646 'ldflags': [ '-m64' ], 652 'ldflags': [ '-m64' ],
647 }], 653 }],
654 # Enable feedback-directed optimisation when building in android.
655 [ 'android_webview_build == 1', {
656 'aosp_build_settings': {
657 'LOCAL_FDO_SUPPORT': 'true',
658 },
659 }],
648 ] 660 ]
649 }], 661 }],
650 ], 662 ],
651 }], 663 }],
652 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 664 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
653 or OS=="netbsd" or OS=="qnx"', { 665 or OS=="netbsd" or OS=="qnx"', {
654 'conditions': [ 666 'conditions': [
655 [ 'v8_no_strict_aliasing==1', { 667 [ 'v8_no_strict_aliasing==1', {
656 'cflags': [ '-fno-strict-aliasing' ], 668 'cflags': [ '-fno-strict-aliasing' ],
657 }], 669 }],
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 'OptimizeReferences': '2', 975 'OptimizeReferences': '2',
964 'EnableCOMDATFolding': '2', 976 'EnableCOMDATFolding': '2',
965 }, 977 },
966 }, 978 },
967 }], # OS=="win" 979 }], # OS=="win"
968 ], # conditions 980 ], # conditions
969 }, # Release 981 }, # Release
970 }, # configurations 982 }, # configurations
971 }, # target_defaults 983 }, # target_defaults
972 } 984 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698