1# Copyright 2018 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 5# This config must be set manually in build targets, but can be used both 6# in standalone and embedded builds. Setting default_include_dirs doesn't work 7# in embedded builds, because GN does not allow for multiple BUILDCONFIG.gn 8# files to be included, or for multiple sets of default configs to be toggled 9# on a single target type (e.g. source_set, static_library) 10config("openscreen_include_dirs") { 11 openscreen_root = rebase_path("../", "//") 12 13 defines = [ "OPENSCREEN_TEST_DATA_DIR=\"${openscreen_root}test/data/\"" ] 14 15 include_dirs = [ 16 "//$openscreen_root", 17 "$root_gen_dir/$openscreen_root", 18 ] 19} 20