Put View APIs under a build flag

This commit is contained in:
Cheng Zhao 2018-05-24 15:35:50 +09:00
parent 2c8dc9e0bd
commit 0f7c25fc63
6 changed files with 35 additions and 8 deletions

View file

@ -38,6 +38,11 @@
'ENABLE_RUN_AS_NODE',
],
}], # enable_run_as_node
['enable_view_api==1', {
'defines': [
'ENABLE_VIEW_API',
],
}], # enable_view_api
],
},
'targets': [