1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'sources': [
7    'src/celt/arm/arm_celt_map.c',
8    'src/celt/arm/armcpu.c',
9    'src/celt/arm/armcpu.h',
10    '<(INTERMEDIATE_DIR)/celt_pitch_xcorr_arm_gnu.S',
11  ],
12  'actions': [
13    {
14      'action_name': 'convert_assembler',
15      'inputs': [
16        'src/celt/arm/arm2gnu.pl',
17        'src/celt/arm/celt_pitch_xcorr_arm.s',
18      ],
19      'outputs': [
20        '<(INTERMEDIATE_DIR)/celt_pitch_xcorr_arm_gnu.S',
21      ],
22      'action': [
23        'bash',
24        '-c',
25        'perl src/celt/arm/arm2gnu.pl src/celt/arm/celt_pitch_xcorr_arm.s | sed "s/OPUS_ARM_MAY_HAVE_[A-Z]*/1/g" | sed "/.include/d" > <(INTERMEDIATE_DIR)/celt_pitch_xcorr_arm_gnu.S',
26      ],
27      'message': 'Convert Opus assembler for ARM.'
28    },
29  ],
30}
31