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

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

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 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 | « tools/gn.py ('k') | tools/gyp/configurations_make.gypi » ('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 (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', }],
28 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }],
29 ['"<(target_arch)"=="simdbc"', { 'dart_target_arch': 'SIMDBC', }], 27 ['"<(target_arch)"=="simdbc"', { 'dart_target_arch': 'SIMDBC', }],
30 ['"<(target_arch)"=="simdbc64"', { 'dart_target_arch': 'SIMDBC64', }], 28 ['"<(target_arch)"=="simdbc64"', { 'dart_target_arch': 'SIMDBC64', }],
31 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], 29 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ],
32 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], 30 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ],
33 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], 31 [ 'OS=="win"', { 'dart_target_os': 'Win', } ],
34 # The OS is set to "android" only when we are building Dartium+Clank. We 32 # The OS is set to "android" only when we are building Dartium+Clank. We
35 # use 'chrome_target_os' so that Release and Debug configurations inherit 33 # use 'chrome_target_os' so that Release and Debug configurations inherit
36 # from Android configurations when OS=="android". If OS is not set to 34 # from Android configurations when OS=="android". If OS is not set to
37 # Android, then Release and Debug inherit from the usual configurations. 35 # Android, then Release and Debug inherit from the usual configurations.
38 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, 36 [ 'OS=="android"', { 'chrome_target_os': 'Android',},
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 ] 111 ]
114 }, 112 },
115 113
116 'Dart_arm64_Base': { 114 'Dart_arm64_Base': {
117 'abstract': 1, 115 'abstract': 1,
118 'defines': [ 116 'defines': [
119 'TARGET_ARCH_ARM64', 117 'TARGET_ARCH_ARM64',
120 ], 118 ],
121 }, 119 },
122 120
123 'Dart_simmips_Base': {
124 'abstract': 1,
125 'defines': [
126 'TARGET_ARCH_MIPS',
127 ]
128 },
129
130 'Dart_mips_Base': {
131 'abstract': 1,
132 'defines': [
133 'TARGET_ARCH_MIPS',
134 ],
135 },
136
137 'Dart_simdbc_Base': { 121 'Dart_simdbc_Base': {
138 'abstract': 1, 122 'abstract': 1,
139 'defines': [ 123 'defines': [
140 'TARGET_ARCH_DBC', 124 'TARGET_ARCH_DBC',
141 'USING_SIMULATOR', 125 'USING_SIMULATOR',
142 ] 126 ]
143 }, 127 },
144 128
145 'Dart_Debug': { 129 'Dart_Debug': {
146 'abstract': 1, 130 'abstract': 1,
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 313
330 'ProductSIMARM64': { 314 'ProductSIMARM64': {
331 'inherit_from': [ 315 'inherit_from': [
332 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Product', 316 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Product',
333 'Dart_<(dart_target_os)_Base', 317 'Dart_<(dart_target_os)_Base',
334 'Dart_<(dart_target_os)_simarm64_Base', 318 'Dart_<(dart_target_os)_simarm64_Base',
335 'Dart_<(dart_target_os)_Product', 319 'Dart_<(dart_target_os)_Product',
336 ], 320 ],
337 }, 321 },
338 322
339 'DebugSIMMIPS': {
340 'inherit_from': [
341 'Dart_Base', 'Dart_simmips_Base', 'Dart_Debug',
342 'Dart_<(dart_target_os)_Base',
343 'Dart_<(dart_target_os)_simmips_Base',
344 'Dart_<(dart_target_os)_Debug',
345 ],
346 'defines': [
347 'DEBUG',
348 ],
349 },
350
351 'ReleaseSIMMIPS': {
352 'inherit_from': [
353 'Dart_Base', 'Dart_simmips_Base', 'Dart_Release',
354 'Dart_<(dart_target_os)_Base',
355 'Dart_<(dart_target_os)_simmips_Base',
356 'Dart_<(dart_target_os)_Release',
357 ],
358 },
359
360 'ProductSIMMIPS': {
361 'inherit_from': [
362 'Dart_Base', 'Dart_simmips_Base', 'Dart_Product',
363 'Dart_<(dart_target_os)_Base',
364 'Dart_<(dart_target_os)_simmips_Base',
365 'Dart_<(dart_target_os)_Product',
366 ],
367 },
368
369 'DebugSIMDBC': { 323 'DebugSIMDBC': {
370 'inherit_from': [ 324 'inherit_from': [
371 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', 325 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug',
372 'Dart_<(dart_target_os)_Base', 326 'Dart_<(dart_target_os)_Base',
373 'Dart_<(dart_target_os)_simdbc_Base', 327 'Dart_<(dart_target_os)_simdbc_Base',
374 'Dart_<(dart_target_os)_Debug', 328 'Dart_<(dart_target_os)_Debug',
375 ], 329 ],
376 'defines': [ 330 'defines': [
377 'DEBUG', 331 'DEBUG',
378 ], 332 ],
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 405
452 'ProductXARMSIMDBC': { 406 'ProductXARMSIMDBC': {
453 'inherit_from': [ 407 'inherit_from': [
454 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product', 408 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product',
455 'Dart_Linux_Base', 409 'Dart_Linux_Base',
456 'Dart_Linux_xarm_Base', 410 'Dart_Linux_xarm_Base',
457 'Dart_Linux_Product', 411 'Dart_Linux_Product',
458 ], 412 ],
459 }, 413 },
460 414
461 # ARM and MIPS hardware configurations are only for Linux and Android. 415 # ARM hardware configurations are only for Linux and Android.
462 'DebugXARM': { 416 'DebugXARM': {
463 'inherit_from': [ 417 'inherit_from': [
464 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', 418 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug',
465 'Dart_Linux_Base', 419 'Dart_Linux_Base',
466 'Dart_Linux_xarm_Base', 420 'Dart_Linux_xarm_Base',
467 'Dart_Linux_Debug', 421 'Dart_Linux_Debug',
468 ], 422 ],
469 }, 423 },
470 424
471 'ReleaseXARM': { 425 'ReleaseXARM': {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 622
669 'ProductARM64': { 623 'ProductARM64': {
670 'inherit_from': [ 624 'inherit_from': [
671 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product', 625 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product',
672 'Dart_Linux_Base', 626 'Dart_Linux_Base',
673 'Dart_Linux_arm64_Base', 627 'Dart_Linux_arm64_Base',
674 'Dart_Linux_Product', 628 'Dart_Linux_Product',
675 ], 629 ],
676 }, 630 },
677 631
678 'DebugXMIPS': {
679 'inherit_from': [
680 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug',
681 'Dart_Linux_Base',
682 'Dart_Linux_xmips_Base',
683 'Dart_Linux_xmips_Debug',
684 'Dart_Linux_Debug',
685 ],
686 },
687
688 'ReleaseXMIPS': {
689 'inherit_from': [
690 'Dart_Base', 'Dart_mips_Base', 'Dart_Release',
691 'Dart_Linux_Base',
692 'Dart_Linux_xmips_Base',
693 'Dart_Linux_xmips_Release',
694 'Dart_Linux_Release',
695 ],
696 },
697
698 'ProductXMIPS': {
699 'inherit_from': [
700 'Dart_Base', 'Dart_mips_Base', 'Dart_Product',
701 'Dart_Linux_Base',
702 'Dart_Linux_xmips_Base',
703 'Dart_Linux_Product',
704 ],
705 },
706
707 'DebugMIPS': {
708 'inherit_from': [
709 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug',
710 'Dart_Linux_Base',
711 'Dart_Linux_mips_Base',
712 'Dart_Linux_Debug',
713 ],
714 },
715
716 'ReleaseMIPS': {
717 'inherit_from': [
718 'Dart_Base', 'Dart_mips_Base', 'Dart_Release',
719 'Dart_Linux_Base',
720 'Dart_Linux_mips_Base',
721 'Dart_Linux_Release',
722 ],
723 },
724
725 'ProductMIPS': {
726 'inherit_from': [
727 'Dart_Base', 'Dart_mips_Base', 'Dart_Product',
728 'Dart_Linux_Base',
729 'Dart_Linux_mips_Base',
730 'Dart_Linux_Product',
731 ],
732 },
733
734 # Android configurations. The configuration names explicitly include 632 # Android configurations. The configuration names explicitly include
735 # 'Android' because we are cross-building from Linux, and, when building 633 # 'Android' because we are cross-building from Linux, and, when building
736 # the standalone VM, we cannot inspect the gyp built-in 'OS' variable to 634 # the standalone VM, we cannot inspect the gyp built-in 'OS' variable to
737 # figure out that we are building for Android. Since we have not re-run 635 # figure out that we are building for Android. Since we have not re-run
738 # gyp, it will still be 'linux'. 636 # gyp, it will still be 'linux'.
739 'DebugAndroidIA32': { 637 'DebugAndroidIA32': {
740 'inherit_from': [ 638 'inherit_from': [
741 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug', 639 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug',
742 'Dart_Android_Base', 640 'Dart_Android_Base',
743 'Dart_Android_ia32_Base', 641 'Dart_Android_ia32_Base',
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 }, 828 },
931 829
932 'ReleaseX64_x64': { 830 'ReleaseX64_x64': {
933 'inherit_from': [ 'ReleaseX64' ] 831 'inherit_from': [ 'ReleaseX64' ]
934 }, 832 },
935 }], 833 }],
936 ], 834 ],
937 }, 835 },
938 }, 836 },
939 } 837 }
OLDNEW
« no previous file with comments | « tools/gn.py ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698