1*14675a02SAndroid Build Coastguard Worker# Copyright 2018 Google LLC 2*14675a02SAndroid Build Coastguard Worker# 3*14675a02SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 4*14675a02SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 5*14675a02SAndroid Build Coastguard Worker# You may obtain a copy of the License at 6*14675a02SAndroid Build Coastguard Worker# 7*14675a02SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 8*14675a02SAndroid Build Coastguard Worker# 9*14675a02SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 10*14675a02SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 11*14675a02SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*14675a02SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 13*14675a02SAndroid Build Coastguard Worker# limitations under the License. 14*14675a02SAndroid Build Coastguard Worker 15*14675a02SAndroid Build Coastguard Worker# cc_* rules should include this list in copts. If additional cc_*-wide 16*14675a02SAndroid Build Coastguard Worker# customization appears, we might want to switch to macros. 17*14675a02SAndroid Build Coastguard Worker 18*14675a02SAndroid Build Coastguard Worker"""This is the definition site for things we want to keep consistent, like copts.""" 19*14675a02SAndroid Build Coastguard Worker 20*14675a02SAndroid Build Coastguard WorkerFCP_COPTS = [ 21*14675a02SAndroid Build Coastguard Worker] 22*14675a02SAndroid Build Coastguard Worker 23*14675a02SAndroid Build Coastguard WorkerFCP_BAREMETAL_COPTS = FCP_COPTS + [ 24*14675a02SAndroid Build Coastguard Worker "-DFCP_BAREMETAL", 25*14675a02SAndroid Build Coastguard Worker "-nostdlib", 26*14675a02SAndroid Build Coastguard Worker "-fno-exceptions", 27*14675a02SAndroid Build Coastguard Worker "-ffreestanding", 28*14675a02SAndroid Build Coastguard Worker "-Wno-unused-parameter", 29*14675a02SAndroid Build Coastguard Worker] 30*14675a02SAndroid Build Coastguard Worker 31*14675a02SAndroid Build Coastguard WorkerFCP_NANOLIBC_COPTS = FCP_BAREMETAL_COPTS + [ 32*14675a02SAndroid Build Coastguard Worker "-DFCP_NANOLIBC", 33*14675a02SAndroid Build Coastguard Worker] 34