2009-10-02 19:59:38 +02:00
|
|
|
# Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
|
|
|
|
# reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
# can be found in the LICENSE file.
|
2010-10-03 23:04:50 +02:00
|
|
|
|
2009-10-02 19:59:38 +02:00
|
|
|
{
|
|
|
|
'variables': {
|
2010-10-09 18:37:43 +02:00
|
|
|
'conditions': [
|
2011-09-23 02:16:03 +02:00
|
|
|
# Directory for CEF source files.
|
2010-10-09 18:37:43 +02:00
|
|
|
[ 'OS=="win"', {
|
|
|
|
'cef_directory' : '<!(echo %CEF_DIRECTORY%)',
|
2011-10-12 21:09:15 +02:00
|
|
|
# Keep the build output in the CEF directory.
|
|
|
|
'build_dir_prefix': '..\\<!(echo %CEF_DIRECTORY%)\\',
|
2011-10-21 21:35:19 +02:00
|
|
|
# Use SKIA text rendering for transparency support.
|
|
|
|
'enable_skia_text': 1,
|
2010-10-09 18:37:43 +02:00
|
|
|
}, { # OS!="win"
|
|
|
|
'cef_directory' : '<!(echo $CEF_DIRECTORY)',
|
|
|
|
}],
|
2011-09-23 02:16:03 +02:00
|
|
|
[ 'OS=="mac"', {
|
|
|
|
# Don't use the chrome style plugin with CEF.
|
|
|
|
'clang_use_chrome_plugins': 0,
|
|
|
|
}],
|
2010-10-09 18:37:43 +02:00
|
|
|
]
|
2012-11-06 18:13:58 +01:00
|
|
|
}, 'conditions': [
|
|
|
|
['OS=="mac" and clang==1', {
|
|
|
|
'target_defaults': {
|
|
|
|
'xcode_settings': {
|
|
|
|
# Temporary workaround for an Xcode 4 build error. This can be
|
|
|
|
# removed with the next Chromium update. See crbug.com/156530.
|
|
|
|
'WARNING_CFLAGS': ['-Wno-unknown-warning-option'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}]
|
|
|
|
]
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|