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

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

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « build/common.gypi ('k') | build/config/android/config.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/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 14 matching lines...) Expand all
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", 34 "ENABLE_EGLIMAGE=1",
35 "ENABLE_BACKGROUND=1",
36 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. 35 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
37 ] 36 ]
38 37
39 if (cld_version > 0) { 38 if (cld_version > 0) {
40 defines += [ "CLD_VERSION=$cld_version" ] 39 defines += [ "CLD_VERSION=$cld_version" ]
41 } 40 }
42 if (enable_mdns) { 41 if (enable_mdns) {
43 defines += [ "ENABLE_MDNS=1" ] 42 defines += [ "ENABLE_MDNS=1" ]
44 } 43 }
45 if (enable_notifications) { 44 if (enable_notifications) {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 184 }
186 if (enable_one_click_signin) { 185 if (enable_one_click_signin) {
187 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] 186 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ]
188 } 187 }
189 if (use_athena) { 188 if (use_athena) {
190 defines += [ "USE_ATHENA=1" ] 189 defines += [ "USE_ATHENA=1" ]
191 } 190 }
192 if (enable_hidpi) { 191 if (enable_hidpi) {
193 defines += [ "ENABLE_HIDPI=1" ] 192 defines += [ "ENABLE_HIDPI=1" ]
194 } 193 }
194 if (proprietary_codecs) {
195 defines += [ "USE_PROPRIETARY_CODECS" ]
196 }
195 } 197 }
196 198
197 # Debug/release ---------------------------------------------------------------- 199 # Debug/release ----------------------------------------------------------------
198 200
199 config("debug") { 201 config("debug") {
200 defines = [ 202 defines = [
201 "_DEBUG", 203 "_DEBUG",
202 "DYNAMIC_ANNOTATIONS_ENABLED=1", 204 "DYNAMIC_ANNOTATIONS_ENABLED=1",
203 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 205 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
204 ] 206 ]
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 "CoreText.framework", 293 "CoreText.framework",
292 "Foundation.framework", 294 "Foundation.framework",
293 "UIKit.framework", 295 "UIKit.framework",
294 ] 296 ]
295 } else if (is_linux) { 297 } else if (is_linux) {
296 libs = [ 298 libs = [
297 "dl", 299 "dl",
298 ] 300 ]
299 } 301 }
300 } 302 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/android/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698