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

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

Issue 1710123002: Update yasm to the same version currently used by Chromium. (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 | « DEPS ('k') | third_party/yasm/BUILD.gn » ('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/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 10
(...skipping 25 matching lines...) Expand all
36 # flags, we should have more modular flags that apply only to a target and its 36 # flags, we should have more modular flags that apply only to a target and its
37 # dependents. For example, depending on the "x11" meta-target should define 37 # dependents. For example, depending on the "x11" meta-target should define
38 # USE_X11 for all dependents so that everything that could use X11 gets the 38 # USE_X11 for all dependents so that everything that could use X11 gets the
39 # define, but anything that doesn't depend on X11 doesn't see it. 39 # define, but anything that doesn't depend on X11 doesn't see it.
40 # 40 #
41 # For now we define these globally to match the current GYP build. 41 # For now we define these globally to match the current GYP build.
42 config("feature_flags") { 42 config("feature_flags") {
43 # TODO(brettw) this probably needs to be parameterized. 43 # TODO(brettw) this probably needs to be parameterized.
44 defines = [ "V8_DEPRECATION_WARNINGS" ] # Don't use deprecated V8 APIs anywhe re. 44 defines = [ "V8_DEPRECATION_WARNINGS" ] # Don't use deprecated V8 APIs anywhe re.
45 45
46 if (dont_embed_build_metadata) {
47 defines += [ "DONT_EMBED_BUILD_METADATA" ]
48 }
49 if (dcheck_always_on) { 46 if (dcheck_always_on) {
50 defines += [ "DCHECK_ALWAYS_ON=1" ] 47 defines += [ "DCHECK_ALWAYS_ON=1" ]
51 } 48 }
52 if (use_udev) { 49 if (use_udev) {
53 # TODO(brettw) should probably be "=1". 50 # TODO(brettw) should probably be "=1".
54 defines += [ "USE_UDEV" ] 51 defines += [ "USE_UDEV" ]
55 } 52 }
56 if (use_ozone) { 53 if (use_ozone) {
57 defines += [ "USE_OZONE=1" ] 54 defines += [ "USE_OZONE=1" ]
58 } 55 }
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 "CoreFoundation.framework", 167 "CoreFoundation.framework",
171 "CoreGraphics.framework", 168 "CoreGraphics.framework",
172 "CoreText.framework", 169 "CoreText.framework",
173 "Foundation.framework", 170 "Foundation.framework",
174 "UIKit.framework", 171 "UIKit.framework",
175 ] 172 ]
176 } else if (is_linux) { 173 } else if (is_linux) {
177 libs = [ "dl" ] 174 libs = [ "dl" ]
178 } 175 }
179 } 176 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698