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

Side by Side Diff: unpack_lib_posix.gypi

Issue 757313004: Remove all remaining obj_int_extract code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years 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 | « obj_int_extract.py ('k') | unpack_lib_posix.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 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 # This action takes an archive (.a) file and unpacks it unto object (.o) files.
6 # The following input gyp variables are required:
7 # unpack_lib_output_dir, the output directory of extracted object file
8 # unpack_lib_name, the object file to be extracted.
9 # unpack_lib_search_path_list, a list of paths to search for the library.
10 # it must be ['-a', 'path_name1', '-a', 'path_name2'...]
11 #
12 # For example:
13 # 'variables': {
14 # 'unpack_lib_search_path_list': [
15 # '-a', '/a/lib.a',
16 # '-a', 'b/lib.a',
17 # ],
18 # 'unpack_lib_output_dir':'ouput',
19 # 'unpack_lib_name':'offsets.o'
20 # },
21 # 'includes': ['unpack_lib_posix.gypi'],
22 #
23 # It unpacks the first existing library in 'unpack_lib_search_path_list', and
24 # extracts 'offsets.o' to 'output' directory.
25
26 {
27 'actions': [
28 {
29 'variables' : {
30 'ar_cmd': [],
31 'conditions': [
32 ['android_webview_build==1', {
33 'ar_cmd': ['-r', '$(abspath $($(gyp_var_prefix)TARGET_AR))'],
34 }],
35 ],
36 },
37 'action_name': 'unpack_lib_posix',
38 'inputs': [
39 'unpack_lib_posix.sh',
40 ],
41 'outputs': [
42 '<(unpack_lib_output_dir)/<(unpack_lib_name)',
43 ],
44 'action': [
45 '<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh',
46 '-d', '<(unpack_lib_output_dir)',
47 '-f', '<(unpack_lib_name)',
48 '<@(unpack_lib_search_path_list)',
49 '<@(ar_cmd)',
50 ],
51 'process_outputs_as_sources': 1,
52 },
53 ],
54 }
OLDNEW
« no previous file with comments | « obj_int_extract.py ('k') | unpack_lib_posix.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698