2013-12-05 20:09:17 +01:00
|
|
|
# Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
2012-04-03 03:34:16 +02:00
|
|
|
# reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
# can be found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'variables': {
|
2013-10-24 23:40:32 +02:00
|
|
|
# Don't use the chrome style plugin with CEF.
|
|
|
|
'clang_use_chrome_plugins': 0,
|
2012-04-03 03:34:16 +02:00
|
|
|
'conditions': [
|
|
|
|
# Directory for CEF source files.
|
|
|
|
[ 'OS=="win"', {
|
|
|
|
'cef_directory' : '<!(echo %CEF_DIRECTORY%)',
|
2013-06-04 19:41:37 +02:00
|
|
|
# Disable tcmalloc's debugallocation to avoid crashing during startup.
|
|
|
|
'disable_debugallocation': 1,
|
2012-04-03 03:34:16 +02:00
|
|
|
}, { # OS!="win"
|
|
|
|
'cef_directory' : '<!(echo $CEF_DIRECTORY)',
|
|
|
|
}],
|
2013-12-05 20:09:17 +01:00
|
|
|
[ 'OS=="mac"', {
|
|
|
|
# Strip symbols and create dSYM files for the Release target.
|
|
|
|
'mac_strip_release': 1,
|
|
|
|
}],
|
2012-04-03 03:34:16 +02:00
|
|
|
]
|
2012-11-05 21:18:20 +01:00
|
|
|
}, 'conditions': [
|
2012-12-06 21:50:39 +01:00
|
|
|
['os_posix==1 and OS!="mac" and OS!="android"', {
|
|
|
|
'target_defaults': {
|
|
|
|
'cflags_cc': ['-Wno-deprecated-declarations'],
|
|
|
|
},
|
2012-11-05 21:18:20 +01:00
|
|
|
}]
|
2013-06-22 04:06:32 +02:00
|
|
|
],
|
2012-04-03 03:34:16 +02:00
|
|
|
}
|