xref: /aosp_15_r20/external/bazelbuild-rules_cc/cc/private/toolchain/grep-includes.sh (revision eed53cd41c5909d05eedc7ad9720bb158fd93452)
1*eed53cd4SHONG Yifan#!/bin/bash
2*eed53cd4SHONG Yifan#
3*eed53cd4SHONG Yifan# Copyright 2018 The Bazel Authors. All rights reserved.
4*eed53cd4SHONG Yifan#
5*eed53cd4SHONG Yifan# Licensed under the Apache License, Version 2.0 (the "License");
6*eed53cd4SHONG Yifan# you may not use this file except in compliance with the License.
7*eed53cd4SHONG Yifan# You may obtain a copy of the License at
8*eed53cd4SHONG Yifan#
9*eed53cd4SHONG Yifan#    http://www.apache.org/licenses/LICENSE-2.0
10*eed53cd4SHONG Yifan#
11*eed53cd4SHONG Yifan# Unless required by applicable law or agreed to in writing, software
12*eed53cd4SHONG Yifan# distributed under the License is distributed on an "AS IS" BASIS,
13*eed53cd4SHONG Yifan# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*eed53cd4SHONG Yifan# See the License for the specific language governing permissions and
15*eed53cd4SHONG Yifan# limitations under the License.
16*eed53cd4SHONG Yifan#
17*eed53cd4SHONG Yifan# TODO(bazel-team): Support include scanning and grep-includes in Bazel
18*eed53cd4SHONG Yifanecho "grep-includes is not supported by Bazel"
19*eed53cd4SHONG Yifanexit 1
20