OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//components/spellcheck/spellcheck_build_features.gni") | 6 import("//components/spellcheck/spellcheck_build_features.gni") |
7 | 7 |
8 buildflag_header("build_features") { | 8 buildflag_header("build_features") { |
9 # Name this "build" features to avoid confusion with | 9 # Name this "build" features to avoid confusion with |
10 # components/spellcheck/common/spellcheck_features.h which are runtime | 10 # components/spellcheck/common/spellcheck_features.h which are runtime |
11 # features. | 11 # features. |
12 header = "spellcheck_build_features.h" | 12 header = "spellcheck_build_features.h" |
13 flags = [ | 13 flags = [ |
14 "ENABLE_SPELLCHECK=$enable_spellcheck", | 14 "ENABLE_SPELLCHECK=$enable_spellcheck", |
15 "USE_BROWSER_SPELLCHECKER=$use_browser_spellchecker", | 15 "USE_BROWSER_SPELLCHECKER=$use_browser_spellchecker", |
| 16 "HAS_SPELLCHECK_PANEL=$has_spellcheck_panel", |
16 ] | 17 ] |
17 } | 18 } |
OLD | NEW |