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

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

Issue 676613002: Cleanup: Remove unused enable_eglimage variable and #define. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase Created 6 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 | « build/common.gypi ('k') | no next file » | 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/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 9
10 declare_args() { 10 declare_args() {
(...skipping 13 matching lines...) Expand all
24 # flags, we should have more modular flags that apply only to a target and its 24 # flags, we should have more modular flags that apply only to a target and its
25 # dependents. For example, depending on the "x11" meta-target should define 25 # dependents. For example, depending on the "x11" meta-target should define
26 # USE_X11 for all dependents so that everything that could use X11 gets the 26 # USE_X11 for all dependents so that everything that could use X11 gets the
27 # define, but anything that doesn't depend on X11 doesn't see it. 27 # define, but anything that doesn't depend on X11 doesn't see it.
28 # 28 #
29 # For now we define these globally to match the current GYP build. 29 # For now we define these globally to match the current GYP build.
30 config("feature_flags") { 30 config("feature_flags") {
31 # TODO(brettw) most of these need to be parameterized. 31 # TODO(brettw) most of these need to be parameterized.
32 defines = [ 32 defines = [
33 "CHROMIUM_BUILD", 33 "CHROMIUM_BUILD",
34 "ENABLE_EGLIMAGE=1",
35 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. 34 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
36 ] 35 ]
37 36
38 if (cld_version > 0) { 37 if (cld_version > 0) {
39 defines += [ "CLD_VERSION=$cld_version" ] 38 defines += [ "CLD_VERSION=$cld_version" ]
40 } 39 }
41 if (enable_mdns) { 40 if (enable_mdns) {
42 defines += [ "ENABLE_MDNS=1" ] 41 defines += [ "ENABLE_MDNS=1" ]
43 } 42 }
44 if (enable_notifications) { 43 if (enable_notifications) {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 "CoreText.framework", 292 "CoreText.framework",
294 "Foundation.framework", 293 "Foundation.framework",
295 "UIKit.framework", 294 "UIKit.framework",
296 ] 295 ]
297 } else if (is_linux) { 296 } else if (is_linux) {
298 libs = [ 297 libs = [
299 "dl", 298 "dl",
300 ] 299 ]
301 } 300 }
302 } 301 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698