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

Side by Side Diff: unpack_lib_posix.gypi

Issue 302863004: libvpx: Manually set output dir of gen asm offsets libs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « libvpx.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This action takes an archive (.a) file and unpacks it unto object (.o) files. 5 # This action takes an archive (.a) file and unpacks it unto object (.o) files.
6 # The following input gyp variables are required: 6 # The following input gyp variables are required:
7 # unpack_lib, the library to unpack. 7 # unpack_lib, the library to unpack.
8 # object_file_output_dir, the output directory of extracted object file. 8 # object_file_output_dir, the output directory of extracted object file.
9 # object_file_to_extract, the object file to be extracted. 9 # object_file_to_extract, the object file to be extracted.
10 # unpack_lib_search_path_list, a list of paths to search for the library. 10 # unpack_lib_search_path_list, a list of paths to search for the library.
(...skipping 13 matching lines...) Expand all
24 # 'includes': ['unpack_lib_posix.gypi'], 24 # 'includes': ['unpack_lib_posix.gypi'],
25 # 25 #
26 # It unpacks the first existing library in 'unpack_lib_search_path_list', and 26 # It unpacks the first existing library in 'unpack_lib_search_path_list', and
27 # extracts 'offsets.o' to 'output' directory. 27 # extracts 'offsets.o' to 'output' directory.
28 28
29 { 29 {
30 'actions': [ 30 'actions': [
31 { 31 {
32 'variables' : { 32 'variables' : {
33 'ar_cmd': [], 33 'ar_cmd': [],
34 » 'conditions': [ 34 'conditions': [
35 ['android_webview_build==1', { 35 ['android_webview_build==1', {
36 'ar_cmd': ['-r', '$(abspath $($(gyp_var_prefix)TARGET_AR))'], 36 'ar_cmd': ['-r', '$(abspath $($(gyp_var_prefix)TARGET_AR))'],
37 }], 37 }],
38 ], 38 ],
39 }, 39 },
40 'action_name': 'unpack_lib_posix', 40 'action_name': 'unpack_lib_posix',
41 'inputs': [ 41 'inputs': [
42 'unpack_lib_posix.sh', 42 'unpack_lib_posix.sh',
43 '<(unpack_lib)', 43 '<(unpack_lib)',
44 ], 44 ],
45 'outputs': [ 45 'outputs': [
46 '<(object_file_output_dir)/<(object_file_to_extract)', 46 '<(object_file_output_dir)/<(object_file_to_extract)',
47 ], 47 ],
48 'action': [ 48 'action': [
49 '<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh', 49 '<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh',
50 '-d', '<(object_file_output_dir)', 50 '-d', '<(object_file_output_dir)',
51 '-f', '<(object_file_to_extract)', 51 '-f', '<(object_file_to_extract)',
52 '<@(unpack_lib_search_path_list)', 52 '<@(unpack_lib_search_path_list)',
53 '<@(ar_cmd)', 53 '<@(ar_cmd)',
54 ], 54 ],
55 'process_output_as_sources': 1, 55 'process_output_as_sources': 1,
56 }, 56 },
57 ], 57 ],
58 } 58 }
OLDNEW
« no previous file with comments | « libvpx.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698