Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: extensions/features/BUILD.gn

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/features/features.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/buildflag_header.gni")
6 import("//extensions/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 extensions. 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 = [ "ENABLE_EXTENSIONS=$enable_extensions" ]
16 }
OLDNEW
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/features/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698