forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move enable_pdf to a buildflag header.
Removes the build flag from //build/config and moves it to a new .gni file in //pdf. Converts the define to a BUILDFLAG. Makes it possible to unconditionally depend on "//pdf" without checking the enable_pdf flag. This cleans up most of the callers. There is still a dependency on plugins and this assertion is moved to the top of //chrome/common/BUILD.gn. The assertion for the printing dependency on PDF is moved to the //printing/BUILD.gn so the enable_pdf flag isn't injected everywhere enable_printing is needed. Review-Url: https://codereview.chromium.org/2576573002 Cr-Commit-Position: refs/heads/master@{#438441}
- Loading branch information
brettw
authored and
Commit bot
committed
Dec 14, 2016
1 parent
afd9972
commit e5cc5c6
Showing
12 changed files
with
122 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2016 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//build/config/chromecast_build.gni") | ||
|
||
# Most build code won't need to include this file. Instead you can | ||
# unconditionally depend on "//pdf" which will be a no-op when PDF support is | ||
# disabled. | ||
|
||
declare_args() { | ||
enable_pdf = !is_android && !is_ios && !is_chromecast | ||
} |
Oops, something went wrong.