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

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

Issue 1700333002: Remove CLD_VERSION define. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | 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/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//build/module_args/v8.gni") 10 import("//build/module_args/v8.gni")
(...skipping 15 matching lines...) Expand all
26 # flags, we should have more modular flags that apply only to a target and its 26 # flags, we should have more modular flags that apply only to a target and its
27 # dependents. For example, depending on the "x11" meta-target should define 27 # dependents. For example, depending on the "x11" meta-target should define
28 # USE_X11 for all dependents so that everything that could use X11 gets the 28 # USE_X11 for all dependents so that everything that could use X11 gets the
29 # define, but anything that doesn't depend on X11 doesn't see it. 29 # define, but anything that doesn't depend on X11 doesn't see it.
30 # 30 #
31 # For now we define these globally to match the current GYP build. 31 # For now we define these globally to match the current GYP build.
32 config("feature_flags") { 32 config("feature_flags") {
33 # TODO(brettw) this probably needs to be parameterized. 33 # TODO(brettw) this probably needs to be parameterized.
34 defines = [ "V8_DEPRECATION_WARNINGS" ] # Don't use deprecated V8 APIs anywhe re. 34 defines = [ "V8_DEPRECATION_WARNINGS" ] # Don't use deprecated V8 APIs anywhe re.
35 35
36 if (cld_version > 0) {
37 defines += [ "CLD_VERSION=$cld_version" ]
38 }
39 if (dcheck_always_on) { 36 if (dcheck_always_on) {
40 defines += [ "DCHECK_ALWAYS_ON=1" ] 37 defines += [ "DCHECK_ALWAYS_ON=1" ]
41 } 38 }
42 if (use_udev) { 39 if (use_udev) {
43 # TODO(brettw) should probably be "=1". 40 # TODO(brettw) should probably be "=1".
44 defines += [ "USE_UDEV" ] 41 defines += [ "USE_UDEV" ]
45 } 42 }
46 if (use_openssl) { 43 if (use_openssl) {
47 defines += [ "USE_OPENSSL=1" ] 44 defines += [ "USE_OPENSSL=1" ]
48 } 45 }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "CoreFoundation.framework", 166 "CoreFoundation.framework",
170 "CoreGraphics.framework", 167 "CoreGraphics.framework",
171 "CoreText.framework", 168 "CoreText.framework",
172 "Foundation.framework", 169 "Foundation.framework",
173 "UIKit.framework", 170 "UIKit.framework",
174 ] 171 ]
175 } else if (is_linux) { 172 } else if (is_linux) {
176 libs = [ "dl" ] 173 libs = [ "dl" ]
177 } 174 }
178 } 175 }
OLDNEW
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698