1REM   Copyright (c) 2013 The WebM project authors. All Rights Reserved.
2REM
3REM   Use of this source code is governed by a BSD-style license
4REM   that can be found in the LICENSE file in the root of the source
5REM   tree. An additional intellectual property rights grant can be found
6REM   in the file PATENTS.  All contributing project authors may
7REM   be found in the AUTHORS file in the root of the source tree.
8echo on
9
10REM Arguments:
11REM   %1 - Relative path to the directory containing the vp8 and vpx_scale
12REM        source directories.
13REM   %2 - Path to obj_int_extract.exe.
14cl /I "./" /I "%1" /nologo /c /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP "%1/vp8/encoder/vp8_asm_enc_offsets.c"
15%2\obj_int_extract.exe rvds "vp8_asm_enc_offsets.obj" > "vp8_asm_enc_offsets.asm"
16
17cl /I "./" /I "%1" /nologo /c /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP "%1/vpx_scale/vpx_scale_asm_offsets.c"
18%2\obj_int_extract.exe rvds "vpx_scale_asm_offsets.obj" > "vpx_scale_asm_offsets.asm"
19