| OLD | NEW |
| 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)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 20 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
| 21 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], |
| 21 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], | 22 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], |
| 22 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], | 23 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], |
| 23 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | 24 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], |
| 24 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | 25 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], |
| 25 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | 26 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], |
| 26 # The OS is set to "android" only when we are building Dartium+Clank. We | 27 # The OS is set to "android" only when we are building Dartium+Clank. We |
| 27 # use 'chrome_target_os' so that Release and Debug configurations inherit | 28 # use 'chrome_target_os' so that Release and Debug configurations inherit |
| 28 # from Android configurations when OS=="android". If OS is not set to | 29 # from Android configurations when OS=="android". If OS is not set to |
| 29 # Android, then Release and Debug inherit from the usual configurations. | 30 # Android, then Release and Debug inherit from the usual configurations. |
| 30 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, | 31 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 52 'abstract': 1, | 53 'abstract': 1, |
| 53 }, | 54 }, |
| 54 | 55 |
| 55 'Dart_simarm_Base': { | 56 'Dart_simarm_Base': { |
| 56 'abstract': 1, | 57 'abstract': 1, |
| 57 'defines': [ | 58 'defines': [ |
| 58 'TARGET_ARCH_ARM', | 59 'TARGET_ARCH_ARM', |
| 59 ] | 60 ] |
| 60 }, | 61 }, |
| 61 | 62 |
| 63 'Dart_simarm64_Base': { |
| 64 'abstract': 1, |
| 65 'defines': [ |
| 66 'TARGET_ARCH_ARM64', |
| 67 ] |
| 68 }, |
| 69 |
| 62 'Dart_arm_Base': { | 70 'Dart_arm_Base': { |
| 63 'abstract': 1, | 71 'abstract': 1, |
| 64 'defines': [ | 72 'defines': [ |
| 65 'TARGET_ARCH_ARM', | 73 'TARGET_ARCH_ARM', |
| 66 ], | 74 ], |
| 67 }, | 75 }, |
| 68 | 76 |
| 69 'Dart_simmips_Base': { | 77 'Dart_simmips_Base': { |
| 70 'abstract': 1, | 78 'abstract': 1, |
| 71 'defines': [ | 79 'defines': [ |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 151 |
| 144 'ReleaseSIMARM': { | 152 'ReleaseSIMARM': { |
| 145 'inherit_from': [ | 153 'inherit_from': [ |
| 146 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', | 154 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', |
| 147 'Dart_<(dart_target_os)_Base', | 155 'Dart_<(dart_target_os)_Base', |
| 148 'Dart_<(dart_target_os)_simarm_Base', | 156 'Dart_<(dart_target_os)_simarm_Base', |
| 149 'Dart_<(dart_target_os)_Release', | 157 'Dart_<(dart_target_os)_Release', |
| 150 ], | 158 ], |
| 151 }, | 159 }, |
| 152 | 160 |
| 161 'DebugSIMARM64': { |
| 162 'inherit_from': [ |
| 163 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Debug', |
| 164 'Dart_<(dart_target_os)_Base', |
| 165 'Dart_<(dart_target_os)_simarm64_Base', |
| 166 'Dart_<(dart_target_os)_Debug', |
| 167 ], |
| 168 'defines': [ |
| 169 'DEBUG', |
| 170 ], |
| 171 }, |
| 172 |
| 173 'ReleaseSIMARM64': { |
| 174 'inherit_from': [ |
| 175 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Release', |
| 176 'Dart_<(dart_target_os)_Base', |
| 177 'Dart_<(dart_target_os)_simarm64_Base', |
| 178 'Dart_<(dart_target_os)_Release', |
| 179 ], |
| 180 }, |
| 181 |
| 153 'DebugSIMMIPS': { | 182 'DebugSIMMIPS': { |
| 154 'inherit_from': [ | 183 'inherit_from': [ |
| 155 'Dart_Base', 'Dart_simmips_Base', 'Dart_Debug', | 184 'Dart_Base', 'Dart_simmips_Base', 'Dart_Debug', |
| 156 'Dart_<(dart_target_os)_Base', | 185 'Dart_<(dart_target_os)_Base', |
| 157 'Dart_<(dart_target_os)_simmips_Base', | 186 'Dart_<(dart_target_os)_simmips_Base', |
| 158 'Dart_<(dart_target_os)_Debug', | 187 'Dart_<(dart_target_os)_Debug', |
| 159 ], | 188 ], |
| 160 'defines': [ | 189 'defines': [ |
| 161 'DEBUG', | 190 'DEBUG', |
| 162 ], | 191 ], |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 'Debug': { | 320 'Debug': { |
| 292 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] | 321 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] |
| 293 }, | 322 }, |
| 294 | 323 |
| 295 'Release': { | 324 'Release': { |
| 296 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] | 325 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] |
| 297 }, | 326 }, |
| 298 }, | 327 }, |
| 299 }, | 328 }, |
| 300 } | 329 } |
| OLD | NEW |