OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 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 import("//build/buildflag_header.gni") |
| 6 import("//components/offline_pages/features/features.gni") |
| 7 |
| 8 # This file is in a separate directory so all targets in the build can refer to |
| 9 # the buildflag header to get the necessary preprocessor defines without |
| 10 # bringing in all of offline_pages. Other targets can depend on this target |
| 11 # regardless of whether extensions are enabled. |
| 12 |
| 13 buildflag_header("features") { |
| 14 header = "features.h" |
| 15 flags = [ |
| 16 "ENABLE_OFFLINE_PAGES=$enable_offline_pages", |
| 17 "ENABLE_OFFLINE_PAGES_HARNESS=$enable_offline_pages_harness", |
| 18 ] |
| 19 } |
OLD | NEW |