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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 } | 129 } |
130 if (is_ubsan || is_ubsan_null || is_ubsan_vptr || is_ubsan_security) { | 130 if (is_ubsan || is_ubsan_null || is_ubsan_vptr || is_ubsan_security) { |
131 defines += [ "UNDEFINED_SANITIZER" ] | 131 defines += [ "UNDEFINED_SANITIZER" ] |
132 } | 132 } |
133 if (use_external_popup_menu) { | 133 if (use_external_popup_menu) { |
134 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ] | 134 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ] |
135 } | 135 } |
136 if (!enable_nacl) { | 136 if (!enable_nacl) { |
137 defines += [ "DISABLE_NACL" ] | 137 defines += [ "DISABLE_NACL" ] |
138 } | 138 } |
139 if (enable_rlz) { | |
140 defines += [ "ENABLE_RLZ" ] | |
141 } | |
142 if (enable_wayland_server) { | 139 if (enable_wayland_server) { |
143 defines += [ "ENABLE_WAYLAND_SERVER=1" ] | 140 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
144 } | 141 } |
145 if (proprietary_codecs) { | 142 if (proprietary_codecs) { |
146 defines += [ "USE_PROPRIETARY_CODECS" ] | 143 defines += [ "USE_PROPRIETARY_CODECS" ] |
147 } | 144 } |
148 if (safe_browsing_mode == 1) { | 145 if (safe_browsing_mode == 1) { |
149 defines += [ "FULL_SAFE_BROWSING" ] | 146 defines += [ "FULL_SAFE_BROWSING" ] |
150 defines += [ "SAFE_BROWSING_CSD" ] | 147 defines += [ "SAFE_BROWSING_CSD" ] |
151 defines += [ "SAFE_BROWSING_DB_LOCAL" ] | 148 defines += [ "SAFE_BROWSING_DB_LOCAL" ] |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 # | 396 # |
400 # TODO(sof): determine VS2015 status and retire the setting from all | 397 # TODO(sof): determine VS2015 status and retire the setting from all |
401 # precompiled configurations. | 398 # precompiled configurations. |
402 cflags_c = [ "/wd4206" ] | 399 cflags_c = [ "/wd4206" ] |
403 } else if (is_mac) { | 400 } else if (is_mac) { |
404 precompiled_header = "build/precompile.h" | 401 precompiled_header = "build/precompile.h" |
405 precompiled_source = "//build/precompile.h" | 402 precompiled_source = "//build/precompile.h" |
406 } | 403 } |
407 } | 404 } |
408 } | 405 } |
OLD | NEW |