OLD | NEW |
---|---|
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/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 } | 65 } |
66 if (use_pango) { | 66 if (use_pango) { |
67 defines += [ "USE_PANGO=1" ] | 67 defines += [ "USE_PANGO=1" ] |
68 } | 68 } |
69 if (use_cairo) { | 69 if (use_cairo) { |
70 defines += [ "USE_CAIRO=1" ] | 70 defines += [ "USE_CAIRO=1" ] |
71 } | 71 } |
72 if (use_glib) { | 72 if (use_glib) { |
73 defines += [ "USE_GLIB=1" ] | 73 defines += [ "USE_GLIB=1" ] |
74 } | 74 } |
75 if (use_byte_certs) { | |
eroman
2017/03/29 23:06:54
Not sure if the OWNERS will be open to this, given
mattm
2017/03/30 04:38:09
Switched to a buildflag defined in net/BUILD.gn.
| |
76 defines += [ "USE_BYTE_CERTS=1" ] | |
77 } | |
75 if (use_openssl_certs) { | 78 if (use_openssl_certs) { |
76 defines += [ "USE_OPENSSL_CERTS=1" ] | 79 defines += [ "USE_OPENSSL_CERTS=1" ] |
77 } | 80 } |
78 if (use_nss_certs) { | 81 if (use_nss_certs) { |
79 defines += [ "USE_NSS_CERTS=1" ] | 82 defines += [ "USE_NSS_CERTS=1" ] |
80 } | 83 } |
81 if (use_ozone) { | 84 if (use_ozone) { |
82 defines += [ "USE_OZONE=1" ] | 85 defines += [ "USE_OZONE=1" ] |
83 } | 86 } |
84 if (use_x11) { | 87 if (use_x11) { |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
365 # then delete the precompile.c.obj file, then build again. | 368 # then delete the precompile.c.obj file, then build again. |
366 # | 369 # |
367 # TODO(sof): determine VS2015 status and retire the setting from all | 370 # TODO(sof): determine VS2015 status and retire the setting from all |
368 # precompiled configurations. | 371 # precompiled configurations. |
369 cflags_c = [ "/wd4206" ] | 372 cflags_c = [ "/wd4206" ] |
370 } else if (is_mac) { | 373 } else if (is_mac) { |
371 precompiled_source = "//build/precompile.h" | 374 precompiled_source = "//build/precompile.h" |
372 } | 375 } |
373 } | 376 } |
374 } | 377 } |
OLD | NEW |