Jean-Baptiste Queru | 9b4a812 | 2010-02-23 12:36:56 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2006 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | # Configuration for builds hosted on linux-x86. |
| 18 | # Included by combo/select.mk |
| 19 | |
Shinichiro Hamaji | 0e7587a | 2015-10-09 14:36:04 +0900 | [diff] [blame] | 20 | define $(combo_var_prefix)transform-shared-lib-to-toc |
| 21 | $(call _gen_toc_command_for_elf,$(1),$(2)) |
| 22 | endef |
David 'Digit' Turner | 0960ca7 | 2010-12-10 22:24:06 +0100 | [diff] [blame] | 23 | |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 24 | ############################################################ |
| 25 | ## Macros after this line are shared by the 64-bit config. |
| 26 | |
| 27 | # $(1): The file to check |
| 28 | define get-file-size |
| 29 | stat --format "%s" "$(1)" | tr -d '\n' |
| 30 | endef |