Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2015 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 { | |
|
Nico
2015/04/24 21:43:23
gypi files should have some "how to use" comment a
| |
| 5 'variables': { | |
| 6 # Location of the intermediate output. | |
| 7 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', | |
| 8 'variables': { | |
| 9 'libvpx_source%': 'source/libvpx', | |
| 10 'conditions': [ | |
| 11 ['OS=="ios"', { | |
| 12 'ads2gas_script%': 'ads2gas_apple.pl', | |
| 13 }, { | |
| 14 'ads2gas_script%': 'ads2gas.pl', | |
| 15 }], | |
| 16 ], | |
| 17 }, | |
| 18 'ads2gas_script%': '<(ads2gas_script)', | |
| 19 'ads2gas_script_dir': '<(libvpx_source)/build/make', | |
| 20 }, | |
| 21 'rules': [ | |
| 22 { | |
| 23 'rule_name': 'convert_asm', | |
| 24 'extension': 'asm', | |
| 25 'inputs': [ | |
| 26 '<(ads2gas_script_dir)/<(ads2gas_script)', | |
| 27 '<(ads2gas_script_dir)/thumb.pm', | |
| 28 ], | |
| 29 'outputs': [ | |
| 30 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S', | |
| 31 ], | |
| 32 'action': [ | |
| 33 'bash', | |
| 34 '-c', | |
| 35 'cat <(RULE_INPUT_PATH) | perl <(ads2gas_script_dir)/<(ads2gas_script) - chromium > <(shared_generated_dir)/<(RULE_INPUT_ROOT).S', | |
| 36 ], | |
| 37 'process_outputs_as_sources': 1, | |
| 38 'message': 'Convert libvpx asm file for ARM <(RULE_INPUT_PATH)', | |
| 39 }, | |
| 40 ], | |
| 41 } | |
| OLD | NEW |