Home | History | Annotate | Download | only in service
      1 // Copyright (C) 2011 The Android Open Source Project
      2 //
      3 // Licensed under the Apache License, Version 2.0 (the "License");
      4 // you may not use this file except in compliance with the License.
      5 // You may obtain a copy of the License at
      6 //
      7 //      http://www.apache.org/licenses/LICENSE-2.0
      8 //
      9 // Unless required by applicable law or agreed to in writing, software
     10 // distributed under the License is distributed on an "AS IS" BASIS,
     11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 // See the License for the specific language governing permissions and
     13 // limitations under the License.
     14 
     15 // Make the JNI part
     16 // ============================================================
     17 cc_library_shared {
     18     name: "libwifi-service",
     19 
     20     cflags: [
     21         "-Wall",
     22         "-Werror",
     23         "-Wextra",
     24         "-Wno-unused-parameter",
     25         "-Wno-unused-function",
     26         "-Wunused-variable",
     27         "-Winit-self",
     28         "-Wwrite-strings",
     29         "-Wshadow",
     30     ],
     31 
     32     shared_libs: [
     33         "liblog",
     34         "libnativehelper",
     35         "libcutils",
     36         "libutils",
     37         "libdl",
     38     ],
     39 
     40     srcs: [
     41         "jni/com_android_server_wifi_WifiNative.cpp",
     42         "jni/jni_helper.cpp",
     43     ],
     44 
     45     product_variables: {
     46         pdk: {
     47             enabled: false,
     48         },
     49     },
     50 }
     51