2012-04-03 03:34:16 +02:00
|
|
|
# Copyright (c) 2011 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.
|
|
|
|
|
|
|
|
{
|
|
|
|
'variables': {
|
|
|
|
'pkg-config': 'pkg-config',
|
|
|
|
'chromium_code': 1,
|
|
|
|
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cef',
|
2013-11-21 23:43:36 +01:00
|
|
|
'framework_name': 'Chromium Embedded Framework',
|
2015-03-17 00:34:35 +01:00
|
|
|
'commit_number': '<!(python tools/commit_number.py)',
|
2014-04-04 18:50:38 +02:00
|
|
|
'chrome_version': '<!(python ../build/util/version.py -f ../chrome/VERSION -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")',
|
2012-09-26 02:09:05 +02:00
|
|
|
# Need to be creative to match dylib version formatting requirements.
|
|
|
|
'version_mac_dylib':
|
2015-03-17 00:34:35 +01:00
|
|
|
'<!(python ../build/util/version.py -f VERSION -f ../chrome/VERSION -t "@CEF_MAJOR@<(commit_number).@BUILD_HI@.@BUILD_LO@" -e "BUILD_HI=int(BUILD)/256" -e "BUILD_LO=int(BUILD)%256")',
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'includes': [
|
|
|
|
# Bring in the source file lists.
|
|
|
|
'cef_paths2.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'cefclient',
|
|
|
|
'type': 'executable',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'msvs_guid': '6617FED9-C5D4-4907-BF55-A90062A6683F',
|
|
|
|
'dependencies': [
|
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
# cefclient includes are relative to the tests directory to make
|
|
|
|
# creation of binary releases easier.
|
|
|
|
'tests'
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_common)',
|
|
|
|
'<@(includes_wrapper)',
|
|
|
|
],
|
|
|
|
'mac_bundle_resources': [
|
|
|
|
'<@(cefclient_bundle_resources_mac)',
|
|
|
|
],
|
|
|
|
'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.
|
2015-01-30 21:55:28 +01:00
|
|
|
'tests/cefclient/resources/mac/Info.plist',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
'xcode_settings': {
|
2015-01-30 21:55:28 +01:00
|
|
|
'INFOPLIST_FILE': 'tests/cefclient/resources/mac/Info.plist',
|
2012-04-03 03:34:16 +02:00
|
|
|
# Necessary to avoid an "install_name_tool: changing install names or
|
|
|
|
# rpaths can't be redone" error.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
2013-11-15 19:47:02 +01:00
|
|
|
'dependencies': [
|
2013-11-21 23:43:36 +01:00
|
|
|
'<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_crash_service',
|
2013-11-15 19:47:02 +01:00
|
|
|
'cef_sandbox',
|
2013-11-21 23:43:36 +01:00
|
|
|
'libcef',
|
2013-11-15 19:47:02 +01:00
|
|
|
],
|
2014-11-18 20:10:23 +01:00
|
|
|
'defines': [
|
|
|
|
'CEF_USE_ATL',
|
|
|
|
'CEF_USE_SANDBOX',
|
|
|
|
],
|
2012-04-03 03:34:16 +02:00
|
|
|
'configurations': {
|
|
|
|
'Debug_Base': {
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
# Set /SUBSYSTEM:WINDOWS.
|
|
|
|
'SubSystem': '2',
|
|
|
|
},
|
2013-08-15 21:38:55 +02:00
|
|
|
'VCManifestTool': {
|
|
|
|
'AdditionalManifestFiles': [
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/resources/win/cefclient.exe.manifest',
|
2013-08-15 21:38:55 +02:00
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lcomctl32.lib',
|
|
|
|
'-lshlwapi.lib',
|
|
|
|
'-lrpcrt4.lib',
|
2012-11-21 01:40:15 +01:00
|
|
|
'-lopengl32.lib',
|
2013-04-16 21:23:00 +02:00
|
|
|
'-lglu32.lib',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_win)',
|
|
|
|
'<@(cefclient_sources_win)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'product_name': 'cefclient',
|
|
|
|
'dependencies': [
|
2013-11-21 23:43:36 +01:00
|
|
|
'cef_framework',
|
2012-04-03 03:34:16 +02:00
|
|
|
'cefclient_helper_app',
|
|
|
|
],
|
2013-04-09 19:47:14 +02:00
|
|
|
'variables': {
|
|
|
|
'PRODUCT_NAME': 'cefclient',
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
# Add the helper app.
|
2013-04-09 19:47:14 +02:00
|
|
|
'destination': '<(PRODUCT_DIR)/<(PRODUCT_NAME).app/Contents/Frameworks',
|
2012-04-03 03:34:16 +02:00
|
|
|
'files': [
|
2013-04-09 19:47:14 +02:00
|
|
|
'<(PRODUCT_DIR)/<(PRODUCT_NAME) Helper.app',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'postbuilds': [
|
2013-11-21 23:43:36 +01:00
|
|
|
{
|
|
|
|
'postbuild_name': 'Copy <(framework_name).framework',
|
|
|
|
'action': [
|
|
|
|
'../build/mac/copy_framework_unversioned.sh',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/<(framework_name).framework',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks',
|
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
'postbuild_name': 'Fix Framework Link',
|
|
|
|
'action': [
|
|
|
|
'install_name_tool',
|
|
|
|
'-change',
|
2013-11-21 23:43:36 +01:00
|
|
|
'@executable_path/<(framework_name)',
|
|
|
|
'@executable_path/../Frameworks/<(framework_name).framework/<(framework_name)',
|
2012-04-03 03:34:16 +02:00
|
|
|
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
|
|
|
],
|
|
|
|
},
|
2012-09-06 19:42:16 +02:00
|
|
|
{
|
2013-04-09 19:47:14 +02:00
|
|
|
'postbuild_name': 'Copy locale Resources',
|
|
|
|
'action': [
|
|
|
|
'cp',
|
|
|
|
'-Rf',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/locales/',
|
2013-11-21 23:43:36 +01:00
|
|
|
'${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/<(framework_name).framework/Resources/'
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
2012-08-29 00:26:35 +02:00
|
|
|
'--scm=1'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
2013-04-16 21:23:00 +02:00
|
|
|
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_mac)',
|
|
|
|
'<@(cefclient_sources_mac)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
2013-04-11 01:53:25 +02:00
|
|
|
'dependencies': [
|
2013-06-27 19:40:04 +02:00
|
|
|
'gtk',
|
2014-07-01 00:30:29 +02:00
|
|
|
'gtkglext',
|
2013-11-21 23:43:36 +01:00
|
|
|
'libcef',
|
2013-04-11 01:53:25 +02:00
|
|
|
],
|
2014-05-22 23:01:22 +02:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lX11',
|
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
'sources': [
|
|
|
|
'<@(includes_linux)',
|
|
|
|
'<@(cefclient_sources_linux)',
|
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)/files',
|
|
|
|
'files': [
|
|
|
|
'<@(cefclient_bundle_resources_linux)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2013-11-26 23:02:14 +01:00
|
|
|
{
|
|
|
|
'target_name': 'cefsimple',
|
|
|
|
'type': 'executable',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'msvs_guid': 'A5DCDE19-F4B1-4E3A-BD4F-BFE688B24D34',
|
|
|
|
'dependencies': [
|
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
# cefsimple includes are relative to the tests directory to make
|
|
|
|
# creation of binary releases easier.
|
|
|
|
'tests'
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_common)',
|
|
|
|
'<@(includes_wrapper)',
|
|
|
|
'<@(cefsimple_sources_common)',
|
|
|
|
],
|
|
|
|
'mac_bundle_resources': [
|
|
|
|
'<@(cefsimple_bundle_resources_mac)',
|
|
|
|
],
|
|
|
|
'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/cefsimple/mac/Info.plist',
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
|
|
|
'INFOPLIST_FILE': 'tests/cefsimple/mac/Info.plist',
|
|
|
|
# Necessary to avoid an "install_name_tool: changing install names or
|
|
|
|
# rpaths can't be redone" error.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'dependencies': [
|
|
|
|
'cef_sandbox',
|
|
|
|
'libcef',
|
|
|
|
],
|
2014-11-18 20:10:23 +01:00
|
|
|
'defines': [
|
|
|
|
'CEF_USE_SANDBOX',
|
|
|
|
],
|
2013-11-26 23:02:14 +01:00
|
|
|
'configurations': {
|
|
|
|
'Debug_Base': {
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
# Set /SUBSYSTEM:WINDOWS.
|
|
|
|
'SubSystem': '2',
|
|
|
|
},
|
|
|
|
'VCManifestTool': {
|
|
|
|
'AdditionalManifestFiles': [
|
|
|
|
'tests/cefsimple/cefsimple.exe.manifest',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lcomctl32.lib',
|
|
|
|
'-lshlwapi.lib',
|
|
|
|
'-lrpcrt4.lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_win)',
|
|
|
|
'<@(cefsimple_sources_win)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'product_name': 'cefsimple',
|
|
|
|
'dependencies': [
|
|
|
|
'cef_framework',
|
|
|
|
'cefsimple_helper_app',
|
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'PRODUCT_NAME': 'cefsimple',
|
|
|
|
},
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
# Add the helper app.
|
|
|
|
'destination': '<(PRODUCT_DIR)/<(PRODUCT_NAME).app/Contents/Frameworks',
|
|
|
|
'files': [
|
|
|
|
'<(PRODUCT_DIR)/<(PRODUCT_NAME) Helper.app',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'postbuilds': [
|
|
|
|
{
|
|
|
|
'postbuild_name': 'Copy <(framework_name).framework',
|
|
|
|
'action': [
|
|
|
|
'../build/mac/copy_framework_unversioned.sh',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/<(framework_name).framework',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'postbuild_name': 'Fix Framework Link',
|
|
|
|
'action': [
|
|
|
|
'install_name_tool',
|
|
|
|
'-change',
|
|
|
|
'@executable_path/<(framework_name)',
|
|
|
|
'@executable_path/../Frameworks/<(framework_name).framework/<(framework_name)',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'postbuild_name': 'Copy locale Resources',
|
|
|
|
'action': [
|
|
|
|
'cp',
|
|
|
|
'-Rf',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/locales/',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/<(framework_name).framework/Resources/'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
|
|
|
'--scm=1'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_mac)',
|
|
|
|
'<@(cefsimple_sources_mac)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
|
|
|
'dependencies': [
|
|
|
|
'libcef',
|
|
|
|
],
|
2014-05-22 23:01:22 +02:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lX11',
|
|
|
|
],
|
|
|
|
},
|
2013-11-26 23:02:14 +01:00
|
|
|
'sources': [
|
|
|
|
'<@(includes_linux)',
|
|
|
|
'<@(cefsimple_sources_linux)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
'target_name': 'cef_unittests',
|
|
|
|
'type': 'executable',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'msvs_guid': '8500027C-B11A-11DE-A16E-B80256D89593',
|
|
|
|
'dependencies': [
|
|
|
|
'<(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',
|
2015-05-23 03:57:31 +02:00
|
|
|
'<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
|
2014-04-04 18:50:38 +02:00
|
|
|
'<(DEPTH)/ui/base/ui_base.gyp:ui_base',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'sources': [
|
2015-01-31 05:41:36 +01:00
|
|
|
'tests/cefclient/browser/client_app_browser.cc',
|
|
|
|
'tests/cefclient/browser/client_app_browser.h',
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/browser/resource_util.h',
|
|
|
|
'tests/cefclient/common/client_app.cc',
|
|
|
|
'tests/cefclient/common/client_app.h',
|
2015-01-31 05:41:36 +01:00
|
|
|
'tests/cefclient/common/client_app_other.cc',
|
|
|
|
'tests/cefclient/common/client_app_other.h',
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/common/client_switches.cc',
|
|
|
|
'tests/cefclient/common/client_switches.h',
|
2015-01-31 05:41:36 +01:00
|
|
|
'tests/cefclient/renderer/client_app_renderer.cc',
|
|
|
|
'tests/cefclient/renderer/client_app_renderer.h',
|
2015-01-30 21:22:46 +01:00
|
|
|
'tests/cefclient/resources/osr_test.html',
|
2015-09-09 16:05:39 +02:00
|
|
|
'tests/cefclient/resources/pdf.html',
|
|
|
|
'tests/cefclient/resources/pdf.pdf',
|
2014-01-28 00:31:03 +01:00
|
|
|
'tests/unittests/browser_info_map_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/command_line_unittest.cc',
|
|
|
|
'tests/unittests/cookie_unittest.cc',
|
2012-10-16 21:28:07 +02:00
|
|
|
'tests/unittests/dialog_unittest.cc',
|
2013-02-08 17:42:22 +01:00
|
|
|
'tests/unittests/display_unittest.cc',
|
2012-04-27 23:19:06 +02:00
|
|
|
'tests/unittests/dom_unittest.cc',
|
2013-02-13 23:47:04 +01:00
|
|
|
'tests/unittests/download_unittest.cc',
|
2015-04-24 15:48:32 +02:00
|
|
|
'tests/unittests/draggable_regions_unittest.cc',
|
2014-09-24 17:38:11 +02:00
|
|
|
'tests/unittests/frame_unittest.cc',
|
2012-10-19 20:39:44 +02:00
|
|
|
'tests/unittests/geolocation_unittest.cc',
|
2012-04-16 23:15:27 +02:00
|
|
|
'tests/unittests/jsdialog_unittest.cc',
|
2013-03-19 23:59:33 +01:00
|
|
|
'tests/unittests/life_span_unittest.cc',
|
2014-01-28 00:31:03 +01:00
|
|
|
'tests/unittests/message_router_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/navigation_unittest.cc',
|
2014-07-01 00:30:29 +02:00
|
|
|
'tests/unittests/os_rendering_unittest.cc',
|
2015-04-09 16:59:34 +02:00
|
|
|
'tests/unittests/parser_unittest.cc',
|
2015-09-09 16:05:39 +02:00
|
|
|
'tests/unittests/plugin_unittest.cc',
|
2015-10-03 01:03:16 +02:00
|
|
|
'tests/unittests/preference_unittest.cc',
|
2014-07-10 17:41:30 +02:00
|
|
|
'tests/unittests/print_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/process_message_unittest.cc',
|
2013-09-03 18:43:31 +02:00
|
|
|
'tests/unittests/request_context_unittest.cc',
|
2013-07-15 22:25:59 +02:00
|
|
|
'tests/unittests/request_handler_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/request_unittest.cc',
|
2015-05-23 03:57:31 +02:00
|
|
|
'tests/unittests/resource_manager_unittest.cc',
|
2014-01-28 00:31:03 +01:00
|
|
|
'tests/unittests/routing_test_handler.cc',
|
|
|
|
'tests/unittests/routing_test_handler.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/run_all_unittests.cc',
|
|
|
|
'tests/unittests/scheme_handler_unittest.cc',
|
|
|
|
'tests/unittests/stream_unittest.cc',
|
2014-01-31 00:15:55 +01:00
|
|
|
'tests/unittests/stream_resource_handler_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/string_unittest.cc',
|
2012-04-12 22:21:50 +02:00
|
|
|
'tests/unittests/client_app_delegates.cc',
|
2013-01-03 18:24:24 +01:00
|
|
|
'tests/unittests/task_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/test_handler.cc',
|
|
|
|
'tests/unittests/test_handler.h',
|
|
|
|
'tests/unittests/test_suite.cc',
|
|
|
|
'tests/unittests/test_suite.h',
|
|
|
|
'tests/unittests/test_util.cc',
|
|
|
|
'tests/unittests/test_util.h',
|
2012-10-18 00:45:49 +02:00
|
|
|
'tests/unittests/tracing_unittest.cc',
|
2015-04-26 20:40:01 +02:00
|
|
|
'tests/unittests/translator_unittest.cc',
|
2012-06-19 18:29:49 +02:00
|
|
|
'tests/unittests/urlrequest_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/v8_unittest.cc',
|
|
|
|
'tests/unittests/values_unittest.cc',
|
2013-03-25 22:54:53 +01:00
|
|
|
'tests/unittests/version_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/xml_reader_unittest.cc',
|
|
|
|
'tests/unittests/zip_reader_unittest.cc',
|
|
|
|
],
|
|
|
|
'mac_bundle_resources': [
|
2015-01-30 21:22:46 +01:00
|
|
|
'tests/cefclient/resources/osr_test.html',
|
2015-09-09 16:05:39 +02:00
|
|
|
'tests/cefclient/resources/pdf.html',
|
|
|
|
'tests/cefclient/resources/pdf.pdf',
|
2012-04-03 03:34:16 +02:00
|
|
|
'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',
|
2012-05-31 17:27:46 +02:00
|
|
|
# Necessary to avoid an "install_name_tool: changing install names or
|
|
|
|
# rpaths can't be redone" error.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2015-01-31 05:41:36 +01:00
|
|
|
# Necessary to allow unittest files to access cefclient files.
|
|
|
|
'tests',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
'conditions': [
|
2012-11-21 01:40:15 +01:00
|
|
|
[ 'OS=="win"', {
|
2013-11-15 19:47:02 +01:00
|
|
|
'dependencies': [
|
|
|
|
'cef_sandbox',
|
2013-11-21 23:43:36 +01:00
|
|
|
'libcef',
|
2013-11-15 19:47:02 +01:00
|
|
|
],
|
2014-07-01 00:30:29 +02:00
|
|
|
'sources': [
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/browser/resource_util_win.cc',
|
|
|
|
'tests/cefclient/resources/win/cefclient.rc',
|
2014-07-01 00:30:29 +02:00
|
|
|
],
|
2013-08-15 21:38:55 +02:00
|
|
|
'msvs_settings': {
|
|
|
|
'VCManifestTool': {
|
|
|
|
'AdditionalManifestFiles': [
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/resources/win/cefclient.exe.manifest',
|
2013-08-15 21:38:55 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2012-11-21 01:40:15 +01:00
|
|
|
}],
|
2012-04-03 03:34:16 +02:00
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'product_name': 'cef_unittests',
|
|
|
|
'dependencies': [
|
2013-11-21 23:43:36 +01:00
|
|
|
'cef_framework',
|
2012-04-03 03:34:16 +02:00
|
|
|
'cef_unittests_helper_app',
|
|
|
|
],
|
2013-04-09 19:47:14 +02:00
|
|
|
'variables': {
|
|
|
|
'PRODUCT_NAME': 'cef_unittests',
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
'run_as': {
|
|
|
|
'action': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/MacOS/${PRODUCT_NAME}'],
|
|
|
|
},
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
# Add the helper app.
|
2013-04-09 19:47:14 +02:00
|
|
|
'destination': '<(PRODUCT_DIR)/<(PRODUCT_NAME).app/Contents/Frameworks',
|
2012-04-03 03:34:16 +02:00
|
|
|
'files': [
|
2013-04-09 19:47:14 +02:00
|
|
|
'<(PRODUCT_DIR)/<(PRODUCT_NAME) Helper.app',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'postbuilds': [
|
2013-11-21 23:43:36 +01:00
|
|
|
{
|
|
|
|
'postbuild_name': 'Copy <(framework_name).framework',
|
|
|
|
'action': [
|
|
|
|
'../build/mac/copy_framework_unversioned.sh',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/<(framework_name).framework',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks',
|
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
'postbuild_name': 'Fix Framework Link',
|
|
|
|
'action': [
|
|
|
|
'install_name_tool',
|
|
|
|
'-change',
|
2013-11-21 23:43:36 +01:00
|
|
|
'@executable_path/<(framework_name)',
|
|
|
|
'@executable_path/../Frameworks/<(framework_name).framework/<(framework_name)',
|
2012-04-03 03:34:16 +02:00
|
|
|
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
|
|
|
],
|
|
|
|
},
|
2012-09-06 19:42:16 +02:00
|
|
|
{
|
2013-04-09 19:47:14 +02:00
|
|
|
'postbuild_name': 'Copy locale Resources',
|
|
|
|
'action': [
|
|
|
|
'cp',
|
|
|
|
'-Rf',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/locales/',
|
2013-11-21 23:43:36 +01:00
|
|
|
'${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/<(framework_name).framework/Resources/'
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
2012-08-29 00:26:35 +02:00
|
|
|
'--scm=1'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/browser/resource_util_mac.mm',
|
|
|
|
'tests/cefclient/browser/resource_util_posix.cc',
|
2014-07-01 00:30:29 +02:00
|
|
|
'tests/unittests/os_rendering_unittest_mac.h',
|
|
|
|
'tests/unittests/os_rendering_unittest_mac.mm',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/run_all_unittests_mac.mm',
|
|
|
|
],
|
|
|
|
}],
|
2013-04-11 01:53:25 +02:00
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
|
|
|
'dependencies': [
|
2013-11-21 23:43:36 +01:00
|
|
|
'libcef',
|
2013-04-11 01:53:25 +02:00
|
|
|
],
|
2014-07-01 00:30:29 +02:00
|
|
|
'sources': [
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/browser/resource_util_linux.cc',
|
|
|
|
'tests/cefclient/browser/resource_util_posix.cc',
|
2014-07-01 00:30:29 +02:00
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)/files',
|
|
|
|
'files': [
|
2015-01-30 21:22:46 +01:00
|
|
|
'tests/cefclient/resources/osr_test.html',
|
2015-09-09 16:05:39 +02:00
|
|
|
'tests/cefclient/resources/pdf.html',
|
|
|
|
'tests/cefclient/resources/pdf.pdf',
|
2014-07-01 00:30:29 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2015-05-14 17:10:22 +02:00
|
|
|
# Need to fix their ODR violations. See issue #1604.
|
|
|
|
'ldflags!': [
|
|
|
|
'-Wl,--detect-odr-violations',
|
|
|
|
],
|
2013-04-11 01:53:25 +02:00
|
|
|
}],
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'libcef_dll_wrapper',
|
|
|
|
'type': 'static_library',
|
|
|
|
'msvs_guid': 'A9D6DC71-C0DC-4549-AEA0-3B15B44E86A9',
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_common)',
|
|
|
|
'<@(includes_capi)',
|
|
|
|
'<@(includes_wrapper)',
|
|
|
|
'<@(libcef_dll_wrapper_sources_common)',
|
|
|
|
],
|
2013-04-11 01:53:25 +02:00
|
|
|
'conditions': [
|
2013-11-21 23:43:36 +01:00
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'dependencies': [
|
|
|
|
'cef_framework',
|
|
|
|
],
|
|
|
|
}, { # OS!="mac"
|
|
|
|
'dependencies': [
|
|
|
|
'libcef',
|
|
|
|
],
|
|
|
|
}],
|
2013-04-11 01:53:25 +02:00
|
|
|
],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
2012-04-19 22:31:46 +02:00
|
|
|
{
|
|
|
|
# Create the pack file for CEF strings.
|
|
|
|
'target_name': 'cef_strings',
|
|
|
|
'type': 'none',
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'cef_strings',
|
|
|
|
'variables': {
|
|
|
|
'grit_grd_file': 'libcef/resources/cef_strings.grd',
|
|
|
|
},
|
|
|
|
'includes': [ '../build/grit_action.gypi' ],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'includes': [ '../build/grit_target.gypi' ],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
# Create the locale-specific pack files.
|
|
|
|
'target_name': 'cef_locales',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2015-10-17 02:44:00 +02:00
|
|
|
'<(DEPTH)/chrome/chrome_resources.gyp:platform_locale_settings',
|
2015-03-19 23:37:37 +01:00
|
|
|
'<(DEPTH)/components/components_strings.gyp:components_strings',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
|
2015-10-17 02:44:00 +02:00
|
|
|
'<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings',
|
2012-04-19 22:31:46 +02:00
|
|
|
'cef_strings',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
2013-08-19 20:31:42 +02:00
|
|
|
'actions': [
|
2013-04-09 19:47:14 +02:00
|
|
|
{
|
2013-08-19 20:31:42 +02:00
|
|
|
'action_name': 'repack_locales',
|
|
|
|
'inputs': [
|
|
|
|
'tools/repack_locales.py',
|
2013-04-09 19:47:14 +02:00
|
|
|
],
|
2013-08-19 20:31:42 +02:00
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/cef_repack_locales.stamp',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
2013-08-19 20:31:42 +02:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'tools/repack_locales.py',
|
|
|
|
'-g', '<(grit_out_dir)',
|
|
|
|
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
|
|
|
'-x', '<(PRODUCT_DIR)/locales',
|
|
|
|
'<@(locales)',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
2013-08-19 20:31:42 +02:00
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Create the pack file for CEF resources.
|
|
|
|
'target_name': 'cef_resources',
|
|
|
|
'type': 'none',
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'cef_resources',
|
|
|
|
'variables': {
|
2012-04-19 22:31:46 +02:00
|
|
|
'grit_grd_file': 'libcef/resources/cef_resources.grd',
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'includes': [ '../build/grit_action.gypi' ],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'includes': [ '../build/grit_target.gypi' ],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
|
|
|
'<(grit_out_dir)/cef_resources.pak'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2015-07-16 23:40:01 +02:00
|
|
|
{
|
|
|
|
# Create the pack file for component extension resources.
|
|
|
|
'target_name': 'component_extension_resources',
|
|
|
|
'type': 'none',
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'component_extension_resources',
|
|
|
|
'variables': {
|
|
|
|
'grit_grd_file': '../chrome/browser/resources/component_extension_resources.grd',
|
|
|
|
},
|
|
|
|
'includes': [ '../build/grit_action.gypi' ],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'includes': [ '../build/grit_target.gypi' ],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
|
|
|
'<(grit_out_dir)/component_extension_resources.pak'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Combine all extensions-related non-localized pack file resources into a
|
|
|
|
# single CEF pack file. Scaled resources are still in cef_pak.
|
|
|
|
'target_name': 'cef_extensions_pak',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
|
|
|
|
'<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
|
|
|
|
'<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
|
|
|
|
'component_extension_resources',
|
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'make_pack_header_path': 'tools/make_pack_header.py',
|
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'repack_cef_extensions_pack',
|
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
|
|
|
|
'<(grit_out_dir)/component_extension_resources.pak',
|
|
|
|
],
|
|
|
|
'pak_output': '<(PRODUCT_DIR)/cef_extensions.pak',
|
|
|
|
},
|
|
|
|
'includes': [ '../build/repack_action.gypi' ],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
# Combine all non-localized pack file resources into a single CEF pack file.
|
|
|
|
'target_name': 'cef_pak',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2014-09-27 01:48:19 +02:00
|
|
|
'<(DEPTH)/components/components_resources.gyp:components_resources',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(DEPTH)/components/components_strings.gyp:components_strings',
|
|
|
|
'<(DEPTH)/content/app/resources/content_resources.gyp:content_resources',
|
|
|
|
'<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
|
2013-01-15 20:12:28 +01:00
|
|
|
'<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resources',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/net/net.gyp:net_resources',
|
2013-11-26 00:04:25 +01:00
|
|
|
'<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
|
2015-10-15 16:37:05 +02:00
|
|
|
'<(DEPTH)/ui/views/resources/views_resources.gyp:views_resources',
|
2015-07-16 23:40:01 +02:00
|
|
|
'cef_extensions_pak',
|
2012-04-03 03:34:16 +02:00
|
|
|
'cef_locales',
|
|
|
|
'cef_resources',
|
|
|
|
],
|
|
|
|
'variables': {
|
2012-04-19 22:31:46 +02:00
|
|
|
'make_pack_header_path': 'tools/make_pack_header.py',
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'repack_cef_pack',
|
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
|
2014-10-10 19:54:35 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
|
|
|
|
'<(grit_out_dir)/cef_resources.pak',
|
|
|
|
],
|
2014-04-04 18:50:38 +02:00
|
|
|
'pak_output': '<(PRODUCT_DIR)/cef.pak',
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
2014-04-04 18:50:38 +02:00
|
|
|
'includes': [ '../build/repack_action.gypi' ],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
2014-07-08 00:17:33 +02:00
|
|
|
{
|
|
|
|
'action_name': 'repack_cef_100_percent_pack',
|
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
2015-04-20 13:11:11 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_resources_100_percent.pak',
|
2014-10-10 19:54:35 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources_100_percent.pak',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resources_100_percent.pak',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
|
2015-10-15 16:37:05 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/views/resources/views_resources_100_percent.pak',
|
2014-07-08 00:17:33 +02:00
|
|
|
],
|
|
|
|
'pak_output': '<(PRODUCT_DIR)/cef_100_percent.pak',
|
|
|
|
},
|
|
|
|
'includes': [ '../build/repack_action.gypi' ],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'repack_cef_200_percent_pack',
|
|
|
|
'variables': {
|
|
|
|
'pak_inputs': [
|
2015-04-20 13:11:11 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_resources_200_percent.pak',
|
2014-10-10 19:54:35 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources_200_percent.pak',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_200_percent.pak',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resources_200_percent.pak',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_200_percent.pak',
|
2015-10-15 16:37:05 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/views/resources/views_resources_200_percent.pak',
|
2014-07-08 00:17:33 +02:00
|
|
|
],
|
|
|
|
'pak_output': '<(PRODUCT_DIR)/cef_200_percent.pak',
|
|
|
|
},
|
|
|
|
'includes': [ '../build/repack_action.gypi' ],
|
|
|
|
},
|
2012-04-19 22:31:46 +02:00
|
|
|
{
|
|
|
|
'action_name': 'make_pack_resources_header',
|
|
|
|
'variables': {
|
|
|
|
'header_inputs': [
|
2015-01-09 18:22:10 +01:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/blink/grit/devtools_resources.h',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/grit/blink_resources.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/content/grit/content_resources.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/grit/extensions_browser_resources.h',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/grit/extensions_renderer_resources.h',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/grit/extensions_resources.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/net/grit/net_resources.h',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/webui_resources.h',
|
2015-10-15 16:37:05 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/views/resources/grit/views_resources.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
'<(grit_out_dir)/grit/cef_resources.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(grit_out_dir)/grit/component_extension_resources.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(make_pack_header_path)',
|
|
|
|
'<@(header_inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'include/cef_pack_resources.h',
|
|
|
|
],
|
|
|
|
'action': ['python', '<(make_pack_header_path)', '<@(_outputs)',
|
|
|
|
'<@(header_inputs)'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'action_name': 'make_pack_strings_header',
|
|
|
|
'variables': {
|
|
|
|
'header_inputs': [
|
2015-10-17 02:44:00 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/chrome/grit/platform_locale_settings.h',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_strings.h',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/content/app/strings/grit/content_strings.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/extensions/strings/grit/extensions_strings.h',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/strings/grit/ui_strings.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
'<(grit_out_dir)/grit/cef_strings.h',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(make_pack_header_path)',
|
|
|
|
'<@(header_inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'include/cef_pack_strings.h',
|
|
|
|
],
|
|
|
|
'action': ['python', '<(make_pack_header_path)', '<@(_outputs)',
|
|
|
|
'<@(header_inputs)'],
|
|
|
|
},
|
2012-09-06 19:42:16 +02:00
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
# Keep the devtools_resources.pak file separate.
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
'files': [
|
2015-01-09 18:22:10 +01:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak',
|
2012-09-06 19:42:16 +02:00
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'libcef_static',
|
|
|
|
'type': 'static_library',
|
|
|
|
'msvs_guid': 'FA39524D-3067-4141-888D-28A86C66F2B9',
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2013-07-19 00:37:02 +02:00
|
|
|
'<(DEPTH)/third_party/WebKit/public/platform',
|
|
|
|
'<(DEPTH)/third_party/WebKit/public/web',
|
2012-04-03 03:34:16 +02:00
|
|
|
# CEF grit resource includes
|
2013-10-23 21:30:47 +02:00
|
|
|
'<(DEPTH)/cef/libcef/resources/grit_stub',
|
2015-09-09 16:05:39 +02:00
|
|
|
'<(DEPTH)/cef/libcef/resources/grit_stub/chrome',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(grit_out_dir)',
|
2015-10-17 02:44:00 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/chrome',
|
2015-10-09 17:23:12 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/components',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/strings',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-09-12 19:44:54 +02:00
|
|
|
'<(DEPTH)/base/base.gyp:base',
|
|
|
|
'<(DEPTH)/base/base.gyp:base_prefs',
|
2014-04-30 19:14:40 +02:00
|
|
|
'<(DEPTH)/base/base.gyp:base_static',
|
2013-09-12 19:44:54 +02:00
|
|
|
'<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(DEPTH)/cc/blink/cc_blink.gyp:cc_blink',
|
2014-04-30 19:14:40 +02:00
|
|
|
'<(DEPTH)/cc/cc.gyp:cc',
|
2015-04-20 13:11:11 +02:00
|
|
|
# Generate chrome/common/safe_browsing/csd.pb.h required by
|
|
|
|
# zip_analyzer_results.h via chrome_utility_messages.h
|
|
|
|
'<(DEPTH)/chrome/chrome.gyp:safe_browsing_proto',
|
2015-12-09 17:10:16 +01:00
|
|
|
# Generate chrome/common/features.h required by Chrome code that uses
|
|
|
|
# the BUILDFLAG() macro.
|
|
|
|
'<(DEPTH)/chrome/chrome_features.gyp:chrome_common_features',
|
2015-11-10 21:18:16 +01:00
|
|
|
# Generate chrome/common/chrome_version.h required by
|
|
|
|
# chrome/common/chrome_contants.cc
|
|
|
|
'<(DEPTH)/chrome/common_constants.gyp:version_header',
|
2015-08-31 13:28:07 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:cdm_renderer',
|
|
|
|
'<(DEPTH)/components/components.gyp:component_updater',
|
2015-09-09 16:05:39 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:content_settings_core_browser',
|
|
|
|
'<(DEPTH)/components/components.gyp:content_settings_core_common',
|
2015-12-09 17:10:16 +01:00
|
|
|
'<(DEPTH)/components/components.gyp:crash_component_breakpad_to_be_deleted',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:crx_file',
|
2015-10-09 17:23:12 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:data_use_measurement_core',
|
2015-06-06 00:06:48 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:devtools_discovery',
|
2015-04-23 12:03:42 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:devtools_http_handler',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:keyed_service_content',
|
|
|
|
'<(DEPTH)/components/components.gyp:keyed_service_core',
|
2013-09-12 19:44:54 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:navigation_interception',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:pdf_browser',
|
2015-03-25 22:22:47 +01:00
|
|
|
'<(DEPTH)/components/components.gyp:pdf_renderer',
|
2015-06-06 00:06:48 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:plugins_renderer',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:pref_registry',
|
2015-08-14 16:41:08 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:printing_browser',
|
2015-02-04 19:10:14 +01:00
|
|
|
'<(DEPTH)/components/components.gyp:printing_common',
|
|
|
|
'<(DEPTH)/components/components.gyp:printing_renderer',
|
2015-07-24 02:06:56 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:proxy_config',
|
2015-11-10 21:18:16 +01:00
|
|
|
'<(DEPTH)/components/components.gyp:ssl_config',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:update_client',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:user_prefs',
|
2015-08-31 13:28:07 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:version_info',
|
2014-09-27 01:48:19 +02:00
|
|
|
'<(DEPTH)/components/components.gyp:web_cache_renderer',
|
2015-08-14 16:41:08 +02:00
|
|
|
'<(DEPTH)/components/url_formatter/url_formatter.gyp:url_formatter',
|
2013-08-15 21:38:55 +02:00
|
|
|
'<(DEPTH)/content/content.gyp:content_app_both',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/content/content.gyp:content_browser',
|
|
|
|
'<(DEPTH)/content/content.gyp:content_common',
|
|
|
|
'<(DEPTH)/content/content.gyp:content_gpu',
|
|
|
|
'<(DEPTH)/content/content.gyp:content_plugin',
|
|
|
|
'<(DEPTH)/content/content.gyp:content_ppapi_plugin',
|
|
|
|
'<(DEPTH)/content/content.gyp:content_renderer',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(DEPTH)/content/content.gyp:content_resources',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/content/content.gyp:content_utility',
|
2015-03-25 22:22:47 +01:00
|
|
|
'<(DEPTH)/crypto/crypto.gyp:crypto',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/device/core/core.gyp:device_core',
|
|
|
|
'<(DEPTH)/device/hid/hid.gyp:device_hid',
|
|
|
|
'<(DEPTH)/extensions/browser/api/api_registration.gyp:extensions_api_registration',
|
|
|
|
'<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
|
|
|
|
'<(DEPTH)/extensions/extensions.gyp:extensions_browser',
|
|
|
|
'<(DEPTH)/extensions/extensions.gyp:extensions_renderer',
|
|
|
|
'<(DEPTH)/extensions/extensions.gyp:extensions_utility',
|
|
|
|
'<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
|
2014-04-30 19:14:40 +02:00
|
|
|
'<(DEPTH)/gpu/gpu.gyp:gpu',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/ipc/ipc.gyp:ipc',
|
2014-09-27 01:48:19 +02:00
|
|
|
'<(DEPTH)/media/blink/media_blink.gyp:media_blink',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/media/media.gyp:media',
|
|
|
|
'<(DEPTH)/net/net.gyp:net',
|
2015-03-19 23:06:16 +01:00
|
|
|
'<(DEPTH)/net/net.gyp:net_browser_services',
|
2013-02-06 21:41:54 +01:00
|
|
|
'<(DEPTH)/net/net.gyp:net_with_v8',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/pdf/pdf.gyp:pdf',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/skia/skia.gyp:skia',
|
2014-09-27 01:48:19 +02:00
|
|
|
'<(DEPTH)/storage/storage_browser.gyp:storage',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/sync/sync.gyp:sync',
|
|
|
|
'<(DEPTH)/third_party/hunspell/hunspell.gyp:hunspell',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
|
2013-06-22 04:06:32 +02:00
|
|
|
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
|
2013-09-12 19:44:54 +02:00
|
|
|
'<(DEPTH)/third_party/WebKit/Source/core/core.gyp:webcore',
|
2015-08-31 13:28:07 +02:00
|
|
|
'<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
|
|
|
|
'<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
|
2012-11-05 21:18:20 +01:00
|
|
|
'<(DEPTH)/third_party/zlib/zlib.gyp:minizip',
|
2013-01-14 20:21:17 +01:00
|
|
|
'<(DEPTH)/ui/gl/gl.gyp:gl',
|
2015-03-04 02:00:13 +01:00
|
|
|
'<(DEPTH)/ui/base/ime/ui_base_ime.gyp:ui_base_ime',
|
2014-04-04 18:50:38 +02:00
|
|
|
'<(DEPTH)/ui/base/ui_base.gyp:ui_base',
|
2012-04-03 03:34:16 +02:00
|
|
|
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
|
|
|
|
# Necessary to generate the grit include files.
|
|
|
|
'cef_pak',
|
2015-07-16 23:40:01 +02:00
|
|
|
# Necessary to generate API bindings for extensions.
|
|
|
|
'libcef/browser/extensions/api/api_registration.gyp:cef_api_registration',
|
|
|
|
'libcef/common/extensions/api/api.gyp:cef_api',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_common)',
|
2015-02-14 00:17:08 +01:00
|
|
|
'libcef/browser/browser_context.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/browser_context.h',
|
2013-09-03 18:43:31 +02:00
|
|
|
'libcef/browser/browser_context_impl.cc',
|
|
|
|
'libcef/browser/browser_context_impl.h',
|
|
|
|
'libcef/browser/browser_context_proxy.cc',
|
|
|
|
'libcef/browser/browser_context_proxy.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/browser_host_impl.cc',
|
|
|
|
'libcef/browser/browser_host_impl.h',
|
2012-12-30 12:17:49 +01:00
|
|
|
'libcef/browser/browser_info.cc',
|
|
|
|
'libcef/browser/browser_info.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/browser_info_manager.cc',
|
|
|
|
'libcef/browser/browser_info_manager.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/browser_main.cc',
|
|
|
|
'libcef/browser/browser_main.h',
|
|
|
|
'libcef/browser/browser_message_filter.cc',
|
|
|
|
'libcef/browser/browser_message_filter.h',
|
|
|
|
'libcef/browser/browser_message_loop.cc',
|
|
|
|
'libcef/browser/browser_message_loop.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/browser_platform_delegate.cc',
|
|
|
|
'libcef/browser/browser_platform_delegate.h',
|
|
|
|
'libcef/browser/browser_platform_delegate_create.cc',
|
2012-06-19 18:29:49 +02:00
|
|
|
'libcef/browser/browser_urlrequest_impl.cc',
|
|
|
|
'libcef/browser/browser_urlrequest_impl.h',
|
2013-10-23 21:30:47 +02:00
|
|
|
'libcef/browser/chrome_browser_process_stub.cc',
|
|
|
|
'libcef/browser/chrome_browser_process_stub.h',
|
2015-10-17 02:44:00 +02:00
|
|
|
'libcef/browser/chrome_profile_stub.cc',
|
|
|
|
'libcef/browser/chrome_profile_stub.h',
|
2015-11-26 03:53:12 +01:00
|
|
|
'libcef/browser/component_updater/cef_component_updater_configurator.cc',
|
|
|
|
'libcef/browser/component_updater/cef_component_updater_configurator.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/content_browser_client.cc',
|
|
|
|
'libcef/browser/content_browser_client.h',
|
|
|
|
'libcef/browser/context.cc',
|
|
|
|
'libcef/browser/context.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
'libcef/browser/context_menu_params_impl.cc',
|
|
|
|
'libcef/browser/context_menu_params_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/cookie_manager_impl.cc',
|
|
|
|
'libcef/browser/cookie_manager_impl.h',
|
|
|
|
'libcef/browser/devtools_delegate.cc',
|
|
|
|
'libcef/browser/devtools_delegate.h',
|
2013-11-08 17:06:06 +01:00
|
|
|
'libcef/browser/devtools_frontend.cc',
|
|
|
|
'libcef/browser/devtools_frontend.h',
|
2012-06-28 19:21:18 +02:00
|
|
|
'libcef/browser/download_item_impl.cc',
|
|
|
|
'libcef/browser/download_item_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/download_manager_delegate.cc',
|
|
|
|
'libcef/browser/download_manager_delegate.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'libcef/browser/extensions/api/streams_private/streams_private_api.cc',
|
|
|
|
'libcef/browser/extensions/api/streams_private/streams_private_api.h',
|
|
|
|
'libcef/browser/extensions/browser_context_keyed_service_factories.cc',
|
|
|
|
'libcef/browser/extensions/browser_context_keyed_service_factories.h',
|
|
|
|
'libcef/browser/extensions/browser_extensions_util.cc',
|
|
|
|
'libcef/browser/extensions/browser_extensions_util.h',
|
|
|
|
'libcef/browser/extensions/component_extension_resource_manager.cc',
|
|
|
|
'libcef/browser/extensions/component_extension_resource_manager.h',
|
|
|
|
'libcef/browser/extensions/event_router_forwarder.cc',
|
|
|
|
'libcef/browser/extensions/event_router_forwarder.h',
|
|
|
|
'libcef/browser/extensions/extensions_api_client.cc',
|
|
|
|
'libcef/browser/extensions/extensions_api_client.h',
|
|
|
|
'libcef/browser/extensions/extensions_browser_client.cc',
|
|
|
|
'libcef/browser/extensions/extensions_browser_client.h',
|
|
|
|
'libcef/browser/extensions/extension_system.cc',
|
|
|
|
'libcef/browser/extensions/extension_system.h',
|
|
|
|
'libcef/browser/extensions/extension_system_factory.cc',
|
|
|
|
'libcef/browser/extensions/extension_system_factory.h',
|
|
|
|
'libcef/browser/extensions/extension_web_contents_observer.cc',
|
|
|
|
'libcef/browser/extensions/extension_web_contents_observer.h',
|
|
|
|
'libcef/browser/extensions/mime_handler_view_guest_delegate.cc',
|
|
|
|
'libcef/browser/extensions/mime_handler_view_guest_delegate.h',
|
|
|
|
'libcef/browser/extensions/pdf_extension_util.cc',
|
|
|
|
'libcef/browser/extensions/pdf_extension_util.h',
|
|
|
|
'libcef/browser/extensions/pdf_web_contents_helper_client.cc',
|
|
|
|
'libcef/browser/extensions/pdf_web_contents_helper_client.h',
|
|
|
|
'libcef/browser/extensions/url_request_util.cc',
|
|
|
|
'libcef/browser/extensions/url_request_util.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/file_dialog_runner.h',
|
|
|
|
'libcef/browser/file_dialog_manager.cc',
|
|
|
|
'libcef/browser/file_dialog_manager.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/frame_host_impl.cc',
|
|
|
|
'libcef/browser/frame_host_impl.h',
|
2012-10-19 20:39:44 +02:00
|
|
|
'libcef/browser/geolocation_impl.cc',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/javascript_dialog_runner.h',
|
2013-02-23 01:43:28 +01:00
|
|
|
'libcef/browser/javascript_dialog_manager.cc',
|
|
|
|
'libcef/browser/javascript_dialog_manager.h',
|
2013-03-07 02:20:24 +01:00
|
|
|
'libcef/browser/media_capture_devices_dispatcher.cc',
|
|
|
|
'libcef/browser/media_capture_devices_dispatcher.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/menu_manager.cc',
|
|
|
|
'libcef/browser/menu_manager.h',
|
2012-04-19 22:31:46 +02:00
|
|
|
'libcef/browser/menu_model_impl.cc',
|
|
|
|
'libcef/browser/menu_model_impl.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/menu_runner.h',
|
|
|
|
'libcef/browser/native/browser_platform_delegate_native.cc',
|
|
|
|
'libcef/browser/native/browser_platform_delegate_native.h',
|
2014-07-16 23:27:25 +02:00
|
|
|
'libcef/browser/navigate_params.cc',
|
|
|
|
'libcef/browser/navigate_params.h',
|
2014-11-24 20:23:26 +01:00
|
|
|
'libcef/browser/navigation_entry_impl.cc',
|
|
|
|
'libcef/browser/navigation_entry_impl.h',
|
2015-11-26 03:53:12 +01:00
|
|
|
'libcef/browser/net/chrome_scheme_handler.cc',
|
|
|
|
'libcef/browser/net/chrome_scheme_handler.h',
|
|
|
|
'libcef/browser/net/cookie_store_proxy.cc',
|
|
|
|
'libcef/browser/net/cookie_store_proxy.h',
|
|
|
|
'libcef/browser/net/devtools_scheme_handler.cc',
|
|
|
|
'libcef/browser/net/devtools_scheme_handler.h',
|
|
|
|
'libcef/browser/net/internal_scheme_handler.cc',
|
|
|
|
'libcef/browser/net/internal_scheme_handler.h',
|
|
|
|
'libcef/browser/net/network_delegate.cc',
|
|
|
|
'libcef/browser/net/network_delegate.h',
|
|
|
|
'libcef/browser/net/resource_request_job.cc',
|
|
|
|
'libcef/browser/net/resource_request_job.h',
|
2015-12-05 03:58:56 +01:00
|
|
|
'libcef/browser/net/response_filter_wrapper.cc',
|
|
|
|
'libcef/browser/net/response_filter_wrapper.h',
|
2015-11-26 03:53:12 +01:00
|
|
|
'libcef/browser/net/scheme_handler.cc',
|
|
|
|
'libcef/browser/net/scheme_handler.h',
|
|
|
|
'libcef/browser/net/url_request_context.cc',
|
|
|
|
'libcef/browser/net/url_request_context.h',
|
|
|
|
'libcef/browser/net/url_request_context_getter.h',
|
|
|
|
'libcef/browser/net/url_request_context_getter_impl.cc',
|
|
|
|
'libcef/browser/net/url_request_context_getter_impl.h',
|
|
|
|
'libcef/browser/net/url_request_context_getter_proxy.cc',
|
|
|
|
'libcef/browser/net/url_request_context_getter_proxy.h',
|
|
|
|
'libcef/browser/net/url_request_context_impl.h',
|
|
|
|
'libcef/browser/net/url_request_context_proxy.cc',
|
|
|
|
'libcef/browser/net/url_request_context_proxy.h',
|
|
|
|
'libcef/browser/net/url_request_interceptor.cc',
|
|
|
|
'libcef/browser/net/url_request_interceptor.h',
|
|
|
|
'libcef/browser/net/url_request_manager.cc',
|
|
|
|
'libcef/browser/net/url_request_manager.h',
|
|
|
|
'libcef/browser/net/url_request_user_data.cc',
|
|
|
|
'libcef/browser/net/url_request_user_data.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/origin_whitelist_impl.cc',
|
|
|
|
'libcef/browser/origin_whitelist_impl.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr.cc',
|
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr.h',
|
|
|
|
'libcef/browser/osr/osr_util.cc',
|
|
|
|
'libcef/browser/osr/osr_util.h',
|
|
|
|
'libcef/browser/osr/render_widget_host_view_osr.cc',
|
|
|
|
'libcef/browser/osr/render_widget_host_view_osr.h',
|
|
|
|
'libcef/browser/osr/software_output_device_osr.cc',
|
|
|
|
'libcef/browser/osr/software_output_device_osr.h',
|
|
|
|
'libcef/browser/osr/web_contents_view_osr.cc',
|
|
|
|
'libcef/browser/osr/web_contents_view_osr.h',
|
2012-06-26 18:47:05 +02:00
|
|
|
'libcef/browser/path_util_impl.cc',
|
2015-03-25 22:22:47 +01:00
|
|
|
'libcef/browser/pepper/browser_pepper_host_factory.cc',
|
|
|
|
'libcef/browser/pepper/browser_pepper_host_factory.h',
|
|
|
|
'libcef/browser/pepper/pepper_flash_browser_host.cc',
|
|
|
|
'libcef/browser/pepper/pepper_flash_browser_host.h',
|
2015-08-31 13:28:07 +02:00
|
|
|
'libcef/browser/pepper/pepper_isolated_file_system_message_filter.cc',
|
|
|
|
'libcef/browser/pepper/pepper_isolated_file_system_message_filter.h',
|
2015-03-25 22:22:47 +01:00
|
|
|
'libcef/browser/pepper/device_id_fetcher.cc',
|
2015-11-10 21:18:16 +01:00
|
|
|
'libcef/browser/permissions/permission_context.cc',
|
|
|
|
'libcef/browser/permissions/permission_context.h',
|
|
|
|
'libcef/browser/permissions/permission_manager.cc',
|
|
|
|
'libcef/browser/permissions/permission_manager.h',
|
|
|
|
'libcef/browser/permissions/permission_util.cc',
|
|
|
|
'libcef/browser/permissions/permission_util.h',
|
2015-09-09 16:05:39 +02:00
|
|
|
'libcef/browser/plugins/plugin_info_message_filter.cc',
|
|
|
|
'libcef/browser/plugins/plugin_info_message_filter.h',
|
2015-09-25 13:59:30 +02:00
|
|
|
'libcef/browser/plugins/plugin_service_filter.cc',
|
|
|
|
'libcef/browser/plugins/plugin_service_filter.h',
|
2015-10-17 02:44:00 +02:00
|
|
|
'libcef/browser/prefs/browser_prefs.cc',
|
|
|
|
'libcef/browser/prefs/browser_prefs.h',
|
|
|
|
'libcef/browser/prefs/renderer_prefs.cc',
|
|
|
|
'libcef/browser/prefs/renderer_prefs.h',
|
2014-07-10 17:41:30 +02:00
|
|
|
'libcef/browser/print_settings_impl.cc',
|
|
|
|
'libcef/browser/print_settings_impl.h',
|
2013-10-23 21:30:47 +02:00
|
|
|
'libcef/browser/printing/printing_message_filter.cc',
|
|
|
|
'libcef/browser/printing/printing_message_filter.h',
|
|
|
|
'libcef/browser/printing/print_view_manager.cc',
|
|
|
|
'libcef/browser/printing/print_view_manager.h',
|
|
|
|
'libcef/browser/printing/print_view_manager_base.cc',
|
|
|
|
'libcef/browser/printing/print_view_manager_base.h',
|
2012-06-26 18:47:05 +02:00
|
|
|
'libcef/browser/process_util_impl.cc',
|
2013-02-06 21:41:54 +01:00
|
|
|
'libcef/browser/proxy_stubs.cc',
|
2015-02-14 00:17:08 +01:00
|
|
|
'libcef/browser/resource_context.cc',
|
|
|
|
'libcef/browser/resource_context.h',
|
2012-06-25 23:21:27 +02:00
|
|
|
'libcef/browser/resource_dispatcher_host_delegate.cc',
|
|
|
|
'libcef/browser/resource_dispatcher_host_delegate.h',
|
2013-09-03 18:43:31 +02:00
|
|
|
'libcef/browser/request_context_impl.cc',
|
|
|
|
'libcef/browser/request_context_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/scheme_impl.cc',
|
2013-03-08 01:41:26 +01:00
|
|
|
'libcef/browser/speech_recognition_manager_delegate.cc',
|
|
|
|
'libcef/browser/speech_recognition_manager_delegate.h',
|
2015-02-11 19:15:04 +01:00
|
|
|
'libcef/browser/ssl_cert_principal_impl.cc',
|
|
|
|
'libcef/browser/ssl_cert_principal_impl.h',
|
2015-05-19 19:55:58 +02:00
|
|
|
'libcef/browser/ssl_host_state_delegate.cc',
|
|
|
|
'libcef/browser/ssl_host_state_delegate.h',
|
2015-02-11 19:15:04 +01:00
|
|
|
'libcef/browser/ssl_info_impl.cc',
|
|
|
|
'libcef/browser/ssl_info_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/stream_impl.cc',
|
|
|
|
'libcef/browser/stream_impl.h',
|
2012-10-18 00:45:49 +02:00
|
|
|
'libcef/browser/trace_impl.cc',
|
|
|
|
'libcef/browser/trace_subscriber.cc',
|
|
|
|
'libcef/browser/trace_subscriber.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/thread_util.h',
|
2012-04-27 21:12:01 +02:00
|
|
|
'libcef/browser/web_plugin_impl.cc',
|
2012-09-28 22:14:02 +02:00
|
|
|
'libcef/browser/web_plugin_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/browser/xml_reader_impl.cc',
|
|
|
|
'libcef/browser/xml_reader_impl.h',
|
|
|
|
'libcef/browser/zip_reader_impl.cc',
|
|
|
|
'libcef/browser/zip_reader_impl.h',
|
2014-07-11 22:10:05 +02:00
|
|
|
'libcef/common/base_impl.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/cef_message_generator.cc',
|
|
|
|
'libcef/common/cef_message_generator.h',
|
2012-10-04 21:17:13 +02:00
|
|
|
'libcef/common/cef_messages.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/cef_messages.h',
|
|
|
|
'libcef/common/cef_switches.cc',
|
|
|
|
'libcef/common/cef_switches.h',
|
|
|
|
'libcef/common/command_line_impl.cc',
|
|
|
|
'libcef/common/command_line_impl.h',
|
|
|
|
'libcef/common/content_client.cc',
|
|
|
|
'libcef/common/content_client.h',
|
2014-09-27 01:48:19 +02:00
|
|
|
'libcef/common/crash_reporter_client.cc',
|
|
|
|
'libcef/common/crash_reporter_client.h',
|
2013-06-24 17:45:58 +02:00
|
|
|
'libcef/common/drag_data_impl.cc',
|
|
|
|
'libcef/common/drag_data_impl.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'libcef/common/extensions/extensions_client.cc',
|
|
|
|
'libcef/common/extensions/extensions_client.h',
|
|
|
|
'libcef/common/extensions/extensions_util.cc',
|
|
|
|
'libcef/common/extensions/extensions_util.h',
|
2015-04-17 16:19:30 +02:00
|
|
|
'libcef/common/json_impl.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/main_delegate.cc',
|
|
|
|
'libcef/common/main_delegate.h',
|
2015-11-26 03:53:12 +01:00
|
|
|
'libcef/common/net/http_header_utils.cc',
|
|
|
|
'libcef/common/net/http_header_utils.h',
|
|
|
|
'libcef/common/net/net_resource_provider.cc',
|
|
|
|
'libcef/common/net/net_resource_provider.h',
|
|
|
|
'libcef/common/net/scheme_registration.cc',
|
|
|
|
'libcef/common/net/scheme_registration.h',
|
|
|
|
'libcef/common/net/upload_data.cc',
|
|
|
|
'libcef/common/net/upload_data.h',
|
|
|
|
'libcef/common/net/upload_element.cc',
|
|
|
|
'libcef/common/net/upload_element.h',
|
2015-04-09 16:59:34 +02:00
|
|
|
'libcef/common/parser_impl.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/process_message_impl.cc',
|
|
|
|
'libcef/common/process_message_impl.h',
|
|
|
|
'libcef/common/request_impl.cc',
|
|
|
|
'libcef/common/request_impl.h',
|
2015-09-09 16:05:39 +02:00
|
|
|
'libcef/common/resource_bundle_impl.cc',
|
|
|
|
'libcef/common/resource_bundle_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/response_impl.cc',
|
|
|
|
'libcef/common/response_impl.h',
|
|
|
|
'libcef/common/response_manager.cc',
|
|
|
|
'libcef/common/response_manager.h',
|
2012-04-24 20:01:48 +02:00
|
|
|
'libcef/common/scheme_registrar_impl.cc',
|
|
|
|
'libcef/common/scheme_registrar_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/string_list_impl.cc',
|
|
|
|
'libcef/common/string_map_impl.cc',
|
|
|
|
'libcef/common/string_multimap_impl.cc',
|
|
|
|
'libcef/common/string_types_impl.cc',
|
|
|
|
'libcef/common/task_impl.cc',
|
2013-01-03 18:24:24 +01:00
|
|
|
'libcef/common/task_runner_impl.cc',
|
|
|
|
'libcef/common/task_runner_impl.h',
|
2015-04-26 20:40:01 +02:00
|
|
|
'libcef/common/test/translator_test_impl.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/time_impl.cc',
|
|
|
|
'libcef/common/time_util.h',
|
|
|
|
'libcef/common/tracker.cc',
|
|
|
|
'libcef/common/tracker.h',
|
2012-06-19 18:29:49 +02:00
|
|
|
'libcef/common/urlrequest_impl.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/common/value_base.cc',
|
|
|
|
'libcef/common/value_base.h',
|
|
|
|
'libcef/common/values_impl.cc',
|
|
|
|
'libcef/common/values_impl.h',
|
|
|
|
'libcef/renderer/browser_impl.cc',
|
|
|
|
'libcef/renderer/browser_impl.h',
|
|
|
|
'libcef/renderer/content_renderer_client.cc',
|
|
|
|
'libcef/renderer/content_renderer_client.h',
|
2012-04-27 23:19:06 +02:00
|
|
|
'libcef/renderer/dom_document_impl.cc',
|
|
|
|
'libcef/renderer/dom_document_impl.h',
|
|
|
|
'libcef/renderer/dom_node_impl.cc',
|
|
|
|
'libcef/renderer/dom_node_impl.h',
|
2015-08-14 16:41:08 +02:00
|
|
|
'libcef/renderer/extensions/extensions_dispatcher_delegate.cc',
|
|
|
|
'libcef/renderer/extensions/extensions_dispatcher_delegate.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'libcef/renderer/extensions/extensions_renderer_client.cc',
|
|
|
|
'libcef/renderer/extensions/extensions_renderer_client.h',
|
|
|
|
'libcef/renderer/extensions/print_web_view_helper_delegate.cc',
|
|
|
|
'libcef/renderer/extensions/print_web_view_helper_delegate.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/renderer/frame_impl.cc',
|
|
|
|
'libcef/renderer/frame_impl.h',
|
2015-08-31 13:28:07 +02:00
|
|
|
'libcef/renderer/media/cef_key_systems.cc',
|
|
|
|
'libcef/renderer/media/cef_key_systems.h',
|
2015-03-25 22:22:47 +01:00
|
|
|
'libcef/renderer/pepper/pepper_helper.cc',
|
|
|
|
'libcef/renderer/pepper/pepper_helper.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'libcef/renderer/pepper/pepper_uma_host.cc',
|
2015-03-25 22:22:47 +01:00
|
|
|
'libcef/renderer/pepper/renderer_pepper_host_factory.cc',
|
|
|
|
'libcef/renderer/pepper/renderer_pepper_host_factory.h',
|
2015-09-09 16:05:39 +02:00
|
|
|
'libcef/renderer/plugins/cef_plugin_placeholder.cc',
|
|
|
|
'libcef/renderer/plugins/cef_plugin_placeholder.h',
|
|
|
|
'libcef/renderer/plugins/plugin_preroller.cc',
|
|
|
|
'libcef/renderer/plugins/plugin_preroller.h',
|
2014-04-04 18:50:38 +02:00
|
|
|
'libcef/renderer/render_frame_observer.cc',
|
|
|
|
'libcef/renderer/render_frame_observer.h',
|
2012-11-02 19:16:28 +01:00
|
|
|
'libcef/renderer/render_message_filter.cc',
|
|
|
|
'libcef/renderer/render_message_filter.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/renderer/render_process_observer.cc',
|
|
|
|
'libcef/renderer/render_process_observer.h',
|
2012-06-19 18:29:49 +02:00
|
|
|
'libcef/renderer/render_urlrequest_impl.cc',
|
|
|
|
'libcef/renderer/render_urlrequest_impl.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef/renderer/thread_util.h',
|
|
|
|
'libcef/renderer/v8_impl.cc',
|
|
|
|
'libcef/renderer/v8_impl.h',
|
|
|
|
'libcef/renderer/webkit_glue.cc',
|
|
|
|
'libcef/renderer/webkit_glue.h',
|
2014-07-03 20:34:58 +02:00
|
|
|
'libcef/utility/content_utility_client.cc',
|
|
|
|
'libcef/utility/content_utility_client.h',
|
2013-02-06 21:41:54 +01:00
|
|
|
'<(DEPTH)/chrome/common/chrome_switches.cc',
|
|
|
|
'<(DEPTH)/chrome/common/chrome_switches.h',
|
|
|
|
# Include sources for proxy support.
|
|
|
|
'<(DEPTH)/chrome/browser/net/proxy_service_factory.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/net/proxy_service_factory.h',
|
2015-03-19 23:06:16 +01:00
|
|
|
'<(DEPTH)/chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/net/utility_process_mojo_proxy_resolver_factory.h',
|
2014-11-12 20:25:15 +01:00
|
|
|
'<(DEPTH)/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
|
|
|
|
'<(DEPTH)/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
|
|
|
|
'<(DEPTH)/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
|
|
|
|
'<(DEPTH)/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
|
2013-04-04 20:10:17 +02:00
|
|
|
# Include sources for the loadtimes V8 extension.
|
|
|
|
'<(DEPTH)/chrome/renderer/loadtimes_extension_bindings.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/loadtimes_extension_bindings.cc',
|
2013-10-23 21:30:47 +02:00
|
|
|
# Include sources for printing.
|
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job.h',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job_manager.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job_manager.h',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job_worker.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job_worker.h',
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job_worker_owner.cc',
|
2013-10-23 21:30:47 +02:00
|
|
|
'<(DEPTH)/chrome/browser/printing/print_job_worker_owner.h',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/printer_query.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/printer_query.h',
|
2014-12-13 21:18:31 +01:00
|
|
|
'<(DEPTH)/chrome/common/extensions/extension_constants.cc',
|
|
|
|
'<(DEPTH)/chrome/common/extensions/extension_constants.h',
|
2013-10-23 21:30:47 +02:00
|
|
|
# Include header for stub creation (BrowserProcess) so print_job_worker can
|
|
|
|
# determine the current locale.
|
|
|
|
'<(DEPTH)/chrome/browser/browser_process.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/browser_process.h',
|
2014-10-07 22:44:33 +02:00
|
|
|
# Include sources for spell checking support.
|
2015-04-20 13:11:11 +02:00
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/feedback.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/feedback.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/feedback_sender.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/feedback_sender.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/misspelling.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/misspelling.h',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_action.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_action.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_custom_dictionary.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_factory.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_factory.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_host_metrics.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_host_metrics.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_message_filter.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_message_filter.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_service.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_service.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spelling_service_client.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spelling_service_client.h',
|
2015-04-20 13:11:11 +02:00
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/word_trimmer.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/word_trimmer.h',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/chrome/common/chrome_constants.cc',
|
2015-03-25 22:22:47 +01:00
|
|
|
'<(DEPTH)/chrome/common/chrome_constants.h',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/chrome/common/spellcheck_common.cc',
|
|
|
|
'<(DEPTH)/chrome/common/spellcheck_common.h',
|
|
|
|
'<(DEPTH)/chrome/common/spellcheck_marker.h',
|
|
|
|
'<(DEPTH)/chrome/common/spellcheck_messages.h',
|
|
|
|
'<(DEPTH)/chrome/common/spellcheck_result.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/custom_dictionary_engine.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/custom_dictionary_engine.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/hunspell_engine.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/hunspell_engine.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck_language.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck_language.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck_provider.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck_provider.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck_worditerator.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spellcheck_worditerator.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/spelling_engine.h',
|
2015-03-25 22:22:47 +01:00
|
|
|
# Include sources for pepper flash support.
|
|
|
|
'<(DEPTH)/chrome/common/pepper_flash.cc',
|
|
|
|
'<(DEPTH)/chrome/common/pepper_flash.h',
|
|
|
|
'<(DEPTH)/chrome/common/ppapi_utils.cc',
|
|
|
|
'<(DEPTH)/chrome/common/ppapi_utils.h',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.h',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_drm_renderer_host.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_font_file_host.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_font_file_host.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_fullscreen_host.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_fullscreen_host.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_menu_host.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_menu_host.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_renderer_host.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/pepper_flash_renderer_host.h',
|
2015-06-12 00:08:33 +02:00
|
|
|
# Include sources required by chrome_utility_messages.h.
|
|
|
|
'<(DEPTH)/chrome/common/safe_browsing/zip_analyzer_results.h',
|
|
|
|
'<(DEPTH)/chrome/common/safe_browsing/zip_analyzer_results.cc',
|
2015-07-16 23:40:01 +02:00
|
|
|
# Include sources for pepper PDF support.
|
|
|
|
'<(DEPTH)/chrome/child/pdf_child_init.cc',
|
|
|
|
'<(DEPTH)/chrome/child/pdf_child_init.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/chrome_pdf_print_client.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/pepper/chrome_pdf_print_client.h',
|
|
|
|
# Include sources for extensions support.
|
2015-10-12 20:13:13 +02:00
|
|
|
'<(DEPTH)/chrome/common/extensions/chrome_manifest_url_handlers.cc',
|
|
|
|
'<(DEPTH)/chrome/common/extensions/chrome_manifest_url_handlers.h',
|
2015-10-14 20:23:08 +02:00
|
|
|
'<(DEPTH)/chrome/common/extensions/extension_process_policy.cc',
|
|
|
|
'<(DEPTH)/chrome/common/extensions/extension_process_policy.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/chrome/common/pepper_permission_util.cc',
|
|
|
|
'<(DEPTH)/chrome/common/pepper_permission_util.h',
|
2015-10-12 20:13:13 +02:00
|
|
|
'<(DEPTH)/chrome/common/url_constants.cc',
|
|
|
|
'<(DEPTH)/chrome/common/url_constants.h',
|
|
|
|
'<(DEPTH)/chrome/renderer/extensions/resource_request_policy.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/extensions/resource_request_policy.h',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(DEPTH)/extensions/shell/browser/shell_display_info_provider.cc',
|
|
|
|
'<(DEPTH)/extensions/shell/browser/shell_display_info_provider.h',
|
|
|
|
'<(DEPTH)/extensions/shell/browser/shell_web_contents_modal_dialog_manager.cc',
|
|
|
|
'<(grit_out_dir)/grit/component_extension_resources_map.cc',
|
2015-08-31 13:28:07 +02:00
|
|
|
# Include sources for component-updater support.
|
|
|
|
'<(DEPTH)/chrome/browser/component_updater/widevine_cdm_component_installer.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/component_updater/widevine_cdm_component_installer.h',
|
|
|
|
# Include sources for widevine support.
|
|
|
|
'<(DEPTH)/chrome/common/widevine_cdm_constants.cc',
|
|
|
|
'<(DEPTH)/chrome/common/widevine_cdm_constants.h',
|
2015-09-09 16:05:39 +02:00
|
|
|
# Include sources for plugin placeholder support.
|
|
|
|
'<(DEPTH)/chrome/browser/plugins/plugin_finder.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/plugins/plugin_finder.h',
|
|
|
|
'<(DEPTH)/chrome/browser/plugins/plugin_metadata.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/plugins/plugin_metadata.h',
|
2016-01-06 20:20:54 +01:00
|
|
|
'<(DEPTH)/chrome/renderer/plugins/power_saver_info.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/plugins/power_saver_info.h',
|
2015-09-09 16:05:39 +02:00
|
|
|
'<(DEPTH)/components/nacl/common/nacl_constants.cc',
|
|
|
|
'<(DEPTH)/components/nacl/common/nacl_constants.h',
|
2015-10-17 02:44:00 +02:00
|
|
|
# Include sources for preferences support.
|
|
|
|
'<(DEPTH)/base/prefs/testing_pref_store.cc',
|
|
|
|
'<(DEPTH)/base/prefs/testing_pref_store.h',
|
|
|
|
'<(DEPTH)/chrome/browser/accessibility/animation_policy_prefs.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/accessibility/animation_policy_prefs.h',
|
|
|
|
'<(DEPTH)/chrome/browser/character_encoding.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/character_encoding.h',
|
|
|
|
'<(DEPTH)/chrome/browser/defaults.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/defaults.h',
|
|
|
|
'<(DEPTH)/chrome/browser/extensions/extension_webkit_preferences.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/extensions/extension_webkit_preferences.h',
|
|
|
|
'<(DEPTH)/chrome/browser/font_family_cache.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/font_family_cache.h',
|
|
|
|
'<(DEPTH)/chrome/browser/prefs/command_line_pref_store.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/prefs/command_line_pref_store.h',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_preferences_util.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_preferences_util.h',
|
|
|
|
'<(DEPTH)/chrome/browser/ui/prefs/prefs_tab_helper.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/ui/prefs/prefs_tab_helper.h',
|
|
|
|
'<(DEPTH)/chrome/browser/ui/zoom/chrome_zoom_level_prefs.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/ui/zoom/chrome_zoom_level_prefs.h',
|
|
|
|
'<(DEPTH)/chrome/common/pref_font_webkit_names.h',
|
|
|
|
'<(DEPTH)/chrome/common/pref_names.cc',
|
|
|
|
'<(DEPTH)/chrome/common/pref_names.h',
|
|
|
|
'<(DEPTH)/chrome/common/pref_names_util.cc',
|
|
|
|
'<(DEPTH)/chrome/common/pref_names_util.h',
|
2015-11-10 21:18:16 +01:00
|
|
|
# Include sources for permissions support.
|
|
|
|
'<(DEPTH)/chrome/browser/permissions/permission_request_id.h',
|
|
|
|
'<(DEPTH)/chrome/browser/permissions/permission_request_id.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_win)',
|
|
|
|
'libcef/browser/browser_main_win.cc',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/native/browser_platform_delegate_native_win.cc',
|
|
|
|
'libcef/browser/native/browser_platform_delegate_native_win.h',
|
|
|
|
'libcef/browser/native/file_dialog_runner_win.cc',
|
|
|
|
'libcef/browser/native/file_dialog_runner_win.h',
|
|
|
|
'libcef/browser/native/javascript_dialog_runner_win.cc',
|
|
|
|
'libcef/browser/native/javascript_dialog_runner_win.h',
|
2016-01-06 20:20:54 +01:00
|
|
|
'libcef/browser/native/menu_2.cc',
|
|
|
|
'libcef/browser/native/menu_2.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/native/menu_runner_win.cc',
|
|
|
|
'libcef/browser/native/menu_runner_win.h',
|
2016-01-06 20:20:54 +01:00
|
|
|
'libcef/browser/native/menu_wrapper.h',
|
|
|
|
'libcef/browser/native/native_menu_win.cc',
|
|
|
|
'libcef/browser/native/native_menu_win.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr_win.cc',
|
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr_win.h',
|
|
|
|
'libcef/browser/osr/render_widget_host_view_osr_win.cc',
|
2014-07-03 20:34:58 +02:00
|
|
|
# Include sources for printing using PDF.
|
|
|
|
'libcef/utility/printing_handler.cc',
|
|
|
|
'libcef/utility/printing_handler.h',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/pdf_to_emf_converter.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/printing/pdf_to_emf_converter.h',
|
|
|
|
'<(DEPTH)/chrome/common/chrome_utility_printing_messages.h',
|
2015-06-12 00:08:33 +02:00
|
|
|
# Include sources for font cache.
|
|
|
|
'<(DEPTH)/chrome/utility/font_cache_handler_win.cc',
|
|
|
|
'<(DEPTH)/chrome/utility/font_cache_handler_win.h',
|
2014-07-03 20:34:58 +02:00
|
|
|
],
|
|
|
|
}],
|
2012-04-03 03:34:16 +02:00
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_mac)',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/native/browser_platform_delegate_native_mac.h',
|
|
|
|
'libcef/browser/native/browser_platform_delegate_native_mac.mm',
|
|
|
|
'libcef/browser/native/file_dialog_runner_mac.h',
|
|
|
|
'libcef/browser/native/file_dialog_runner_mac.mm',
|
|
|
|
'libcef/browser/native/javascript_dialog_runner_mac.h',
|
|
|
|
'libcef/browser/native/javascript_dialog_runner_mac.mm',
|
|
|
|
'libcef/browser/native/menu_runner_mac.h',
|
|
|
|
'libcef/browser/native/menu_runner_mac.mm',
|
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr_mac.h',
|
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr_mac.mm',
|
|
|
|
'libcef/browser/osr/render_widget_host_view_osr_mac.mm',
|
|
|
|
'libcef/browser/osr/text_input_client_osr_mac.mm',
|
|
|
|
'libcef/browser/osr/text_input_client_osr_mac.h',
|
2015-03-25 22:22:47 +01:00
|
|
|
'libcef/common/util_mac.h',
|
|
|
|
'libcef/common/util_mac.mm',
|
2014-10-07 22:44:33 +02:00
|
|
|
# Include sources for spell checking support.
|
2015-08-14 16:41:08 +02:00
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_message_filter_platform.h',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_message_filter_platform_mac.cc',
|
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_platform.h',
|
2014-10-07 22:44:33 +02:00
|
|
|
'<(DEPTH)/chrome/browser/spellchecker/spellcheck_platform_mac.mm',
|
2015-08-14 16:41:08 +02:00
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/platform_spelling_engine.cc',
|
|
|
|
'<(DEPTH)/chrome/renderer/spellchecker/platform_spelling_engine.h',
|
2015-03-25 22:22:47 +01:00
|
|
|
# Include sources for pepper flash support.
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_host/pepper/monitor_finder_mac.h',
|
|
|
|
'<(DEPTH)/chrome/browser/renderer_host/pepper/monitor_finder_mac.mm',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_linux)',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/native/browser_platform_delegate_native_linux.cc',
|
|
|
|
'libcef/browser/native/browser_platform_delegate_native_linux.h',
|
|
|
|
'libcef/browser/native/menu_runner_linux.cc',
|
|
|
|
'libcef/browser/native/menu_runner_linux.h',
|
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr_linux.cc',
|
|
|
|
'libcef/browser/osr/browser_platform_delegate_osr_linux.h',
|
|
|
|
'libcef/browser/osr/render_widget_host_view_osr_linux.cc',
|
2014-07-10 17:41:30 +02:00
|
|
|
'libcef/browser/printing/print_dialog_linux.cc',
|
|
|
|
'libcef/browser/printing/print_dialog_linux.h',
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/native/window_x11.cc',
|
|
|
|
'libcef/browser/native/window_x11.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
}],
|
2015-04-23 12:03:42 +02:00
|
|
|
['os_posix == 1 and OS != "mac"', {
|
2013-11-21 23:43:36 +01:00
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/components/components.gyp:breakpad_host',
|
|
|
|
],
|
|
|
|
}],
|
2015-08-26 00:33:31 +02:00
|
|
|
['cld_version==2', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl',
|
|
|
|
],
|
|
|
|
}],
|
2013-12-07 02:55:22 +01:00
|
|
|
['use_aura==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/ui/views/controls/webview/webview.gyp:webview',
|
|
|
|
'<(DEPTH)/ui/views/views.gyp:views',
|
2014-05-22 23:01:22 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
2015-11-17 19:20:13 +01:00
|
|
|
'libcef/browser/native/window_delegate_view.cc',
|
|
|
|
'libcef/browser/native/window_delegate_view.h',
|
2014-05-22 23:01:22 +02:00
|
|
|
'<(DEPTH)/ui/views/test/desktop_test_views_delegate.h',
|
2014-06-12 22:28:58 +02:00
|
|
|
'<(DEPTH)/ui/views/test/desktop_test_views_delegate_aura.cc',
|
2014-05-22 23:01:22 +02:00
|
|
|
'<(DEPTH)/ui/views/test/test_views_delegate.h',
|
2014-06-12 22:28:58 +02:00
|
|
|
'<(DEPTH)/ui/views/test/test_views_delegate_aura.cc',
|
2013-12-07 02:55:22 +01:00
|
|
|
],
|
|
|
|
}],
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'conditions': [
|
2012-11-05 21:18:20 +01:00
|
|
|
['os_posix==1 and OS!="mac" and OS!="android" and gcc_version>=46', {
|
2012-04-03 03:34:16 +02: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'],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
['OS=="mac"', {
|
|
|
|
'targets': [
|
2013-11-21 23:43:36 +01:00
|
|
|
{
|
|
|
|
'target_name': 'cef_framework',
|
|
|
|
'type': 'shared_library',
|
|
|
|
'product_name': '<(framework_name)',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'mac_bundle_resources': [
|
|
|
|
'<(PRODUCT_DIR)/cef.pak',
|
2014-07-08 00:17:33 +02:00
|
|
|
'<(PRODUCT_DIR)/cef_100_percent.pak',
|
|
|
|
'<(PRODUCT_DIR)/cef_200_percent.pak',
|
2015-07-16 23:40:01 +02:00
|
|
|
'<(PRODUCT_DIR)/cef_extensions.pak',
|
2013-11-21 23:43:36 +01:00
|
|
|
'<(PRODUCT_DIR)/devtools_resources.pak',
|
2014-02-05 21:35:45 +01:00
|
|
|
'<(PRODUCT_DIR)/icudtl.dat',
|
2014-12-13 21:18:31 +01:00
|
|
|
'<(PRODUCT_DIR)/natives_blob.bin',
|
|
|
|
'<(PRODUCT_DIR)/snapshot_blob.bin',
|
2015-08-31 13:28:07 +02:00
|
|
|
'<(PRODUCT_DIR)/widevinecdmadapter.plugin',
|
2013-11-21 23:43:36 +01:00
|
|
|
'libcef/resources/framework-Info.plist',
|
|
|
|
],
|
|
|
|
'mac_bundle_resources!': [
|
|
|
|
'libcef/resources/framework-Info.plist',
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
|
|
|
# Default path that will be changed by install_name_tool in dependent targets.
|
|
|
|
'INSTALL_PATH': '@executable_path',
|
|
|
|
'DYLIB_INSTALL_NAME_BASE': '@executable_path',
|
|
|
|
'LD_DYLIB_INSTALL_NAME': '@executable_path/<(framework_name)',
|
|
|
|
|
|
|
|
# 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'],
|
|
|
|
|
|
|
|
'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)',
|
|
|
|
'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)',
|
|
|
|
'INFOPLIST_FILE': 'libcef/resources/framework-Info.plist',
|
|
|
|
},
|
|
|
|
'dependencies': [
|
|
|
|
'cef_pak',
|
|
|
|
'libcef_static',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_common)',
|
|
|
|
'<@(includes_capi)',
|
|
|
|
'<@(libcef_sources_common)',
|
|
|
|
],
|
|
|
|
'postbuilds': [
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed. The script explains why
|
|
|
|
# this is needed. This is also done in the chrome target.
|
|
|
|
# The framework needs the Breakpad keys if this feature is
|
|
|
|
# enabled. It does not need the Keystone keys; these always
|
|
|
|
# come from the outer application bundle. The framework
|
|
|
|
# doesn't currently use the SCM keys for anything,
|
|
|
|
# but this seems like a really good place to store them.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
|
|
|
'--breakpad=1',
|
|
|
|
'--keystone=0',
|
|
|
|
'--scm=1',
|
|
|
|
'--version=<(chrome_version)',
|
|
|
|
'--branding=<(framework_name)'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
# Copy binaries for breakpad support.
|
|
|
|
'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
|
|
|
|
'files': [
|
|
|
|
'<(PRODUCT_DIR)/crash_inspector',
|
|
|
|
'<(PRODUCT_DIR)/crash_report_sender.app',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}, # target cef_framework
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
'target_name': 'cefclient_helper_app',
|
|
|
|
'type': 'executable',
|
|
|
|
'variables': { 'enable_wexit_time_destructors': 1, },
|
|
|
|
'product_name': 'cefclient Helper',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'dependencies': [
|
2013-11-21 23:43:36 +01:00
|
|
|
'cef_framework',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
# cefclient includes are relative to the tests directory to make
|
|
|
|
# creation of binary releases easier.
|
|
|
|
'tests'
|
|
|
|
],
|
2012-04-12 23:58:35 +02:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
|
|
|
],
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
'sources': [
|
|
|
|
'<@(cefclient_sources_mac_helper)',
|
|
|
|
],
|
|
|
|
# TODO(mark): Come up with a fancier way to do this. It should only
|
|
|
|
# be necessary to list helper-Info.plist once, not the three times it
|
|
|
|
# is listed here.
|
|
|
|
'mac_bundle_resources!': [
|
2015-01-30 21:55:28 +01:00
|
|
|
'tests/cefclient/resources/mac/helper-Info.plist',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
# TODO(mark): For now, don't put any resources into this app. Its
|
|
|
|
# resources directory will be a symbolic link to the browser app's
|
|
|
|
# resources directory.
|
|
|
|
'mac_bundle_resources/': [
|
|
|
|
['exclude', '.*'],
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
2015-01-30 21:55:28 +01:00
|
|
|
'INFOPLIST_FILE': 'tests/cefclient/resources/mac/helper-Info.plist',
|
2012-05-31 17:27:46 +02:00
|
|
|
# Necessary to avoid an "install_name_tool: changing install names or
|
|
|
|
# rpaths can't be redone" error.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'postbuilds': [
|
|
|
|
{
|
|
|
|
# The framework defines its load-time path
|
|
|
|
# (DYLIB_INSTALL_NAME_BASE) relative to the main executable
|
|
|
|
# (chrome). A different relative path needs to be used in
|
|
|
|
# cefclient_helper_app.
|
|
|
|
'postbuild_name': 'Fix Framework Link',
|
|
|
|
'action': [
|
|
|
|
'install_name_tool',
|
|
|
|
'-change',
|
2013-11-21 23:43:36 +01:00
|
|
|
'@executable_path/<(framework_name)',
|
|
|
|
'@executable_path/../../../../Frameworks/<(framework_name).framework/<(framework_name)',
|
2012-04-03 03:34:16 +02:00
|
|
|
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed. The script explains why this
|
|
|
|
# is needed. This is also done in the chrome and chrome_dll
|
2012-08-29 00:26:35 +02:00
|
|
|
# targets. In this case, --breakpad=0, --keystone=0, and --scm=0
|
|
|
|
# are used because Breakpad, Keystone, and SCM keys are
|
2012-04-03 03:34:16 +02:00
|
|
|
# never placed into the helper.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
|
|
|
'--breakpad=0',
|
|
|
|
'--keystone=0',
|
2012-08-29 00:26:35 +02:00
|
|
|
'--scm=0'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}, # target cefclient_helper_app
|
2013-11-26 23:02:14 +01:00
|
|
|
{
|
|
|
|
'target_name': 'cefsimple_helper_app',
|
|
|
|
'type': 'executable',
|
|
|
|
'variables': { 'enable_wexit_time_destructors': 1, },
|
|
|
|
'product_name': 'cefsimple Helper',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'dependencies': [
|
|
|
|
'cef_framework',
|
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
# cefsimple includes are relative to the tests directory to make
|
|
|
|
# creation of binary releases easier.
|
|
|
|
'tests'
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'<@(cefsimple_sources_mac_helper)',
|
|
|
|
],
|
|
|
|
# TODO(mark): Come up with a fancier way to do this. It should only
|
|
|
|
# be necessary to list helper-Info.plist once, not the three times it
|
|
|
|
# is listed here.
|
|
|
|
'mac_bundle_resources!': [
|
|
|
|
'tests/cefsimple/mac/helper-Info.plist',
|
|
|
|
],
|
|
|
|
# TODO(mark): For now, don't put any resources into this app. Its
|
|
|
|
# resources directory will be a symbolic link to the browser app's
|
|
|
|
# resources directory.
|
|
|
|
'mac_bundle_resources/': [
|
|
|
|
['exclude', '.*'],
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
|
|
|
'INFOPLIST_FILE': 'tests/cefsimple/mac/helper-Info.plist',
|
|
|
|
# Necessary to avoid an "install_name_tool: changing install names or
|
|
|
|
# rpaths can't be redone" error.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
|
|
|
|
},
|
|
|
|
'postbuilds': [
|
|
|
|
{
|
|
|
|
# The framework defines its load-time path
|
|
|
|
# (DYLIB_INSTALL_NAME_BASE) relative to the main executable
|
|
|
|
# (chrome). A different relative path needs to be used in
|
|
|
|
# cefsimple_helper_app.
|
|
|
|
'postbuild_name': 'Fix Framework Link',
|
|
|
|
'action': [
|
|
|
|
'install_name_tool',
|
|
|
|
'-change',
|
|
|
|
'@executable_path/<(framework_name)',
|
|
|
|
'@executable_path/../../../../Frameworks/<(framework_name).framework/<(framework_name)',
|
|
|
|
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed. The script explains why this
|
|
|
|
# is needed. This is also done in the chrome and chrome_dll
|
|
|
|
# targets. In this case, --breakpad=0, --keystone=0, and --scm=0
|
|
|
|
# are used because Breakpad, Keystone, and SCM keys are
|
|
|
|
# never placed into the helper.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
|
|
|
'--breakpad=0',
|
|
|
|
'--keystone=0',
|
|
|
|
'--scm=0'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}, # target cefsimple_helper_app
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
'target_name': 'cef_unittests_helper_app',
|
|
|
|
'type': 'executable',
|
|
|
|
'product_name': 'cef_unittests Helper',
|
|
|
|
'mac_bundle': 1,
|
|
|
|
'dependencies': [
|
|
|
|
'<(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',
|
2013-11-21 23:43:36 +01:00
|
|
|
'cef_framework',
|
2012-04-03 03:34:16 +02:00
|
|
|
'libcef_dll_wrapper',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'USING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2015-01-31 05:41:36 +01:00
|
|
|
# Necessary to allow unittest files to access cefclient files.
|
|
|
|
'tests',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
'sources': [
|
2015-01-31 05:41:36 +01:00
|
|
|
'tests/cefclient/browser/client_app_browser.cc',
|
|
|
|
'tests/cefclient/browser/client_app_browser.h',
|
2015-09-09 16:05:39 +02:00
|
|
|
'tests/cefclient/browser/resource_util.h',
|
|
|
|
'tests/cefclient/browser/resource_util_mac.mm',
|
|
|
|
'tests/cefclient/browser/resource_util_posix.cc',
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/common/client_app.cc',
|
|
|
|
'tests/cefclient/common/client_app.h',
|
2015-01-31 05:41:36 +01:00
|
|
|
'tests/cefclient/common/client_app_other.cc',
|
|
|
|
'tests/cefclient/common/client_app_other.h',
|
2015-01-31 01:55:56 +01:00
|
|
|
'tests/cefclient/common/client_switches.cc',
|
|
|
|
'tests/cefclient/common/client_switches.h',
|
2015-02-02 23:33:35 +01:00
|
|
|
'tests/cefclient/process_helper_mac.cc',
|
2015-01-31 05:41:36 +01:00
|
|
|
'tests/cefclient/renderer/client_app_renderer.cc',
|
|
|
|
'tests/cefclient/renderer/client_app_renderer.h',
|
2012-04-13 00:21:19 +02:00
|
|
|
'tests/unittests/client_app_delegates.cc',
|
2012-04-24 20:01:48 +02:00
|
|
|
'tests/unittests/cookie_unittest.cc',
|
2012-04-27 23:19:06 +02:00
|
|
|
'tests/unittests/dom_unittest.cc',
|
2014-09-24 17:38:11 +02:00
|
|
|
'tests/unittests/frame_unittest.cc',
|
2014-01-28 00:31:03 +01:00
|
|
|
'tests/unittests/message_router_unittest.cc',
|
2012-11-09 19:47:09 +01:00
|
|
|
'tests/unittests/navigation_unittest.cc',
|
2015-09-09 16:05:39 +02:00
|
|
|
'tests/unittests/plugin_unittest.cc',
|
2015-10-03 01:03:16 +02:00
|
|
|
'tests/unittests/preference_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/process_message_unittest.cc',
|
2013-07-15 22:25:59 +02:00
|
|
|
'tests/unittests/request_handler_unittest.cc',
|
2013-11-21 21:59:28 +01:00
|
|
|
'tests/unittests/request_unittest.cc',
|
2014-01-28 00:31:03 +01:00
|
|
|
'tests/unittests/routing_test_handler.cc',
|
|
|
|
'tests/unittests/routing_test_handler.h',
|
2012-04-24 20:01:48 +02:00
|
|
|
'tests/unittests/scheme_handler_unittest.cc',
|
2012-06-19 18:29:49 +02:00
|
|
|
'tests/unittests/urlrequest_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/test_handler.cc',
|
|
|
|
'tests/unittests/test_handler.h',
|
2012-04-24 20:01:48 +02:00
|
|
|
'tests/unittests/test_suite.cc',
|
|
|
|
'tests/unittests/test_suite.h',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/test_util.cc',
|
|
|
|
'tests/unittests/test_util.h',
|
2012-10-18 00:45:49 +02:00
|
|
|
'tests/unittests/tracing_unittest.cc',
|
2012-04-03 03:34:16 +02:00
|
|
|
'tests/unittests/v8_unittest.cc',
|
|
|
|
],
|
|
|
|
# TODO(mark): Come up with a fancier way to do this. It should only
|
|
|
|
# be necessary to list helper-Info.plist once, not the three times it
|
|
|
|
# is listed here.
|
|
|
|
'mac_bundle_resources!': [
|
2015-01-30 21:55:28 +01:00
|
|
|
'tests/cefclient/resources/mac/helper-Info.plist',
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
|
|
|
# TODO(mark): For now, don't put any resources into this app. Its
|
|
|
|
# resources directory will be a symbolic link to the browser app's
|
|
|
|
# resources directory.
|
|
|
|
'mac_bundle_resources/': [
|
|
|
|
['exclude', '.*'],
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
2015-01-30 21:55:28 +01:00
|
|
|
'INFOPLIST_FILE': 'tests/cefclient/resources/mac/helper-Info.plist',
|
2012-05-31 17:27:46 +02:00
|
|
|
# Necessary to avoid an "install_name_tool: changing install names or
|
|
|
|
# rpaths can't be redone" error.
|
|
|
|
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
'postbuilds': [
|
|
|
|
{
|
|
|
|
# The framework defines its load-time path
|
|
|
|
# (DYLIB_INSTALL_NAME_BASE) relative to the main executable
|
|
|
|
# (chrome). A different relative path needs to be used in
|
|
|
|
# cefclient_helper_app.
|
|
|
|
'postbuild_name': 'Fix Framework Link',
|
|
|
|
'action': [
|
|
|
|
'install_name_tool',
|
|
|
|
'-change',
|
2013-11-21 23:43:36 +01:00
|
|
|
'@executable_path/<(framework_name)',
|
|
|
|
'@executable_path/../../../../Frameworks/<(framework_name).framework/<(framework_name)',
|
2012-04-03 03:34:16 +02:00
|
|
|
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Modify the Info.plist as needed. The script explains why this
|
|
|
|
# is needed. This is also done in the chrome and chrome_dll
|
2012-08-29 00:26:35 +02:00
|
|
|
# targets. In this case, --breakpad=0, --keystone=0, and --scm=0
|
|
|
|
# are used because Breakpad, Keystone, and SCM keys are
|
2012-04-03 03:34:16 +02:00
|
|
|
# never placed into the helper.
|
|
|
|
'postbuild_name': 'Tweak Info.plist',
|
|
|
|
'action': ['../build/mac/tweak_info_plist.py',
|
|
|
|
'--breakpad=0',
|
|
|
|
'--keystone=0',
|
2012-08-29 00:26:35 +02:00
|
|
|
'--scm=0'],
|
2012-04-03 03:34:16 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}, # target cef_unittests_helper_app
|
|
|
|
],
|
2013-11-21 23:43:36 +01:00
|
|
|
}, { # OS!="mac"
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'libcef',
|
|
|
|
'type': 'shared_library',
|
|
|
|
'msvs_guid': 'C13650D5-CF1A-4259-BE45-B1EBA6280E47',
|
|
|
|
'dependencies': [
|
|
|
|
'libcef_static',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_CEF_SHARED',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_common)',
|
|
|
|
'<@(includes_capi)',
|
|
|
|
'<@(libcef_sources_common)',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win" and win_use_allocator_shim==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="win"', {
|
|
|
|
'configurations': {
|
|
|
|
'Debug_Base': {
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'sources': [
|
|
|
|
'<@(includes_win)',
|
|
|
|
# TODO(cef): Remove ui_unscaled_resources.rc once custom cursor
|
|
|
|
# resources can be loaded via ResourceBundle. See crbug.com/147663.
|
2014-09-04 19:53:40 +02:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
|
2013-11-21 23:43:36 +01:00
|
|
|
'libcef_dll/libcef_dll.rc',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lcomctl32.lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
# Generate a PDB symbol file for both Debug and Release builds.
|
|
|
|
'GenerateDebugInformation': 'true',
|
|
|
|
},
|
|
|
|
'VCManifestTool': {
|
|
|
|
'AdditionalManifestFiles': [
|
|
|
|
'libcef_dll/libcef.dll.manifest',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}],
|
2014-11-27 03:41:29 +01:00
|
|
|
[ '(OS=="linux" or OS=="freebsd" or OS=="openbsd") and use_allocator!="none"', {
|
2013-11-21 23:43:36 +01:00
|
|
|
'dependencies':[
|
|
|
|
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
}], # OS!="mac"
|
2013-06-27 19:40:04 +02:00
|
|
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'gtk',
|
|
|
|
'type': 'none',
|
|
|
|
'variables': {
|
|
|
|
# gtk requires gmodule, but it does not list it as a dependency
|
|
|
|
# in some misconfigured systems.
|
2013-11-26 23:02:14 +01:00
|
|
|
'gtk_packages': 'gmodule-2.0 gtk+-2.0 gthread-2.0 gtk+-unix-print-2.0',
|
|
|
|
},
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'cflags': [
|
|
|
|
'<!@(pkg-config --cflags <(gtk_packages))',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'link_settings': {
|
|
|
|
'ldflags': [
|
|
|
|
'<!@(pkg-config --libs-only-L --libs-only-other <(gtk_packages))',
|
|
|
|
],
|
|
|
|
'libraries': [
|
|
|
|
'<!@(pkg-config --libs-only-l <(gtk_packages))',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2014-07-01 00:30:29 +02:00
|
|
|
{
|
|
|
|
'target_name': 'gtkglext',
|
|
|
|
'type': 'none',
|
|
|
|
'variables': {
|
|
|
|
# gtkglext is required by the cefclient OSR example.
|
|
|
|
'gtk_packages': 'gtkglext-1.0',
|
|
|
|
},
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'cflags': [
|
|
|
|
'<!@(pkg-config --cflags <(gtk_packages))',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'link_settings': {
|
|
|
|
'ldflags': [
|
|
|
|
'<!@(pkg-config --libs-only-L --libs-only-other <(gtk_packages))',
|
|
|
|
],
|
|
|
|
'libraries': [
|
|
|
|
'<!@(pkg-config --libs-only-l <(gtk_packages))',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2013-06-27 19:40:04 +02:00
|
|
|
],
|
|
|
|
}], # OS=="linux" or OS=="freebsd" or OS=="openbsd"
|
2013-11-15 19:47:02 +01:00
|
|
|
[ 'OS=="win"', {
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'cef_sandbox',
|
|
|
|
'type': 'static_library',
|
|
|
|
'msvs_guid': 'C90B9CA2-2BD2-4140-9DB8-4474785FF360',
|
|
|
|
'dependencies': [
|
|
|
|
'<(DEPTH)/sandbox/sandbox.gyp:sandbox',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'libcef_dll/sandbox/sandbox_win.cc',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}], # OS=="win"
|
2012-04-03 03:34:16 +02:00
|
|
|
],
|
2015-03-25 22:22:47 +01:00
|
|
|
}
|