skia2/third_party/icu/config/BUILD.gn
Ben Wagner 5b8dd73546 Hide ICU C++ API from Skia users.
Parts of third_party need the C++ API so hide it from Skia users as
needed to prevent re-introduction.

This also avoids the ICU version renaming / name mangling when building
our own test version of ICU. This makes life in an editor and debugger
much easier.

Reviewed-on: https://skia-review.googlesource.com/c/skia/+/292854
Reviewed-by: Julia Lavrova <jlavrova@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Change-Id: Id636fbf9e750fe72a4ace8a59fb9acac839a07c4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/292967
Reviewed-by: Ben Wagner <bungeman@google.com>
2020-05-29 21:43:19 +00:00

13 lines
451 B
Plaintext

# Copyright 2020 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Skia avoids the ICU C++ API, but third_party may use it.
# Use this config to hide the C++ API.
# This cannot go in ../BUILD.gn because it cannot be used in a flutter build.
# This cannot go in a .gni file because gn doesn't like configs in .gni files.
config("no_cxx") {
defines = [ "U_SHOW_CPLUSPLUS_API=0" ]
}