| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 7c3074be09facf41cc8c54de22d68318c69db168..0ce663e29de56df2c930776666c64f6fb531eadf 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -82,6 +82,9 @@
|
| # Enable HiDPI support.
|
| 'enable_hidpi%': 0,
|
|
|
| + # Enable top chrome material design.
|
| + 'enable_topchrome_md%' : 0,
|
| +
|
| # Override buildtype to select the desired build flavor.
|
| # Dev - everyday build for development/testing
|
| # Official - release build (generally implies additional processing)
|
| @@ -147,6 +150,7 @@
|
| 'use_openssl_certs%': '<(use_openssl_certs)',
|
| 'enable_viewport%': '<(enable_viewport)',
|
| 'enable_hidpi%': '<(enable_hidpi)',
|
| + 'enable_topchrome_md%': '<(enable_topchrome_md)',
|
| 'buildtype%': '<(buildtype)',
|
| 'branding%': '<(branding)',
|
| 'host_arch%': '<(host_arch)',
|
| @@ -212,6 +216,11 @@
|
| 'enable_hidpi%': 1,
|
| }],
|
|
|
| + # Enable Top Chrome Material Design on Chrome OS, and Windows.
|
| + ['chromeos==1 or OS=="win"', {
|
| + 'enable_topchrome_md%': 1,
|
| + }],
|
| +
|
| # Enable the OpenSSL backend on Mac OS and Windows.
|
| ['OS=="mac" or OS=="win"', {
|
| 'use_openssl%': 1,
|
| @@ -288,6 +297,7 @@
|
| 'use_openssl_certs%': '<(use_openssl_certs)',
|
| 'enable_viewport%': '<(enable_viewport)',
|
| 'enable_hidpi%': '<(enable_hidpi)',
|
| + 'enable_topchrome_md%': '<(enable_topchrome_md)',
|
| 'android_channel%': '<(android_channel)',
|
| 'use_goma%': '<(use_goma)',
|
| 'gomadir%': '<(gomadir)',
|
| @@ -1100,6 +1110,7 @@
|
| 'chromecast%': '<(chromecast)',
|
| 'enable_viewport%': '<(enable_viewport)',
|
| 'enable_hidpi%': '<(enable_hidpi)',
|
| + 'enable_topchrome_md%': '<(enable_topchrome_md)',
|
| 'image_loader_extension%': '<(image_loader_extension)',
|
| 'fastbuild%': '<(fastbuild)',
|
| 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
|
| @@ -2699,6 +2710,9 @@
|
| ['enable_hidpi==1', {
|
| 'defines': ['ENABLE_HIDPI=1'],
|
| }],
|
| + ['enable_topchrome_md==1', {
|
| + 'defines': ['ENABLE_TOPCHROME_MD=1'],
|
| + }],
|
| ['native_memory_pressure_signals==1', {
|
| 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
|
| }],
|
|
|