diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp')
-rw-r--r-- | media/webrtc/trunk/tools/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp b/media/webrtc/trunk/tools/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp new file mode 100644 index 000000000..3430d82a5 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp @@ -0,0 +1,29 @@ +# Copyright (c) 2014 Google Inc. All rights reserved. +# Use of this source code is governed by a BSD-style licence that can be +# found in the LICENSE file. + +{ + 'variables': { + 'custom_ar_target%': '', + 'custom_ar_host%': '', + }, + 'conditions': [ + ['"<(custom_ar_target)"!=""', { + 'make_global_settings': [ + ['AR', '<(custom_ar_target)'], + ], + }], + ['"<(custom_ar_host)"!=""', { + 'make_global_settings': [ + ['AR.host', '<(custom_ar_host)'], + ], + }], + ], + 'targets': [ + { + 'target_name': 'make_global_settings_ar_test', + 'type': 'static_library', + 'sources': [ 'foo.c' ], + }, + ], +} |