Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index adc78fdbf7a3f5a79eb258be4697a70291ab948b..d906eea0aace26f3f61e56a1331f5f7730d38642 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -380,9 +380,10 @@ |
}, # 'allocator' target. |
{ |
# GN: //base/allocator:features |
+ # When referenced from a target that might be compiled in the host |
+ # toolchain, always refer to 'allocator_features#target'. |
'target_name': 'allocator_features', |
'includes': [ '../../build/buildflag_header.gypi' ], |
- 'toolsets': ['host', 'target'], |
'variables': { |
'buildflag_header_path': 'base/allocator/features.h', |
'buildflag_flags': [ |