summaryrefslogtreecommitdiffstats
path: root/build/android/v8_external_startup_data_arch_suffix.gypi
blob: 7af2443fc1a5707a1ef2cacb66a15d21a4476bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'arch_suffix': '<(arch_suffix)',
    'variables': {
      # This help to find out if target_arch is set to something else.
      'arch_suffix': '<(target_arch)',
      'conditions': [
        ['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', {
          'arch_suffix': '32',
        }],
        ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', {
          'arch_suffix':'64'
        }],
      ],
    }
  }
}