~hjd/ubuntu/wily/gyp/debian-merged

« back to all changes in this revision

Viewing changes to test/make_global_settings/ar/make_global_settings_ar.gyp

  • Committer: Hans Joachim Desserud
  • Date: 2015-10-31 12:46:59 UTC
  • mfrom: (6.2.6 sid)
  • Revision ID: hans_joachim_desserud-20151031124659-lzxekr6woskh4k0b
Merge latest Debian version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2014 Google Inc. All rights reserved.
 
2
# Use of this source code is governed by a BSD-style licence that can be
 
3
# found in the LICENSE file.
 
4
 
 
5
{
 
6
  'variables': {
 
7
    'custom_ar_target%': '',
 
8
    'custom_ar_host%': '',
 
9
  },
 
10
  'conditions': [
 
11
    ['"<(custom_ar_target)"!=""', {
 
12
      'make_global_settings': [
 
13
        ['AR', '<(custom_ar_target)'],
 
14
      ],
 
15
    }],
 
16
    ['"<(custom_ar_host)"!=""', {
 
17
      'make_global_settings': [
 
18
        ['AR.host', '<(custom_ar_host)'],
 
19
      ],
 
20
    }],
 
21
  ],
 
22
  'targets': [
 
23
    {
 
24
      'target_name': 'make_global_settings_ar_test',
 
25
      'type': 'static_library',
 
26
      'sources': [ 'foo.c' ],
 
27
    },
 
28
  ],
 
29
}