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

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

Issue 2512563003: Convert enable_plugins to a buildflag header. (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 | « ppapi/BUILD.gn ('k') | ppapi/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
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("//ppapi/features/features.gni") 6 import("//ppapi/features/features.gni")
7 7
8 # This file is in a separate directory so all targets in the build can refer to 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 9 # the buildflag header to get the necessary preprocessor defines without
10 # bringing in all of Pepper. 10 # bringing in all of Pepper.
11 11
12 buildflag_header("features") { 12 buildflag_header("features") {
13 header = "features.h" 13 header = "features.h"
14 flags = [ "ENABLE_PEPPER_CDMS=$enable_pepper_cdms" ] 14 flags = [
15 "ENABLE_PEPPER_CDMS=$enable_pepper_cdms",
16 "ENABLE_PLUGINS=$enable_plugins",
17 ]
15 } 18 }
OLDNEW
« no previous file with comments | « ppapi/BUILD.gn ('k') | ppapi/features/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698