Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: ads2gas.gypi

Issue 1085023004: Fix arm/LTO build by moving neon asm files to intrinsics target. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | generate_gypi.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
5 # This file is meant to be included into a target to provide a rule
6 # for translating .asm files to .S files using ads2gas.
7 #
8 # To use this, create a gyp target with the following form:
9 # {
10 # 'target_name': 'my_lib',
11 # 'sources': [
12 # 'foo.asm',
13 # 'bar.c',
14 # ],
15 # 'includes': [ 'ads2gas.gypi' ],
16 # }
17 {
18 'variables': {
19 # Location of the intermediate output.
20 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
21 'variables': {
22 'libvpx_source%': 'source/libvpx',
23 'conditions': [
24 ['OS=="ios"', {
25 'ads2gas_script%': 'ads2gas_apple.pl',
26 }, {
27 'ads2gas_script%': 'ads2gas.pl',
28 }],
29 ],
30 },
31 'ads2gas_script%': '<(ads2gas_script)',
32 'ads2gas_script_dir': '<(libvpx_source)/build/make',
33 },
34 'rules': [
35 {
36 'rule_name': 'convert_asm',
37 'extension': 'asm',
38 'inputs': [
39 '<(ads2gas_script_dir)/<(ads2gas_script)',
40 '<(ads2gas_script_dir)/thumb.pm',
41 ],
42 'outputs': [
43 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S',
44 ],
45 'action': [
46 'bash',
47 '-c',
48 'cat <(RULE_INPUT_PATH) | perl <(ads2gas_script_dir)/<(ads2gas_script) - chromium > <(shared_generated_dir)/<(RULE_INPUT_ROOT).S',
49 ],
50 'process_outputs_as_sources': 1,
51 'message': 'Convert libvpx asm file for ARM <(RULE_INPUT_PATH)',
52 },
53 ],
54 }
OLDNEW
« no previous file with comments | « no previous file | generate_gypi.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698