Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / audio_processing / lib_core_neon_offsets.gypi
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 #
3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS.  All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
9 # This file has common information for gen_core_neon_offsets.gyp
10 # and gen_core_neon_offsets_chromium.gyp
11 {
12   'variables': {
13     'variables' : {
14       'lib_intermediate_name': '',
15       'conditions' : [
16         ['android_webview_build==1', {
17           'lib_intermediate_name' : '$(realpath $(call intermediates-dir-for, STATIC_LIBRARIES, lib_core_neon_offsets,,, $(GYP_VAR_PREFIX)))/lib_core_neon_offsets.a',
18         }],
19       ],
20     },
21     'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_offsets',
22     'output_dir': '<(shared_generated_dir)',
23     'output_format': 'cheader',
24     'unpack_lib_search_path_list': [
25       '-a', '<(PRODUCT_DIR)/lib_core_neon_offsets.a',
26       '-a', '<(LIB_DIR)/webrtc/modules/audio_processing/lib_core_neon_offsets.a',
27       '-a', '<(LIB_DIR)/third_party/webrtc/modules/audio_processing/lib_core_neon_offsets.a',
28       '-a', '<(lib_intermediate_name)',
29     ],
30     'unpack_lib_output_dir':'<(shared_generated_dir)',
31   },
32   'includes': [
33     '../../build/common.gypi',
34   ],
35   'conditions': [
36     ['((target_arch=="arm" and arm_version==7) or target_arch=="armv7") and (OS=="android" or OS=="ios")', {
37       'targets' : [
38         {
39           'target_name': 'lib_core_neon_offsets',
40           'type': 'static_library',
41           'android_unmangled_name': 1,
42           'hard_dependency': 1,
43           'sources': [
44             'ns/nsx_core_neon_offsets.c',
45             'aecm/aecm_core_neon_offsets.c',
46           ],
47         },
48       ],
49     }],
50   ],
51 }