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

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

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase Created 3 years, 6 months 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/components/native_app_window/BUILD.gn ('k') | extensions/shell/common/api/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//extensions/features/features.gni") 6 import("//extensions/features/features.gni")
7 7
8 # TODO(crbug.com/731689): Assert that extensions are enabled.
9
8 # This file is in a separate directory so all targets in the build can refer to 10 # 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 11 # the buildflag header to get the necessary preprocessor defines without
10 # bringing in all of extensions. Other targets can depend on this target 12 # bringing in all of extensions. Other targets can depend on this target
11 # regardless of whether extensions are enabled. 13 # regardless of whether extensions are enabled.
12 14
13 buildflag_header("features") { 15 buildflag_header("features") {
14 header = "features.h" 16 header = "features.h"
15 flags = [ 17 flags = [
16 "ENABLE_EXTENSIONS=$enable_extensions", 18 "ENABLE_EXTENSIONS=$enable_extensions",
17 "ENABLE_WIFI_DISPLAY=$enable_wifi_display", 19 "ENABLE_WIFI_DISPLAY=$enable_wifi_display",
18 ] 20 ]
19 } 21 }
OLDNEW
« no previous file with comments | « extensions/components/native_app_window/BUILD.gn ('k') | extensions/shell/common/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698