summaryrefslogtreecommitdiffstats
path: root/extensions/extensions_resources.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/extensions_resources.gyp')
-rw-r--r--extensions/extensions_resources.gyp10
1 files changed, 7 insertions, 3 deletions
diff --git a/extensions/extensions_resources.gyp b/extensions/extensions_resources.gyp
index 0a000ac..0cc93d0 100644
--- a/extensions/extensions_resources.gyp
+++ b/extensions/extensions_resources.gyp
@@ -7,9 +7,6 @@
{
'target_name': 'extensions_resources',
'type': 'none',
- 'dependencies': [
- '../device/serial/serial.gyp:device_serial_mojo',
- ],
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions',
},
@@ -33,6 +30,13 @@
},
],
'includes': [ '../build/grit_target.gypi' ],
+ 'conditions': [
+ ['enable_extensions==1', {
+ 'dependencies': [
+ '../device/serial/serial.gyp:device_serial_mojo',
+ ],
+ }],
+ ],
}
]
}