Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 0974b49752e64eb3aaa4cd9c89bc79f6fbaeb110..9ba4bcc498ca319264969bc0c7287f0176e21f81 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -712,6 +712,10 @@ |
| # Turn on JNI generation optimizations by default. |
| 'optimize_jni_generation%': 1, |
| + # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
| + # pages. https://github.com/polymer/vulcanize |
| + 'use_vulcanize%': 1, |
|
Nico
2015/12/07 21:29:13
1. Do you need to do this in gn too?
2. Have you s
Dan Beam
2015/12/30 05:07:52
Done.
|
| + |
| 'conditions': [ |
| # A flag for POSIX platforms |
| ['OS=="win"', { |
| @@ -1251,6 +1255,7 @@ |
| 'android_app_version_name%': '<(android_app_version_name)', |
| 'android_app_version_code%': '<(android_app_version_code)', |
| 'enable_webvr%': '<(enable_webvr)', |
| + 'use_vulcanize%': '<(use_vulcanize)', |
| # Turns on compiler optimizations in V8 in Debug build. |
| 'v8_optimized_debug%': 1, |
| @@ -2204,6 +2209,9 @@ |
| 'grit_defines': ['-D', 'enable_service_discovery'], |
| 'enable_service_discovery%': 1 |
| }], |
| + ['use_vulcanize==1', { |
| + 'grit_defines': ['-D', 'use_vulcanize'], |
| + }], |
| ['clang_use_chrome_plugins==1', { |
| 'variables': { |
| 'conditions': [ |
| @@ -3059,6 +3067,9 @@ |
| ['enable_webvr==1', { |
| 'defines': ['ENABLE_WEBVR'], |
| }], |
| + ['use_vulcanize==1', { |
| + 'defines': ['USE_VULCANIZE'], |
| + }], |
| # SAFE_BROWSING_DB_LOCAL - service manages a local database. |
| # SAFE_BROWSING_DB_REMOTE - service talks via API to a database |