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

Side by Side Diff: build/config/BUILD.gn

Issue 2412493003: Revert of Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Created 4 years, 2 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 | « android_webview/renderer/DEPS ('k') | build/config/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 # build flags. 61 # build flags.
62 config("feature_flags") { 62 config("feature_flags") {
63 # Don't use deprecated V8 APIs anywhere. 63 # Don't use deprecated V8 APIs anywhere.
64 defines = [ "V8_DEPRECATION_WARNINGS" ] 64 defines = [ "V8_DEPRECATION_WARNINGS" ]
65 if (enable_mdns) { 65 if (enable_mdns) {
66 defines += [ "ENABLE_MDNS=1" ] 66 defines += [ "ENABLE_MDNS=1" ]
67 } 67 }
68 if (enable_notifications) { 68 if (enable_notifications) {
69 defines += [ "ENABLE_NOTIFICATIONS" ] 69 defines += [ "ENABLE_NOTIFICATIONS" ]
70 } 70 }
71 if (enable_pepper_cdms) {
72 # TODO(brettw) should probably be "=1"
73 defines += [ "ENABLE_PEPPER_CDMS" ]
74 }
71 if (enable_plugins) { 75 if (enable_plugins) {
72 defines += [ "ENABLE_PLUGINS=1" ] 76 defines += [ "ENABLE_PLUGINS=1" ]
73 } 77 }
74 if (enable_pdf) { 78 if (enable_pdf) {
75 defines += [ "ENABLE_PDF=1" ] 79 defines += [ "ENABLE_PDF=1" ]
76 } 80 }
77 if (enable_basic_printing || enable_print_preview) { 81 if (enable_basic_printing || enable_print_preview) {
78 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 82 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
79 defines += [ "ENABLE_PRINTING=1" ] 83 defines += [ "ENABLE_PRINTING=1" ]
80 if (enable_basic_printing) { 84 if (enable_basic_printing) {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 # file doesn't exist, no error will be generated (probably MS tested this 480 # file doesn't exist, no error will be generated (probably MS tested this
477 # case but forgot the other one?). To reproduce this error, do a build, 481 # case but forgot the other one?). To reproduce this error, do a build,
478 # then delete the precompile.c.obj file, then build again. 482 # then delete the precompile.c.obj file, then build again.
479 cflags_c = [ "/wd4206" ] 483 cflags_c = [ "/wd4206" ]
480 } else if (is_mac) { 484 } else if (is_mac) {
481 precompiled_header = "build/precompile.h" 485 precompiled_header = "build/precompile.h"
482 precompiled_source = "//build/precompile.h" 486 precompiled_source = "//build/precompile.h"
483 } 487 }
484 } 488 }
485 } 489 }
OLDNEW
« no previous file with comments | « android_webview/renderer/DEPS ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698