BUILD.gn 546 B

123456789101112131415161718
  1. # Copyright (c) 2013 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. config("wtl_includes") {
  5. include_dirs = [ "include" ]
  6. if (is_clang) {
  7. defines = [ "_WTL_NO_AUTOMATIC_NAMESPACE" ]
  8. }
  9. }
  10. # WTL is only header files so we use a "group" target type which doesn't
  11. # actually generate anything linkable, and inject the required config for
  12. # making the include directories work.
  13. group("wtl") {
  14. all_dependent_configs = [ ":wtl_includes" ]
  15. }