OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
6 # to strip and place dependent shared libraries required by a native binary in a | 6 # to strip and place dependent shared libraries required by a native binary in a |
7 # single folder that can later be pushed to the device. | 7 # single folder that can later be pushed to the device. |
8 # | 8 # |
9 # NOTE: consider packaging your binary as an apk instead of running a native | 9 # NOTE: consider packaging your binary as an apk instead of running a native |
10 # library. | 10 # library. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 'variables': { | 45 'variables': { |
46 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', | 46 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', |
47 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', | 47 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', |
48 'stripped_libraries_dir%': '<(output_dir)', | 48 'stripped_libraries_dir%': '<(output_dir)', |
49 'strip_stamp': '<(intermediate_dir)/strip.stamp', | 49 'strip_stamp': '<(intermediate_dir)/strip.stamp', |
50 }, | 50 }, |
51 'actions': [ | 51 'actions': [ |
52 { | 52 { |
53 'variables': { | 53 'variables': { |
54 'input_libraries': ['<(native_binary)'], | 54 'input_libraries': ['<(native_binary)'], |
55 'input_paths': ['<(native_binary)'], | |
Yaron
2013/04/19 17:15:14
Shouldn't this be with the strip_native_libraries
cjhopman
2013/04/19 17:30:10
Yes, yes it should.
| |
55 }, | 56 }, |
56 'includes': ['../../build/android/write_ordered_libraries.gypi'], | 57 'includes': ['../../build/android/write_ordered_libraries.gypi'], |
57 }, | 58 }, |
58 { | 59 { |
59 'includes': ['../../build/android/strip_native_libraries.gypi'], | 60 'includes': ['../../build/android/strip_native_libraries.gypi'], |
60 }, | 61 }, |
61 ], | 62 ], |
62 }], | 63 }], |
63 ], | 64 ], |
64 } | 65 } |
OLD | NEW |