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

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

Issue 571863002: GN: Get //chrome/* mostly working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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.gn ('k') | chrome/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/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_NOTIFICATIONS",
35 "ENABLE_EGLIMAGE=1", 34 "ENABLE_EGLIMAGE=1",
36 "ENABLE_BACKGROUND=1", 35 "ENABLE_BACKGROUND=1",
37 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. 36 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
38 ] 37 ]
39 38
40 if (cld_version > 0) { 39 if (cld_version > 0) {
41 defines += [ "CLD_VERSION=$cld_version" ] 40 defines += [ "CLD_VERSION=$cld_version" ]
42 } 41 }
43 if (enable_mdns) { 42 if (enable_mdns) {
44 defines += [ "ENABLE_MDNS=1" ] 43 defines += [ "ENABLE_MDNS=1" ]
45 } 44 }
45 if (enable_notifications) {
46 defines += [ "ENABLE_NOTIFICATIONS" ]
47 }
46 if (enable_pepper_cdms) { 48 if (enable_pepper_cdms) {
47 # TODO(brettw) should probably be "=1" 49 # TODO(brettw) should probably be "=1"
48 defines += [ "ENABLE_PEPPER_CDMS" ] 50 defines += [ "ENABLE_PEPPER_CDMS" ]
49 } 51 }
50 if (enable_browser_cdms) { 52 if (enable_browser_cdms) {
51 # TODO(brettw) should probably be "=1" 53 # TODO(brettw) should probably be "=1"
52 defines += [ "ENABLE_BROWSER_CDMS" ] 54 defines += [ "ENABLE_BROWSER_CDMS" ]
53 } 55 }
54 if (enable_plugins) { 56 if (enable_plugins) {
55 defines += [ "ENABLE_PLUGINS=1" ] 57 defines += [ "ENABLE_PLUGINS=1" ]
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 "CoreText.framework", 288 "CoreText.framework",
287 "Foundation.framework", 289 "Foundation.framework",
288 "UIKit.framework", 290 "UIKit.framework",
289 ] 291 ]
290 } else if (is_linux) { 292 } else if (is_linux) {
291 libs = [ 293 libs = [
292 "dl", 294 "dl",
293 ] 295 ]
294 } 296 }
295 } 297 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698