| Index: build/config/BUILD.gn
|
| diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
|
| index 15441a9adee197797935cc0a7c35ff6e3e4d7e96..22cb45ab9a955b95a91c67dfe0973f897cf06274 100644
|
| --- a/build/config/BUILD.gn
|
| +++ b/build/config/BUILD.gn
|
| @@ -27,6 +27,9 @@ declare_args() {
|
|
|
| # Set to true to enable dcheck in Release builds.
|
| dcheck_always_on = false
|
| +
|
| + # Set to true to compile with the OpenGL ES 2.0 conformance tests.
|
| + internal_gles2_conform_tests = false
|
| }
|
|
|
| # TODO(brettw) Most of these should be removed. Instead of global feature
|
| @@ -119,14 +122,12 @@ config("feature_flags") {
|
| }
|
| if (use_openssl) {
|
| defines += [ "USE_OPENSSL=1" ]
|
| - if (use_openssl_certs) {
|
| - defines += [ "USE_OPENSSL_CERTS=1" ]
|
| - }
|
| - } else if (use_nss_certs) {
|
| - # USE_NSS really means "use nss for certificate validation and storage"
|
| - # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice
|
| - # to rename this but we're hoping to transition away from NSS.
|
| - defines += [ "USE_NSS=1" ]
|
| + }
|
| + if (use_openssl_certs) {
|
| + defines += [ "USE_OPENSSL_CERTS=1" ]
|
| + }
|
| + if (use_nss_certs) {
|
| + defines += [ "USE_NSS_CERTS=1" ]
|
| }
|
| if (use_ozone) {
|
| defines += [ "USE_OZONE=1" ]
|
| @@ -225,6 +226,18 @@ config("feature_flags") {
|
| if (enable_pre_sync_backup) {
|
| defines += [ "ENABLE_PRE_SYNC_BACKUP" ]
|
| }
|
| + if (enable_video_hole) {
|
| + defines += [ "VIDEO_HOLE=1" ]
|
| + }
|
| + if (safe_browsing_mode == 1) {
|
| + defines += [ "FULL_SAFE_BROWSING" ]
|
| + defines += [ "SAFE_BROWSING_CSD" ]
|
| + defines += [ "SAFE_BROWSING_DB_LOCAL" ]
|
| + defines += [ "SAFE_BROWSING_SERVICE" ]
|
| + } else if (safe_browsing_mode == 2) {
|
| + defines += [ "MOBILE_SAFE_BROWSING" ]
|
| + defines += [ "SAFE_BROWSING_SERVICE" ]
|
| + }
|
| }
|
|
|
| # Debug/release ----------------------------------------------------------------
|
|
|