2011-09-27 17:02:08 +02:00
|
|
|
# Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
|
2010-10-03 23:04:50 +02:00
|
|
|
# reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
# can be found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'variables': {
|
2011-10-24 22:20:52 +02:00
|
|
|
'pkg-config': 'pkg-config',
|
2010-10-03 23:04:50 +02:00
|
|
|
'chromium_code': 1,
|
2011-09-30 11:22:54 +02:00
|
|
|
'repack_locales_cmd': ['python', 'tools/repack_locales.py'],
|
|
|
|
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cef',
|
2012-09-26 17:48:31 +02:00
|
|
|
'revision': '<!(python tools/revision.py)',
|
|
|
|
# Need to be creative to match dylib version formatting requirements.
|
|
|
|
'version_mac_dylib':
|
|
|
|
'<!(python ../chrome/tools/build/version.py -f ../chrome/VERSION -t "1<(revision).@BUILD_HI@.@BUILD_LO@" -e "BUILD_HI=int(BUILD)/256" -e "BUILD_LO=int(BUILD)%256")',
|
2010-10-03 23:04:50 +02:00
|
|
|
},
|
2011-11-12 01:06:03 +01:00
|
|
|
'conditions': [
|
2012-11-05 21:19:50 +01:00
|
|
|
[ 'os_posix==1 and OS!="mac" and OS!="android" and gcc_version>=46', {
|
2011-11-12 01:06:03 +01:00
|
|
|
'target_defaults': {
|
|
|
|
# Disable warnings about c++0x compatibility, as some names (such
|
|
|
|
# as nullptr) conflict with upcoming c++0x types.
|
|
|
|
'cflags_cc': ['-Wno-c++0x-compat'],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
2011-09-27 17:02:08 +02:00
|
|
|
'includes': [
|
2011-12-23 18:36:30 +01:00
|
|
|
# Bring in the source file lists.
|
|
|
|
'cef_paths2.gypi',
|
|
|
|
],
|
2010-10-03 23:04:50 +02:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'cefclient',
|
|
|
|
'type': 'executable',
|
2010-11-15 16:39:56 +01:00
|
|
|
'mac_bundle': 1,
|
2010-10-03 23:04:50 +02:00
|
|
|
'msvs_guid': '6617FED9-C5D4-4907-BF55-A90062A6683F',
|
|
|
|
'dependencies': [
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef',
|
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2012-01-10 00:46:23 +01:00
|
|
|
# cefclient includes are relative to the tests directory to make
|
|
|
|
# creation of binary releases easier.
|
|
|
|
'tests'
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_common)',
|
2011-12-23 18:36:30 +01:00
|
|
|
'<@(includes_wrapper)',
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(cefclient_sources_common)',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
2010-11-15 16:39:56 +01:00
|
|
|
'mac_bundle_resources': [
|
2011-10-03 12:25:14 +02:00
|
|
|
'<@(cefclient_bundle_resources_mac)',
|
2012-09-06 00:34:30 +02:00
|
|
|
'<(grit_out_dir)/devtools_resources.pak',
|
2010-11-15 16:39:56 +01:00
|
|
|
],
|
|
|
|
'mac_bundle_resources!': [
|
|
|
|
# TODO(mark): Come up with a fancier way to do this (mac_info_plist?)
|
|
|
|
# that automatically sets the correct INFOPLIST_FILE setting and adds
|
|
|
|
# the file to a source group.
|
|
|
|
'tests/cefclient/mac/Info.plist',
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
|
|
|
'INFOPLIST_FILE': 'tests/cefclient/mac/Info.plist',
|
|
|
|
},
|
2010-10-03 23:04:50 +02:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
2011-09-30 11:22:54 +02:00
|
|
|
'variables': {
|
|
|
|
'repack_path': '../tools/grit/grit/format/repack.py',
|
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'repack_locales',
|
|
|
|
'inputs': [
|
|
|
|
'tools/repack_locales.py',
|
|
|
|
# NOTE: Ideally the common command args would be shared
|
|
|
|
# amongst inputs/outputs/action, but the args include shell
|
|
|
|
# variables which need to be passed intact, and command
|
|
|
|
# expansion wants to expand the shell variables. Adding the
|
|
|
|
# explicit quoting here was the only way it seemed to work.
|
|
|
|
'>!@(<(repack_locales_cmd) -i -g \"<(grit_out_dir)\" -s \"<(SHARED_INTERMEDIATE_DIR)\" -x \"<(INTERMEDIATE_DIR)\" <(locales))',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'>!@(<(repack_locales_cmd) -o -g \"<(grit_out_dir)\" -s \"<(SHARED_INTERMEDIATE_DIR)\" -x \"<(INTERMEDIATE_DIR)\" <(locales))',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'<@(repack_locales_cmd)',
|
|
|
|
'-g', '<(grit_out_dir)',
|
|
|
|
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
|
|
|
'-x', '<(INTERMEDIATE_DIR)',
|
|
|
|
'<@(locales)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)/locales',
|
|
|
|
'files': [
|
|
|
|
'<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
2012-09-06 00:34:30 +02:00
|
|
|
'<(grit_out_dir)/devtools_resources.pak'
|
2011-09-30 11:22:54 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2010-10-03 23:04:50 +02:00
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
# Set /SUBSYSTEM:WINDOWS.
|
|
|
|
'SubSystem': '2',
|
|
|
|
'EntryPointSymbol' : 'wWinMainCRTStartup',
|
|
|
|
},
|
|
|
|
},
|
2010-10-09 18:37:43 +02:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lcomctl32.lib',
|
|
|
|
'-lshlwapi.lib',
|
|
|
|
'-lrpcrt4.lib',
|
|
|
|
'-lopengl32.lib',
|
|
|
|
'-lglu32.lib',
|
|
|
|
],
|
|
|
|
},
|
2010-10-28 22:38:27 +02:00
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_win)',
|
|
|
|
'<@(cefclient_sources_win)',
|
2010-11-15 16:39:56 +01:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'product_name': 'cefclient',
|
|
|
|
'variables': {
|
2011-09-10 21:40:03 +02:00
|
|
|
'repack_path': '../tools/grit/grit/format/repack.py',
|
2010-11-15 16:39:56 +01:00
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
2011-09-30 11:22:54 +02:00
|
|
|
'action_name': 'repack_locales',
|
|
|
|
'process_outputs_as_mac_bundle_resources': 1,
|
|
|
|
'inputs': [
|
|
|
|
'tools/repack_locales.py',
|
|
|
|
# NOTE: Ideally the common command args would be shared
|
|
|
|
# amongst inputs/outputs/action, but the args include shell
|
|
|
|
# variables which need to be passed intact, and command
|
|
|
|
# expansion wants to expand the shell variables. Adding the
|
|
|
|
# explicit quoting here was the only way it seemed to work.
|
|
|
|
'>!@(<(repack_locales_cmd) -i -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'<@(repack_locales_cmd)',
|
|
|
|
'-g', '<(grit_out_dir)',
|
|
|
|
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
|
|
|
'-x', '<(INTERMEDIATE_DIR)',
|
|
|
|
'<@(locales)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'repack_resources',
|
|
|
|
'process_outputs_as_mac_bundle_resources': 1,
|
2010-11-15 16:39:56 +01:00
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
2011-02-15 19:07:24 +01:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
|
2012-08-07 15:58:35 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
|
2010-11-15 16:39:56 +01:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
|
2012-10-03 23:50:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
|
2010-11-15 16:39:56 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(repack_path)',
|
|
|
|
'<@(pak_inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
2011-09-30 11:22:54 +02:00
|
|
|
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
|
2010-11-15 16:39:56 +01:00
|
|
|
],
|
|
|
|
'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
2011-09-30 11:22:54 +02:00
|
|
|
# Add library dependencies to the bundle.
|
2010-11-15 16:39:56 +01:00
|
|
|
'destination': '<(PRODUCT_DIR)/cefclient.app/Contents/MacOS/',
|
2010-11-18 04:01:34 +01:00
|
|
|
'files': [
|
|
|
|
'<(PRODUCT_DIR)/libcef.dylib',
|
|
|
|
],
|
2010-11-15 16:39:56 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# Add the WebCore resources to the bundle.
|
|
|
|
'destination': '<(PRODUCT_DIR)/cefclient.app/Contents/',
|
2010-11-18 04:01:34 +01:00
|
|
|
'files': [
|
2011-01-12 00:46:14 +01:00
|
|
|
'../third_party/WebKit/Source/WebCore/Resources/',
|
2010-11-18 04:01:34 +01:00
|
|
|
],
|
2010-11-15 16:39:56 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
2012-05-16 18:56:38 +02:00
|
|
|
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
|
2010-11-15 16:39:56 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_mac)',
|
|
|
|
'<@(cefclient_sources_mac)',
|
2010-11-15 16:39:56 +01:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_linux)',
|
|
|
|
'<@(cefclient_sources_linux)',
|
2010-10-28 22:38:27 +02:00
|
|
|
],
|
2011-10-24 22:20:52 +02:00
|
|
|
'variables': {
|
|
|
|
'repack_path': '../tools/grit/grit/format/repack.py',
|
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'repack_locales',
|
|
|
|
'inputs': [
|
|
|
|
'tools/repack_locales.py',
|
|
|
|
# NOTE: Ideally the common command args would be shared
|
|
|
|
# amongst inputs/outputs/action, but the args include shell
|
|
|
|
# variables which need to be passed intact, and command
|
|
|
|
# expansion wants to expand the shell variables. Adding the
|
|
|
|
# explicit quoting here was the only way it seemed to work.
|
|
|
|
'>!@(<(repack_locales_cmd) -i -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'<@(repack_locales_cmd)',
|
|
|
|
'-g', '<(grit_out_dir)',
|
|
|
|
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
|
|
|
'-x', '<(INTERMEDIATE_DIR)',
|
|
|
|
'<@(locales)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'repack_resources',
|
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
|
2012-08-07 15:58:35 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
|
2011-10-24 22:20:52 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
|
2012-10-03 23:50:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
|
2011-10-24 22:20:52 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(repack_path)',
|
|
|
|
'<@(pak_inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
|
|
|
|
],
|
|
|
|
'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)/locales',
|
|
|
|
'files': [
|
|
|
|
'<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
2012-09-06 00:34:30 +02:00
|
|
|
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
|
|
|
|
'<(grit_out_dir)/devtools_resources.pak',
|
2011-10-24 22:20:52 +02:00
|
|
|
],
|
|
|
|
},
|
2011-11-12 05:47:00 +01:00
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)/files',
|
|
|
|
'files': [
|
|
|
|
'<@(cefclient_bundle_resources_linux)',
|
|
|
|
],
|
|
|
|
},
|
2011-10-24 22:20:52 +02:00
|
|
|
],
|
2010-10-03 23:04:50 +02:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'cef_unittests',
|
|
|
|
'type': 'executable',
|
2011-12-30 21:55:16 +01:00
|
|
|
'mac_bundle': 1,
|
2010-10-03 23:04:50 +02:00
|
|
|
'msvs_guid': '8500027C-B11A-11DE-A16E-B80256D89593',
|
|
|
|
'dependencies': [
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/base/base.gyp:base',
|
|
|
|
'<(DEPTH)/base/base.gyp:base_i18n',
|
|
|
|
'<(DEPTH)/base/base.gyp:test_support_base',
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
'<(DEPTH)/third_party/icu/icu.gyp:icui18n',
|
|
|
|
'<(DEPTH)/third_party/icu/icu.gyp:icuuc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef',
|
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'sources': [
|
2011-12-30 21:55:16 +01:00
|
|
|
'tests/cefclient/cefclient_switches.cpp',
|
|
|
|
'tests/cefclient/cefclient_switches.h',
|
2011-11-15 00:43:52 +01:00
|
|
|
'tests/unittests/command_line_unittest.cc',
|
2011-05-24 01:39:07 +02:00
|
|
|
'tests/unittests/content_filter_unittest.cc',
|
2011-04-09 03:05:30 +02:00
|
|
|
'tests/unittests/cookie_unittest.cc',
|
2011-02-23 04:45:13 +01:00
|
|
|
'tests/unittests/dom_unittest.cc',
|
2012-10-19 21:52:07 +02:00
|
|
|
'tests/unittests/geolocation_unittest.cc',
|
2011-10-04 13:49:36 +02:00
|
|
|
'tests/unittests/navigation_unittest.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'tests/unittests/request_unittest.cc',
|
|
|
|
'tests/unittests/run_all_unittests.cc',
|
2011-04-21 18:46:16 +02:00
|
|
|
'tests/unittests/scheme_handler_unittest.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'tests/unittests/stream_unittest.cc',
|
2010-11-22 18:49:46 +01:00
|
|
|
'tests/unittests/string_unittest.cc',
|
2011-12-29 21:32:02 +01:00
|
|
|
'tests/unittests/test_handler.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'tests/unittests/test_handler.h',
|
2011-10-06 15:34:47 +02:00
|
|
|
'tests/unittests/test_suite.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'tests/unittests/test_suite.h',
|
2011-01-31 21:47:04 +01:00
|
|
|
'tests/unittests/url_unittest.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'tests/unittests/v8_unittest.cc',
|
2011-02-09 23:04:35 +01:00
|
|
|
'tests/unittests/web_urlrequest_unittest.cc',
|
2010-10-20 17:12:46 +02:00
|
|
|
'tests/unittests/xml_reader_unittest.cc',
|
2010-10-24 18:41:21 +02:00
|
|
|
'tests/unittests/zip_reader_unittest.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
2011-12-30 21:55:16 +01:00
|
|
|
'mac_bundle_resources': [
|
|
|
|
'tests/unittests/mac/unittests.icns',
|
|
|
|
'tests/unittests/mac/English.lproj/InfoPlist.strings',
|
|
|
|
'tests/unittests/mac/English.lproj/MainMenu.xib',
|
|
|
|
'tests/unittests/mac/Info.plist',
|
|
|
|
],
|
|
|
|
'mac_bundle_resources!': [
|
|
|
|
# TODO(mark): Come up with a fancier way to do this (mac_info_plist?)
|
|
|
|
# that automatically sets the correct INFOPLIST_FILE setting and adds
|
|
|
|
# the file to a source group.
|
|
|
|
'tests/unittests/mac/Info.plist',
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
|
|
|
'INFOPLIST_FILE': 'tests/unittests/mac/Info.plist',
|
|
|
|
},
|
2010-10-03 23:04:50 +02:00
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
2011-12-30 21:55:16 +01:00
|
|
|
'conditions': [
|
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'product_name': 'cef_unittests',
|
|
|
|
'variables': {
|
|
|
|
'repack_path': '../tools/grit/grit/format/repack.py',
|
|
|
|
},
|
2012-01-03 18:55:08 +01:00
|
|
|
'run_as': {
|
|
|
|
'action': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/MacOS/${PRODUCT_NAME}'],
|
|
|
|
},
|
2011-12-30 21:55:16 +01:00
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'repack_locales',
|
|
|
|
'process_outputs_as_mac_bundle_resources': 1,
|
|
|
|
'inputs': [
|
|
|
|
'tools/repack_locales.py',
|
|
|
|
# NOTE: Ideally the common command args would be shared
|
|
|
|
# amongst inputs/outputs/action, but the args include shell
|
|
|
|
# variables which need to be passed intact, and command
|
|
|
|
# expansion wants to expand the shell variables. Adding the
|
|
|
|
# explicit quoting here was the only way it seemed to work.
|
|
|
|
'>!@(<(repack_locales_cmd) -i -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'<@(repack_locales_cmd)',
|
|
|
|
'-g', '<(grit_out_dir)',
|
|
|
|
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
|
|
|
'-x', '<(INTERMEDIATE_DIR)',
|
|
|
|
'<@(locales)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'repack_resources',
|
|
|
|
'process_outputs_as_mac_bundle_resources': 1,
|
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
|
|
|
'<(grit_out_dir)/devtools_resources.pak',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
|
2012-08-07 15:58:35 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
|
2011-12-30 21:55:16 +01:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
|
2012-10-03 23:50:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
|
2011-12-30 21:55:16 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(repack_path)',
|
|
|
|
'<@(pak_inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
|
|
|
|
],
|
|
|
|
'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
# Add library dependencies to the bundle.
|
|
|
|
'destination': '<(PRODUCT_DIR)/cef_unittests.app/Contents/MacOS/',
|
|
|
|
'files': [
|
|
|
|
'<(PRODUCT_DIR)/libcef.dylib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'tests/unittests/run_all_unittests_mac.mm',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2010-10-03 23:04:50 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'libcef',
|
|
|
|
'type': 'shared_library',
|
|
|
|
'msvs_guid': 'C13650D5-CF1A-4259-BE45-B1EBA6280E47',
|
|
|
|
'dependencies': [
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/base/base.gyp:base',
|
|
|
|
'<(DEPTH)/base/base.gyp:base_i18n',
|
|
|
|
'<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
|
|
|
|
'<(DEPTH)/net/net.gyp:net',
|
|
|
|
'<(DEPTH)/net/net.gyp:net_resources',
|
|
|
|
'<(DEPTH)/printing/printing.gyp:printing',
|
|
|
|
'<(DEPTH)/sdch/sdch.gyp:sdch',
|
|
|
|
'<(DEPTH)/skia/skia.gyp:skia',
|
|
|
|
'<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2',
|
|
|
|
'<(DEPTH)/third_party/icu/icu.gyp:icui18n',
|
|
|
|
'<(DEPTH)/third_party/icu/icu.gyp:icuuc',
|
|
|
|
'<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
|
|
|
|
'<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp:libjpeg',
|
|
|
|
'<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
|
|
|
|
'<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
|
|
|
|
'<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
|
|
|
|
'<(DEPTH)/third_party/modp_b64/modp_b64.gyp:modp_b64',
|
|
|
|
'<(DEPTH)/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore',
|
|
|
|
'<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
|
2012-11-06 18:13:58 +01:00
|
|
|
'<(DEPTH)/third_party/zlib/zlib.gyp:minizip',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
|
2012-08-07 15:58:35 +02:00
|
|
|
'<(DEPTH)/ui/ui.gyp:ui_resources',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/ui/ui.gyp:ui',
|
|
|
|
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
|
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:glue',
|
2012-10-03 23:50:01 +02:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:user_agent',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu',
|
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources',
|
2012-11-06 18:13:58 +01:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_storage',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef_static',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
# Avoid "RC1102: internal error : too many arguments to RCPP" error by
|
|
|
|
# explicitly specifying a short list of resource include directories.
|
|
|
|
'resource_include_dirs' : [
|
|
|
|
'.',
|
|
|
|
'..',
|
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_common)',
|
2011-12-23 18:36:30 +01:00
|
|
|
'<@(includes_capi)',
|
|
|
|
'<@(libcef_sources_common)',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
2011-03-22 23:59:02 +01:00
|
|
|
'xcode_settings': {
|
|
|
|
'INSTALL_PATH': '@executable_path',
|
2012-05-16 18:56:38 +02:00
|
|
|
'DYLIB_INSTALL_NAME_BASE': '@executable_path',
|
2011-08-02 18:50:06 +02:00
|
|
|
# The libcef_static target contains ObjC categories. Passing the -ObjC flag
|
|
|
|
# is necessary to properly load them and avoid a "selector not recognized"
|
|
|
|
# runtime error. See http://developer.apple.com/library/mac/#qa/qa1490/_index.html
|
|
|
|
# for more information.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-ObjC'],
|
2012-09-26 17:48:31 +02:00
|
|
|
'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)',
|
|
|
|
'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)',
|
2011-03-22 23:59:02 +01:00
|
|
|
},
|
2010-10-09 18:37:43 +02:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'dependencies': [
|
2012-05-23 21:01:04 +02:00
|
|
|
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/breakpad/breakpad.gyp:breakpad_handler',
|
|
|
|
'<(DEPTH)/third_party/angle/src/build_angle.gyp:libEGL',
|
|
|
|
'<(DEPTH)/third_party/angle/src/build_angle.gyp:libGLESv2',
|
2010-10-09 18:37:43 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_win)',
|
2011-01-25 19:37:27 +01:00
|
|
|
'$(OutDir)/obj/global_intermediate/webkit/webkit_chromium_resources.rc',
|
2010-10-09 18:37:43 +02:00
|
|
|
'$(OutDir)/obj/global_intermediate/webkit/webkit_resources.rc',
|
|
|
|
'libcef_dll/libcef_dll.rc',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lcomctl32.lib',
|
2012-09-14 21:04:45 +02:00
|
|
|
'-llocationapi.lib',
|
2010-10-09 18:37:43 +02:00
|
|
|
],
|
|
|
|
},
|
2011-11-29 19:37:57 +01:00
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
# Generate a PDB symbol file for both Debug and Release builds.
|
|
|
|
'GenerateDebugInformation': 'true',
|
|
|
|
},
|
|
|
|
},
|
2011-09-30 11:22:54 +02:00
|
|
|
}],
|
2011-10-24 22:20:52 +02:00
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
|
|
|
'dependencies':[
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
2011-10-24 22:20:52 +02:00
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'cflags': [
|
|
|
|
'<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'link_settings': {
|
|
|
|
'ldflags': [
|
|
|
|
'<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-2.0 gthread-2.0)',
|
|
|
|
],
|
|
|
|
'libraries': [
|
|
|
|
'<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthread-2.0)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2010-10-09 18:37:43 +02:00
|
|
|
],
|
2010-10-03 23:04:50 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'libcef_dll_wrapper',
|
|
|
|
'type': 'static_library',
|
|
|
|
'msvs_guid': 'A9D6DC71-C0DC-4549-AEA0-3B15B44E86A9',
|
|
|
|
'dependencies': [
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_common)',
|
2011-12-23 18:36:30 +01:00
|
|
|
'<@(includes_capi)',
|
|
|
|
'<@(includes_wrapper)',
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(libcef_dll_wrapper_sources_common)',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
|
|
|
},
|
2011-09-30 11:22:54 +02:00
|
|
|
{
|
|
|
|
'target_name': 'cef_extra_resources',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_devtools_grd',
|
2011-09-30 11:22:54 +02:00
|
|
|
],
|
|
|
|
# These resources end up in chrome.pak because they are resources
|
|
|
|
# used by internal pages. Putting them in a spearate pak file makes
|
|
|
|
# it easier for us to reference them internally.
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'devtools_resources',
|
|
|
|
# This can't use ../build/grit_action.gypi because the grd file
|
|
|
|
# is generated a build time, so the trick of using grit_info to get
|
|
|
|
# the real inputs/outputs at GYP time isn't possible.
|
|
|
|
'variables': {
|
|
|
|
'grit_cmd': ['python', '../tools/grit/grit.py'],
|
|
|
|
'grit_grd_file': '<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd',
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(grit_grd_file)',
|
|
|
|
'<!@pymod_do_main(grit_info --inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(grit_out_dir)/grit/devtools_resources.h',
|
|
|
|
'<(grit_out_dir)/devtools_resources.pak',
|
|
|
|
'<(grit_out_dir)/grit/devtools_resources_map.cc',
|
|
|
|
'<(grit_out_dir)/grit/devtools_resources_map.h',
|
|
|
|
],
|
|
|
|
'action': ['<@(grit_cmd)',
|
|
|
|
'-i', '<(grit_grd_file)', 'build',
|
|
|
|
'-o', '<(grit_out_dir)',
|
|
|
|
'-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)',
|
|
|
|
'<@(grit_defines)' ],
|
|
|
|
'message': 'Generating resources from <(grit_grd_file)',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'includes': [ '../build/grit_target.gypi' ],
|
|
|
|
},
|
2010-10-03 23:04:50 +02:00
|
|
|
{
|
|
|
|
'target_name': 'libcef_static',
|
|
|
|
'type': 'static_library',
|
|
|
|
'msvs_guid': 'FA39524D-3067-4141-888D-28A86C66F2B9',
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/public',
|
2011-09-30 11:22:54 +02:00
|
|
|
'<(grit_out_dir)',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2011-09-30 11:22:54 +02:00
|
|
|
'cef_extra_resources',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/base/base.gyp:base',
|
|
|
|
'<(DEPTH)/base/base.gyp:base_i18n',
|
|
|
|
'<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
|
|
|
|
'<(DEPTH)/net/net.gyp:net',
|
|
|
|
'<(DEPTH)/net/net.gyp:net_resources',
|
|
|
|
'<(DEPTH)/printing/printing.gyp:printing',
|
|
|
|
'<(DEPTH)/sdch/sdch.gyp:sdch',
|
|
|
|
'<(DEPTH)/skia/skia.gyp:skia',
|
|
|
|
'<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2',
|
|
|
|
'<(DEPTH)/third_party/icu/icu.gyp:icui18n',
|
|
|
|
'<(DEPTH)/third_party/icu/icu.gyp:icuuc',
|
|
|
|
'<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
|
|
|
|
'<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp:libjpeg',
|
|
|
|
'<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
|
|
|
|
'<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
|
|
|
|
'<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
|
|
|
|
'<(DEPTH)/third_party/modp_b64/modp_b64.gyp:modp_b64',
|
|
|
|
'<(DEPTH)/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore',
|
|
|
|
'<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
|
2012-11-06 18:13:58 +01:00
|
|
|
'<(DEPTH)/third_party/zlib/zlib.gyp:minizip',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
|
2012-08-07 15:58:35 +02:00
|
|
|
'<(DEPTH)/ui/ui.gyp:ui_resources',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/ui/ui.gyp:ui',
|
|
|
|
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
|
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:glue',
|
2012-10-03 23:50:01 +02:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:user_agent',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu',
|
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources',
|
2012-11-06 18:13:58 +01:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_storage',
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_common)',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_appcache_system.cc',
|
|
|
|
'libcef/browser_appcache_system.h',
|
|
|
|
'libcef/browser_database_system.cc',
|
|
|
|
'libcef/browser_database_system.h',
|
2011-01-25 19:37:27 +01:00
|
|
|
'libcef/browser_devtools_agent.cc',
|
|
|
|
'libcef/browser_devtools_agent.h',
|
|
|
|
'libcef/browser_devtools_callargs.cc',
|
|
|
|
'libcef/browser_devtools_callargs.h',
|
|
|
|
'libcef/browser_devtools_client.cc',
|
|
|
|
'libcef/browser_devtools_client.h',
|
2011-09-30 11:22:54 +02:00
|
|
|
'libcef/browser_devtools_scheme_handler.cc',
|
|
|
|
'libcef/browser_devtools_scheme_handler.h',
|
2012-05-23 21:01:04 +02:00
|
|
|
'libcef/browser_dom_storage_system.cc',
|
|
|
|
'libcef/browser_dom_storage_system.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_file_system.cc',
|
|
|
|
'libcef/browser_file_system.h',
|
2010-10-15 20:37:25 +02:00
|
|
|
'libcef/browser_file_writer.cc',
|
|
|
|
'libcef/browser_file_writer.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_impl.cc',
|
|
|
|
'libcef/browser_impl.h',
|
|
|
|
'libcef/browser_navigation_controller.cc',
|
|
|
|
'libcef/browser_navigation_controller.h',
|
2012-04-05 00:32:24 +02:00
|
|
|
'libcef/browser_network_delegate.cc',
|
|
|
|
'libcef/browser_network_delegate.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_request_context.cc',
|
|
|
|
'libcef/browser_request_context.h',
|
2012-03-22 23:08:05 +01:00
|
|
|
'libcef/browser_request_context_proxy.cc',
|
|
|
|
'libcef/browser_request_context_proxy.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_resource_loader_bridge.cc',
|
|
|
|
'libcef/browser_resource_loader_bridge.h',
|
2010-11-18 22:05:25 +01:00
|
|
|
'libcef/browser_settings.cc',
|
|
|
|
'libcef/browser_settings.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_socket_stream_bridge.cc',
|
|
|
|
'libcef/browser_socket_stream_bridge.h',
|
2012-05-23 21:01:04 +02:00
|
|
|
'libcef/browser_thread_stub.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_webcookiejar_impl.cc',
|
|
|
|
'libcef/browser_webcookiejar_impl.h',
|
|
|
|
'libcef/browser_webblobregistry_impl.cc',
|
|
|
|
'libcef/browser_webblobregistry_impl.h',
|
|
|
|
'libcef/browser_webkit_glue.cc',
|
|
|
|
'libcef/browser_webkit_glue.h',
|
2011-09-10 21:40:03 +02:00
|
|
|
'libcef/browser_webkit_init.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/browser_webkit_init.h',
|
|
|
|
'libcef/browser_webview_delegate.cc',
|
|
|
|
'libcef/browser_webview_delegate.h',
|
2011-01-25 16:34:50 +01:00
|
|
|
'libcef/browser_zoom_map.cc',
|
|
|
|
'libcef/browser_zoom_map.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/cef_context.cc',
|
|
|
|
'libcef/cef_context.h',
|
|
|
|
'libcef/cef_process.cc',
|
|
|
|
'libcef/cef_process.h',
|
|
|
|
'libcef/cef_process_io_thread.cc',
|
|
|
|
'libcef/cef_process_io_thread.h',
|
|
|
|
'libcef/cef_process_sub_thread.cc',
|
|
|
|
'libcef/cef_process_sub_thread.h',
|
|
|
|
'libcef/cef_process_ui_thread.cc',
|
|
|
|
'libcef/cef_process_ui_thread.h',
|
|
|
|
'libcef/cef_string_list.cc',
|
|
|
|
'libcef/cef_string_map.cc',
|
2011-10-28 23:31:26 +02:00
|
|
|
'libcef/cef_string_multimap.cc',
|
2010-11-22 18:49:46 +01:00
|
|
|
'libcef/cef_string_types.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/cef_thread.cc',
|
|
|
|
'libcef/cef_thread.h',
|
2011-05-23 19:43:53 +02:00
|
|
|
'libcef/cef_time.cc',
|
|
|
|
'libcef/cef_time_util.h',
|
2011-11-15 00:43:52 +01:00
|
|
|
'libcef/command_line_impl.cc',
|
2012-03-22 23:08:05 +01:00
|
|
|
'libcef/cookie_manager_impl.cc',
|
|
|
|
'libcef/cookie_manager_impl.h',
|
|
|
|
'libcef/cookie_store_proxy.cc',
|
|
|
|
'libcef/cookie_store_proxy.h',
|
2011-08-22 03:31:55 +02:00
|
|
|
'libcef/drag_data_impl.cc',
|
|
|
|
'libcef/drag_data_impl.h',
|
2011-02-28 01:33:11 +01:00
|
|
|
'libcef/drag_download_file.cc',
|
|
|
|
'libcef/drag_download_file.h',
|
2011-08-02 18:50:06 +02:00
|
|
|
'libcef/drag_download_util.cc',
|
|
|
|
'libcef/drag_download_util.h',
|
2011-02-23 04:45:13 +01:00
|
|
|
'libcef/dom_document_impl.cc',
|
|
|
|
'libcef/dom_document_impl.h',
|
|
|
|
'libcef/dom_event_impl.cc',
|
|
|
|
'libcef/dom_event_impl.h',
|
|
|
|
'libcef/dom_node_impl.cc',
|
|
|
|
'libcef/dom_node_impl.h',
|
2011-08-02 18:50:06 +02:00
|
|
|
'libcef/download_util.cc',
|
|
|
|
'libcef/download_util.h',
|
2011-01-12 02:33:03 +01:00
|
|
|
'libcef/external_protocol_handler.h',
|
2012-09-14 21:04:45 +02:00
|
|
|
'libcef/geolocation_client.cc',
|
|
|
|
'libcef/geolocation_client.h',
|
2012-10-19 21:52:07 +02:00
|
|
|
'libcef/geolocation_impl.cc',
|
2011-02-09 23:04:35 +01:00
|
|
|
'libcef/http_header_utils.cc',
|
|
|
|
'libcef/http_header_utils.h',
|
2011-12-23 18:36:30 +01:00
|
|
|
'libcef/nplugin_impl.cc',
|
2011-05-27 18:20:32 +02:00
|
|
|
'libcef/origin_whitelist_impl.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/request_impl.cc',
|
|
|
|
'libcef/request_impl.h',
|
2011-02-09 23:04:35 +01:00
|
|
|
'libcef/response_impl.cc',
|
|
|
|
'libcef/response_impl.h',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/scheme_impl.cc',
|
|
|
|
'libcef/simple_clipboard_impl.cc',
|
2011-12-16 15:51:10 +01:00
|
|
|
'libcef/simple_clipboard_impl.h',
|
2012-05-23 21:01:04 +02:00
|
|
|
'libcef/sqlite_diagnostics_stub.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/stream_impl.cc',
|
|
|
|
'libcef/stream_impl.h',
|
2011-12-23 18:36:30 +01:00
|
|
|
'libcef/task_impl.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/tracker.h',
|
2011-12-23 18:36:30 +01:00
|
|
|
'libcef/url_impl.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/v8_impl.cc',
|
|
|
|
'libcef/v8_impl.h',
|
2012-04-20 22:40:53 +02:00
|
|
|
'libcef/web_plugin_impl.cc',
|
2011-02-09 23:04:35 +01:00
|
|
|
'libcef/web_urlrequest_impl.cc',
|
|
|
|
'libcef/web_urlrequest_impl.h',
|
2011-03-24 21:36:47 +01:00
|
|
|
'libcef/webview_host.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/webview_host.h',
|
2011-02-15 19:07:24 +01:00
|
|
|
'libcef/webwidget_host.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
'libcef/webwidget_host.h',
|
2010-10-20 17:12:46 +02:00
|
|
|
'libcef/xml_reader_impl.cc',
|
|
|
|
'libcef/xml_reader_impl.h',
|
2010-10-24 18:41:21 +02:00
|
|
|
'libcef/zip_reader_impl.cc',
|
|
|
|
'libcef/zip_reader_impl.h',
|
2012-06-21 22:35:13 +02:00
|
|
|
'<(DEPTH)/chrome/browser/net/clear_on_exit_policy.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/net/clear_on_exit_policy.h',
|
2012-05-23 21:01:04 +02:00
|
|
|
'<(DEPTH)/chrome/browser/net/sqlite_persistent_cookie_store.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/net/sqlite_persistent_cookie_store.h',
|
2011-09-30 11:22:54 +02:00
|
|
|
# DevTools resource IDs generated by grit
|
|
|
|
'<(grit_out_dir)/grit/devtools_resources_map.cc',
|
2012-09-14 21:04:45 +02:00
|
|
|
# Geolocation implementation
|
|
|
|
'<(DEPTH)/content/browser/geolocation/device_data_provider.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/empty_device_data_provider.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/geolocation_provider.cc',
|
2013-01-14 22:38:54 +01:00
|
|
|
'<(DEPTH)/content/browser/geolocation/location_arbitrator_impl.cc',
|
2012-09-14 21:04:45 +02:00
|
|
|
'<(DEPTH)/content/browser/geolocation/location_provider.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/network_location_provider.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/network_location_request.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/wifi_data_provider_common.cc',
|
|
|
|
'<(DEPTH)/content/common/net/url_fetcher.cc',
|
|
|
|
'<(DEPTH)/content/common/net/url_request_user_data.cc',
|
2012-11-30 19:30:34 +01:00
|
|
|
'<(DEPTH)/content/public/browser/content_browser_client.cc',
|
|
|
|
'<(DEPTH)/content/public/common/content_client.cc',
|
2012-09-14 21:04:45 +02:00
|
|
|
'<(DEPTH)/content/public/common/geoposition.cc',
|
2012-11-21 16:57:11 +01:00
|
|
|
'<(DEPTH)/google_apis/google_api_keys.cc',
|
2010-10-03 23:04:50 +02:00
|
|
|
],
|
2010-10-09 18:37:43 +02:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'dependencies': [
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/breakpad/breakpad.gyp:breakpad_handler',
|
|
|
|
'<(DEPTH)/third_party/angle/src/build_angle.gyp:libEGL',
|
|
|
|
'<(DEPTH)/third_party/angle/src/build_angle.gyp:libGLESv2',
|
2010-10-09 18:37:43 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_win)',
|
2011-02-28 01:33:11 +01:00
|
|
|
'libcef/browser_drag_delegate_win.cc',
|
|
|
|
'libcef/browser_drag_delegate_win.h',
|
2010-10-23 19:00:47 +02:00
|
|
|
'libcef/browser_impl_win.cc',
|
2010-10-09 18:37:43 +02:00
|
|
|
'libcef/browser_webkit_glue_win.cc',
|
|
|
|
'libcef/browser_webview_delegate_win.cc',
|
2010-11-15 16:39:56 +01:00
|
|
|
'libcef/cef_process_ui_thread_win.cc',
|
2011-01-12 02:33:03 +01:00
|
|
|
'libcef/external_protocol_handler_win.cc',
|
2010-10-09 18:37:43 +02:00
|
|
|
'libcef/printing/print_settings.cc',
|
|
|
|
'libcef/printing/print_settings.h',
|
|
|
|
'libcef/printing/win_printing_context.cc',
|
|
|
|
'libcef/printing/win_printing_context.h',
|
2011-02-28 01:33:11 +01:00
|
|
|
'libcef/web_drag_source_win.cc',
|
|
|
|
'libcef/web_drag_source_win.h',
|
|
|
|
'libcef/web_drag_utils_win.cc',
|
|
|
|
'libcef/web_drag_utils_win.h',
|
|
|
|
'libcef/web_drop_target_win.cc',
|
|
|
|
'libcef/web_drop_target_win.h',
|
2010-10-09 20:23:06 +02:00
|
|
|
'libcef/webview_host_win.cc',
|
|
|
|
'libcef/webwidget_host_win.cc',
|
2012-09-14 21:04:45 +02:00
|
|
|
# Geolocation implementation
|
|
|
|
'<(DEPTH)/content/browser/geolocation/wifi_data_provider_common_win.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/wifi_data_provider_win.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/win7_location_api_win.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/win7_location_provider_win.cc',
|
2010-10-09 18:37:43 +02:00
|
|
|
],
|
2010-10-09 20:23:06 +02:00
|
|
|
}],
|
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_mac)',
|
2010-10-23 19:00:47 +02:00
|
|
|
'libcef/browser_impl_mac.mm',
|
2010-10-09 20:23:06 +02:00
|
|
|
'libcef/browser_webview_delegate_mac.mm',
|
2010-10-23 19:00:47 +02:00
|
|
|
'libcef/browser_webview_mac.h',
|
|
|
|
'libcef/browser_webview_mac.mm',
|
2010-11-15 16:39:56 +01:00
|
|
|
'libcef/cef_process_ui_thread_mac.mm',
|
2011-04-09 18:54:59 +02:00
|
|
|
'libcef/external_popup_menu_mac.h',
|
|
|
|
'libcef/external_popup_menu_mac.mm',
|
2011-01-12 02:33:03 +01:00
|
|
|
'libcef/external_protocol_handler_mac.mm',
|
2010-10-09 20:23:06 +02:00
|
|
|
'libcef/webview_host_mac.mm',
|
|
|
|
'libcef/webwidget_host_mac.mm',
|
2011-08-02 18:50:06 +02:00
|
|
|
'libcef/web_drag_source_mac.h',
|
|
|
|
'libcef/web_drag_source_mac.mm',
|
|
|
|
'libcef/web_drag_utils_mac.h',
|
|
|
|
'libcef/web_drag_utils_mac.mm',
|
|
|
|
'libcef/web_drop_target_mac.h',
|
|
|
|
'libcef/web_drop_target_mac.mm',
|
2012-02-18 01:19:52 +01:00
|
|
|
# Include necessary Mozilla sources.
|
2012-01-10 00:46:23 +01:00
|
|
|
'<(DEPTH)/third_party/mozilla/NSPasteboard+Utils.h',
|
|
|
|
'<(DEPTH)/third_party/mozilla/NSPasteboard+Utils.mm',
|
|
|
|
'<(DEPTH)/third_party/mozilla/NSString+Utils.h',
|
|
|
|
'<(DEPTH)/third_party/mozilla/NSString+Utils.mm',
|
|
|
|
'<(DEPTH)/third_party/mozilla/NSURL+Utils.h',
|
|
|
|
'<(DEPTH)/third_party/mozilla/NSURL+Utils.m',
|
2012-09-14 21:04:45 +02:00
|
|
|
# Geolocation implementation
|
|
|
|
'<(DEPTH)/content/browser/geolocation/core_location_data_provider_mac.mm',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/core_location_provider_mac.mm',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/wifi_data_provider_corewlan_mac.mm',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/wifi_data_provider_mac.cc',
|
2010-10-09 20:23:06 +02:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
2012-09-14 21:04:45 +02:00
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/build/linux/system.gyp:dbus',
|
|
|
|
'<(DEPTH)/dbus/dbus.gyp:dbus',
|
|
|
|
],
|
2010-10-09 20:23:06 +02:00
|
|
|
'sources': [
|
2011-09-27 17:02:08 +02:00
|
|
|
'<@(includes_linux)',
|
2010-10-23 19:00:47 +02:00
|
|
|
'libcef/browser_impl_gtk.cc',
|
2010-10-09 20:23:06 +02:00
|
|
|
'libcef/browser_webview_delegate_gtk.cc',
|
2010-11-15 16:39:56 +01:00
|
|
|
'libcef/cef_process_ui_thread_gtk.cc',
|
2011-01-12 02:33:03 +01:00
|
|
|
'libcef/external_protocol_handler_gtk.cc',
|
2010-10-09 20:23:06 +02:00
|
|
|
'libcef/webview_host_gtk.cc',
|
|
|
|
'libcef/webwidget_host_gtk.cc',
|
2012-01-23 20:04:54 +01:00
|
|
|
'libcef/web_drag_source_gtk.cc',
|
|
|
|
'libcef/web_drag_source_gtk.h',
|
|
|
|
'libcef/web_drop_target_gtk.cc',
|
|
|
|
'libcef/web_drop_target_gtk.h',
|
2012-02-18 01:19:52 +01:00
|
|
|
# Include the files needed for drag&drop that are otherwise excluded
|
|
|
|
# by 'toolkit_views=0' in ui/ui.gyp.
|
|
|
|
'<(DEPTH)/ui/base/dragdrop/drag_drop_types_gtk.cc',
|
|
|
|
'<(DEPTH)/ui/base/dragdrop/os_exchange_data.cc',
|
|
|
|
'<(DEPTH)/ui/base/dragdrop/os_exchange_data.h',
|
|
|
|
'<(DEPTH)/ui/base/dragdrop/os_exchange_data_provider_gtk.cc',
|
|
|
|
'<(DEPTH)/ui/base/dragdrop/os_exchange_data_provider_gtk.h',
|
2012-09-14 21:04:45 +02:00
|
|
|
# Geolocation implementation
|
|
|
|
'<(DEPTH)/content/browser/geolocation/gps_location_provider_linux.cc',
|
|
|
|
'<(DEPTH)/content/browser/geolocation/wifi_data_provider_linux.cc',
|
2010-10-09 20:23:06 +02:00
|
|
|
],
|
|
|
|
}],
|
2010-10-09 18:37:43 +02:00
|
|
|
],
|
2010-10-03 23:04:50 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|