Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #314 from rakuco/webcl-define-only-for-webcl-files
Browse files Browse the repository at this point in the history
[Blink] WebCL: Only set ENABLE_WEBCL in the relevant files.
  • Loading branch information
Raphael Kubo da Costa committed Jan 29, 2016
2 parents 552b4b9 + 64b4265 commit dce3262
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions third_party/WebKit/Source/build/features.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
'detailed_memory_infra%': 0,
'blink_logging_always_on%': 0,
'link_core_modules_separately%': 1,

# WebCL support in Crosswalk.
'enable_webcl%': 0,
},
'conditions': [
['use_concatenated_impulse_responses==1', {
Expand Down Expand Up @@ -103,6 +106,12 @@
'LINK_CORE_MODULES_SEPARATELY',
],
}],

['enable_webcl==1', {
'feature_defines': [
'ENABLE_WEBCL=1',
],
}],
],

# shared build only. If set to 1, link web, core and modules separately.
Expand Down

0 comments on commit dce3262

Please sign in to comment.