xref: /aosp_15_r20/external/skia/third_party/icu/config/BUILD.gn (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker# Copyright 2020 Google Inc.
2*c8dee2aaSAndroid Build Coastguard Worker#
3*c8dee2aaSAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be
4*c8dee2aaSAndroid Build Coastguard Worker# found in the LICENSE file.
5*c8dee2aaSAndroid Build Coastguard Worker
6*c8dee2aaSAndroid Build Coastguard Worker# Skia avoids the ICU C++ API, but third_party may use it.
7*c8dee2aaSAndroid Build Coastguard Worker# Use this config to hide the C++ API.
8*c8dee2aaSAndroid Build Coastguard Worker# This cannot go in ../BUILD.gn because it cannot be used in a flutter build.
9*c8dee2aaSAndroid Build Coastguard Worker# This cannot go in a .gni file because gn doesn't like configs in .gni files.
10*c8dee2aaSAndroid Build Coastguard Workerconfig("no_cxx") {
11*c8dee2aaSAndroid Build Coastguard Worker  defines = [ "U_SHOW_CPLUSPLUS_API=0" ]
12*c8dee2aaSAndroid Build Coastguard Worker}
13