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

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

Issue 267723015: Add GN targets for third_party/libjpeg_turbo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # When set, turns off the (normally-on) iterator debugging and related stuff 10 # When set, turns off the (normally-on) iterator debugging and related stuff
11 # that is normally turned on for Debug builds. These are generally useful for 11 # that is normally turned on for Debug builds. These are generally useful for
12 # catching bugs but in some cases may cause conflicts or excessive slowness. 12 # catching bugs but in some cases may cause conflicts or excessive slowness.
13 disable_iterator_debugging = false 13 disable_iterator_debugging = false
14 } 14 }
15 15
16 # TODO(brettw) Most of these should be removed. Instead of global feature 16 # TODO(brettw) Most of these should be removed. Instead of global feature
17 # flags, we should have more modular flags that apply only to a target and its 17 # flags, we should have more modular flags that apply only to a target and its
18 # dependents. For example, depending on the "x11" meta-target should define 18 # dependents. For example, depending on the "x11" meta-target should define
19 # USE_X11 for all dependents so that everything that could use X11 gets the 19 # USE_X11 for all dependents so that everything that could use X11 gets the
20 # define, but anything that doesn't depend on X11 doesn't see it. 20 # define, but anything that doesn't depend on X11 doesn't see it.
21 # 21 #
22 # For now we define these globally to match the current GYP build. 22 # For now we define these globally to match the current GYP build.
23 config("feature_flags") { 23 config("feature_flags") {
24 # TODO(brettw) most of these need to be parameterized. 24 # TODO(brettw) most of these need to be parameterized.
25 defines = [ 25 defines = [
26 "CHROMIUM_BUILD", 26 "CHROMIUM_BUILD",
27 "USE_LIBJPEG_TURBO=1",
brettw 2014/05/03 04:38:33 Yay!
28 "ENABLE_ONE_CLICK_SIGNIN", 27 "ENABLE_ONE_CLICK_SIGNIN",
29 "ENABLE_REMOTING=1", 28 "ENABLE_REMOTING=1",
30 "ENABLE_WEBRTC=1", 29 "ENABLE_WEBRTC=1",
31 "ENABLE_CONFIGURATION_POLICY", 30 "ENABLE_CONFIGURATION_POLICY",
32 "ENABLE_INPUT_SPEECH", 31 "ENABLE_INPUT_SPEECH",
33 "ENABLE_NOTIFICATIONS", 32 "ENABLE_NOTIFICATIONS",
34 "ENABLE_EGLIMAGE=1", 33 "ENABLE_EGLIMAGE=1",
35 "ENABLE_TASK_MANAGER=1", 34 "ENABLE_TASK_MANAGER=1",
36 "ENABLE_EXTENSIONS=1", 35 "ENABLE_EXTENSIONS=1",
37 "ENABLE_PLUGIN_INSTALLATION=1", 36 "ENABLE_PLUGIN_INSTALLATION=1",
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "CoreText.framework", 217 "CoreText.framework",
219 "Foundation.framework", 218 "Foundation.framework",
220 "UIKit.framework", 219 "UIKit.framework",
221 ] 220 ]
222 } else if (is_linux) { 221 } else if (is_linux) {
223 libs = [ 222 libs = [
224 "dl", 223 "dl",
225 ] 224 ]
226 } 225 }
227 } 226 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | third_party/BUILD.gn » ('j') | third_party/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698