| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
| 8 # code, as opposed to external code. This variable is used to control | 8 # code, as opposed to external code. This variable is used to control |
| 9 # such things as the set of warnings to enable, and whether warnings are | 9 # such things as the set of warnings to enable, and whether warnings are |
| 10 # treated as errors. | 10 # treated as errors. |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 # for instance). | 180 # for instance). |
| 181 '../src/third_party', | 181 '../src/third_party', |
| 182 '../..', | 182 '../..', |
| 183 ], | 183 ], |
| 184 'variables': { | 184 'variables': { |
| 185 'win_target': 'x32', | 185 'win_target': 'x32', |
| 186 }, | 186 }, |
| 187 'target_conditions': [ | 187 'target_conditions': [ |
| 188 ['win_target=="x64"', { | 188 ['win_target=="x64"', { |
| 189 'target_arch': 'x64', | 189 'target_arch': 'x64', |
| 190 'defines!': [ | |
| 191 'NACL_BUILD_SUBARCH=32', | |
| 192 ], | |
| 193 'defines': [ | |
| 194 'NACL_BUILD_SUBARCH=64', | |
| 195 ], | |
| 196 'configurations': { | 190 'configurations': { |
| 197 'Common_Base': { | 191 'Common_Base': { |
| 198 'msvs_target_platform': 'x64', | 192 'msvs_target_platform': 'x64', |
| 199 }, | 193 }, |
| 200 }, | 194 }, |
| 201 }], | 195 }], |
| 202 ], | 196 ], |
| 203 'conditions': [ | 197 'conditions': [ |
| 204 # TODO(gregoryd): split target and build subarchs | |
| 205 ['target_arch=="ia32"', { | |
| 206 'defines': [ | |
| 207 'NACL_BUILD_SUBARCH=32', | |
| 208 'NACL_BUILD_ARCH=x86', | |
| 209 ], | |
| 210 }], | |
| 211 ['target_arch=="x64"', { | |
| 212 'defines': [ | |
| 213 'NACL_BUILD_SUBARCH=64', | |
| 214 'NACL_BUILD_ARCH=x86', | |
| 215 ], | |
| 216 }], | |
| 217 ['target_arch=="arm"', { | |
| 218 'defines': [ | |
| 219 'NACL_BUILD_ARCH=arm', | |
| 220 'NACL_BUILD_SUBARCH=32', | |
| 221 ], | |
| 222 }], | |
| 223 ['target_arch=="mipsel"', { | |
| 224 'defines': [ | |
| 225 'NACL_BUILD_ARCH=mips', | |
| 226 'NACL_BUILD_SUBARCH=32', | |
| 227 ], | |
| 228 }], | |
| 229 ['linux2==1', { | 198 ['linux2==1', { |
| 230 'defines': ['LINUX2=1'], | 199 'defines': ['LINUX2=1'], |
| 231 }], | 200 }], |
| 232 ['OS=="win"', { | 201 ['OS=="win"', { |
| 233 'defines': [ 'NOMINMAX' ] | 202 'defines': [ 'NOMINMAX' ] |
| 234 }], | 203 }], |
| 235 ['coverage!=0', { | 204 ['coverage!=0', { |
| 236 'conditions': [ | 205 'conditions': [ |
| 237 ['OS=="mac"', { | 206 ['OS=="mac"', { |
| 238 'xcode_settings': { | 207 'xcode_settings': { |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 786 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 818 # files to appear (when present) in the UI as actual files and not red | 787 # files to appear (when present) in the UI as actual files and not red |
| 819 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 788 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 820 # and therefore SYMROOT, needs to be set at the project level. | 789 # and therefore SYMROOT, needs to be set at the project level. |
| 821 'SYMROOT': '<(DEPTH)/xcodebuild', | 790 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 822 }, | 791 }, |
| 823 'includes': [ | 792 'includes': [ |
| 824 'untrusted.gypi', | 793 'untrusted.gypi', |
| 825 ], | 794 ], |
| 826 } | 795 } |
| OLD | NEW |