xref: /aosp_15_r20/external/google-smali/deodexerant/Android.bp (revision 37f5703ca959d1ce24046e7595880d209e15c133)
1*37f5703cSAndroid Build Coastguard Worker/*
2*37f5703cSAndroid Build Coastguard Worker * Copyright (C) 2023 The Android Open Source Project
3*37f5703cSAndroid Build Coastguard Worker *
4*37f5703cSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License");
5*37f5703cSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License.
6*37f5703cSAndroid Build Coastguard Worker * You may obtain a copy of the License at
7*37f5703cSAndroid Build Coastguard Worker *
8*37f5703cSAndroid Build Coastguard Worker *      http://www.apache.org/licenses/LICENSE-2.0
9*37f5703cSAndroid Build Coastguard Worker *
10*37f5703cSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software
11*37f5703cSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS,
12*37f5703cSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*37f5703cSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and
14*37f5703cSAndroid Build Coastguard Worker * limitations under the License.
15*37f5703cSAndroid Build Coastguard Worker */
16*37f5703cSAndroid Build Coastguard Worker
17*37f5703cSAndroid Build Coastguard Workercc_binary {
18*37f5703cSAndroid Build Coastguard Worker    name: "android-deodexerant",
19*37f5703cSAndroid Build Coastguard Worker
20*37f5703cSAndroid Build Coastguard Worker    srcs: ["deodexerant.c"],
21*37f5703cSAndroid Build Coastguard Worker
22*37f5703cSAndroid Build Coastguard Worker    cflags: [
23*37f5703cSAndroid Build Coastguard Worker        "-Wall",
24*37f5703cSAndroid Build Coastguard Worker        "-Werror",
25*37f5703cSAndroid Build Coastguard Worker        "-Wno-incompatible-pointer-types-discards-qualifiers",
26*37f5703cSAndroid Build Coastguard Worker        "-Wno-main-return-type",
27*37f5703cSAndroid Build Coastguard Worker        "-Wno-unused-parameter",
28*37f5703cSAndroid Build Coastguard Worker    ],
29*37f5703cSAndroid Build Coastguard Worker
30*37f5703cSAndroid Build Coastguard Worker    ldflags: ["-Wl,--hash-style=sysv"],
31*37f5703cSAndroid Build Coastguard Worker}