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

Side by Side Diff: tools/gyp/configurations.gypi

Issue 1904153003: DBC: Adds simdbc64 target, adds arm64 arithmetic overflow logic (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix stack overflow area size Created 4 years, 8 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
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'common_gcc_warning_flags': [ 7 'common_gcc_warning_flags': [
8 '-Wall', 8 '-Wall',
9 '-Wextra', # Also known as -W. 9 '-Wextra', # Also known as -W.
10 '-Wno-unused-parameter', 10 '-Wno-unused-parameter',
11 ], 11 ],
12 12
13 # Default value. This may be overridden in a containing project gyp. 13 # Default value. This may be overridden in a containing project gyp.
14 'target_arch%': 'ia32', 14 'target_arch%': 'ia32',
15 15
16 'conditions': [ 16 'conditions': [
17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], 17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }],
18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], 18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }],
19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], 19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }],
20 ['"<(target_arch)"=="armv6"', { 'dart_target_arch': 'ARMV6', }], 20 ['"<(target_arch)"=="armv6"', { 'dart_target_arch': 'ARMV6', }],
21 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], 21 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }],
22 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], 22 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }],
23 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], 23 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }],
24 ['"<(target_arch)"=="simarmv6"', { 'dart_target_arch': 'SIMARMV6', }], 24 ['"<(target_arch)"=="simarmv6"', { 'dart_target_arch': 'SIMARMV6', }],
25 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], 25 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }],
26 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], 26 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }],
27 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], 27 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }],
28 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], 28 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }],
29 ['"<(target_arch)"=="simdbc"', { 'dart_target_arch': 'SIMDBC', }], 29 ['"<(target_arch)"=="simdbc"', { 'dart_target_arch': 'SIMDBC', }],
30 ['"<(target_arch)"=="simdbc64"', { 'dart_target_arch': 'SIMDBC64', }],
30 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], 31 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ],
31 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], 32 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ],
32 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], 33 [ 'OS=="win"', { 'dart_target_os': 'Win', } ],
33 # The OS is set to "android" only when we are building Dartium+Clank. We 34 # The OS is set to "android" only when we are building Dartium+Clank. We
34 # use 'chrome_target_os' so that Release and Debug configurations inherit 35 # use 'chrome_target_os' so that Release and Debug configurations inherit
35 # from Android configurations when OS=="android". If OS is not set to 36 # from Android configurations when OS=="android". If OS is not set to
36 # Android, then Release and Debug inherit from the usual configurations. 37 # Android, then Release and Debug inherit from the usual configurations.
37 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, 38 [ 'OS=="android"', { 'chrome_target_os': 'Android',},
38 { 'chrome_target_os': '',}], 39 { 'chrome_target_os': '',}],
39 ], 40 ],
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 380
380 'ReleaseSIMDBC': { 381 'ReleaseSIMDBC': {
381 'inherit_from': [ 382 'inherit_from': [
382 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', 383 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release',
383 'Dart_<(dart_target_os)_Base', 384 'Dart_<(dart_target_os)_Base',
384 'Dart_<(dart_target_os)_simdbc_Base', 385 'Dart_<(dart_target_os)_simdbc_Base',
385 'Dart_<(dart_target_os)_Release', 386 'Dart_<(dart_target_os)_Release',
386 ], 387 ],
387 }, 388 },
388 389
390 'DebugSIMDBC64': {
391 'inherit_from': [
392 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug',
393 'Dart_<(dart_target_os)_Base',
394 'Dart_<(dart_target_os)_simdbc64_Base',
395 'Dart_<(dart_target_os)_Debug',
396 ],
397 'defines': [
398 'DEBUG',
399 ],
400 },
401
402 'ReleaseSIMDBC64': {
403 'inherit_from': [
404 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release',
405 'Dart_<(dart_target_os)_Base',
406 'Dart_<(dart_target_os)_simdbc64_Base',
407 'Dart_<(dart_target_os)_Release',
408 ],
409 },
410
389 # ARM and MIPS hardware configurations are only for Linux and Android. 411 # ARM and MIPS hardware configurations are only for Linux and Android.
390 'DebugXARM': { 412 'DebugXARM': {
391 'inherit_from': [ 413 'inherit_from': [
392 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', 414 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug',
393 'Dart_Linux_Base', 415 'Dart_Linux_Base',
394 'Dart_Linux_xarm_Base', 416 'Dart_Linux_xarm_Base',
395 'Dart_Linux_Debug', 417 'Dart_Linux_Debug',
396 ], 418 ],
397 }, 419 },
398 420
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 785
764 'ProductAndroidARM64': { 786 'ProductAndroidARM64': {
765 'inherit_from': [ 787 'inherit_from': [
766 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product', 788 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product',
767 'Dart_Android_Base', 789 'Dart_Android_Base',
768 'Dart_Android_arm64_Base', 790 'Dart_Android_arm64_Base',
769 'Dart_Android_Product', 791 'Dart_Android_Product',
770 ], 792 ],
771 }, 793 },
772 794
795 'DebugAndroidSIMDBC': {
796 'inherit_from': [
797 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug',
798 'Dart_Android_Base',
799 # Default SIMDBC on Android targets arm.
800 'Dart_Android_arm_Base',
801 'Dart_Android_Debug',
802 ],
803 'defines': [
804 'DEBUG',
805 ],
806 },
807
808 'ReleaseAndroidSIMDBC': {
809 'inherit_from': [
810 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release',
811 'Dart_Android_Base',
812 # Default SIMDBC on Android targets arm.
813 'Dart_Android_arm_Base',
814 'Dart_Android_Release',
815 ],
816 },
817
818 'DebugAndroidSIMDBC64': {
819 'inherit_from': [
820 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug',
821 'Dart_Android_Base',
822 # Default SIMDBC on Android targets arm64.
823 'Dart_Android_arm64_Base',
824 'Dart_Android_Debug',
825 ],
826 'defines': [
827 'DEBUG',
828 ],
829 },
830
831 'ReleaseAndroidSIMDBC64': {
832 'inherit_from': [
833 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release',
834 'Dart_Android_Base',
835 # Default SIMDBC on Android targets arm64.
836 'Dart_Android_arm64_Base',
837 'Dart_Android_Release',
838 ],
839 },
840
773 # These targets assume that target_arch is passed in explicitly 841 # These targets assume that target_arch is passed in explicitly
774 # by the containing project (e.g., chromium). 842 # by the containing project (e.g., chromium).
775 'Debug': { 843 'Debug': {
776 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] 844 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)']
777 }, 845 },
778 846
779 'Release': { 847 'Release': {
780 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] 848 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)']
781 }, 849 },
782 850
783 'conditions': [ 851 'conditions': [
784 # On Windows ninja generator has hardcorded configuration naming 852 # On Windows ninja generator has hardcorded configuration naming
785 # patterns and it expects that x64 configurations are named smth_x64. 853 # patterns and it expects that x64 configurations are named smth_x64.
786 # This is a workaround for the crash that these expectations cause. 854 # This is a workaround for the crash that these expectations cause.
787 [ 'OS=="win" and GENERATOR=="ninja"', { 855 [ 'OS=="win" and GENERATOR=="ninja"', {
788 'DebugX64_x64': { 856 'DebugX64_x64': {
789 'inherit_from': [ 'DebugX64' ] 857 'inherit_from': [ 'DebugX64' ]
790 }, 858 },
791 859
792 'ReleaseX64_x64': { 860 'ReleaseX64_x64': {
793 'inherit_from': [ 'ReleaseX64' ] 861 'inherit_from': [ 'ReleaseX64' ]
794 }, 862 },
795 }], 863 }],
796 ], 864 ],
797 }, 865 },
798 }, 866 },
799 } 867 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698