Home | History | Annotate | Download | only in android
      1 //
      2 // Copyright (C) 2017 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 // Language and vendor related defaults
     18 cc_defaults {
     19     name: "nos_cc_defaults",
     20     clang: true,
     21     cflags: [
     22         "-pedantic",
     23         "-Wall",
     24         "-Wextra",
     25         "-Werror",
     26         "-Wno-zero-length-array",
     27     ],
     28     conlyflags: [
     29         "-std=c11",
     30     ],
     31     vendor: true,
     32     owner: "google",
     33 }
     34 
     35 // Defaults for components under the hw subdirectory
     36 cc_defaults {
     37     name: "nos_cc_hw_defaults",
     38     defaults: ["nos_cc_defaults"],
     39     relative_install_path: "hw",
     40 }
     41 
     42 // Defaults for components shared between the host and device
     43 cc_defaults {
     44     name: "nos_cc_host_supported_defaults",
     45     defaults: ["nos_cc_defaults"],
     46     host_supported: true,
     47 }
     48