Remove GYP files.
This removes all .gyp files not called "compiled_resources" in the main Chromium repository. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Review-Url: https://codereview.chromium.org/2332843004 Cr-Commit-Position: refs/heads/master@{#418654}
This commit is contained in:
android_webview
android_webview.gypandroid_webview_shell.gypandroid_webview_tests.gypi
apk
libwebviewchromium.gypinative
snapshot_copying.gypibase
allocator
android
jni_generator
third_party
trace_event
chromeos
components
content
courgette
device
battery
bluetooth
core
device_tests.gypgamepad
geolocation
hid
media_transfer_protocol
nfc
power_save_blocker
sensors
serial
udev_linux
usb
vibration
vr
extensions/components
gin
google_apis
google_update
ios
chrome
common
physical_web
tools
consumer
crnet
ios.gypnet
provider
testing
third_party
blink
earl_grey
fishhook
gcdwebserver
ochamcrest
web
jingle
native_client_sdk
net
pdf
printing
sandbox
skia
storage
testing
third_party
adobe
flash
android_crazy_linker
android_data_chart
android_media
android_opengl
etc1
android_platform
android_protobuf
android_swipe_refresh
apache-portable-runtime
apple_sample_code
ashmem
boringssl
brotli
bspatch
cacheinvalidation
ced
class-dump
cld_2
codesighs
custom_tabs_client
decklink
dom_distiller_js
elfutils
errorprone
expat
fips181
flatbuffers
fontconfig
freetype-android
freetype2
gif_player
google_input_tools
google_toolbox_for_mac
haha
harfbuzz-ng
hunspell
iaccessible2
iccjpeg
instrumented_libraries
isimpledom
jsoncpp
jsr-305
junit
kasko
khronos
leakcanary
leveldatabase
libXNVCtrl
libjingle
libjpeg
liblouis
libphonenumber
libpng
libsync
libusb
libwebm
libwebp
libxml
libxslt
lzma_sdk
mach_override
mesa
minigbm
mockito
modp_b64
molokocacao
mozilla
mt19937ar
netty-tcnative
netty4
ocmock
openh264
ots
protobuf
qcms
re2
robolectric
sfntly
smhasher
snappy
sqlite
sudden_motion_sensor
ub-uiautomator
usrsctp
wayland-protocols
wayland
wds
widevine
woff2
yasm
zlib
url
@ -1,526 +0,0 @@
|
||||
# Copyright 2009 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'system_webview_package_name%': 'com.android.webview',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'android_webview_pak',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'<(DEPTH)/components/components_resources.gyp:components_resources',
|
||||
'<(DEPTH)/content/app/resources/content_resources.gyp:content_resources',
|
||||
'<(DEPTH)/net/net.gyp:net_resources',
|
||||
'<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
|
||||
'<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
|
||||
],
|
||||
'variables': {
|
||||
'conditions': [
|
||||
['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', {
|
||||
'arch_suffix':'32'
|
||||
}],
|
||||
['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', {
|
||||
'arch_suffix':'64'
|
||||
}],
|
||||
],
|
||||
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/android_webview',
|
||||
},
|
||||
'actions': [
|
||||
# GN version: //android_webview:generate_aw_resources
|
||||
{
|
||||
'action_name': 'generate_aw_resources',
|
||||
'variables': {
|
||||
'grit_grd_file': 'ui/aw_resources.grd',
|
||||
},
|
||||
'includes': [ '../build/grit_action.gypi' ],
|
||||
},
|
||||
# GN version: //android_webview:repack_pack
|
||||
{
|
||||
'action_name': 'repack_android_webview_pack',
|
||||
'variables': {
|
||||
'pak_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_resources_100_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
|
||||
'<(grit_out_dir)/aw_resources.pak',
|
||||
],
|
||||
'pak_output': '<(webview_chromium_pak_path)',
|
||||
},
|
||||
'includes': [ '../build/repack_action.gypi' ],
|
||||
},
|
||||
# GN version: //android_webview:generate_aw_strings
|
||||
{
|
||||
'action_name': 'generate_aw_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'ui/aw_strings.grd',
|
||||
},
|
||||
'includes': [ '../build/grit_action.gypi' ],
|
||||
},
|
||||
# GN version: //android_webview:generate_components_strings
|
||||
{
|
||||
'action_name': 'generate_components_strings',
|
||||
'variables': {
|
||||
# components_strings contains strings from all components. WebView
|
||||
# will never display most of them, so we try to limit the included
|
||||
# strings
|
||||
'grit_whitelist': 'ui/grit_components_whitelist.txt',
|
||||
'grit_grd_file': '../components/components_strings.grd',
|
||||
},
|
||||
'includes': [ '../build/grit_action.gypi' ],
|
||||
},
|
||||
# GN Version: //android_webview:repack_locales
|
||||
{
|
||||
'action_name': 'android_webview_repack_locales',
|
||||
'variables': {
|
||||
'repack_locales': 'tools/webview_repack_locales.py',
|
||||
},
|
||||
'inputs': [
|
||||
'<(repack_locales)',
|
||||
'<!@pymod_do_main(webview_repack_locales -i -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(locales))'
|
||||
],
|
||||
'outputs': [
|
||||
'<!@pymod_do_main(webview_repack_locales -o -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(locales))'
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(repack_locales)',
|
||||
'-p', '<(PRODUCT_DIR)',
|
||||
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'<@(locales)',
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview/rename_snapshot_blob
|
||||
{
|
||||
'action_name': 'rename_snapshot_blob',
|
||||
'inputs': [
|
||||
'<(PRODUCT_DIR)/snapshot_blob.bin',
|
||||
],
|
||||
'outputs': [
|
||||
'<(PRODUCT_DIR)/snapshot_blob_<(arch_suffix).bin',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(DEPTH)/build/cp.py',
|
||||
'<@(_inputs)',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview/rename_natives_blob
|
||||
{
|
||||
'action_name': 'rename_natives_blob',
|
||||
'inputs': [
|
||||
'<(PRODUCT_DIR)/natives_blob.bin',
|
||||
],
|
||||
'outputs': [
|
||||
'<(PRODUCT_DIR)/natives_blob_<(arch_suffix).bin',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(DEPTH)/build/cp.py',
|
||||
'<@(_inputs)',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview/generate_webview_license_notice
|
||||
{
|
||||
'action_name': 'generate_webview_license_notice',
|
||||
'inputs': [
|
||||
'<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_deps)',
|
||||
'<(DEPTH)/android_webview/tools/licenses_notice.tmpl',
|
||||
'<(DEPTH)/android_webview/tools/webview_licenses.py',
|
||||
],
|
||||
'outputs': [
|
||||
'<(webview_licenses_path)',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(DEPTH)/android_webview/tools/webview_licenses.py',
|
||||
'notice',
|
||||
'<(webview_licenses_path)',
|
||||
],
|
||||
'message': 'Generating WebView license notice',
|
||||
},
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview/locale_paks
|
||||
{
|
||||
'target_name': 'android_webview_locale_paks',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'locale_pak_files': [
|
||||
'<@(webview_locales_input_common_paks)',
|
||||
'<@(webview_locales_input_individual_paks)',
|
||||
],
|
||||
},
|
||||
'includes': [
|
||||
'../build/android/locale_pak_resources.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //android_webview:strings_grd
|
||||
'target_name': 'android_webview_strings_grd',
|
||||
'android_unmangled_name': 1,
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'grd_file': '../android_webview/java/strings/android_webview_strings.grd',
|
||||
},
|
||||
'includes': [
|
||||
'../build/java_strings_grd.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //android_webview/common:version
|
||||
'target_name': 'android_webview_version',
|
||||
'type': 'none',
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
# Because generate_version generates a header, we must set the
|
||||
# hard_dependency flag.
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_version',
|
||||
'includes': [
|
||||
'../build/util/version.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'template_input_path': 'common/aw_version_info_values.h.version',
|
||||
},
|
||||
'inputs': [
|
||||
'<(version_py_path)',
|
||||
'<(template_input_path)',
|
||||
'<(version_path)',
|
||||
'<(lastchange_path)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/android_webview/common/aw_version_info_values.h',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(version_py_path)',
|
||||
'-f', '<(version_path)',
|
||||
'-f', '<(lastchange_path)',
|
||||
'<(template_input_path)',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
'message': 'Generating version information',
|
||||
},
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview:common
|
||||
{
|
||||
'target_name': 'android_webview_common',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../android_webview/native/webview_native.gyp:webview_native',
|
||||
'../cc/cc.gyp:cc_surfaces',
|
||||
'../components/components.gyp:auto_login_parser',
|
||||
'../components/components.gyp:autofill_content_renderer',
|
||||
'../components/components.gyp:breakpad_host',
|
||||
'../components/components.gyp:cdm_browser',
|
||||
'../components/components.gyp:cdm_renderer',
|
||||
'../components/components.gyp:component_metrics_proto',
|
||||
'../components/components.gyp:crash_component',
|
||||
'../components/components.gyp:metrics',
|
||||
'../components/components.gyp:metrics_gpu',
|
||||
'../components/components.gyp:metrics_net',
|
||||
'../components/components.gyp:metrics_profiler',
|
||||
'../components/components.gyp:metrics_ui',
|
||||
'../components/components.gyp:navigation_interception',
|
||||
'../components/components.gyp:printing_common',
|
||||
'../components/components.gyp:printing_browser',
|
||||
'../components/components.gyp:printing_renderer',
|
||||
'../components/components.gyp:supervised_user_error_page',
|
||||
'../components/components.gyp:supervised_user_error_page_gin',
|
||||
'../components/components.gyp:visitedlink_browser',
|
||||
'../components/components.gyp:visitedlink_renderer',
|
||||
'../components/components.gyp:web_contents_delegate_android',
|
||||
'../components/components.gyp:web_restrictions_browser',
|
||||
'../content/content.gyp:content_app_both',
|
||||
'../content/content.gyp:content_browser',
|
||||
'../gin/gin.gyp:gin',
|
||||
'../gpu/command_buffer/command_buffer.gyp:gles2_utils',
|
||||
'../gpu/gpu.gyp:command_buffer_service',
|
||||
'../gpu/gpu.gyp:gl_in_process_context',
|
||||
'../gpu/gpu.gyp:gles2_c_lib',
|
||||
'../gpu/gpu.gyp:gles2_implementation',
|
||||
'../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
|
||||
'../media/media.gyp:media',
|
||||
'../media/midi/midi.gyp:midi',
|
||||
'../net/net.gyp:net_extras',
|
||||
'../printing/printing.gyp:printing',
|
||||
'../skia/skia.gyp:skia',
|
||||
'../third_party/WebKit/public/blink.gyp:blink',
|
||||
'../ui/events/events.gyp:gesture_detection',
|
||||
'../ui/gl/gl.gyp:gl',
|
||||
'../ui/gl/init/gl_init.gyp:gl_init',
|
||||
'../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
|
||||
'../url/ipc/url_ipc.gyp:url_ipc',
|
||||
'../v8/src/v8.gyp:v8',
|
||||
'android_webview_pak',
|
||||
'android_webview_version',
|
||||
'../components/components.gyp:pref_registry',
|
||||
'../components/url_formatter/url_formatter.gyp:url_formatter',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
'../skia/config',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/',
|
||||
],
|
||||
'sources': [
|
||||
'browser/aw_browser_context.cc',
|
||||
'browser/aw_browser_context.h',
|
||||
'browser/aw_browser_main_parts.cc',
|
||||
'browser/aw_browser_main_parts.h',
|
||||
'browser/aw_browser_permission_request_delegate.h',
|
||||
'browser/aw_browser_policy_connector.cc',
|
||||
'browser/aw_browser_policy_connector.h',
|
||||
'browser/aw_content_browser_client.cc',
|
||||
'browser/aw_content_browser_client.h',
|
||||
'browser/aw_contents_client_bridge_base.cc',
|
||||
'browser/aw_contents_client_bridge_base.h',
|
||||
'browser/aw_contents_io_thread_client.h',
|
||||
'browser/aw_cookie_access_policy.cc',
|
||||
'browser/aw_cookie_access_policy.h',
|
||||
'browser/aw_devtools_manager_delegate.cc',
|
||||
'browser/aw_devtools_manager_delegate.h',
|
||||
'browser/aw_download_manager_delegate.cc',
|
||||
'browser/aw_download_manager_delegate.h',
|
||||
'browser/aw_form_database_service.cc',
|
||||
'browser/aw_form_database_service.h',
|
||||
'browser/aw_gl_surface.cc',
|
||||
'browser/aw_gl_surface.h',
|
||||
'browser/aw_http_auth_handler_base.cc',
|
||||
'browser/aw_http_auth_handler_base.h',
|
||||
'browser/aw_javascript_dialog_manager.cc',
|
||||
'browser/aw_javascript_dialog_manager.h',
|
||||
'browser/aw_locale_manager.h',
|
||||
'browser/aw_login_delegate.cc',
|
||||
'browser/aw_login_delegate.h',
|
||||
'browser/aw_message_port_message_filter.cc',
|
||||
'browser/aw_message_port_message_filter.h',
|
||||
'browser/aw_message_port_service.h',
|
||||
'browser/aw_metrics_service_client.cc',
|
||||
'browser/aw_metrics_service_client.h',
|
||||
'browser/aw_permission_manager.cc',
|
||||
'browser/aw_permission_manager.h',
|
||||
'browser/aw_print_manager.cc',
|
||||
'browser/aw_print_manager.h',
|
||||
'browser/aw_printing_message_filter.cc',
|
||||
'browser/aw_printing_message_filter.h',
|
||||
'browser/aw_quota_manager_bridge.cc',
|
||||
'browser/aw_quota_manager_bridge.h',
|
||||
'browser/aw_quota_permission_context.cc',
|
||||
'browser/aw_quota_permission_context.h',
|
||||
'browser/aw_render_thread_context_provider.cc',
|
||||
'browser/aw_render_thread_context_provider.h',
|
||||
'browser/aw_resource_context.cc',
|
||||
'browser/aw_resource_context.h',
|
||||
'browser/aw_result_codes.h',
|
||||
'browser/aw_ssl_host_state_delegate.cc',
|
||||
'browser/aw_ssl_host_state_delegate.h',
|
||||
'browser/aw_web_preferences_populater.cc',
|
||||
'browser/aw_web_preferences_populater.h',
|
||||
'browser/browser_view_renderer.cc',
|
||||
'browser/browser_view_renderer.h',
|
||||
'browser/browser_view_renderer_client.h',
|
||||
'browser/child_frame.cc',
|
||||
'browser/child_frame.h',
|
||||
'browser/compositor_id.cc',
|
||||
'browser/compositor_id.h',
|
||||
'browser/deferred_gpu_command_service.cc',
|
||||
'browser/deferred_gpu_command_service.h',
|
||||
'browser/find_helper.cc',
|
||||
'browser/find_helper.h',
|
||||
'browser/gl_view_renderer_manager.cc',
|
||||
'browser/gl_view_renderer_manager.h',
|
||||
'browser/hardware_renderer.cc',
|
||||
'browser/hardware_renderer.h',
|
||||
'browser/icon_helper.cc',
|
||||
'browser/icon_helper.h',
|
||||
'browser/input_stream.h',
|
||||
'browser/jni_dependency_factory.h',
|
||||
'browser/net/android_stream_reader_url_request_job.cc',
|
||||
'browser/net/android_stream_reader_url_request_job.h',
|
||||
'browser/net/aw_cookie_store_wrapper.cc',
|
||||
'browser/net/aw_cookie_store_wrapper.h',
|
||||
'browser/net/aw_http_user_agent_settings.cc',
|
||||
'browser/net/aw_http_user_agent_settings.h',
|
||||
'browser/net/aw_network_change_notifier.cc',
|
||||
'browser/net/aw_network_change_notifier.h',
|
||||
'browser/net/aw_network_change_notifier_factory.cc',
|
||||
'browser/net/aw_network_change_notifier_factory.h',
|
||||
'browser/net/aw_network_delegate.cc',
|
||||
'browser/net/aw_network_delegate.h',
|
||||
'browser/net/aw_request_interceptor.cc',
|
||||
'browser/net/aw_request_interceptor.h',
|
||||
'browser/net/aw_url_request_context_getter.cc',
|
||||
'browser/net/aw_url_request_context_getter.h',
|
||||
'browser/net/aw_url_request_job_factory.cc',
|
||||
'browser/net/aw_url_request_job_factory.h',
|
||||
'browser/net/aw_web_resource_response.h',
|
||||
'browser/net/init_native_callback.h',
|
||||
'browser/net/input_stream_reader.cc',
|
||||
'browser/net/input_stream_reader.h',
|
||||
'browser/net/token_binding_manager.cc',
|
||||
'browser/net/token_binding_manager.h',
|
||||
'browser/net_disk_cache_remover.cc',
|
||||
'browser/net_disk_cache_remover.h',
|
||||
'browser/parent_compositor_draw_constraints.cc',
|
||||
'browser/parent_compositor_draw_constraints.h',
|
||||
'browser/parent_output_surface.cc',
|
||||
'browser/parent_output_surface.h',
|
||||
'browser/popup_touch_handle_drawable.cc',
|
||||
'browser/popup_touch_handle_drawable.h',
|
||||
'browser/render_thread_manager.cc',
|
||||
'browser/render_thread_manager.h',
|
||||
'browser/renderer_host/aw_render_view_host_ext.cc',
|
||||
'browser/renderer_host/aw_render_view_host_ext.h',
|
||||
'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc',
|
||||
'browser/renderer_host/aw_resource_dispatcher_host_delegate.h',
|
||||
'browser/scoped_allow_wait_for_legacy_web_view_api.h',
|
||||
'browser/scoped_app_gl_state_restore.cc',
|
||||
'browser/scoped_app_gl_state_restore.h',
|
||||
'common/android_webview_message_generator.cc',
|
||||
'common/android_webview_message_generator.h',
|
||||
'common/aw_content_client.cc',
|
||||
'common/aw_content_client.h',
|
||||
'common/aw_descriptors.h',
|
||||
'common/aw_hit_test_data.cc',
|
||||
'common/aw_hit_test_data.h',
|
||||
'common/aw_media_client_android.cc',
|
||||
'common/aw_media_client_android.h',
|
||||
'common/aw_message_port_messages.h',
|
||||
'common/aw_resource.h',
|
||||
'common/aw_switches.cc',
|
||||
'common/aw_switches.h',
|
||||
'common/devtools_instrumentation.h',
|
||||
'common/render_view_messages.cc',
|
||||
'common/render_view_messages.h',
|
||||
'common/url_constants.cc',
|
||||
'common/url_constants.h',
|
||||
'crash_reporter/aw_microdump_crash_reporter.cc',
|
||||
'crash_reporter/aw_microdump_crash_reporter.h',
|
||||
'gpu/aw_content_gpu_client.cc',
|
||||
'gpu/aw_content_gpu_client.h',
|
||||
'lib/aw_browser_dependency_factory_impl.cc',
|
||||
'lib/aw_browser_dependency_factory_impl.h',
|
||||
'lib/main/aw_main_delegate.cc',
|
||||
'lib/main/aw_main_delegate.h',
|
||||
'lib/main/webview_jni_onload.cc',
|
||||
'lib/main/webview_jni_onload.h',
|
||||
'public/browser/draw_gl.h',
|
||||
'renderer/aw_content_renderer_client.cc',
|
||||
'renderer/aw_content_renderer_client.h',
|
||||
'renderer/aw_content_settings_client.cc',
|
||||
'renderer/aw_content_settings_client.h',
|
||||
'renderer/aw_key_systems.cc',
|
||||
'renderer/aw_key_systems.h',
|
||||
'renderer/aw_message_port_client.cc',
|
||||
'renderer/aw_message_port_client.h',
|
||||
'renderer/aw_print_web_view_helper_delegate.cc',
|
||||
'renderer/aw_print_web_view_helper_delegate.h',
|
||||
'renderer/aw_render_frame_ext.cc',
|
||||
'renderer/aw_render_frame_ext.h',
|
||||
'renderer/aw_render_thread_observer.cc',
|
||||
'renderer/aw_render_thread_observer.h',
|
||||
'renderer/aw_render_view_ext.cc',
|
||||
'renderer/aw_render_view_ext.h',
|
||||
'renderer/print_render_frame_observer.cc',
|
||||
'renderer/print_render_frame_observer.h',
|
||||
],
|
||||
'conditions': [
|
||||
['configuration_policy==1', {
|
||||
'dependencies': [
|
||||
'../components/components.gyp:policy',
|
||||
'../components/components.gyp:policy_component',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview:libwebviewchromium
|
||||
{
|
||||
'target_name': 'libwebviewchromium',
|
||||
'includes': [
|
||||
'libwebviewchromium.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //android_webview:android_webview_java
|
||||
'target_name': 'android_webview_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../android_webview/native/webview_native.gyp:android_webview_aw_permission_request_resource',
|
||||
'../components/components.gyp:external_video_surface_java',
|
||||
'../components/components.gyp:navigation_interception_java',
|
||||
'../components/components.gyp:web_contents_delegate_android_java',
|
||||
'../components/components.gyp:web_restrictions_java_browser',
|
||||
'../content/content.gyp:content_java',
|
||||
'../ui/android/ui_android.gyp:ui_java',
|
||||
'android_webview_locale_paks',
|
||||
'android_webview_strings_grd',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../android_webview/java',
|
||||
'has_java_resources': 1,
|
||||
'R_package': 'org.chromium.android_webview',
|
||||
'R_package_relpath': 'org/chromium/android_webview',
|
||||
# for lint; do not use the system webview's manifest because it's a template
|
||||
'android_manifest_path': '../android_webview/test/shell/AndroidManifest.xml',
|
||||
},
|
||||
'conditions': [
|
||||
['configuration_policy==1', {
|
||||
'dependencies': [
|
||||
'../components/components.gyp:policy_java',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'includes': [ '../build/java.gypi' ],
|
||||
},
|
||||
# GN version: //android_webview/glue
|
||||
{
|
||||
'target_name': 'system_webview_glue_java',
|
||||
'variables': {
|
||||
'android_sdk_jar': '../third_party/android_platform/webview/frameworks_6.0.jar',
|
||||
'java_in_dir': 'glue/java',
|
||||
},
|
||||
'includes': [ 'apk/system_webview_glue_common.gypi' ],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['use_webview_internal_framework==0', {
|
||||
'targets': [
|
||||
# GN version: //android_webview:system_webview_apk
|
||||
{
|
||||
'target_name': 'system_webview_apk',
|
||||
'dependencies': [
|
||||
'system_webview_glue_java',
|
||||
],
|
||||
'variables': {
|
||||
'apk_name': 'SystemWebView',
|
||||
'android_sdk_jar': '../third_party/android_platform/webview/frameworks_6.0.jar',
|
||||
'java_in_dir': '../build/android/empty',
|
||||
'resource_dir': 'apk/java/res',
|
||||
'android_manifest_template_vars': ['package=<(system_webview_package_name)'],
|
||||
},
|
||||
'includes': [ 'apk/system_webview_apk_common.gypi' ],
|
||||
},
|
||||
],
|
||||
}]
|
||||
],
|
||||
'includes': [
|
||||
'android_webview_tests.gypi',
|
||||
'apk/system_webview_paks.gypi',
|
||||
],
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets': [
|
||||
# GN: //android_webview/tools:system_webview_shell_apk
|
||||
{
|
||||
'target_name': 'system_webview_shell_apk',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'apk_name': 'SystemWebViewShell',
|
||||
'java_in_dir': 'tools/system_webview_shell/apk',
|
||||
'resource_dir': 'tools/system_webview_shell/apk/res',
|
||||
'android_manifest_path': 'tools/system_webview_shell/apk/AndroidManifest.xml', # for lint
|
||||
},
|
||||
'includes': [
|
||||
'../build/java_apk.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
# android_webview_apk creates a .jar as a side effect. Any java
|
||||
# targets that need that .jar in their classpath should depend on this
|
||||
# target. For more details see the content_shell_apk_java target.
|
||||
'target_name': 'system_webview_shell_apk_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'system_webview_shell_apk',
|
||||
],
|
||||
'includes': [ '../build/apk_fake_jar.gypi' ],
|
||||
},
|
||||
# GN: //android_webview/tools:system_webview_shell_page_cycler_apk
|
||||
{
|
||||
'target_name': 'system_webview_shell_page_cycler_apk',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_java_test_support',
|
||||
'../content/content_shell_and_tests.gyp:content_java_test_support',
|
||||
'../testing/android/on_device_instrumentation.gyp:broker_java',
|
||||
'../testing/android/on_device_instrumentation.gyp:require_driver_apk',
|
||||
'system_webview_shell_apk_java',
|
||||
],
|
||||
'variables': {
|
||||
'apk_name': 'SystemWebViewShellPageCycler',
|
||||
'java_in_dir': '../android_webview/tools/system_webview_shell/page_cycler',
|
||||
'is_test_apk': 1,
|
||||
'test_type': 'instrumentation',
|
||||
'android_manifest_path': '../android_webview/tools/system_webview_shell/page_cycler/AndroidManifest.xml',
|
||||
},
|
||||
'includes': [
|
||||
'../build/java_apk.gypi',
|
||||
'../build/android/test_runner.gypi',
|
||||
],
|
||||
},
|
||||
# GN: //android_webview/tools:system_webview_shell_layout_test_apk
|
||||
{
|
||||
'target_name': 'system_webview_shell_layout_test_apk',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_java_test_support',
|
||||
'../testing/android/on_device_instrumentation.gyp:broker_java',
|
||||
'../testing/android/on_device_instrumentation.gyp:require_driver_apk',
|
||||
'system_webview_shell_apk_java',
|
||||
],
|
||||
'variables': {
|
||||
'apk_name': 'SystemWebViewShellLayoutTest',
|
||||
'java_in_dir': '../android_webview/tools/system_webview_shell/layout_tests',
|
||||
'is_test_apk': 1,
|
||||
'test_type': 'instrumentation',
|
||||
'isolate_file': 'system_webview_shell_test_apk.isolate',
|
||||
'android_manifest_path': '../android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml',
|
||||
},
|
||||
'includes': [
|
||||
'../build/java_apk.gypi',
|
||||
'../build/android/test_runner.gypi',
|
||||
]
|
||||
},
|
||||
],
|
||||
}
|
@ -1,281 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets': [
|
||||
# GN: //android_webview/test:android_webview_apk
|
||||
{
|
||||
'target_name': 'android_webview_apk',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'libstandalonelibwebviewchromium',
|
||||
'android_webview_java',
|
||||
'android_webview_pak',
|
||||
'libdrawgl',
|
||||
'../base/base.gyp:base_java_test_support',
|
||||
'../components/components.gyp:policy_java_test_support'
|
||||
],
|
||||
'variables': {
|
||||
'apk_name': 'AndroidWebView',
|
||||
'java_in_dir': 'test/shell',
|
||||
'native_lib_target': 'libstandalonelibwebviewchromium',
|
||||
'native_lib_version_name': '<(version_full)',
|
||||
'resource_dir': 'test/shell/res',
|
||||
'extensions_to_not_compress': '.lpak,.pak,.dat,.bin',
|
||||
'asset_location': '<(PRODUCT_DIR)/android_webview_apk/assets',
|
||||
'extra_native_libs': ['<(SHARED_LIB_DIR)/libdrawgl.>(android_product_extension)'],
|
||||
'snapshot_copy_files': '<(snapshot_copy_files)',
|
||||
'additional_input_paths': [
|
||||
'<(asset_location)/webviewchromium.pak',
|
||||
'<(asset_location)/asset_file.html',
|
||||
'<(asset_location)/cookie_test.html',
|
||||
'<(asset_location)/asset_icon.png',
|
||||
'<(asset_location)/full_screen_video.js',
|
||||
'<(asset_location)/full_screen_video_test.html',
|
||||
'<(asset_location)/full_screen_video_inside_div_test.html',
|
||||
'<(asset_location)/multiple_videos_test.html',
|
||||
'<(asset_location)/platform-media-codec-test.html',
|
||||
'<(asset_location)/video.3gp',
|
||||
'<(asset_location)/video.webm',
|
||||
'<(asset_location)/visual_state_during_fullscreen_test.html',
|
||||
'<(asset_location)/visual_state_waits_for_js_test.html',
|
||||
'<(asset_location)/visual_state_waits_for_js_detached_test.html',
|
||||
'<(asset_location)/visual_state_on_page_commit_visible_test.html',
|
||||
'<@(snapshot_additional_input_paths)',
|
||||
],
|
||||
'conditions': [
|
||||
['icu_use_data_file_flag==1', {
|
||||
'additional_input_paths': [
|
||||
'<(asset_location)/icudtl.dat',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'includes': [ 'snapshot_copying.gypi' ],
|
||||
},
|
||||
'copies': [
|
||||
{
|
||||
'destination': '<(asset_location)',
|
||||
'files': [
|
||||
'<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak',
|
||||
'<(java_in_dir)/assets/asset_file.html',
|
||||
'<(java_in_dir)/assets/asset_icon.png',
|
||||
'<(java_in_dir)/assets/cookie_test.html',
|
||||
'<(java_in_dir)/assets/full_screen_video.js',
|
||||
'<(java_in_dir)/assets/full_screen_video_test.html',
|
||||
'<(java_in_dir)/assets/full_screen_video_inside_div_test.html',
|
||||
'<(java_in_dir)/assets/multiple_videos_test.html',
|
||||
'<(java_in_dir)/assets/platform-media-codec-test.html',
|
||||
'<(java_in_dir)/assets/video.3gp',
|
||||
'<(java_in_dir)/assets/video.webm',
|
||||
'<(java_in_dir)/assets/visual_state_during_fullscreen_test.html',
|
||||
'<(java_in_dir)/assets/visual_state_waits_for_js_test.html',
|
||||
'<(java_in_dir)/assets/visual_state_waits_for_js_detached_test.html',
|
||||
'<(java_in_dir)/assets/visual_state_on_page_commit_visible_test.html',
|
||||
'<@(snapshot_copy_files)',
|
||||
],
|
||||
'conditions': [
|
||||
['icu_use_data_file_flag==1', {
|
||||
'files': [
|
||||
'<(PRODUCT_DIR)/icudtl.dat',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
'includes': [
|
||||
'../build/java_apk.gypi',
|
||||
'../build/util/version.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
# android_webview_apk creates a .jar as a side effect. Any java
|
||||
# targets that need that .jar in their classpath should depend on this
|
||||
# target. For more details see the content_shell_apk_java target.
|
||||
'target_name': 'android_webview_apk_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'android_webview_apk',
|
||||
],
|
||||
'includes': [ '../build/apk_fake_jar.gypi' ],
|
||||
},
|
||||
# GN: //android_webview/test:android_webview_test_apk
|
||||
{
|
||||
'target_name': 'android_webview_test_apk',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_java_test_support',
|
||||
'../components/components.gyp:policy_java_test_support',
|
||||
'../content/content_shell_and_tests.gyp:content_java_test_support',
|
||||
'../net/net.gyp:net_java_test_support',
|
||||
'../testing/android/on_device_instrumentation.gyp:broker_java',
|
||||
'../testing/android/on_device_instrumentation.gyp:require_driver_apk',
|
||||
'android_webview_apk_java',
|
||||
],
|
||||
'variables': {
|
||||
'apk_name': 'AndroidWebViewTest',
|
||||
'java_in_dir': '../android_webview/javatests',
|
||||
'is_test_apk': 1,
|
||||
'test_type': 'instrumentation',
|
||||
'isolate_file': 'android_webview_test_data.isolate',
|
||||
},
|
||||
'includes': [
|
||||
'../build/java_apk.gypi',
|
||||
'../build/android/test_runner.gypi',
|
||||
],
|
||||
},
|
||||
# GN: //android_webview/test:android_webview_unittests
|
||||
{
|
||||
'target_name': 'android_webview_unittests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../content/content_shell_and_tests.gyp:test_support_content',
|
||||
'../net/net.gyp:net_test_support',
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
'../testing/gmock.gyp:gmock',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'../ui/base/ui_base.gyp:ui_base_jni_headers',
|
||||
'../ui/gl/gl.gyp:gl',
|
||||
'../ui/gl/init/gl_init.gyp:gl_init',
|
||||
'../ui/gl/gl.gyp:gl_test_support',
|
||||
'android_webview_common',
|
||||
'android_webview_unittests_jni',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
'../skia/config',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/android_webview_unittests',
|
||||
],
|
||||
'sources': [
|
||||
'browser/aw_form_database_service_unittest.cc',
|
||||
'browser/aw_permission_manager_unittest.cc',
|
||||
'browser/aw_static_cookie_policy_unittest.cc',
|
||||
'browser/browser_view_renderer_unittest.cc',
|
||||
'browser/net/android_stream_reader_url_request_job_unittest.cc',
|
||||
'browser/net/aw_cookie_store_wrapper_unittest.cc',
|
||||
'browser/net/input_stream_reader_unittest.cc',
|
||||
'browser/test/fake_window.cc',
|
||||
'browser/test/fake_window.h',
|
||||
'browser/test/rendering_test.cc',
|
||||
'browser/test/rendering_test.h',
|
||||
'lib/main/webview_tests.cc',
|
||||
'native/aw_contents_client_bridge_unittest.cc',
|
||||
'native/aw_media_url_interceptor_unittest.cc',
|
||||
'native/input_stream_unittest.cc',
|
||||
'native/permission/media_access_permission_request_unittest.cc',
|
||||
'native/permission/permission_request_handler_unittest.cc',
|
||||
'native/state_serializer_unittest.cc',
|
||||
],
|
||||
},
|
||||
# GN: //android_webview/test:android_webview_unittest_java
|
||||
{
|
||||
'target_name': 'android_webview_unittest_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_java_test_support',
|
||||
'../content/content_shell_and_tests.gyp:content_java_test_support',
|
||||
'android_webview_java',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../android_webview/unittestjava',
|
||||
},
|
||||
'includes': [ '../build/java.gypi' ],
|
||||
},
|
||||
# GN: //android_webview/test:android_webview_unittests_jni
|
||||
{
|
||||
'target_name': 'android_webview_unittests_jni',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'../android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java',
|
||||
'../android_webview/unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsClientBridge.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'android_webview_unittests',
|
||||
},
|
||||
'includes': [ '../build/jni_generator.gypi' ],
|
||||
},
|
||||
# GN: //android_webview/test:android_webview_unittests_apk
|
||||
{
|
||||
'target_name': 'android_webview_unittests_apk',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'android_webview_unittest_java',
|
||||
'android_webview_unittests',
|
||||
],
|
||||
'variables': {
|
||||
'test_suite_name': 'android_webview_unittests',
|
||||
'additional_input_paths': [
|
||||
'<(PRODUCT_DIR)/android_webview_unittests_apk/assets/asset_file.ogg',
|
||||
],
|
||||
},
|
||||
'copies': [
|
||||
{
|
||||
'destination': '<(PRODUCT_DIR)/android_webview_unittests_apk/assets',
|
||||
'files': [
|
||||
'test/unittest/assets/asset_file.ogg',
|
||||
],
|
||||
},
|
||||
],
|
||||
'includes': [ '../build/apk_test.gypi' ],
|
||||
},
|
||||
# GN: //android_webview/test:libdrawgl
|
||||
{
|
||||
'target_name': 'libdrawgl',
|
||||
'type': 'shared_library',
|
||||
# Do not depend on any other component here, since this target
|
||||
# builds a separate shared library!
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'variables': {
|
||||
# This library uses native JNI exports; tell gyp so that the required
|
||||
# symbols will be kept.
|
||||
'use_native_jni_exports': 1,
|
||||
},
|
||||
'sources': [
|
||||
'../android_webview/test/shell/src/draw_gl/draw_gl.cc',
|
||||
],
|
||||
},
|
||||
# GN: //android_webview/test:libstandalonelibwebviewchromium
|
||||
{
|
||||
'target_name': 'libstandalonelibwebviewchromium',
|
||||
'includes': [
|
||||
'libwebviewchromium.gypi',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"',
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'android_webview_test_apk_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'android_webview_test_apk',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'android_webview_test_apk.isolate',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'android_webview_unittests_apk_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'android_webview_unittests_apk',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'android_webview_unittests_apk.isolate',
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
],
|
||||
]
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# When making changes remember that this is shared with the internal .apk
|
||||
# build rules.
|
||||
{
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium',
|
||||
],
|
||||
'variables': {
|
||||
'native_lib_target': 'libwebviewchromium',
|
||||
'native_lib_version_name': '<(version_full)',
|
||||
'shared_resources': 1,
|
||||
'extensions_to_not_compress': '.lpak,.pak,.bin,.dat',
|
||||
'asset_location': '<(INTERMEDIATE_DIR)/assets/',
|
||||
'snapshot_copy_files': '<(snapshot_copy_files)',
|
||||
'jinja_inputs': ['<(android_manifest_template_path)'],
|
||||
'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml',
|
||||
'jinja_variables': [ '<@(android_manifest_template_vars)' ],
|
||||
'android_manifest_template_vars': [ ],
|
||||
'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/AndroidManifest.xml',
|
||||
'android_manifest_path': '<(jinja_output)',
|
||||
'proguard_enabled': 'true',
|
||||
'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags'],
|
||||
# TODO: crbug.com/405035 Find a better solution for WebView .pak files.
|
||||
'additional_input_paths': [
|
||||
'<(asset_location)/webviewchromium.pak',
|
||||
'<(asset_location)/webview_licenses.notice',
|
||||
'<@(snapshot_additional_input_paths)',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/util/version.gypi',
|
||||
'../snapshot_copying.gypi',
|
||||
],
|
||||
'conditions': [
|
||||
['icu_use_data_file_flag==1', {
|
||||
'additional_input_paths': [
|
||||
'<(asset_location)/icudtl.dat',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'copies': [
|
||||
{
|
||||
'destination': '<(asset_location)',
|
||||
'files': [
|
||||
'<(webview_licenses_path)',
|
||||
'<(webview_chromium_pak_path)',
|
||||
'<@(snapshot_copy_files)',
|
||||
],
|
||||
'conditions': [
|
||||
['icu_use_data_file_flag==1', {
|
||||
'files': [
|
||||
'<(PRODUCT_DIR)/icudtl.dat',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
'includes': [
|
||||
'system_webview_paks.gypi',
|
||||
'../../build/java_apk.gypi',
|
||||
'../../build/android/jinja_template.gypi',
|
||||
],
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# This is shared between system_webview_glue_java and system_webview_glue_next_java
|
||||
{
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'<(DEPTH)/android_webview/android_webview.gyp:android_webview_java',
|
||||
'<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak',
|
||||
],
|
||||
'variables': {
|
||||
'resource_rewriter_package': 'com.android.webview.chromium',
|
||||
'resource_rewriter_dir': '<(intermediate_dir)/resource_rewriter',
|
||||
'resource_rewriter_path': '<(resource_rewriter_dir)/com/android/webview/chromium/ResourceRewriter.java',
|
||||
'additional_input_paths': ['<(resource_rewriter_path)'],
|
||||
'generated_src_dirs': ['<(resource_rewriter_dir)'],
|
||||
},
|
||||
'actions': [
|
||||
# Generate ResourceRewriter.java
|
||||
{
|
||||
'action_name': 'generate_resource_rewriter',
|
||||
'message': 'generate ResourceRewriter for <(_target_name)',
|
||||
'inputs':[
|
||||
'<(DEPTH)/build/android/gyp/util/build_utils.py',
|
||||
'<(DEPTH)/build/android/gyp/generate_resource_rewriter.py',
|
||||
'>@(dependencies_res_zip_paths)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(resource_rewriter_path)',
|
||||
],
|
||||
'action': [
|
||||
'python', '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py',
|
||||
'--package-name', '<(resource_rewriter_package)',
|
||||
'--dep-packages', '>(additional_res_packages)',
|
||||
'--output-dir', '<(resource_rewriter_dir)',
|
||||
],
|
||||
},
|
||||
],
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# This file defines the name of webviewchromium.pak and the set of locales that
|
||||
# should be packed inside the System WebView apk, these files also are used in
|
||||
# downstream.
|
||||
# TODO: consider unifying this list with the one in chrome_android_paks.gypi
|
||||
# once Chrome includes all the locales that the WebView needs.
|
||||
{
|
||||
'variables': {
|
||||
'webview_licenses_path': '<(PRODUCT_DIR)/android_webview_assets/webview_licenses.notice',
|
||||
'webview_chromium_pak_path': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak',
|
||||
'webview_locales_input_paks_folder': '<(PRODUCT_DIR)/android_webview_assets/locales/',
|
||||
# The list of locale are only supported by WebView.
|
||||
'webview_locales_input_individual_paks': [
|
||||
'<(webview_locales_input_paks_folder)/bn.pak',
|
||||
'<(webview_locales_input_paks_folder)/et.pak',
|
||||
'<(webview_locales_input_paks_folder)/gu.pak',
|
||||
'<(webview_locales_input_paks_folder)/kn.pak',
|
||||
'<(webview_locales_input_paks_folder)/ml.pak',
|
||||
'<(webview_locales_input_paks_folder)/mr.pak',
|
||||
'<(webview_locales_input_paks_folder)/ms.pak',
|
||||
'<(webview_locales_input_paks_folder)/ta.pak',
|
||||
'<(webview_locales_input_paks_folder)/te.pak',
|
||||
],
|
||||
# The list of locale are supported by chrome too.
|
||||
'webview_locales_input_common_paks': [
|
||||
'<(webview_locales_input_paks_folder)/am.pak',
|
||||
'<(webview_locales_input_paks_folder)/ar.pak',
|
||||
'<(webview_locales_input_paks_folder)/bg.pak',
|
||||
'<(webview_locales_input_paks_folder)/ca.pak',
|
||||
'<(webview_locales_input_paks_folder)/cs.pak',
|
||||
'<(webview_locales_input_paks_folder)/da.pak',
|
||||
'<(webview_locales_input_paks_folder)/de.pak',
|
||||
'<(webview_locales_input_paks_folder)/el.pak',
|
||||
'<(webview_locales_input_paks_folder)/en-GB.pak',
|
||||
'<(webview_locales_input_paks_folder)/en-US.pak',
|
||||
'<(webview_locales_input_paks_folder)/es.pak',
|
||||
'<(webview_locales_input_paks_folder)/es-419.pak',
|
||||
'<(webview_locales_input_paks_folder)/fa.pak',
|
||||
'<(webview_locales_input_paks_folder)/fi.pak',
|
||||
'<(webview_locales_input_paks_folder)/fil.pak',
|
||||
'<(webview_locales_input_paks_folder)/fr.pak',
|
||||
'<(webview_locales_input_paks_folder)/he.pak',
|
||||
'<(webview_locales_input_paks_folder)/hi.pak',
|
||||
'<(webview_locales_input_paks_folder)/hr.pak',
|
||||
'<(webview_locales_input_paks_folder)/hu.pak',
|
||||
'<(webview_locales_input_paks_folder)/id.pak',
|
||||
'<(webview_locales_input_paks_folder)/it.pak',
|
||||
'<(webview_locales_input_paks_folder)/ja.pak',
|
||||
'<(webview_locales_input_paks_folder)/ko.pak',
|
||||
'<(webview_locales_input_paks_folder)/lt.pak',
|
||||
'<(webview_locales_input_paks_folder)/lv.pak',
|
||||
'<(webview_locales_input_paks_folder)/nb.pak',
|
||||
'<(webview_locales_input_paks_folder)/nl.pak',
|
||||
'<(webview_locales_input_paks_folder)/pl.pak',
|
||||
'<(webview_locales_input_paks_folder)/pt-BR.pak',
|
||||
'<(webview_locales_input_paks_folder)/pt-PT.pak',
|
||||
'<(webview_locales_input_paks_folder)/ro.pak',
|
||||
'<(webview_locales_input_paks_folder)/ru.pak',
|
||||
'<(webview_locales_input_paks_folder)/sk.pak',
|
||||
'<(webview_locales_input_paks_folder)/sl.pak',
|
||||
'<(webview_locales_input_paks_folder)/sr.pak',
|
||||
'<(webview_locales_input_paks_folder)/sv.pak',
|
||||
'<(webview_locales_input_paks_folder)/sw.pak',
|
||||
'<(webview_locales_input_paks_folder)/th.pak',
|
||||
'<(webview_locales_input_paks_folder)/tr.pak',
|
||||
'<(webview_locales_input_paks_folder)/uk.pak',
|
||||
'<(webview_locales_input_paks_folder)/vi.pak',
|
||||
'<(webview_locales_input_paks_folder)/zh-CN.pak',
|
||||
'<(webview_locales_input_paks_folder)/zh-TW.pak',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
@ -1,16 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'type': 'shared_library',
|
||||
'android_unmangled_name': 1,
|
||||
'dependencies': [
|
||||
'android_webview_common',
|
||||
],
|
||||
'variables': {
|
||||
'use_native_jni_exports': 1,
|
||||
},
|
||||
'sources': [
|
||||
'lib/main/webview_entry_point.cc',
|
||||
],
|
||||
}
|
@ -1,188 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //android_webview/native:native
|
||||
'target_name': 'webview_native',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base_static',
|
||||
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../../cc/cc.gyp:cc',
|
||||
'../../components/components.gyp:autofill_content_browser',
|
||||
'../../components/components.gyp:web_contents_delegate_android',
|
||||
'../../components/components_strings.gyp:components_strings',
|
||||
'../../content/content.gyp:content_common',
|
||||
'../../media/media.gyp:player_android',
|
||||
'../../net/net.gyp:net',
|
||||
'../../skia/skia.gyp:skia',
|
||||
'../../storage/storage_browser.gyp:storage',
|
||||
'../../storage/storage_common.gyp:storage_common',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'../../ui/gfx/gfx.gyp:gfx',
|
||||
'../../ui/gfx/gfx.gyp:gfx_geometry',
|
||||
'../../third_party/boringssl/boringssl.gyp:boringssl',
|
||||
'android_webview_native_jni',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
'../../skia/config',
|
||||
'../../third_party/protobuf/src',
|
||||
'<(protoc_out_dir)',
|
||||
],
|
||||
'sources': [
|
||||
'android_protocol_handler.cc',
|
||||
'android_protocol_handler.h',
|
||||
'android_webview_jni_registrar.cc',
|
||||
'android_webview_jni_registrar.h',
|
||||
'aw_autofill_client.cc',
|
||||
'aw_autofill_client.h',
|
||||
'aw_browser_dependency_factory.cc',
|
||||
'aw_browser_dependency_factory.h',
|
||||
'aw_contents.cc',
|
||||
'aw_contents.h',
|
||||
'aw_contents_background_thread_client.cc',
|
||||
'aw_contents_background_thread_client.h',
|
||||
'aw_contents_client_bridge.cc',
|
||||
'aw_contents_client_bridge.h',
|
||||
'aw_contents_io_thread_client_impl.cc',
|
||||
'aw_contents_io_thread_client_impl.h',
|
||||
'aw_contents_lifecycle_notifier.cc',
|
||||
'aw_contents_lifecycle_notifier.h',
|
||||
'aw_contents_statics.cc',
|
||||
'aw_contents_statics.h',
|
||||
'aw_debug.cc',
|
||||
'aw_debug.h',
|
||||
'aw_devtools_server.cc',
|
||||
'aw_devtools_server.h',
|
||||
'aw_form_database.cc',
|
||||
'aw_form_database.h',
|
||||
'aw_gl_functor.cc',
|
||||
'aw_gl_functor.h',
|
||||
'aw_http_auth_handler.cc',
|
||||
'aw_http_auth_handler.h',
|
||||
'aw_locale_manager_impl.cc',
|
||||
'aw_locale_manager_impl.h',
|
||||
'aw_media_url_interceptor.cc',
|
||||
'aw_media_url_interceptor.h',
|
||||
'aw_message_port_service_impl.cc',
|
||||
'aw_message_port_service_impl.h',
|
||||
'aw_metrics_switch.cc',
|
||||
'aw_metrics_switch.h',
|
||||
'aw_pdf_exporter.cc',
|
||||
'aw_pdf_exporter.h',
|
||||
'aw_picture.cc',
|
||||
'aw_picture.h',
|
||||
'aw_quota_manager_bridge_impl.cc',
|
||||
'aw_quota_manager_bridge_impl.h',
|
||||
'aw_resource.cc',
|
||||
'aw_settings.cc',
|
||||
'aw_settings.h',
|
||||
'aw_web_contents_delegate.cc',
|
||||
'aw_web_contents_delegate.h',
|
||||
'aw_web_contents_view_delegate.cc',
|
||||
'aw_web_contents_view_delegate.h',
|
||||
'aw_web_preferences_populater_impl.cc',
|
||||
'aw_web_preferences_populater_impl.h',
|
||||
'aw_web_resource_response_impl.cc',
|
||||
'aw_web_resource_response_impl.h',
|
||||
'cookie_manager.cc',
|
||||
'cookie_manager.h',
|
||||
'input_stream_impl.cc',
|
||||
'input_stream_impl.h',
|
||||
'java_browser_view_renderer_helper.cc',
|
||||
'java_browser_view_renderer_helper.h',
|
||||
'net_init_native_callback.cc',
|
||||
'permission/aw_permission_request.cc',
|
||||
'permission/aw_permission_request.h',
|
||||
'permission/aw_permission_request_delegate.cc',
|
||||
'permission/aw_permission_request_delegate.h',
|
||||
'permission/media_access_permission_request.cc',
|
||||
'permission/media_access_permission_request.h',
|
||||
'permission/permission_request_handler.cc',
|
||||
'permission/permission_request_handler.h',
|
||||
'permission/permission_request_handler_client.cc',
|
||||
'permission/permission_request_handler_client.h',
|
||||
'permission/simple_permission_request.cc',
|
||||
'permission/simple_permission_request.h',
|
||||
'state_serializer.cc',
|
||||
'state_serializer.h',
|
||||
'token_binding_manager_bridge.cc',
|
||||
'token_binding_manager_bridge.h',
|
||||
],
|
||||
'conditions': [
|
||||
['video_hole==1', {
|
||||
'dependencies': [
|
||||
'../../components/components.gyp:external_video_surface',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //android_webview/native:cancellation_signal_android_jar_jni_headers'
|
||||
'target_name': 'cancellation_signal_android_jar_jni_headers',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'jni_gen_package': 'android_webview',
|
||||
'input_java_class': 'android/os/CancellationSignal.class',
|
||||
},
|
||||
'includes': [ '../../build/jar_file_jni_generator.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //android_webview/native:native_jni
|
||||
'target_name': 'android_webview_native_jni',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'../java/src/org/chromium/android_webview/AndroidProtocolHandler.java',
|
||||
'../java/src/org/chromium/android_webview/AwAutofillClient.java',
|
||||
'../java/src/org/chromium/android_webview/AwContents.java',
|
||||
'../java/src/org/chromium/android_webview/AwContentsBackgroundThreadClient.java',
|
||||
'../java/src/org/chromium/android_webview/AwContentsClientBridge.java',
|
||||
'../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java',
|
||||
'../java/src/org/chromium/android_webview/AwContentsLifecycleNotifier.java',
|
||||
'../java/src/org/chromium/android_webview/AwContentsStatics.java',
|
||||
'../java/src/org/chromium/android_webview/AwCookieManager.java',
|
||||
'../java/src/org/chromium/android_webview/AwDebug.java',
|
||||
'../java/src/org/chromium/android_webview/AwDevToolsServer.java',
|
||||
'../java/src/org/chromium/android_webview/AwFormDatabase.java',
|
||||
'../java/src/org/chromium/android_webview/AwGLFunctor.java',
|
||||
'../java/src/org/chromium/android_webview/AwHttpAuthHandler.java',
|
||||
'../java/src/org/chromium/android_webview/AwMessagePortService.java',
|
||||
'../java/src/org/chromium/android_webview/AwMetricsServiceClient.java',
|
||||
'../java/src/org/chromium/android_webview/AwPdfExporter.java',
|
||||
'../java/src/org/chromium/android_webview/AwPicture.java',
|
||||
'../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java',
|
||||
'../java/src/org/chromium/android_webview/AwResource.java',
|
||||
'../java/src/org/chromium/android_webview/AwSettings.java',
|
||||
'../java/src/org/chromium/android_webview/AwTokenBindingManager.java',
|
||||
'../java/src/org/chromium/android_webview/AwWebContentsDelegate.java',
|
||||
'../java/src/org/chromium/android_webview/AwWebResourceResponse.java',
|
||||
'../java/src/org/chromium/android_webview/InputStreamUtil.java',
|
||||
'../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java',
|
||||
'../java/src/org/chromium/android_webview/permission/AwPermissionRequest.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'android_webview',
|
||||
},
|
||||
'includes': [ '../../build/jni_generator.gypi' ],
|
||||
'dependencies': [
|
||||
'cancellation_signal_android_jar_jni_headers',
|
||||
],
|
||||
},
|
||||
# GN version: //android_webview/native:aw_permission_request_resource'
|
||||
{
|
||||
'target_name': 'android_webview_aw_permission_request_resource',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'source_file': 'permission/aw_permission_request.h',
|
||||
},
|
||||
'includes': [ '../../build/android/java_cpp_enum.gypi' ],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{
|
||||
'variables': {
|
||||
'snapshot_additional_input_paths': [],
|
||||
'snapshot_copy_files': [],
|
||||
'conditions': [
|
||||
['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', {
|
||||
'snapshot_additional_input_paths': [
|
||||
'<(asset_location)/natives_blob_32.bin',
|
||||
'<(asset_location)/snapshot_blob_32.bin',
|
||||
],
|
||||
'snapshot_copy_files': [
|
||||
'<(PRODUCT_DIR)/natives_blob_32.bin',
|
||||
'<(PRODUCT_DIR)/snapshot_blob_32.bin',
|
||||
],
|
||||
}],
|
||||
['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', {
|
||||
'snapshot_additional_input_paths': [
|
||||
'<(asset_location)/natives_blob_64.bin',
|
||||
'<(asset_location)/snapshot_blob_64.bin',
|
||||
],
|
||||
'snapshot_copy_files': [
|
||||
'<(PRODUCT_DIR)/natives_blob_64.bin',
|
||||
'<(PRODUCT_DIR)/snapshot_blob_64.bin',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
}
|
@ -1,458 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'target_defaults': {
|
||||
'variables': {
|
||||
# This code gets run a lot and debugged rarely, so it should be fast
|
||||
# by default. See http://crbug.com/388949.
|
||||
'debug_optimize': '2',
|
||||
'win_debug_Optimization': '0',
|
||||
# Run time checks are incompatible with any level of optimizations.
|
||||
'win_debug_RuntimeChecks': '0',
|
||||
},
|
||||
},
|
||||
'variables': {
|
||||
'tcmalloc_dir': '../../third_party/tcmalloc/chromium',
|
||||
'use_vtable_verify%': 0,
|
||||
# Provide a way to force disable debugallocation in Debug builds
|
||||
# e.g. for profiling (it's more rare to profile Debug builds,
|
||||
# but people sometimes need to do that).
|
||||
'disable_debugallocation%': 0,
|
||||
},
|
||||
'targets': [
|
||||
# The only targets that should depend on allocator are 'base' and
|
||||
# executables that don't depend, directly or indirectly, on base (a few).
|
||||
# All the other targets get a transitive dependency on this target via base.
|
||||
{
|
||||
'target_name': 'allocator',
|
||||
'variables': {
|
||||
'conditions': [
|
||||
['use_allocator!="none" or (OS=="win" and win_use_allocator_shim==1)', {
|
||||
'allocator_target_type%': 'static_library',
|
||||
}, {
|
||||
'allocator_target_type%': 'none',
|
||||
}],
|
||||
],
|
||||
},
|
||||
'type': '<(allocator_target_type)',
|
||||
'toolsets': ['host', 'target'],
|
||||
'conditions': [
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'msvs_settings': {
|
||||
# TODO(sgk): merge this with build/common.gypi settings
|
||||
'VCLibrarianTool': {
|
||||
'AdditionalOptions': ['/ignore:4006,4221'],
|
||||
},
|
||||
'VCLinkerTool': {
|
||||
'AdditionalOptions': ['/ignore:4006'],
|
||||
},
|
||||
},
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'allocator_shim_win.cc',
|
||||
'allocator_shim_win.h',
|
||||
'winheap_stubs_win.cc',
|
||||
'winheap_stubs_win.h',
|
||||
],
|
||||
'configurations': {
|
||||
'Debug_Base': {
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'RuntimeLibrary': '0',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}], # OS=="win"
|
||||
['use_allocator=="tcmalloc"', {
|
||||
# Disable the heap checker in tcmalloc.
|
||||
'defines': [
|
||||
'NO_HEAP_CHECK',
|
||||
],
|
||||
'dependencies': [
|
||||
'../third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
],
|
||||
# The order of this include_dirs matters, as tc-malloc has its own
|
||||
# base/ mini-fork. Do not factor these out of this conditions section.
|
||||
'include_dirs': [
|
||||
'.',
|
||||
'<(tcmalloc_dir)/src/base',
|
||||
'<(tcmalloc_dir)/src',
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
# Generated for our configuration from tcmalloc's build
|
||||
# and checked in.
|
||||
'<(tcmalloc_dir)/src/config.h',
|
||||
'<(tcmalloc_dir)/src/config_android.h',
|
||||
'<(tcmalloc_dir)/src/config_linux.h',
|
||||
'<(tcmalloc_dir)/src/config_win.h',
|
||||
|
||||
# all tcmalloc native and forked files
|
||||
'<(tcmalloc_dir)/src/addressmap-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/abort.cc',
|
||||
'<(tcmalloc_dir)/src/base/abort.h',
|
||||
'<(tcmalloc_dir)/src/base/arm_instruction_set_select.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-arm-generic.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-arm-v6plus.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-macosx.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-windows.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-x86.cc',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-x86.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops.h',
|
||||
'<(tcmalloc_dir)/src/base/commandlineflags.h',
|
||||
'<(tcmalloc_dir)/src/base/cycleclock.h',
|
||||
# We don't list dynamic_annotations.c since its copy is already
|
||||
# present in the dynamic_annotations target.
|
||||
'<(tcmalloc_dir)/src/base/dynamic_annotations.h',
|
||||
'<(tcmalloc_dir)/src/base/elf_mem_image.cc',
|
||||
'<(tcmalloc_dir)/src/base/elf_mem_image.h',
|
||||
'<(tcmalloc_dir)/src/base/elfcore.h',
|
||||
'<(tcmalloc_dir)/src/base/googleinit.h',
|
||||
'<(tcmalloc_dir)/src/base/linux_syscall_support.h',
|
||||
'<(tcmalloc_dir)/src/base/linuxthreads.cc',
|
||||
'<(tcmalloc_dir)/src/base/linuxthreads.h',
|
||||
'<(tcmalloc_dir)/src/base/logging.cc',
|
||||
'<(tcmalloc_dir)/src/base/logging.h',
|
||||
'<(tcmalloc_dir)/src/base/low_level_alloc.cc',
|
||||
'<(tcmalloc_dir)/src/base/low_level_alloc.h',
|
||||
'<(tcmalloc_dir)/src/base/simple_mutex.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock.cc',
|
||||
'<(tcmalloc_dir)/src/base/spinlock.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_internal.cc',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_internal.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_linux-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_posix-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_win32-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/stl_allocator.h',
|
||||
'<(tcmalloc_dir)/src/base/synchronization_profiling.h',
|
||||
'<(tcmalloc_dir)/src/base/sysinfo.cc',
|
||||
'<(tcmalloc_dir)/src/base/sysinfo.h',
|
||||
'<(tcmalloc_dir)/src/base/thread_annotations.h',
|
||||
'<(tcmalloc_dir)/src/base/thread_lister.c',
|
||||
'<(tcmalloc_dir)/src/base/thread_lister.h',
|
||||
'<(tcmalloc_dir)/src/base/vdso_support.cc',
|
||||
'<(tcmalloc_dir)/src/base/vdso_support.h',
|
||||
'<(tcmalloc_dir)/src/central_freelist.cc',
|
||||
'<(tcmalloc_dir)/src/central_freelist.h',
|
||||
'<(tcmalloc_dir)/src/common.cc',
|
||||
'<(tcmalloc_dir)/src/common.h',
|
||||
'<(tcmalloc_dir)/src/debugallocation.cc',
|
||||
'<(tcmalloc_dir)/src/free_list.cc',
|
||||
'<(tcmalloc_dir)/src/free_list.h',
|
||||
'<(tcmalloc_dir)/src/getpc.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/heap-checker.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/heap-profiler.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_extension.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_extension_c.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_hook.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_hook_c.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/profiler.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/stacktrace.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/tcmalloc.h',
|
||||
'<(tcmalloc_dir)/src/heap-checker-bcad.cc',
|
||||
'<(tcmalloc_dir)/src/heap-checker.cc',
|
||||
'<(tcmalloc_dir)/src/heap-profile-table.cc',
|
||||
'<(tcmalloc_dir)/src/heap-profile-table.h',
|
||||
'<(tcmalloc_dir)/src/heap-profiler.cc',
|
||||
'<(tcmalloc_dir)/src/internal_logging.cc',
|
||||
'<(tcmalloc_dir)/src/internal_logging.h',
|
||||
'<(tcmalloc_dir)/src/libc_override.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_gcc_and_weak.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_glibc.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_osx.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_redefine.h',
|
||||
'<(tcmalloc_dir)/src/linked_list.h',
|
||||
'<(tcmalloc_dir)/src/malloc_extension.cc',
|
||||
'<(tcmalloc_dir)/src/malloc_hook-inl.h',
|
||||
'<(tcmalloc_dir)/src/malloc_hook.cc',
|
||||
'<(tcmalloc_dir)/src/malloc_hook_mmap_freebsd.h',
|
||||
'<(tcmalloc_dir)/src/malloc_hook_mmap_linux.h',
|
||||
'<(tcmalloc_dir)/src/maybe_threads.cc',
|
||||
'<(tcmalloc_dir)/src/maybe_threads.h',
|
||||
'<(tcmalloc_dir)/src/memfs_malloc.cc',
|
||||
'<(tcmalloc_dir)/src/memory_region_map.cc',
|
||||
'<(tcmalloc_dir)/src/memory_region_map.h',
|
||||
'<(tcmalloc_dir)/src/packed-cache-inl.h',
|
||||
'<(tcmalloc_dir)/src/page_heap.cc',
|
||||
'<(tcmalloc_dir)/src/page_heap.h',
|
||||
'<(tcmalloc_dir)/src/page_heap_allocator.h',
|
||||
'<(tcmalloc_dir)/src/pagemap.h',
|
||||
'<(tcmalloc_dir)/src/profile-handler.cc',
|
||||
'<(tcmalloc_dir)/src/profile-handler.h',
|
||||
'<(tcmalloc_dir)/src/profiledata.cc',
|
||||
'<(tcmalloc_dir)/src/profiledata.h',
|
||||
'<(tcmalloc_dir)/src/profiler.cc',
|
||||
'<(tcmalloc_dir)/src/raw_printer.cc',
|
||||
'<(tcmalloc_dir)/src/raw_printer.h',
|
||||
'<(tcmalloc_dir)/src/sampler.cc',
|
||||
'<(tcmalloc_dir)/src/sampler.h',
|
||||
'<(tcmalloc_dir)/src/span.cc',
|
||||
'<(tcmalloc_dir)/src/span.h',
|
||||
'<(tcmalloc_dir)/src/stack_trace_table.cc',
|
||||
'<(tcmalloc_dir)/src/stack_trace_table.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace.cc',
|
||||
'<(tcmalloc_dir)/src/stacktrace_arm-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_config.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_generic-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_libunwind-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_powerpc-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_win32-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_with_context.cc',
|
||||
'<(tcmalloc_dir)/src/stacktrace_x86-inl.h',
|
||||
'<(tcmalloc_dir)/src/static_vars.cc',
|
||||
'<(tcmalloc_dir)/src/static_vars.h',
|
||||
'<(tcmalloc_dir)/src/symbolize.cc',
|
||||
'<(tcmalloc_dir)/src/symbolize.h',
|
||||
'<(tcmalloc_dir)/src/system-alloc.cc',
|
||||
'<(tcmalloc_dir)/src/system-alloc.h',
|
||||
'<(tcmalloc_dir)/src/tcmalloc.cc',
|
||||
'<(tcmalloc_dir)/src/tcmalloc_guard.h',
|
||||
'<(tcmalloc_dir)/src/thread_cache.cc',
|
||||
'<(tcmalloc_dir)/src/thread_cache.h',
|
||||
|
||||
'debugallocation_shim.cc',
|
||||
],
|
||||
# sources! means that these are not compiled directly.
|
||||
'sources!': [
|
||||
# We simply don't use these, but list them above so that IDE
|
||||
# users can view the full available source for reference, etc.
|
||||
'<(tcmalloc_dir)/src/addressmap-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-macosx.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-x86-msvc.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops-internals-x86.h',
|
||||
'<(tcmalloc_dir)/src/base/atomicops.h',
|
||||
'<(tcmalloc_dir)/src/base/commandlineflags.h',
|
||||
'<(tcmalloc_dir)/src/base/cycleclock.h',
|
||||
'<(tcmalloc_dir)/src/base/elf_mem_image.h',
|
||||
'<(tcmalloc_dir)/src/base/elfcore.h',
|
||||
'<(tcmalloc_dir)/src/base/googleinit.h',
|
||||
'<(tcmalloc_dir)/src/base/linux_syscall_support.h',
|
||||
'<(tcmalloc_dir)/src/base/simple_mutex.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_linux-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_posix-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/spinlock_win32-inl.h',
|
||||
'<(tcmalloc_dir)/src/base/stl_allocator.h',
|
||||
'<(tcmalloc_dir)/src/base/thread_annotations.h',
|
||||
'<(tcmalloc_dir)/src/getpc.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/heap-checker.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/heap-profiler.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_extension.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_extension_c.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_hook.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/malloc_hook_c.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/profiler.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/stacktrace.h',
|
||||
'<(tcmalloc_dir)/src/gperftools/tcmalloc.h',
|
||||
'<(tcmalloc_dir)/src/heap-checker-bcad.cc',
|
||||
'<(tcmalloc_dir)/src/heap-checker.cc',
|
||||
'<(tcmalloc_dir)/src/libc_override.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_gcc_and_weak.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_glibc.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_osx.h',
|
||||
'<(tcmalloc_dir)/src/libc_override_redefine.h',
|
||||
'<(tcmalloc_dir)/src/malloc_hook_mmap_freebsd.h',
|
||||
'<(tcmalloc_dir)/src/malloc_hook_mmap_linux.h',
|
||||
'<(tcmalloc_dir)/src/memfs_malloc.cc',
|
||||
'<(tcmalloc_dir)/src/packed-cache-inl.h',
|
||||
'<(tcmalloc_dir)/src/page_heap_allocator.h',
|
||||
'<(tcmalloc_dir)/src/pagemap.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_arm-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_config.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_generic-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_libunwind-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_powerpc-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_win32-inl.h',
|
||||
'<(tcmalloc_dir)/src/stacktrace_with_context.cc',
|
||||
'<(tcmalloc_dir)/src/stacktrace_x86-inl.h',
|
||||
'<(tcmalloc_dir)/src/tcmalloc_guard.h',
|
||||
|
||||
# Included by debugallocation_shim.cc.
|
||||
'<(tcmalloc_dir)/src/debugallocation.cc',
|
||||
'<(tcmalloc_dir)/src/tcmalloc.cc',
|
||||
],
|
||||
'variables': {
|
||||
'clang_warning_flags': [
|
||||
# tcmalloc initializes some fields in the wrong order.
|
||||
'-Wno-reorder',
|
||||
# tcmalloc contains some unused local template specializations.
|
||||
'-Wno-unused-function',
|
||||
# tcmalloc uses COMPILE_ASSERT without static_assert but with
|
||||
# typedefs.
|
||||
'-Wno-unused-local-typedefs',
|
||||
# for magic2_ in debugallocation.cc (only built in Debug builds)
|
||||
# typedefs.
|
||||
'-Wno-unused-private-field',
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', {
|
||||
'sources!': [
|
||||
'<(tcmalloc_dir)/src/system-alloc.h',
|
||||
],
|
||||
# We enable all warnings by default, but upstream disables a few.
|
||||
# Keep "-Wno-*" flags in sync with upstream by comparing against:
|
||||
# http://code.google.com/p/google-perftools/source/browse/trunk/Makefile.am
|
||||
'cflags': [
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-unused-result',
|
||||
],
|
||||
'link_settings': {
|
||||
'ldflags': [
|
||||
# Don't let linker rip this symbol out, otherwise the heap&cpu
|
||||
# profilers will not initialize properly on startup.
|
||||
'-Wl,-uIsHeapProfilerRunning,-uProfilerStart',
|
||||
# Do the same for heap leak checker.
|
||||
'-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi',
|
||||
'-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl',
|
||||
'-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv',
|
||||
],
|
||||
},
|
||||
# Compiling tcmalloc with -fvisibility=default is only necessary when
|
||||
# not using the allocator shim, which provides the correct visibility
|
||||
# annotations for those symbols which need to be exported (see
|
||||
# //base/allocator/allocator_shim_override_glibc_weak_symbols.h and
|
||||
# //base/allocator/allocator_shim_internals.h for the definition of
|
||||
# SHIM_ALWAYS_EXPORT).
|
||||
'conditions': [
|
||||
['use_experimental_allocator_shim==0', {
|
||||
'cflags!': [
|
||||
'-fvisibility=hidden',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['profiling!=1', {
|
||||
'sources!': [
|
||||
# cpuprofiler
|
||||
'<(tcmalloc_dir)/src/base/thread_lister.c',
|
||||
'<(tcmalloc_dir)/src/base/thread_lister.h',
|
||||
'<(tcmalloc_dir)/src/profile-handler.cc',
|
||||
'<(tcmalloc_dir)/src/profile-handler.h',
|
||||
'<(tcmalloc_dir)/src/profiledata.cc',
|
||||
'<(tcmalloc_dir)/src/profiledata.h',
|
||||
'<(tcmalloc_dir)/src/profiler.cc',
|
||||
],
|
||||
}],
|
||||
['use_experimental_allocator_shim==1', {
|
||||
'defines': [
|
||||
'TCMALLOC_DONT_REPLACE_SYSTEM_ALLOC',
|
||||
],
|
||||
}]
|
||||
],
|
||||
'configurations': {
|
||||
'Debug_Base': {
|
||||
'conditions': [
|
||||
['disable_debugallocation==0', {
|
||||
'defines': [
|
||||
# Use debugallocation for Debug builds to catch problems
|
||||
# early and cleanly, http://crbug.com/30715 .
|
||||
'TCMALLOC_FOR_DEBUGALLOCATION',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
},
|
||||
}], # use_allocator=="tcmalloc
|
||||
# For CrOS builds with vtable verification. According to the author of
|
||||
# crrev.com/10854031 this is used in conjuction with some other CrOS
|
||||
# build flag, to enable verification of any allocator that uses virtual
|
||||
# function calls.
|
||||
['use_vtable_verify==1', {
|
||||
'cflags': [
|
||||
'-fvtable-verify=preinit',
|
||||
],
|
||||
}],
|
||||
['order_profiling != 0', {
|
||||
'target_conditions' : [
|
||||
['_toolset=="target"', {
|
||||
'cflags!': [ '-finstrument-functions' ],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
], # conditions of 'allocator' target.
|
||||
}, # 'allocator' target.
|
||||
{
|
||||
# GN: //base/allocator:features
|
||||
# When referenced from a target that might be compiled in the host
|
||||
# toolchain, always refer to 'allocator_features#target'.
|
||||
'target_name': 'allocator_features',
|
||||
'includes': [ '../../build/buildflag_header.gypi' ],
|
||||
'variables': {
|
||||
'buildflag_header_path': 'base/allocator/features.h',
|
||||
'buildflag_flags': [
|
||||
'USE_EXPERIMENTAL_ALLOCATOR_SHIM=<(use_experimental_allocator_shim)',
|
||||
],
|
||||
'conditions': [
|
||||
['<(use_experimental_allocator_shim) or <(win_use_allocator_shim)',
|
||||
{'buildflag_flags': [ 'ENABLE_WIN_ALLOCATOR_SHIM_TESTS=1' ],},
|
||||
{'buildflag_flags': [ 'ENABLE_WIN_ALLOCATOR_SHIM_TESTS=0' ],}
|
||||
],
|
||||
],
|
||||
},
|
||||
}, # 'allocator_features' target.
|
||||
], # targets.
|
||||
'conditions': [
|
||||
['use_experimental_allocator_shim==1', {
|
||||
'targets': [
|
||||
{
|
||||
# GN: //base/allocator:unified_allocator_shim
|
||||
'target_name': 'unified_allocator_shim',
|
||||
'toolsets': ['host', 'target'],
|
||||
'type': 'static_library',
|
||||
'defines': [ 'BASE_IMPLEMENTATION' ],
|
||||
'sources': [
|
||||
'allocator_shim.cc',
|
||||
'allocator_shim.h',
|
||||
'allocator_shim_internals.h',
|
||||
'allocator_shim_override_cpp_symbols.h',
|
||||
'allocator_shim_override_libc_symbols.h',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="linux" and use_allocator=="tcmalloc"', {
|
||||
'sources': [
|
||||
'allocator_shim_default_dispatch_to_tcmalloc.cc',
|
||||
'allocator_shim_override_glibc_weak_symbols.h',
|
||||
],
|
||||
}],
|
||||
['use_allocator=="none" and (OS=="linux" or (OS=="android" and _toolset == "host" and host_os == "linux"))', {
|
||||
'sources': [
|
||||
'allocator_shim_default_dispatch_to_glibc.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="android" and _toolset == "target"', {
|
||||
'sources': [
|
||||
'allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc',
|
||||
'allocator_shim_override_linker_wrapped_symbols.h',
|
||||
],
|
||||
# On Android all references to malloc & friends symbols are
|
||||
# rewritten, at link time, and routed to the shim.
|
||||
# See //base/allocator/README.md.
|
||||
'all_dependent_settings': {
|
||||
'ldflags': [
|
||||
'-Wl,-wrap,calloc',
|
||||
'-Wl,-wrap,free',
|
||||
'-Wl,-wrap,malloc',
|
||||
'-Wl,-wrap,memalign',
|
||||
'-Wl,-wrap,posix_memalign',
|
||||
'-Wl,-wrap,pvalloc',
|
||||
'-Wl,-wrap,realloc',
|
||||
'-Wl,-wrap,valloc',
|
||||
],
|
||||
},
|
||||
}],
|
||||
]
|
||||
}, # 'unified_allocator_shim' target.
|
||||
],
|
||||
}]
|
||||
],
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
# GYP: //base/android/jni_generator:jni_generator_tests
|
||||
{
|
||||
'target_name': 'jni_generator_py_tests',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'stamp': '<(INTERMEDIATE_DIR)/jni_generator_py_tests.stamp',
|
||||
},
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'run_jni_generator_py_tests',
|
||||
'inputs': [
|
||||
'jni_generator.py',
|
||||
'jni_generator_tests.py',
|
||||
'java/src/org/chromium/example/jni_generator/SampleForTests.java',
|
||||
'golden_sample_for_tests_jni.h',
|
||||
],
|
||||
'outputs': [
|
||||
'<(stamp)',
|
||||
],
|
||||
'action': [
|
||||
'python', 'jni_generator_tests.py',
|
||||
'--stamp=<(stamp)',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
# GYP: //base/android/jni_generator:jni_sample_header
|
||||
{
|
||||
'target_name': 'jni_sample_header',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'java/src/org/chromium/example/jni_generator/SampleForTests.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'example',
|
||||
},
|
||||
'includes': [ '../../../build/jni_generator.gypi' ],
|
||||
},
|
||||
# GYP: //base/android/jni_generator:jni_sample_java
|
||||
{
|
||||
'target_name': 'jni_sample_java',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'java_in_dir': '../../../base/android/jni_generator/java',
|
||||
},
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/base.gyp:base_java',
|
||||
],
|
||||
'includes': [ '../../../build/java.gypi' ],
|
||||
},
|
||||
# GYP: //base/android/jni_generator:jni_generator_tests
|
||||
{
|
||||
'target_name': 'jni_generator_tests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../../base.gyp:test_support_base',
|
||||
'jni_generator_py_tests',
|
||||
'jni_sample_header',
|
||||
'jni_sample_java',
|
||||
],
|
||||
'sources': [
|
||||
'sample_for_tests.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'dynamic_annotations',
|
||||
'type': 'static_library',
|
||||
'toolsets': ['host', 'target'],
|
||||
'include_dirs': [
|
||||
'../../../',
|
||||
],
|
||||
'sources': [
|
||||
'../valgrind/valgrind.h',
|
||||
'dynamic_annotations.c',
|
||||
'dynamic_annotations.h',
|
||||
],
|
||||
'includes': [
|
||||
'../../../build/android/increase_size_for_speed.gypi',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "win" and target_arch=="ia32"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'dynamic_annotations_win64',
|
||||
'type': 'static_library',
|
||||
# We can't use dynamic_annotations target for win64 build since it is
|
||||
# a 32-bit library.
|
||||
# TODO(gregoryd): merge with dynamic_annotations when
|
||||
# the win32/64 targets are merged.
|
||||
'include_dirs': [
|
||||
'../../../',
|
||||
],
|
||||
'sources': [
|
||||
'dynamic_annotations.c',
|
||||
'dynamic_annotations.h',
|
||||
],
|
||||
'configurations': {
|
||||
'Common_Base': {
|
||||
'msvs_target_platform': 'x64',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
64
base/third_party/libevent/libevent.gyp
vendored
64
base/third_party/libevent/libevent.gyp
vendored
@ -1,64 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'libevent',
|
||||
'product_name': 'event',
|
||||
'type': 'static_library',
|
||||
'toolsets': ['host', 'target'],
|
||||
'sources': [
|
||||
'buffer.c',
|
||||
'evbuffer.c',
|
||||
'evdns.c',
|
||||
'event.c',
|
||||
'event_tagging.c',
|
||||
'evrpc.c',
|
||||
'evutil.c',
|
||||
'http.c',
|
||||
'log.c',
|
||||
'poll.c',
|
||||
'select.c',
|
||||
'signal.c',
|
||||
'strlcpy.c',
|
||||
],
|
||||
'defines': [
|
||||
'HAVE_CONFIG_H',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../../..',
|
||||
],
|
||||
'conditions': [
|
||||
# libevent has platform-specific implementation files. Since its
|
||||
# native build uses autoconf, platform-specific config.h files are
|
||||
# provided and live in platform-specific directories.
|
||||
[ 'OS == "linux" or (OS == "android" and _toolset == "host")', {
|
||||
'sources': [ 'epoll.c' ],
|
||||
'include_dirs': [ 'linux' ],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
# We need rt for clock_gettime().
|
||||
# TODO(port) Maybe on FreeBSD as well?
|
||||
'-lrt',
|
||||
],
|
||||
},
|
||||
}],
|
||||
[ 'OS == "android" and _toolset == "target"', {
|
||||
# On android, clock_gettime() is in libc.so, so no need to link librt.
|
||||
'sources': [ 'epoll.c' ],
|
||||
'include_dirs': [ 'android' ],
|
||||
}],
|
||||
[ 'OS == "mac" or OS == "ios" or os_bsd==1', {
|
||||
'sources': [ 'kqueue.c' ],
|
||||
'include_dirs': [ 'mac' ]
|
||||
}],
|
||||
[ 'OS == "solaris"', {
|
||||
'sources': [ 'devpoll.c', 'evport.c' ],
|
||||
'include_dirs': [ 'solaris' ]
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'includes': [
|
||||
'../../../build/common_untrusted.gypi',
|
||||
],
|
||||
'conditions': [
|
||||
['disable_nacl==0 and disable_nacl_untrusted==0', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'event_nacl_nonsfi',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'buffer.c',
|
||||
'evbuffer.c',
|
||||
'event.c',
|
||||
'evutil.c',
|
||||
'log.c',
|
||||
'poll.c',
|
||||
'strlcpy.c',
|
||||
'nacl_nonsfi/config.h',
|
||||
'nacl_nonsfi/event-config.h',
|
||||
'nacl_nonsfi/random.c',
|
||||
'nacl_nonsfi/signal_stub.c',
|
||||
],
|
||||
'defines': [
|
||||
'HAVE_CONFIG_H',
|
||||
],
|
||||
'include_dirs': [
|
||||
'nacl_nonsfi',
|
||||
],
|
||||
'variables': {
|
||||
'nacl_untrusted_build': 1,
|
||||
'nlib_target': 'libevent_nacl_nonsfi.a',
|
||||
'build_glibc': 0,
|
||||
'build_newlib': 0,
|
||||
'build_irt': 0,
|
||||
'build_pnacl_newlib': 0,
|
||||
'build_nonsfi_helper': 1,
|
||||
},
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //base/trace_event/etw_manifest/BUILD.gn
|
||||
'target_name': 'etw_manifest',
|
||||
'type': 'none',
|
||||
'toolsets': ['host', 'target'],
|
||||
'hard_dependency': 1,
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
'sources': [
|
||||
'chrome_events_win.man',
|
||||
],
|
||||
'variables': {
|
||||
'man_output_dir': '<(SHARED_INTERMEDIATE_DIR)/base/trace_event/etw_manifest',
|
||||
},
|
||||
'rules': [{
|
||||
# Rule to run the message compiler.
|
||||
'rule_name': 'message_compiler',
|
||||
'extension': 'man',
|
||||
'outputs': [
|
||||
'<(man_output_dir)/chrome_events_win.h',
|
||||
'<(man_output_dir)/chrome_events_win.rc',
|
||||
],
|
||||
'action': [
|
||||
'mc.exe',
|
||||
'-h', '<(man_output_dir)',
|
||||
'-r', '<(man_output_dir)/.',
|
||||
'-um',
|
||||
'<(RULE_INPUT_PATH)',
|
||||
],
|
||||
'message': 'Running message compiler on <(RULE_INPUT_PATH)',
|
||||
}],
|
||||
}],
|
||||
],
|
||||
}
|
||||
]
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'trace_event_sources' : [
|
||||
'trace_event/blame_context.cc',
|
||||
'trace_event/blame_context.h',
|
||||
'trace_event/common/trace_event_common.h',
|
||||
'trace_event/heap_profiler.h',
|
||||
'trace_event/heap_profiler_allocation_context.cc',
|
||||
'trace_event/heap_profiler_allocation_context.h',
|
||||
'trace_event/heap_profiler_allocation_context_tracker.cc',
|
||||
'trace_event/heap_profiler_allocation_context_tracker.h',
|
||||
'trace_event/heap_profiler_allocation_register.cc',
|
||||
'trace_event/heap_profiler_allocation_register_posix.cc',
|
||||
'trace_event/heap_profiler_allocation_register_win.cc',
|
||||
'trace_event/heap_profiler_allocation_register.h',
|
||||
'trace_event/heap_profiler_heap_dump_writer.cc',
|
||||
'trace_event/heap_profiler_heap_dump_writer.h',
|
||||
'trace_event/heap_profiler_stack_frame_deduplicator.cc',
|
||||
'trace_event/heap_profiler_stack_frame_deduplicator.h',
|
||||
'trace_event/heap_profiler_type_name_deduplicator.cc',
|
||||
'trace_event/heap_profiler_type_name_deduplicator.h',
|
||||
'trace_event/java_heap_dump_provider_android.cc',
|
||||
'trace_event/java_heap_dump_provider_android.h',
|
||||
'trace_event/memory_allocator_dump.cc',
|
||||
'trace_event/memory_allocator_dump.h',
|
||||
'trace_event/memory_allocator_dump_guid.cc',
|
||||
'trace_event/memory_allocator_dump_guid.h',
|
||||
'trace_event/memory_dump_manager.cc',
|
||||
'trace_event/memory_dump_manager.h',
|
||||
'trace_event/memory_dump_provider.h',
|
||||
'trace_event/memory_dump_request_args.cc',
|
||||
'trace_event/memory_dump_request_args.h',
|
||||
'trace_event/memory_dump_session_state.cc',
|
||||
'trace_event/memory_dump_session_state.h',
|
||||
'trace_event/memory_infra_background_whitelist.cc',
|
||||
'trace_event/memory_infra_background_whitelist.h',
|
||||
'trace_event/process_memory_dump.cc',
|
||||
'trace_event/process_memory_dump.h',
|
||||
'trace_event/process_memory_maps.cc',
|
||||
'trace_event/process_memory_maps.h',
|
||||
'trace_event/process_memory_totals.cc',
|
||||
'trace_event/process_memory_totals.h',
|
||||
'trace_event/trace_buffer.cc',
|
||||
'trace_event/trace_buffer.h',
|
||||
'trace_event/trace_config.cc',
|
||||
'trace_event/trace_config.h',
|
||||
'trace_event/trace_event.h',
|
||||
'trace_event/trace_event_android.cc',
|
||||
'trace_event/trace_event_argument.cc',
|
||||
'trace_event/trace_event_argument.h',
|
||||
'trace_event/trace_event_etw_export_win.cc',
|
||||
'trace_event/trace_event_etw_export_win.h',
|
||||
'trace_event/trace_event_impl.cc',
|
||||
'trace_event/trace_event_impl.h',
|
||||
'trace_event/trace_event_memory_overhead.cc',
|
||||
'trace_event/trace_event_memory_overhead.h',
|
||||
'trace_event/trace_event_synthetic_delay.cc',
|
||||
'trace_event/trace_event_synthetic_delay.h',
|
||||
'trace_event/trace_event_system_stats_monitor.cc',
|
||||
'trace_event/trace_event_system_stats_monitor.h',
|
||||
'trace_event/trace_log.cc',
|
||||
'trace_event/trace_log.h',
|
||||
'trace_event/trace_log_constants.cc',
|
||||
'trace_event/trace_sampling_thread.cc',
|
||||
'trace_event/trace_sampling_thread.h',
|
||||
'trace_event/tracing_agent.cc',
|
||||
'trace_event/tracing_agent.h',
|
||||
'trace_event/winheap_dump_provider_win.cc',
|
||||
'trace_event/winheap_dump_provider_win.h',
|
||||
],
|
||||
'trace_event_test_sources' : [
|
||||
'trace_event/blame_context_unittest.cc',
|
||||
'trace_event/heap_profiler_allocation_context_tracker_unittest.cc',
|
||||
'trace_event/heap_profiler_allocation_register_unittest.cc',
|
||||
'trace_event/heap_profiler_heap_dump_writer_unittest.cc',
|
||||
'trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc',
|
||||
'trace_event/heap_profiler_type_name_deduplicator_unittest.cc',
|
||||
'trace_event/java_heap_dump_provider_android_unittest.cc',
|
||||
'trace_event/memory_allocator_dump_unittest.cc',
|
||||
'trace_event/memory_dump_manager_unittest.cc',
|
||||
'trace_event/process_memory_dump_unittest.cc',
|
||||
'trace_event/trace_config_memory_test_util.h',
|
||||
'trace_event/trace_config_unittest.cc',
|
||||
'trace_event/trace_event_argument_unittest.cc',
|
||||
'trace_event/trace_event_synthetic_delay_unittest.cc',
|
||||
'trace_event/trace_event_system_stats_monitor_unittest.cc',
|
||||
'trace_event/trace_event_unittest.cc',
|
||||
'trace_event/winheap_dump_provider_win_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "linux" or OS=="android" or OS=="mac" or OS=="ios"', {
|
||||
'trace_event_sources': [
|
||||
'trace_event/malloc_dump_provider.cc',
|
||||
'trace_event/malloc_dump_provider.h',
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'trace_event_test_sources' : [
|
||||
'trace_event/trace_event_android_unittest.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets' : [
|
||||
{
|
||||
'target_name': 'onc_validator',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'chromeos.gyp:chromeos',
|
||||
],
|
||||
'sources': [
|
||||
'tools/onc_validator/onc_validator.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'input_method_out_dir':
|
||||
'<(SHARED_INTERMEDIATE_DIR)/chromeos/ime',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gencode',
|
||||
'type': 'none',
|
||||
'actions': [
|
||||
{
|
||||
'inputs': [
|
||||
'input_methods.txt',
|
||||
'gen_input_methods.py',
|
||||
],
|
||||
'outputs': [
|
||||
'<(input_method_out_dir)/input_methods.h',
|
||||
],
|
||||
'action_name': 'gen_input_methods',
|
||||
'action': [
|
||||
'python',
|
||||
'gen_input_methods.py',
|
||||
'input_methods.txt',
|
||||
'<(input_method_out_dir)/input_methods.h',
|
||||
],
|
||||
'message': 'Generating input_methods.h',
|
||||
},
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //components/physical_web/data_source
|
||||
'target_name': 'physical_web_data_source',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
],
|
||||
'sources': [
|
||||
# Note: sources list duplicated in GN build.
|
||||
'physical_web/data_source/physical_web_data_source.h',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //components/physical_web/webui
|
||||
'target_name': 'physical_web_ui',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
# Note: sources list duplicated in GN build.
|
||||
'physical_web/webui/physical_web_ui_constants.cc',
|
||||
'physical_web/webui/physical_web_ui_constants.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,251 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'courgette_lib_sources': [
|
||||
'adjustment_method.cc',
|
||||
'adjustment_method_2.cc',
|
||||
'adjustment_method.h',
|
||||
'assembly_program.cc',
|
||||
'assembly_program.h',
|
||||
'consecutive_range_visitor.h',
|
||||
'courgette.h',
|
||||
'crc.cc',
|
||||
'crc.h',
|
||||
'difference_estimator.cc',
|
||||
'difference_estimator.h',
|
||||
'disassembler.cc',
|
||||
'disassembler.h',
|
||||
'disassembler_elf_32.cc',
|
||||
'disassembler_elf_32.h',
|
||||
'disassembler_elf_32_arm.cc',
|
||||
'disassembler_elf_32_arm.h',
|
||||
'disassembler_elf_32_x86.cc',
|
||||
'disassembler_elf_32_x86.h',
|
||||
'disassembler_win32.cc',
|
||||
'disassembler_win32.h',
|
||||
'disassembler_win32_x86.cc',
|
||||
'disassembler_win32_x86.h',
|
||||
'disassembler_win32_x64.cc',
|
||||
'disassembler_win32_x64.h',
|
||||
'encoded_program.cc',
|
||||
'encoded_program.h',
|
||||
'ensemble.cc',
|
||||
'ensemble.h',
|
||||
'ensemble_apply.cc',
|
||||
'ensemble_create.cc',
|
||||
'image_utils.h',
|
||||
'label_manager.cc',
|
||||
'label_manager.h',
|
||||
'memory_allocator.cc',
|
||||
'memory_allocator.h',
|
||||
'patch_generator_x86_32.h',
|
||||
'patcher_x86_32.h',
|
||||
'program_detector.cc',
|
||||
'program_detector.h',
|
||||
'region.h',
|
||||
'rel32_finder.cc',
|
||||
'rel32_finder.h',
|
||||
'rel32_finder_x64.cc',
|
||||
'rel32_finder_x64.h',
|
||||
'rel32_finder_x86.cc',
|
||||
'rel32_finder_x86.h',
|
||||
'simple_delta.cc',
|
||||
'simple_delta.h',
|
||||
'streams.cc',
|
||||
'streams.h',
|
||||
'third_party/bsdiff/bsdiff.h',
|
||||
'third_party/bsdiff/bsdiff_apply.cc',
|
||||
'third_party/bsdiff/bsdiff_create.cc',
|
||||
'third_party/bsdiff/bsdiff_search.h',
|
||||
'third_party/bsdiff/paged_array.h',
|
||||
'third_party/divsufsort/divsufsort.cc',
|
||||
'third_party/divsufsort/divsufsort.h',
|
||||
'third_party/divsufsort/divsufsort_private.h',
|
||||
'third_party/divsufsort/sssort.cc',
|
||||
'third_party/divsufsort/trsort.cc',
|
||||
'types_elf.h',
|
||||
'types_win_pe.h',
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'courgette_lib',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk',
|
||||
],
|
||||
'sources': [
|
||||
'<@(courgette_lib_sources)'
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'courgette',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'courgette_tool.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'courgette_lib',
|
||||
'../base/base.gyp:base',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'LargeAddressAware': 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'courgette_minimal_tool',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'courgette_minimal_tool.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'courgette_lib',
|
||||
'../base/base.gyp:base',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'courgette_unittests',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'adjustment_method_unittest.cc',
|
||||
'bsdiff_memory_unittest.cc',
|
||||
'base_test_unittest.cc',
|
||||
'base_test_unittest.h',
|
||||
'consecutive_range_visitor_unittest.cc',
|
||||
'difference_estimator_unittest.cc',
|
||||
'disassembler_elf_32_x86_unittest.cc',
|
||||
'disassembler_win32_x86_unittest.cc',
|
||||
'disassembler_win32_x64_unittest.cc',
|
||||
'encoded_program_unittest.cc',
|
||||
'encode_decode_unittest.cc',
|
||||
'ensemble_unittest.cc',
|
||||
'image_utils_unittest.cc',
|
||||
'label_manager_unittest.cc',
|
||||
'memory_allocator_unittest.cc',
|
||||
'program_detector_unittest.cc',
|
||||
'rel32_finder_unittest.cc',
|
||||
'streams_unittest.cc',
|
||||
'typedrva_unittest.cc',
|
||||
'versioning_unittest.cc',
|
||||
'third_party/bsdiff/bsdiff_search_unittest.cc',
|
||||
'third_party/bsdiff/paged_array_unittest.cc',
|
||||
'third_party/divsufsort/divsufsort_unittest.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'courgette_lib',
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:base_i18n',
|
||||
'../base/base.gyp:run_all_unittests',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [4267, ],
|
||||
},
|
||||
{
|
||||
'target_name': 'courgette_fuzz',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'base_test_unittest.cc',
|
||||
'base_test_unittest.h',
|
||||
'encoded_program_fuzz_unittest.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'courgette_lib',
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:base_i18n',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win" and target_arch=="ia32"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'courgette_lib64',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_win64',
|
||||
'../third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk64',
|
||||
],
|
||||
'sources': [
|
||||
'<@(courgette_lib_sources)',
|
||||
],
|
||||
'configurations': {
|
||||
'Common_Base': {
|
||||
'msvs_target_platform': 'x64',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'courgette64',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'courgette_tool.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'courgette_lib64',
|
||||
'../base/base.gyp:base_win64',
|
||||
],
|
||||
'configurations': {
|
||||
'Common_Base': {
|
||||
'msvs_target_platform': 'x64',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}],
|
||||
# The build infrastructure needs courgette to be named courgette64.
|
||||
['OS=="win" and target_arch=="x64"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'courgette64',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'courgette',
|
||||
],
|
||||
'actions': [{
|
||||
'action_name': 'courgette64',
|
||||
'inputs': [
|
||||
'<(PRODUCT_DIR)/courgette.exe',
|
||||
],
|
||||
'outputs': [
|
||||
'<(PRODUCT_DIR)/courgette64.exe',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'../build/cp.py',
|
||||
'<@(_inputs)',
|
||||
'<@(_outputs)'
|
||||
],
|
||||
}],
|
||||
},
|
||||
],
|
||||
}],
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'courgette_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'courgette_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'courgette_unittests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,173 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/battery:mojo_bindings
|
||||
'target_name': 'device_battery_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'battery_monitor.mojom',
|
||||
'battery_status.mojom',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //device/battery:mojo_bindings_blink
|
||||
'target_name': 'device_battery_mojo_bindings_for_blink',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'battery_monitor.mojom',
|
||||
'battery_status.mojom',
|
||||
],
|
||||
},
|
||||
{
|
||||
# This is needed only for a build within Android tree. TODO(ppi): remove
|
||||
# when Android tree build is deprecated.
|
||||
'target_name': 'device_battery_mojo_bindings_for_webview',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'device_battery_mojo_bindings',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
# Dummy action that triggers the bindings generation and explicitly
|
||||
# declares the java outputs, so that they are discoverable to make.
|
||||
'action_name': 'device_battery_mojo_bindings_dummy_action',
|
||||
'inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/battery/battery_monitor.mojom.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/battery/battery_status.mojom.h',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryMonitor.java',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryMonitor_Internal.java',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatusObserver.java',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatusObserver_Internal.java',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatus.java',
|
||||
],
|
||||
'action': ['touch', '<@(_outputs)'],
|
||||
},
|
||||
],
|
||||
'hard_dependency': 1,
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_battery_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../mojo/mojo_public.gyp:mojo_bindings_java',
|
||||
'device_battery_mojo_bindings',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../../device/battery/android/java',
|
||||
},
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_battery_javatests',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'java_in_dir': '../../device/battery/android/javatests',
|
||||
},
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:base_java_test_support',
|
||||
'device_battery_java',
|
||||
],
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
},
|
||||
],
|
||||
}, { # OS != "android"
|
||||
# On android, BatteryManager mojo service is implemented directly in Java.
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/battery
|
||||
'target_name': 'device_battery',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../../mojo/mojo_edk.gyp:mojo_system_impl',
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
'device_battery_mojo_bindings',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_BATTERY_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
'battery_monitor_impl.cc',
|
||||
'battery_monitor_impl.h',
|
||||
'battery_status_manager_chromeos.cc',
|
||||
'battery_status_manager_default.cc',
|
||||
'battery_status_manager_linux-inl.h',
|
||||
'battery_status_manager_linux.cc',
|
||||
'battery_status_manager_linux.h',
|
||||
'battery_status_manager_mac.cc',
|
||||
'battery_status_manager_win.cc',
|
||||
'battery_status_manager_win.h',
|
||||
'battery_status_manager.h',
|
||||
'battery_status_service.cc',
|
||||
'battery_status_service.h',
|
||||
],
|
||||
'conditions': [
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:dbus',
|
||||
'../../chromeos/chromeos.gyp:chromeos',
|
||||
'../../chromeos/chromeos.gyp:power_manager_proto',
|
||||
],
|
||||
'sources!': [
|
||||
'battery_status_manager_default.cc',
|
||||
'battery_status_manager_linux.cc',
|
||||
],
|
||||
}],
|
||||
['OS == "linux" and use_dbus==1', {
|
||||
'sources!': [
|
||||
'battery_status_manager_default.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:dbus',
|
||||
'../../dbus/dbus.gyp:dbus',
|
||||
],
|
||||
}, { # OS != "linux" or use_dbus==0
|
||||
'sources!': [
|
||||
'battery_status_manager_linux.cc',
|
||||
],
|
||||
}],
|
||||
['OS == "mac"', {
|
||||
'sources!': [
|
||||
'battery_status_manager_default.cc',
|
||||
],
|
||||
}],
|
||||
['OS == "win"', {
|
||||
'sources!': [
|
||||
'battery_status_manager_default.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,517 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/bluetooth
|
||||
'target_name': 'device_bluetooth',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../crypto/crypto.gyp:crypto',
|
||||
'../../net/net.gyp:net',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'bluetooth_strings.gyp:bluetooth_strings',
|
||||
'uribeacon',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_BLUETOOTH_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build.
|
||||
'android/bluetooth_jni_registrar.cc',
|
||||
'android/bluetooth_jni_registrar.h',
|
||||
'android/wrappers.cc',
|
||||
'android/wrappers.h',
|
||||
'bluetooth_adapter.cc',
|
||||
'bluetooth_adapter.h',
|
||||
'bluetooth_adapter_android.cc',
|
||||
'bluetooth_adapter_android.h',
|
||||
'bluetooth_adapter_factory.cc',
|
||||
'bluetooth_adapter_factory.h',
|
||||
'bluetooth_adapter_factory_wrapper.cc',
|
||||
'bluetooth_adapter_factory_wrapper.h',
|
||||
'bluetooth_adapter_mac.h',
|
||||
'bluetooth_adapter_mac.mm',
|
||||
'bluetooth_adapter_win.cc',
|
||||
'bluetooth_adapter_win.h',
|
||||
'bluetooth_advertisement.cc',
|
||||
'bluetooth_advertisement.h',
|
||||
'bluetooth_audio_sink.cc',
|
||||
'bluetooth_audio_sink.h',
|
||||
'bluetooth_channel_mac.mm',
|
||||
'bluetooth_channel_mac.h',
|
||||
'bluetooth_classic_device_mac.mm',
|
||||
'bluetooth_classic_device_mac.h',
|
||||
'bluetooth_classic_win.cc',
|
||||
'bluetooth_classic_win.h',
|
||||
'bluetooth_common.h',
|
||||
'bluetooth_device.cc',
|
||||
'bluetooth_device.h',
|
||||
'bluetooth_device_android.h',
|
||||
'bluetooth_device_android.cc',
|
||||
'bluetooth_device_mac.mm',
|
||||
'bluetooth_device_mac.h',
|
||||
'bluetooth_device_win.cc',
|
||||
'bluetooth_device_win.h',
|
||||
'bluetooth_discovery_filter.cc',
|
||||
'bluetooth_discovery_filter.h',
|
||||
'bluetooth_discovery_manager_mac.mm',
|
||||
'bluetooth_discovery_manager_mac.h',
|
||||
'bluetooth_discovery_session.cc',
|
||||
'bluetooth_discovery_session.h',
|
||||
'bluetooth_discovery_session_outcome.h',
|
||||
'bluetooth_gatt_characteristic.cc',
|
||||
'bluetooth_gatt_characteristic.h',
|
||||
'bluetooth_gatt_connection.cc',
|
||||
'bluetooth_gatt_connection.h',
|
||||
'bluetooth_gatt_descriptor.cc',
|
||||
'bluetooth_gatt_descriptor.h',
|
||||
'bluetooth_gatt_notify_session.cc',
|
||||
'bluetooth_gatt_notify_session.h',
|
||||
'bluetooth_gatt_service.cc',
|
||||
'bluetooth_gatt_service.h',
|
||||
'bluetooth_init_win.cc',
|
||||
'bluetooth_init_win.h',
|
||||
'bluetooth_l2cap_channel_mac.mm',
|
||||
'bluetooth_l2cap_channel_mac.h',
|
||||
'bluetooth_local_gatt_characteristic.cc',
|
||||
'bluetooth_local_gatt_characteristic.h',
|
||||
'bluetooth_local_gatt_descriptor.cc',
|
||||
'bluetooth_local_gatt_descriptor.h',
|
||||
'bluetooth_local_gatt_service.cc',
|
||||
'bluetooth_local_gatt_service.h',
|
||||
'bluetooth_low_energy_central_manager_delegate.mm',
|
||||
'bluetooth_low_energy_central_manager_delegate.h',
|
||||
'bluetooth_low_energy_defs_win.cc',
|
||||
'bluetooth_low_energy_defs_win.h',
|
||||
'bluetooth_low_energy_device_mac.h',
|
||||
'bluetooth_low_energy_device_mac.mm',
|
||||
'bluetooth_low_energy_discovery_manager_mac.h',
|
||||
'bluetooth_low_energy_discovery_manager_mac.mm',
|
||||
'bluetooth_low_energy_peripheral_delegate.mm',
|
||||
'bluetooth_low_energy_peripheral_delegate.h',
|
||||
'bluetooth_low_energy_win.cc',
|
||||
'bluetooth_low_energy_win.h',
|
||||
'bluetooth_remote_gatt_characteristic.cc',
|
||||
'bluetooth_remote_gatt_characteristic.h',
|
||||
'bluetooth_remote_gatt_characteristic_android.cc',
|
||||
'bluetooth_remote_gatt_characteristic_android.h',
|
||||
'bluetooth_remote_gatt_characteristic_mac.h',
|
||||
'bluetooth_remote_gatt_characteristic_mac.mm',
|
||||
'bluetooth_remote_gatt_characteristic_win.cc',
|
||||
'bluetooth_remote_gatt_characteristic_win.h',
|
||||
'bluetooth_remote_gatt_descriptor.cc',
|
||||
'bluetooth_remote_gatt_descriptor.h',
|
||||
'bluetooth_remote_gatt_descriptor_android.cc',
|
||||
'bluetooth_remote_gatt_descriptor_android.h',
|
||||
'bluetooth_remote_gatt_descriptor_win.cc',
|
||||
'bluetooth_remote_gatt_descriptor_win.h',
|
||||
'bluetooth_remote_gatt_service.cc',
|
||||
'bluetooth_remote_gatt_service.h',
|
||||
'bluetooth_remote_gatt_service_android.cc',
|
||||
'bluetooth_remote_gatt_service_android.h',
|
||||
'bluetooth_remote_gatt_service_mac.h',
|
||||
'bluetooth_remote_gatt_service_mac.mm',
|
||||
'bluetooth_remote_gatt_service_win.cc',
|
||||
'bluetooth_remote_gatt_service_win.h',
|
||||
'bluetooth_rfcomm_channel_mac.mm',
|
||||
'bluetooth_rfcomm_channel_mac.h',
|
||||
'bluetooth_service_record_win.cc',
|
||||
'bluetooth_service_record_win.h',
|
||||
'bluetooth_socket.cc',
|
||||
'bluetooth_socket.h',
|
||||
'bluetooth_socket_mac.h',
|
||||
'bluetooth_socket_mac.mm',
|
||||
'bluetooth_socket_net.cc',
|
||||
'bluetooth_socket_net.h',
|
||||
'bluetooth_socket_thread.cc',
|
||||
'bluetooth_socket_thread.h',
|
||||
'bluetooth_socket_win.cc',
|
||||
'bluetooth_socket_win.h',
|
||||
'bluetooth_task_manager_win.cc',
|
||||
'bluetooth_task_manager_win.h',
|
||||
'bluetooth_uuid.cc',
|
||||
'bluetooth_uuid.h',
|
||||
],
|
||||
'conditions': [
|
||||
['chromeos==1 or OS=="linux"', {
|
||||
'conditions': [
|
||||
['use_dbus==1', {
|
||||
'defines': [
|
||||
'DEVICE_BLUETOOTH_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
'bluez/bluetooth_adapter_bluez.cc',
|
||||
'bluez/bluetooth_adapter_bluez.h',
|
||||
'bluez/bluetooth_adapter_profile_bluez.cc',
|
||||
'bluez/bluetooth_adapter_profile_bluez.h',
|
||||
'bluez/bluetooth_advertisement_bluez.cc',
|
||||
'bluez/bluetooth_advertisement_bluez.h',
|
||||
'bluez/bluetooth_audio_sink_bluez.cc',
|
||||
'bluez/bluetooth_audio_sink_bluez.h',
|
||||
'bluez/bluetooth_device_bluez.cc',
|
||||
'bluez/bluetooth_device_bluez.h',
|
||||
'bluez/bluetooth_gatt_characteristic_bluez.cc',
|
||||
'bluez/bluetooth_gatt_characteristic_bluez.h',
|
||||
'bluez/bluetooth_gatt_connection_bluez.cc',
|
||||
'bluez/bluetooth_gatt_connection_bluez.h',
|
||||
'bluez/bluetooth_gatt_descriptor_bluez.cc',
|
||||
'bluez/bluetooth_gatt_descriptor_bluez.h',
|
||||
'bluez/bluetooth_gatt_service_bluez.cc',
|
||||
'bluez/bluetooth_gatt_service_bluez.h',
|
||||
'bluez/bluetooth_local_gatt_characteristic_bluez.cc',
|
||||
'bluez/bluetooth_local_gatt_characteristic_bluez.h',
|
||||
'bluez/bluetooth_local_gatt_descriptor_bluez.cc',
|
||||
'bluez/bluetooth_local_gatt_descriptor_bluez.h',
|
||||
'bluez/bluetooth_local_gatt_service_bluez.cc',
|
||||
'bluez/bluetooth_local_gatt_service_bluez.h',
|
||||
'bluez/bluetooth_pairing_bluez.cc',
|
||||
'bluez/bluetooth_pairing_bluez.h',
|
||||
'bluez/bluetooth_remote_gatt_characteristic_bluez.cc',
|
||||
'bluez/bluetooth_remote_gatt_characteristic_bluez.h',
|
||||
'bluez/bluetooth_remote_gatt_descriptor_bluez.cc',
|
||||
'bluez/bluetooth_remote_gatt_descriptor_bluez.h',
|
||||
'bluez/bluetooth_remote_gatt_service_bluez.cc',
|
||||
'bluez/bluetooth_remote_gatt_service_bluez.h',
|
||||
'bluez/bluetooth_service_attribute_value_bluez.cc',
|
||||
'bluez/bluetooth_service_attribute_value_bluez.h',
|
||||
'bluez/bluetooth_service_record_bluez.cc',
|
||||
'bluez/bluetooth_service_record_bluez.h',
|
||||
'bluez/bluetooth_socket_bluez.cc',
|
||||
'bluez/bluetooth_socket_bluez.h',
|
||||
'dbus/bluetooth_adapter_client.cc',
|
||||
'dbus/bluetooth_adapter_client.h',
|
||||
'dbus/bluetooth_le_advertising_manager_client.cc',
|
||||
'dbus/bluetooth_le_advertising_manager_client.h',
|
||||
'dbus/bluetooth_le_advertisement_service_provider.cc',
|
||||
'dbus/bluetooth_le_advertisement_service_provider.h',
|
||||
'dbus/bluetooth_agent_manager_client.cc',
|
||||
'dbus/bluetooth_agent_manager_client.h',
|
||||
'dbus/bluetooth_agent_service_provider.cc',
|
||||
'dbus/bluetooth_agent_service_provider.h',
|
||||
'dbus/bluetooth_dbus_client_bundle.cc',
|
||||
'dbus/bluetooth_dbus_client_bundle.h',
|
||||
'dbus/bluetooth_device_client.cc',
|
||||
'dbus/bluetooth_device_client.h',
|
||||
'dbus/bluetooth_gatt_application_service_provider.cc',
|
||||
'dbus/bluetooth_gatt_application_service_provider.h',
|
||||
'dbus/bluetooth_gatt_application_service_provider_impl.cc',
|
||||
'dbus/bluetooth_gatt_application_service_provider_impl.h',
|
||||
'dbus/bluetooth_gatt_attribute_helpers.cc',
|
||||
'dbus/bluetooth_gatt_attribute_helpers.h',
|
||||
'dbus/bluetooth_gatt_attribute_value_delegate.cc',
|
||||
'dbus/bluetooth_gatt_attribute_value_delegate.h',
|
||||
'dbus/bluetooth_gatt_characteristic_client.cc',
|
||||
'dbus/bluetooth_gatt_characteristic_client.h',
|
||||
'dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc',
|
||||
'dbus/bluetooth_gatt_characteristic_delegate_wrapper.h',
|
||||
'dbus/bluetooth_gatt_characteristic_service_provider_impl.cc',
|
||||
'dbus/bluetooth_gatt_characteristic_service_provider_impl.h',
|
||||
'dbus/bluetooth_gatt_characteristic_service_provider.cc',
|
||||
'dbus/bluetooth_gatt_characteristic_service_provider.h',
|
||||
'dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc',
|
||||
'dbus/bluetooth_gatt_descriptor_delegate_wrapper.h',
|
||||
'dbus/bluetooth_gatt_descriptor_client.cc',
|
||||
'dbus/bluetooth_gatt_descriptor_client.h',
|
||||
'dbus/bluetooth_gatt_descriptor_service_provider_impl.cc',
|
||||
'dbus/bluetooth_gatt_descriptor_service_provider_impl.h',
|
||||
'dbus/bluetooth_gatt_descriptor_service_provider.cc',
|
||||
'dbus/bluetooth_gatt_descriptor_service_provider.h',
|
||||
'dbus/bluetooth_gatt_manager_client.cc',
|
||||
'dbus/bluetooth_gatt_manager_client.h',
|
||||
'dbus/bluetooth_gatt_service_client.cc',
|
||||
'dbus/bluetooth_gatt_service_client.h',
|
||||
'dbus/bluetooth_gatt_service_service_provider_impl.cc',
|
||||
'dbus/bluetooth_gatt_service_service_provider_impl.h',
|
||||
'dbus/bluetooth_gatt_service_service_provider.cc',
|
||||
'dbus/bluetooth_gatt_service_service_provider.h',
|
||||
'dbus/bluetooth_input_client.cc',
|
||||
'dbus/bluetooth_input_client.h',
|
||||
'dbus/bluetooth_media_client.cc',
|
||||
'dbus/bluetooth_media_client.h',
|
||||
'dbus/bluetooth_media_endpoint_service_provider.cc',
|
||||
'dbus/bluetooth_media_endpoint_service_provider.h',
|
||||
'dbus/bluetooth_media_transport_client.cc',
|
||||
'dbus/bluetooth_media_transport_client.h',
|
||||
'dbus/bluetooth_profile_manager_client.cc',
|
||||
'dbus/bluetooth_profile_manager_client.h',
|
||||
'dbus/bluetooth_profile_service_provider.cc',
|
||||
'dbus/bluetooth_profile_service_provider.h',
|
||||
'dbus/bluez_dbus_client.h',
|
||||
'dbus/bluez_dbus_manager.cc',
|
||||
'dbus/bluez_dbus_manager.h',
|
||||
'dbus/fake_bluetooth_adapter_client.cc',
|
||||
'dbus/fake_bluetooth_adapter_client.h',
|
||||
'dbus/fake_bluetooth_le_advertising_manager_client.cc',
|
||||
'dbus/fake_bluetooth_le_advertising_manager_client.h',
|
||||
'dbus/fake_bluetooth_le_advertisement_service_provider.cc',
|
||||
'dbus/fake_bluetooth_le_advertisement_service_provider.h',
|
||||
'dbus/fake_bluetooth_agent_manager_client.cc',
|
||||
'dbus/fake_bluetooth_agent_manager_client.h',
|
||||
'dbus/fake_bluetooth_agent_service_provider.cc',
|
||||
'dbus/fake_bluetooth_agent_service_provider.h',
|
||||
'dbus/fake_bluetooth_device_client.cc',
|
||||
'dbus/fake_bluetooth_device_client.h',
|
||||
'dbus/fake_bluetooth_gatt_application_service_provider.cc',
|
||||
'dbus/fake_bluetooth_gatt_application_service_provider.h',
|
||||
'dbus/fake_bluetooth_gatt_characteristic_client.cc',
|
||||
'dbus/fake_bluetooth_gatt_characteristic_client.h',
|
||||
'dbus/fake_bluetooth_gatt_characteristic_service_provider.cc',
|
||||
'dbus/fake_bluetooth_gatt_characteristic_service_provider.h',
|
||||
'dbus/fake_bluetooth_gatt_descriptor_client.cc',
|
||||
'dbus/fake_bluetooth_gatt_descriptor_client.h',
|
||||
'dbus/fake_bluetooth_gatt_descriptor_service_provider.cc',
|
||||
'dbus/fake_bluetooth_gatt_descriptor_service_provider.h',
|
||||
'dbus/fake_bluetooth_gatt_manager_client.cc',
|
||||
'dbus/fake_bluetooth_gatt_manager_client.h',
|
||||
'dbus/fake_bluetooth_gatt_service_client.cc',
|
||||
'dbus/fake_bluetooth_gatt_service_client.h',
|
||||
'dbus/fake_bluetooth_gatt_service_service_provider.cc',
|
||||
'dbus/fake_bluetooth_gatt_service_service_provider.h',
|
||||
'dbus/fake_bluetooth_input_client.cc',
|
||||
'dbus/fake_bluetooth_input_client.h',
|
||||
'dbus/fake_bluetooth_media_client.cc',
|
||||
'dbus/fake_bluetooth_media_client.h',
|
||||
'dbus/fake_bluetooth_media_endpoint_service_provider.cc',
|
||||
'dbus/fake_bluetooth_media_endpoint_service_provider.h',
|
||||
'dbus/fake_bluetooth_media_transport_client.cc',
|
||||
'dbus/fake_bluetooth_media_transport_client.h',
|
||||
'dbus/fake_bluetooth_profile_manager_client.cc',
|
||||
'dbus/fake_bluetooth_profile_manager_client.h',
|
||||
'dbus/fake_bluetooth_profile_service_provider.cc',
|
||||
'dbus/fake_bluetooth_profile_service_provider.h',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'sources': [
|
||||
'dbus/dbus_bluez_manager_wrapper_linux.cc',
|
||||
'dbus/dbus_bluez_manager_wrapper_linux.h',
|
||||
'dbus/dbus_thread_manager_linux.cc',
|
||||
'dbus/dbus_thread_manager_linux.h',
|
||||
]
|
||||
}]
|
||||
],
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:dbus',
|
||||
'../../dbus/dbus.gyp:dbus',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../build/linux/system.gyp:dbus'
|
||||
]
|
||||
}, { # !use_dbus
|
||||
'sources': [ 'bluetooth_adapter_stub.cc' ],
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'sources': [
|
||||
'dbus/dbus_bluez_manager_wrapper_linux.h',
|
||||
'dbus/dbus_bluez_manager_wrapper_stub_linux.cc',
|
||||
]
|
||||
}],
|
||||
]
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'../../chromeos/chromeos.gyp:chromeos',
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'dependencies': [
|
||||
'device_bluetooth_java',
|
||||
'device_bluetooth_jni_headers',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
# The following two blocks are duplicated. They apply to static lib
|
||||
# and shared lib configurations respectively.
|
||||
'all_dependent_settings': { # For static lib, apply to dependents.
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'DelayLoadDLLs': [
|
||||
'BluetoothApis.dll',
|
||||
# Despite MSDN stating that Bthprops.dll contains the
|
||||
# symbols declared by bthprops.lib, they actually reside here:
|
||||
'Bthprops.cpl',
|
||||
'setupapi.dll',
|
||||
],
|
||||
'AdditionalDependencies': [
|
||||
# Bthprops must be listed before BluetoothApis or else delay
|
||||
# loading crashes.
|
||||
'Bthprops.lib',
|
||||
'BluetoothApis.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
'msvs_settings': { # For shared lib, apply to self.
|
||||
'VCLinkerTool': {
|
||||
'DelayLoadDLLs': [
|
||||
'BluetoothApis.dll',
|
||||
# Despite MSDN stating that Bthprops.dll contains the
|
||||
# symbols declared by bthprops.lib, they actually reside here:
|
||||
'Bthprops.cpl',
|
||||
'setupapi.dll',
|
||||
],
|
||||
'AdditionalDependencies': [
|
||||
# Bthprops must be listed before BluetoothApis or else delay
|
||||
# loading crashes.
|
||||
'Bthprops.lib',
|
||||
'BluetoothApis.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
|
||||
],
|
||||
'conditions': [
|
||||
['mac_sdk == "10.10"', {
|
||||
'xcode_settings': {
|
||||
# In the OSX 10.10 SDK, CoreBluetooth became a top level
|
||||
# framework. Previously, it was nested in IOBluetooth. In
|
||||
# order for Chrome to run on OSes older than OSX 10.10, the
|
||||
# top level CoreBluetooth framework must be weakly linked.
|
||||
'OTHER_LDFLAGS': [
|
||||
'-weak_framework CoreBluetooth',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //device/bluetooth/uribeacon
|
||||
'target_name': 'uribeacon',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'sources': [
|
||||
'uribeacon/uri_encoder.cc',
|
||||
'uribeacon/uri_encoder.h'
|
||||
]
|
||||
},
|
||||
{
|
||||
# GN version: //device/bluetooth:mocks
|
||||
'target_name': 'device_bluetooth_mocks',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'device_bluetooth',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../../',
|
||||
],
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build.
|
||||
'test/mock_bluetooth_adapter.cc',
|
||||
'test/mock_bluetooth_adapter.h',
|
||||
'test/mock_bluetooth_advertisement.cc',
|
||||
'test/mock_bluetooth_advertisement.h',
|
||||
'test/mock_bluetooth_device.cc',
|
||||
'test/mock_bluetooth_device.h',
|
||||
'test/mock_bluetooth_discovery_session.cc',
|
||||
'test/mock_bluetooth_discovery_session.h',
|
||||
'test/mock_bluetooth_gatt_characteristic.cc',
|
||||
'test/mock_bluetooth_gatt_characteristic.h',
|
||||
'test/mock_bluetooth_gatt_connection.cc',
|
||||
'test/mock_bluetooth_gatt_connection.h',
|
||||
'test/mock_bluetooth_gatt_descriptor.cc',
|
||||
'test/mock_bluetooth_gatt_descriptor.h',
|
||||
'test/mock_bluetooth_gatt_notify_session.cc',
|
||||
'test/mock_bluetooth_gatt_notify_session.h',
|
||||
'test/mock_bluetooth_gatt_service.cc',
|
||||
'test/mock_bluetooth_gatt_service.h',
|
||||
'test/mock_bluetooth_socket.cc',
|
||||
'test/mock_bluetooth_socket.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_bluetooth_jni_headers',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java',
|
||||
'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java',
|
||||
'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java',
|
||||
'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattDescriptor.java',
|
||||
'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattService.java',
|
||||
'android/java/src/org/chromium/device/bluetooth/Wrappers.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'device_bluetooth',
|
||||
},
|
||||
'includes': [ '../../build/jni_generator.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_bluetooth_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../../device/bluetooth/android/java',
|
||||
},
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
},
|
||||
],
|
||||
}],
|
||||
['OS != "ios"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'bluetooth_interfaces_mojom',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'mojom_files': [
|
||||
'public/interfaces/bluetooth_uuid.mojom',
|
||||
],
|
||||
'mojom_typemaps': [
|
||||
'public/interfaces/bluetooth_uuid.typemap',
|
||||
],
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'bluetooth_interfaces_blink_mojom',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'mojom_files': [
|
||||
'public/interfaces/bluetooth_uuid.mojom',
|
||||
],
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'bluetooth_mojom',
|
||||
'type': 'static_library',
|
||||
'export_dependent_settings': [
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
'bluetooth_interfaces_blink_mojom',
|
||||
'bluetooth_interfaces_mojom',
|
||||
'device_bluetooth',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'bluetooth_strings',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/device/bluetooth/strings',
|
||||
},
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_bluetooth_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'bluetooth_strings.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'includes': [ '../../build/grit_target.gypi' ],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_core',
|
||||
'type': '<(component)',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_CORE_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
'device_client.cc',
|
||||
'device_client.h',
|
||||
'device_info_query_win.cc',
|
||||
'device_info_query_win.h',
|
||||
'device_monitor_win.cc',
|
||||
'device_monitor_win.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'conditions': [
|
||||
['use_udev==1', {
|
||||
'dependencies': [
|
||||
'../udev_linux/udev.gyp:udev_linux',
|
||||
],
|
||||
'sources': [
|
||||
'device_monitor_linux.cc',
|
||||
'device_monitor_linux.h',
|
||||
],
|
||||
}],
|
||||
]
|
||||
},
|
||||
{
|
||||
'target_name': 'device_core_mocks',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'device_core',
|
||||
],
|
||||
'sources': [
|
||||
'mock_device_client.cc',
|
||||
'mock_device_client.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,290 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_unittests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../mojo/mojo_edk.gyp:mojo_system_impl',
|
||||
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
'../testing/gmock.gyp:gmock',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'../tools/usb_gadget/usb_gadget.gyp:usb_gadget',
|
||||
'battery/battery.gyp:device_battery',
|
||||
'battery/battery.gyp:device_battery_mojo_bindings',
|
||||
'bluetooth/bluetooth.gyp:device_bluetooth',
|
||||
'bluetooth/bluetooth.gyp:device_bluetooth_mocks',
|
||||
'core/core.gyp:device_core',
|
||||
'core/core.gyp:device_core_mocks',
|
||||
'gamepad/gamepad.gyp:device_gamepad',
|
||||
'gamepad/gamepad.gyp:device_gamepad_test_helpers',
|
||||
'nfc/nfc.gyp:device_nfc',
|
||||
'usb/usb.gyp:device_usb',
|
||||
'usb/usb.gyp:device_usb_mocks',
|
||||
'usb/usb.gyp:device_usb_mojo_bindings',
|
||||
'hid/hid.gyp:device_hid',
|
||||
'hid/hid.gyp:device_hid_mocks',
|
||||
'serial/serial.gyp:device_serial',
|
||||
'serial/serial.gyp:device_serial_test_util',
|
||||
],
|
||||
'sources': [
|
||||
'battery/battery_status_manager_linux_unittest.cc',
|
||||
'battery/battery_status_manager_win_unittest.cc',
|
||||
'battery/battery_status_service_unittest.cc',
|
||||
'bluetooth/bluetooth_adapter_mac_unittest.mm',
|
||||
'bluetooth/bluetooth_adapter_unittest.cc',
|
||||
'bluetooth/bluetooth_adapter_win_unittest.cc',
|
||||
'bluetooth/bluetooth_advertisement_unittest.cc',
|
||||
'bluetooth/bluetooth_device_unittest.cc',
|
||||
'bluetooth/bluetooth_device_win_unittest.cc',
|
||||
'bluetooth/bluetooth_discovery_filter_unittest.cc',
|
||||
'bluetooth/bluetooth_local_gatt_characteristic_unittest.cc',
|
||||
'bluetooth/bluetooth_local_gatt_descriptor_unittest.cc',
|
||||
'bluetooth/bluetooth_local_gatt_service_unittest.cc',
|
||||
'bluetooth/bluetooth_low_energy_win_unittest.cc',
|
||||
'bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc',
|
||||
'bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc',
|
||||
'bluetooth/bluetooth_remote_gatt_service_unittest.cc',
|
||||
'bluetooth/bluetooth_service_record_win_unittest.cc',
|
||||
'bluetooth/bluetooth_task_manager_win_unittest.cc',
|
||||
'bluetooth/bluetooth_uuid_unittest.cc',
|
||||
'bluetooth/test/bluetooth_gatt_server_test.cc',
|
||||
'bluetooth/test/bluetooth_gatt_server_test.h',
|
||||
'bluetooth/test/bluetooth_test.cc',
|
||||
'bluetooth/test/bluetooth_test.h',
|
||||
'bluetooth/test/bluetooth_test_android.cc',
|
||||
'bluetooth/test/bluetooth_test_android.h',
|
||||
'bluetooth/test/bluetooth_test_mac.h',
|
||||
'bluetooth/test/bluetooth_test_mac.mm',
|
||||
'bluetooth/test/bluetooth_test_win.h',
|
||||
'bluetooth/test/bluetooth_test_win.cc',
|
||||
'bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm',
|
||||
'bluetooth/test/mock_bluetooth_cbcharacteristic_mac.h',
|
||||
'bluetooth/test/mock_bluetooth_cbperipheral_mac.mm',
|
||||
'bluetooth/test/mock_bluetooth_cbperipheral_mac.h',
|
||||
'bluetooth/test/mock_bluetooth_cbservice_mac.mm',
|
||||
'bluetooth/test/mock_bluetooth_cbservice_mac.h',
|
||||
'bluetooth/test/mock_bluetooth_central_manager_mac.mm',
|
||||
'bluetooth/test/mock_bluetooth_central_manager_mac.h',
|
||||
'bluetooth/test/test_bluetooth_adapter_observer.cc',
|
||||
'bluetooth/test/test_bluetooth_adapter_observer.h',
|
||||
'bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc',
|
||||
'bluetooth/test/test_bluetooth_local_gatt_service_delegate.h',
|
||||
'gamepad/gamepad_provider_unittest.cc',
|
||||
'hid/hid_connection_unittest.cc',
|
||||
'hid/hid_device_filter_unittest.cc',
|
||||
'hid/hid_report_descriptor_unittest.cc',
|
||||
'hid/input_service_linux_unittest.cc',
|
||||
'hid/test_report_descriptors.cc',
|
||||
'hid/test_report_descriptors.h',
|
||||
'nfc/nfc_chromeos_unittest.cc',
|
||||
'nfc/nfc_ndef_record_unittest.cc',
|
||||
'serial/data_sink_unittest.cc',
|
||||
'serial/data_source_unittest.cc',
|
||||
'serial/serial_connection_unittest.cc',
|
||||
"serial/serial_io_handler_posix_unittest.cc",
|
||||
'serial/serial_service_unittest.cc',
|
||||
'test/run_all_unittests.cc',
|
||||
'test/test_device_client.cc',
|
||||
'test/test_device_client.h',
|
||||
'test/usb_test_gadget_impl.cc',
|
||||
'usb/mojo/device_impl_unittest.cc',
|
||||
'usb/mojo/device_manager_impl_unittest.cc',
|
||||
'usb/mojo/mock_permission_provider.cc',
|
||||
'usb/mojo/mock_permission_provider.h',
|
||||
'usb/usb_descriptors_unittest.cc',
|
||||
'usb/usb_device_filter_unittest.cc',
|
||||
'usb/usb_device_handle_unittest.cc',
|
||||
'usb/usb_ids_unittest.cc',
|
||||
'usb/usb_service_unittest.cc',
|
||||
'usb/webusb_descriptors_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'../chromeos/chromeos.gyp:chromeos_test_support',
|
||||
'../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
|
||||
],
|
||||
'sources!': [
|
||||
'battery/battery_status_manager_linux_unittest.cc',
|
||||
],
|
||||
}],
|
||||
['(chromeos==1 or OS=="linux") and use_dbus==1', {
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:dbus',
|
||||
'../dbus/dbus.gyp:dbus',
|
||||
],
|
||||
'sources': [
|
||||
'bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_gatt_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_service_record_bluez_unittest.cc',
|
||||
'bluetooth/bluez/bluetooth_socket_bluez_unittest.cc',
|
||||
'bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc',
|
||||
'bluetooth/test/bluetooth_test_bluez.cc',
|
||||
'bluetooth/test/bluetooth_test_bluez.h',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'dependencies!': [
|
||||
'battery/battery.gyp:device_battery',
|
||||
'serial/serial.gyp:device_serial',
|
||||
'serial/serial.gyp:device_serial_test_util',
|
||||
'hid/hid.gyp:device_hid',
|
||||
],
|
||||
'dependencies': [
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
'device_bluetooth_test_java',
|
||||
'device_bluetooth_test_jni_headers',
|
||||
],
|
||||
'sources/': [
|
||||
['exclude', '(^|/)hid'],
|
||||
['exclude', '(^|/)serial'],
|
||||
],
|
||||
'sources!': [
|
||||
'battery/battery_status_service_unittest.cc',
|
||||
'usb/usb_context_unittest.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'dependencies': [
|
||||
'../third_party/ocmock/ocmock.gyp:ocmock',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
|
||||
],
|
||||
},
|
||||
'xcode_settings' : {
|
||||
'OTHER_LDFLAGS' : [
|
||||
'-ObjC',
|
||||
],
|
||||
},
|
||||
}],
|
||||
['use_udev==1', {
|
||||
'dependencies': [
|
||||
'udev_linux/udev.gyp:udev_linux',
|
||||
],
|
||||
'sources': [
|
||||
'udev_linux/udev_unittest.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and use_udev==0', {
|
||||
# Udev is the only Linux implementation. If we're compiling without
|
||||
# Udev, disable these unittests.
|
||||
'dependencies!': [
|
||||
'hid/hid.gyp:device_hid',
|
||||
'serial/serial.gyp:device_serial',
|
||||
'serial/serial.gyp:device_serial_test_util',
|
||||
],
|
||||
'sources/': [
|
||||
['exclude', '^serial/'],
|
||||
['exclude', '^hid/'],
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and use_dbus==1', {
|
||||
'dependencies': [
|
||||
'../dbus/dbus.gyp:dbus_test_support',
|
||||
],
|
||||
}, { # OS != "linux" or use_dbus==0
|
||||
'sources!': [
|
||||
'battery/battery_status_manager_linux_unittest.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'sources': [
|
||||
'bluetooth/bluetooth_classic_win_fake.cc',
|
||||
'bluetooth/bluetooth_classic_win_fake.h',
|
||||
'bluetooth/bluetooth_low_energy_win_fake.h',
|
||||
'bluetooth/bluetooth_low_energy_win_fake.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_unittests_apk',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'device_unittests',
|
||||
],
|
||||
'variables': {
|
||||
'test_suite_name': 'device_unittests',
|
||||
},
|
||||
'includes': [ '../build/apk_test.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_bluetooth_test_jni_headers',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'device_bluetooth',
|
||||
},
|
||||
'includes': [ '../build/jni_generator.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_bluetooth_test_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'bluetooth/bluetooth.gyp:device_bluetooth_java',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': 'bluetooth/test/android/java',
|
||||
},
|
||||
'includes': [ '../build/java.gypi' ],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_unittests_apk_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'device_unittests_apk',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'device_unittests_apk.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'device_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'device_unittests.isolate',
|
||||
]
|
||||
}
|
||||
]
|
||||
}]
|
||||
],
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
# Copyright 2016 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/gamepad
|
||||
'target_name': 'device_gamepad',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_GAMEPAD_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build.
|
||||
'gamepad_consumer.cc',
|
||||
'gamepad_consumer.h',
|
||||
'gamepad_data_fetcher.cc',
|
||||
'gamepad_data_fetcher.h',
|
||||
'gamepad_data_fetcher_manager.cc',
|
||||
'gamepad_data_fetcher_manager.h',
|
||||
'gamepad_platform_data_fetcher.h',
|
||||
'gamepad_platform_data_fetcher_android.cc',
|
||||
'gamepad_platform_data_fetcher_android.h',
|
||||
'gamepad_platform_data_fetcher_linux.cc',
|
||||
'gamepad_platform_data_fetcher_linux.h',
|
||||
'gamepad_platform_data_fetcher_mac.h',
|
||||
'gamepad_platform_data_fetcher_mac.mm',
|
||||
'gamepad_platform_data_fetcher_win.cc',
|
||||
'gamepad_platform_data_fetcher_win.h',
|
||||
'gamepad_provider.cc',
|
||||
'gamepad_provider.h',
|
||||
'gamepad_standard_mappings.cc',
|
||||
'gamepad_standard_mappings.h',
|
||||
'gamepad_standard_mappings_linux.cc',
|
||||
'gamepad_standard_mappings_mac.mm',
|
||||
'gamepad_standard_mappings_win.cc',
|
||||
'gamepad_user_gesture.cc',
|
||||
'gamepad_user_gesture.h',
|
||||
'raw_input_data_fetcher_win.cc',
|
||||
'raw_input_data_fetcher_win.h',
|
||||
'xbox_data_fetcher_mac.h',
|
||||
'xbox_data_fetcher_mac.mm',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
'msvs_disabled_warnings': [4267, ],
|
||||
}],
|
||||
['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev==0)', {
|
||||
'sources!': [
|
||||
'gamepad_platform_data_fetcher_linux.cc',
|
||||
],
|
||||
}],
|
||||
['use_udev == 1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/device/udev_linux/udev.gyp:udev_linux',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //device/gamepad:test_helpers
|
||||
'target_name': 'device_gamepad_test_helpers',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'device_gamepad',
|
||||
],
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build.
|
||||
'gamepad_test_helpers.cc',
|
||||
'gamepad_test_helpers.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,139 +0,0 @@
|
||||
# Copyright 2016 The Chromium 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': {
|
||||
# This turns on e.g. the filename-based detection of which platforms to
|
||||
# include source files on (e.g. files ending in _mac.h or _mac.cc are only
|
||||
# compiled on MacOSX).
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/geolocation:device_geolocation
|
||||
'target_name': 'device_geolocation',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/base.gyp:base',
|
||||
'<(DEPTH)/google_apis/google_apis.gyp:google_apis',
|
||||
'<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
|
||||
'<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
# TODO(mcasas): move geolocation.mojom to public/interfaces.
|
||||
'<(DEPTH)/third_party/WebKit/public/blink.gyp:mojo_bindings',
|
||||
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_GEOLOCATION_IMPLEMENTATION',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'access_token_store.h',
|
||||
'android/geolocation_jni_registrar.cc',
|
||||
'android/geolocation_jni_registrar.h',
|
||||
'empty_wifi_data_provider.cc',
|
||||
'empty_wifi_data_provider.h',
|
||||
'geolocation_delegate.cc',
|
||||
'geolocation_delegate.h',
|
||||
'geolocation_export.h',
|
||||
'geolocation_provider.h',
|
||||
'geolocation_provider_impl.cc',
|
||||
'geolocation_provider_impl.h',
|
||||
'geolocation_service_context.h',
|
||||
'geolocation_service_context.cc',
|
||||
'geolocation_service_impl.cc',
|
||||
'geolocation_service_impl.h',
|
||||
'geoposition.cc',
|
||||
'geoposition.h',
|
||||
'location_api_adapter_android.cc',
|
||||
'location_api_adapter_android.h',
|
||||
'location_arbitrator.h',
|
||||
'location_arbitrator_impl.cc',
|
||||
'location_arbitrator_impl.h',
|
||||
'location_provider.h',
|
||||
'location_provider_android.cc',
|
||||
'location_provider_android.h',
|
||||
'location_provider_base.cc',
|
||||
'location_provider_base.h',
|
||||
'network_location_provider.cc',
|
||||
'network_location_provider.h',
|
||||
'network_location_request.cc',
|
||||
'network_location_request.h',
|
||||
'wifi_data.cc',
|
||||
'wifi_data.h',
|
||||
'wifi_data_provider.cc',
|
||||
'wifi_data_provider.h',
|
||||
'wifi_data_provider_chromeos.cc',
|
||||
'wifi_data_provider_chromeos.h',
|
||||
'wifi_data_provider_common.cc',
|
||||
'wifi_data_provider_common.h',
|
||||
'wifi_data_provider_common_win.cc',
|
||||
'wifi_data_provider_common_win.h',
|
||||
'wifi_data_provider_corewlan_mac.mm',
|
||||
'wifi_data_provider_linux.cc',
|
||||
'wifi_data_provider_linux.h',
|
||||
'wifi_data_provider_mac.cc',
|
||||
'wifi_data_provider_mac.h',
|
||||
'wifi_data_provider_manager.cc',
|
||||
'wifi_data_provider_manager.h',
|
||||
'wifi_data_provider_win.cc',
|
||||
'wifi_data_provider_win.h',
|
||||
'wifi_polling_policy.h',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS=="android"', {
|
||||
'sources!': [
|
||||
'network_location_provider.cc',
|
||||
'network_location_provider.h',
|
||||
'network_location_request.cc',
|
||||
'network_location_request.h',
|
||||
],
|
||||
}],
|
||||
|
||||
# Dealing with *wifi_data_provider_*.cc is also a bit complicated given
|
||||
# android, chromeos, linux and use_dbus.
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/chromeos/chromeos.gyp:chromeos',
|
||||
],
|
||||
'sources!': [
|
||||
'wifi_data_provider_linux.cc'
|
||||
],
|
||||
}],
|
||||
|
||||
['OS=="linux"', {
|
||||
'conditions': [
|
||||
["use_dbus==1", {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/build/linux/system.gyp:dbus',
|
||||
'<(DEPTH)/dbus/dbus.gyp:dbus',
|
||||
],
|
||||
'sources!': [
|
||||
'empty_wifi_data_provider.cc',
|
||||
],
|
||||
}, { # use_dbus==0
|
||||
'geolocation_unittest_sources!': [
|
||||
'wifi_data_provider_linux.cc',
|
||||
],
|
||||
}]
|
||||
],
|
||||
}],
|
||||
|
||||
['OS=="win"', {
|
||||
# TODO(jschuh): http://crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
}],
|
||||
|
||||
['OS=="mac" or OS=="win"', {
|
||||
'sources!': [
|
||||
'empty_wifi_data_provider.cc',
|
||||
'empty_wifi_data_provider.h',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_hid',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../components/components.gyp:device_event_log_component',
|
||||
'../../net/net.gyp:net',
|
||||
'../core/core.gyp:device_core',
|
||||
],
|
||||
'sources': [
|
||||
'hid_collection_info.cc',
|
||||
'hid_collection_info.h',
|
||||
'hid_connection.cc',
|
||||
'hid_connection.h',
|
||||
'hid_connection_linux.cc',
|
||||
'hid_connection_linux.h',
|
||||
'hid_connection_mac.cc',
|
||||
'hid_connection_mac.h',
|
||||
'hid_connection_win.cc',
|
||||
'hid_connection_win.h',
|
||||
'hid_device_filter.cc',
|
||||
'hid_device_filter.h',
|
||||
'hid_device_info.cc',
|
||||
'hid_device_info.h',
|
||||
'hid_device_info_linux.cc',
|
||||
'hid_device_info_linux.h',
|
||||
'hid_report_descriptor.cc',
|
||||
'hid_report_descriptor.h',
|
||||
'hid_report_descriptor_item.cc',
|
||||
'hid_report_descriptor_item.h',
|
||||
'hid_service.cc',
|
||||
'hid_service.h',
|
||||
'hid_service_mac.cc',
|
||||
'hid_service_mac.h',
|
||||
'hid_service_win.cc',
|
||||
'hid_service_win.h',
|
||||
'hid_usage_and_page.cc',
|
||||
'hid_usage_and_page.h',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="linux" and use_udev==1', {
|
||||
'dependencies': [
|
||||
'../udev_linux/udev.gyp:udev_linux',
|
||||
],
|
||||
'sources': [
|
||||
'fake_input_service_linux.cc',
|
||||
'fake_input_service_linux.h',
|
||||
'hid_service_linux.cc',
|
||||
'hid_service_linux.h',
|
||||
'input_service_linux.cc',
|
||||
'input_service_linux.h',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'all_dependent_settings': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalDependencies': [
|
||||
'hid.lib',
|
||||
'setupapi.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalDependencies': [
|
||||
'hid.lib',
|
||||
'setupapi.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_hid_mocks',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'device_hid',
|
||||
],
|
||||
'sources': [
|
||||
'mock_hid_service.cc',
|
||||
'mock_hid_service.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# Protobuf compiler / generator for the MtpFileEntry and
|
||||
# MtpFileEntries protocol buffers.
|
||||
# GN version: //device/media_transfer_protocol:mtp_file_entry_proto
|
||||
'target_name': 'mtp_file_entry_proto',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'../../third_party/cros_system_api/dbus/mtp_file_entry.proto',
|
||||
],
|
||||
'variables': {
|
||||
'proto_in_dir': '../../third_party/cros_system_api/dbus',
|
||||
'proto_out_dir': 'device/media_transfer_protocol',
|
||||
},
|
||||
'includes': ['../../build/protoc.gypi'],
|
||||
},
|
||||
{
|
||||
# Protobuf compiler / generator for the MtpStorageInfo protocol
|
||||
# buffer.
|
||||
# GN version: //device/media_transfer_protocol:mtp_storage_info_proto
|
||||
'target_name': 'mtp_storage_info_proto',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'../../third_party/cros_system_api/dbus/mtp_storage_info.proto',
|
||||
],
|
||||
'variables': {
|
||||
'proto_in_dir': '../../third_party/cros_system_api/dbus',
|
||||
'proto_out_dir': 'device/media_transfer_protocol',
|
||||
},
|
||||
'includes': ['../../build/protoc.gypi'],
|
||||
},
|
||||
{
|
||||
# GN version: //device/media_transfer_protocol
|
||||
'target_name': 'device_media_transfer_protocol',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:dbus',
|
||||
'../../dbus/dbus.gyp:dbus',
|
||||
'mtp_file_entry_proto',
|
||||
'mtp_storage_info_proto',
|
||||
],
|
||||
'sources': [
|
||||
'media_transfer_protocol_daemon_client.cc',
|
||||
'media_transfer_protocol_daemon_client.h',
|
||||
'media_transfer_protocol_manager.cc',
|
||||
'media_transfer_protocol_manager.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'android_support_v13_target%':
|
||||
'../../third_party/android_tools/android_tools.gyp:android_support_v13_javalib',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_nfc_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'nfc.mojom',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'device_nfc_mojo_bindings_for_blink',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'nfc.mojom',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_nfc_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'<(android_support_v13_target)',
|
||||
'../../base/base.gyp:base',
|
||||
'../../mojo/mojo_public.gyp:mojo_bindings_java',
|
||||
'device_nfc_mojo_bindings',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../../device/nfc/android/java',
|
||||
},
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
},
|
||||
],
|
||||
}, { # OS != "android"
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 2016 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/power_save_blocker
|
||||
'target_name': 'device_power_save_blocker',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build, other than Android, as gyp
|
||||
# for Android isn't supported.
|
||||
'power_save_blocker.h',
|
||||
'power_save_blocker_chromeos.cc',
|
||||
'power_save_blocker_mac.cc',
|
||||
'power_save_blocker_ozone.cc',
|
||||
'power_save_blocker_win.cc',
|
||||
'power_save_blocker_x11.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['use_x11==1 and chromeos==0', {
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:xext',
|
||||
'../../build/linux/system.gyp:xscrnsaver',
|
||||
'../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
|
||||
],
|
||||
}],
|
||||
['use_dbus==1', {
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:dbus',
|
||||
'../../dbus/dbus.gyp:dbus',
|
||||
],
|
||||
}],
|
||||
['chromeos==1', {
|
||||
'sources!': [
|
||||
'power_save_blocker_ozone.cc',
|
||||
'power_save_blocker_x11.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../chromeos/chromeos.gyp:chromeos',
|
||||
'../../chromeos/chromeos.gyp:power_manager_proto',
|
||||
],
|
||||
}],
|
||||
['OS == "mac"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 2016 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'mojom_files': [
|
||||
'public/interfaces/light.mojom',
|
||||
'public/interfaces/motion.mojom',
|
||||
'public/interfaces/orientation.mojom',
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_sensors_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'sources': [ '<@(mojom_files)' ],
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'device_sensors_mojo_bindings_for_blink',
|
||||
'type': 'static_library',
|
||||
'sources': [ '<@(mojom_files)' ],
|
||||
'variables': {
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,144 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/serial:serial_mojo
|
||||
'target_name': 'device_serial_mojo',
|
||||
# The type of this target must be none. This is so that resources can
|
||||
# depend upon this target for generating the js bindings files. Any
|
||||
# generated cpp files must be listed explicitly in device_serial
|
||||
'type': 'none',
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'data_stream.mojom',
|
||||
'data_stream_serialization.mojom',
|
||||
'serial.mojom',
|
||||
'serial_serialization.mojom',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //device/serial
|
||||
'target_name': 'device_serial',
|
||||
'type': 'static_library',
|
||||
'conditions': [
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'../../chromeos/chromeos.gyp:chromeos',
|
||||
'../../dbus/dbus.gyp:dbus',
|
||||
],
|
||||
}],
|
||||
['use_udev == 1', {
|
||||
'dependencies': [
|
||||
'../udev_linux/udev.gyp:udev_linux',
|
||||
],
|
||||
}, {
|
||||
'sources!': [
|
||||
'serial_device_enumerator_linux.cc',
|
||||
'serial_device_enumerator_linux.h',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'link_settings': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'DelayLoadDLLs': [
|
||||
'setupapi.dll',
|
||||
],
|
||||
'AdditionalDependencies': [
|
||||
'setupapi.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
'all_dependent_settings': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'DelayLoadDLLs': [
|
||||
'setupapi.dll',
|
||||
],
|
||||
'AdditionalDependencies': [
|
||||
'setupapi.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
}],
|
||||
],
|
||||
'dependencies': [
|
||||
'device_serial_mojo',
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
'../../net/net.gyp:net',
|
||||
'../../third_party/re2/re2.gyp:re2',
|
||||
'../core/core.gyp:device_core',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'device_serial_mojo',
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
],
|
||||
'sources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.cc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h',
|
||||
'buffer.cc',
|
||||
'buffer.h',
|
||||
'data_receiver.cc',
|
||||
'data_receiver.h',
|
||||
'data_sender.cc',
|
||||
'data_sender.h',
|
||||
'data_sink_receiver.cc',
|
||||
'data_sink_receiver.h',
|
||||
'data_source_sender.cc',
|
||||
'data_source_sender.h',
|
||||
'serial_connection.cc',
|
||||
'serial_connection.h',
|
||||
'serial_connection_factory.cc',
|
||||
'serial_connection_factory.h',
|
||||
'serial_device_enumerator.cc',
|
||||
'serial_device_enumerator.h',
|
||||
'serial_device_enumerator_linux.cc',
|
||||
'serial_device_enumerator_linux.h',
|
||||
'serial_device_enumerator_mac.cc',
|
||||
'serial_device_enumerator_mac.h',
|
||||
'serial_device_enumerator_win.cc',
|
||||
'serial_device_enumerator_win.h',
|
||||
'serial_io_handler.cc',
|
||||
'serial_io_handler.h',
|
||||
'serial_io_handler_posix.cc',
|
||||
'serial_io_handler_posix.h',
|
||||
'serial_io_handler_win.cc',
|
||||
'serial_io_handler_win.h',
|
||||
'serial_service_impl.cc',
|
||||
'serial_service_impl.h',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //device/serial:test_support
|
||||
'target_name': 'device_serial_test_util',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'device_serial',
|
||||
'device_serial_mojo',
|
||||
],
|
||||
'sources': [
|
||||
'test_serial_io_handler.cc',
|
||||
'test_serial_io_handler.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'conditions': [
|
||||
['use_udev==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'udev_linux',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../build/linux/system.gyp:udev',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'scoped_udev.h',
|
||||
'udev.cc',
|
||||
'udev.h',
|
||||
'udev0_loader.cc',
|
||||
'udev0_loader.h',
|
||||
'udev1_loader.cc',
|
||||
'udev1_loader.h',
|
||||
'udev_linux.cc',
|
||||
'udev_linux.h',
|
||||
'udev_loader.cc',
|
||||
'udev_loader.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
]
|
||||
}
|
@ -1,218 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'mojom_files': [
|
||||
'public/interfaces/chooser_service.mojom',
|
||||
'public/interfaces/device.mojom',
|
||||
'public/interfaces/device_manager.mojom',
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_usb',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'device_usb_mojo_bindings',
|
||||
'../../components/components.gyp:device_event_log_component',
|
||||
'../../net/net.gyp:net',
|
||||
'../core/core.gyp:device_core',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'android/usb_jni_registrar.cc',
|
||||
'android/usb_jni_registrar.h',
|
||||
'mojo/device_impl.cc',
|
||||
'mojo/device_impl.h',
|
||||
'mojo/device_manager_impl.cc',
|
||||
'mojo/device_manager_impl.h',
|
||||
'mojo/type_converters.cc',
|
||||
'mojo/type_converters.h',
|
||||
'mojo/permission_provider.cc',
|
||||
'mojo/permission_provider.h',
|
||||
'usb_configuration_android.cc',
|
||||
'usb_configuration_android.h',
|
||||
'usb_descriptors.cc',
|
||||
'usb_descriptors.h',
|
||||
'usb_device_linux.cc',
|
||||
'usb_device_linux.h',
|
||||
'usb_device.cc',
|
||||
'usb_device.h',
|
||||
'usb_device_android.cc',
|
||||
'usb_device_android.h',
|
||||
'usb_device_filter.cc',
|
||||
'usb_device_filter.h',
|
||||
'usb_device_handle.cc',
|
||||
'usb_device_handle.h',
|
||||
'usb_endpoint_android.cc',
|
||||
'usb_endpoint_android.h',
|
||||
'usb_ids.cc',
|
||||
'usb_ids.h',
|
||||
'usb_interface_android.cc',
|
||||
'usb_interface_android.h',
|
||||
'usb_service.cc',
|
||||
'usb_service.h',
|
||||
'usb_service_android.cc',
|
||||
'usb_service_android.h',
|
||||
'webusb_descriptors.cc',
|
||||
'webusb_descriptors.h',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_usb_ids',
|
||||
'variables': {
|
||||
'usb_ids_path%': '../../third_party/usb_ids/usb.ids',
|
||||
'usb_ids_py_path': 'tools/usb_ids.py',
|
||||
},
|
||||
'inputs': [
|
||||
'<(usb_ids_path)',
|
||||
'<(usb_ids_py_path)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(usb_ids_py_path)',
|
||||
'-i', '<(usb_ids_path)',
|
||||
'-o', '<@(_outputs)',
|
||||
],
|
||||
'process_outputs_as_sources': 1,
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['use_udev == 1', {
|
||||
'sources': [
|
||||
'usb_service_linux.cc',
|
||||
'usb_service_linux.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../udev_linux/udev.gyp:udev_linux',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'dependencies': [
|
||||
'device_usb_java',
|
||||
'device_usb_jni_headers',
|
||||
],
|
||||
}],
|
||||
['OS=="win" or OS=="mac"', {
|
||||
'dependencies': [
|
||||
'../../third_party/libusb/libusb.gyp:libusb',
|
||||
],
|
||||
'sources': [
|
||||
'usb_context.cc',
|
||||
'usb_context.h',
|
||||
'usb_device_handle_impl.cc',
|
||||
'usb_device_handle_impl.h',
|
||||
'usb_device_impl.cc',
|
||||
'usb_device_impl.h',
|
||||
'usb_error.cc',
|
||||
'usb_error.h',
|
||||
'usb_service_impl.cc',
|
||||
'usb_service_impl.h',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" or OS=="android"', {
|
||||
'sources': [
|
||||
'usb_device_handle_usbfs.cc',
|
||||
'usb_device_handle_usbfs.h',
|
||||
],
|
||||
}],
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'../../chromeos/chromeos.gyp:chromeos',
|
||||
],
|
||||
}]
|
||||
]
|
||||
},
|
||||
{
|
||||
'target_name': 'device_usb_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'sources': [ '<@(mojom_files)' ],
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'device_usb_mojo_bindings_for_blink',
|
||||
'type': 'static_library',
|
||||
'sources': [ '<@(mojom_files)' ],
|
||||
'variables': {
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_usb_mocks',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'device_usb',
|
||||
],
|
||||
'sources': [
|
||||
'mock_usb_device.cc',
|
||||
'mock_usb_device.h',
|
||||
'mock_usb_device_handle.cc',
|
||||
'mock_usb_device_handle.h',
|
||||
'mock_usb_service.cc',
|
||||
'mock_usb_service.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_usb_jni_headers',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'android/java/src/org/chromium/device/usb/ChromeUsbConfiguration.java',
|
||||
'android/java/src/org/chromium/device/usb/ChromeUsbDevice.java',
|
||||
'android/java/src/org/chromium/device/usb/ChromeUsbEndpoint.java',
|
||||
'android/java/src/org/chromium/device/usb/ChromeUsbInterface.java',
|
||||
'android/java/src/org/chromium/device/usb/ChromeUsbService.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'device_usb',
|
||||
},
|
||||
'includes': [ '../../build/jni_generator.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'device_usb_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'usb_descriptors_javagen',
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../../device/usb/android/java',
|
||||
},
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'usb_descriptors_javagen',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'source_file': 'usb_descriptors.h',
|
||||
},
|
||||
'includes': [ '../../build/android/java_cpp_enum.gypi' ],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/vibration:mojo_bindings
|
||||
'target_name': 'device_vibration_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'vibration_manager.mojom',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //device/vibration:mojo_bindings_blink
|
||||
'target_name': 'device_vibration_mojo_bindings_for_blink',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'vibration_manager.mojom',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //device/vibration
|
||||
'target_name': 'device_vibration',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../../mojo/mojo_edk.gyp:mojo_system_impl',
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
'device_vibration_mojo_bindings',
|
||||
],
|
||||
'defines': [
|
||||
'DEVICE_VIBRATION_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
'vibration_manager_impl.h',
|
||||
'vibration_manager_impl_default.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'dependencies': [
|
||||
'device_vibration_java',
|
||||
],
|
||||
'sources!': [
|
||||
'vibration_manager_impl_default.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'device_vibration_java',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../mojo/mojo_public.gyp:mojo_bindings_java',
|
||||
'device_vibration_mojo_bindings',
|
||||
],
|
||||
'variables': {
|
||||
'java_in_dir': '../../device/vibration/android/java',
|
||||
},
|
||||
'includes': [ '../../build/java.gypi' ],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 2016 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //device/vr:mojo_bindings
|
||||
'target_name': 'device_vr_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'vr_service.mojom',
|
||||
],
|
||||
'variables': {
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //device/vr:mojo_bindings_blink
|
||||
'target_name': 'device_vr_mojo_bindings_for_blink',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'for_blink': 'true',
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'includes': [
|
||||
'../../mojo/mojom_bindings_generator.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'vr_service.mojom',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'javascript_dialog_extensions_client',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../components/components.gyp:app_modal',
|
||||
'../../skia/skia.gyp:skia',
|
||||
'../extensions.gyp:extensions_browser',
|
||||
'../extensions.gyp:extensions_common',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.cc',
|
||||
'javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'native_app_window',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../content/content.gyp:content_browser',
|
||||
'../../skia/skia.gyp:skia',
|
||||
'../../ui/views/views.gyp:views',
|
||||
'../../ui/views/controls/webview/webview.gyp:webview',
|
||||
'../extensions.gyp:extensions_browser',
|
||||
'../extensions.gyp:extensions_common',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'native_app_window/native_app_window_views.cc',
|
||||
'native_app_window/native_app_window_views.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# This file is meant to be included into a target to provide a rule that
|
||||
# fingerprints the v8 snapshot and generates a .cc file which includes this
|
||||
# fingerprint.
|
||||
#
|
||||
# To use this, create a gyp target with the following form:
|
||||
# {
|
||||
# 'target_name': 'gin_v8_snapshot_fingerprint',
|
||||
# 'type': 'none',
|
||||
# 'variables': {
|
||||
# 'snapshot_file': 'snapshot blob file to be fingerprinted',
|
||||
# 'natives_file': 'natives blob file to be fingerprinted',
|
||||
# 'output_file': 'output .cc file to generate with fingerprints',
|
||||
# },
|
||||
# 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ],
|
||||
# },
|
||||
#
|
||||
|
||||
{
|
||||
'conditions': [
|
||||
['v8_use_external_startup_data==1', {
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'Generate V8 snapshot fingerprint',
|
||||
'message': 'Generating V8 snapshot fingerprint',
|
||||
'inputs': [
|
||||
'<(DEPTH)/gin/fingerprint/fingerprint_v8_snapshot.py',
|
||||
'<(snapshot_file)',
|
||||
'<(natives_file)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(output_file)',
|
||||
],
|
||||
'action': [
|
||||
'python', '<(DEPTH)/gin/fingerprint/fingerprint_v8_snapshot.py',
|
||||
'--snapshot_file=<(snapshot_file)',
|
||||
'--natives_file=<(natives_file)',
|
||||
'--output_file=<(output_file)',
|
||||
],
|
||||
}
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
198
gin/gin.gyp
198
gin/gin.gyp
@ -1,198 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'gin_gen_path': '<(SHARED_INTERMEDIATE_DIR)/gin/',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gin',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../v8/src/v8.gyp:v8',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../base/base.gyp:base',
|
||||
'../v8/src/v8.gyp:v8',
|
||||
],
|
||||
'defines': [
|
||||
'GIN_IMPLEMENTATION',
|
||||
],
|
||||
'sources': [
|
||||
'arguments.cc',
|
||||
'arguments.h',
|
||||
'array_buffer.cc',
|
||||
'array_buffer.h',
|
||||
'context_holder.cc',
|
||||
'converter.cc',
|
||||
'converter.h',
|
||||
'debug_impl.cc',
|
||||
'debug_impl.h',
|
||||
'dictionary.cc',
|
||||
'dictionary.h',
|
||||
'function_template.cc',
|
||||
'function_template.h',
|
||||
'gin_export.h',
|
||||
'gin_features.cc',
|
||||
'handle.h',
|
||||
'interceptor.cc',
|
||||
'interceptor.h',
|
||||
'isolate_holder.cc',
|
||||
'modules/console.cc',
|
||||
'modules/console.h',
|
||||
'modules/file_module_provider.cc',
|
||||
'modules/file_module_provider.h',
|
||||
'modules/module_registry.cc',
|
||||
'modules/module_registry.h',
|
||||
'modules/module_registry_observer.h',
|
||||
'modules/module_runner_delegate.cc',
|
||||
'modules/module_runner_delegate.h',
|
||||
'modules/timer.cc',
|
||||
'modules/timer.h',
|
||||
'object_template_builder.cc',
|
||||
'object_template_builder.h',
|
||||
'per_context_data.cc',
|
||||
'per_context_data.h',
|
||||
'per_isolate_data.cc',
|
||||
'per_isolate_data.h',
|
||||
'public/context_holder.h',
|
||||
'public/debug.h',
|
||||
'public/gin_embedders.h',
|
||||
'public/gin_features.h',
|
||||
'public/isolate_holder.h',
|
||||
'public/v8_platform.h',
|
||||
'public/wrapper_info.h',
|
||||
'runner.cc',
|
||||
'runner.h',
|
||||
'run_microtasks_observer.cc',
|
||||
'run_microtasks_observer.h',
|
||||
'shell_runner.cc',
|
||||
'shell_runner.h',
|
||||
'try_catch.cc',
|
||||
'try_catch.h',
|
||||
'v8_initializer.h',
|
||||
'v8_initializer.cc',
|
||||
'v8_isolate_memory_dump_provider.cc',
|
||||
'v8_isolate_memory_dump_provider.h',
|
||||
'v8_platform.cc',
|
||||
'wrappable.cc',
|
||||
'wrappable.h',
|
||||
'wrapper_info.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['v8_use_external_startup_data==1 and OS=="win"', {
|
||||
'dependencies': [
|
||||
'gin_v8_snapshot_fingerprint',
|
||||
'../crypto/crypto.gyp:crypto',
|
||||
],
|
||||
'sources': [
|
||||
'<(gin_gen_path)/v8_snapshot_fingerprint.cc',
|
||||
],
|
||||
'defines': [
|
||||
'V8_VERIFY_EXTERNAL_STARTUP_DATA',
|
||||
]
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'gin_v8_snapshot_fingerprint',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'snapshot_file': '<(PRODUCT_DIR)/snapshot_blob.bin',
|
||||
'natives_file': '<(PRODUCT_DIR)/natives_blob.bin',
|
||||
'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc',
|
||||
},
|
||||
'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'gin_shell',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:base_i18n',
|
||||
'../v8/src/v8.gyp:v8',
|
||||
'gin',
|
||||
],
|
||||
'sources': [
|
||||
'shell/gin_main.cc',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'SubSystem': '1', # /SUBSYSTEM:CONSOLE
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'gin_test',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'../v8/src/v8.gyp:v8',
|
||||
'gin',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'gin',
|
||||
],
|
||||
'sources': [
|
||||
'test/file.cc',
|
||||
'test/file.h',
|
||||
'test/file_runner.cc',
|
||||
'test/file_runner.h',
|
||||
'test/gc.cc',
|
||||
'test/gc.h',
|
||||
'test/gtest.cc',
|
||||
'test/gtest.h',
|
||||
'test/v8_test.cc',
|
||||
'test/v8_test.h',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'gin_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../v8/src/v8.gyp:v8',
|
||||
'gin_shell',
|
||||
'gin_test',
|
||||
],
|
||||
'sources': [
|
||||
'converter_unittest.cc',
|
||||
'interceptor_unittest.cc',
|
||||
'modules/module_registry_unittest.cc',
|
||||
'modules/timer_unittest.cc',
|
||||
'per_context_data_unittest.cc',
|
||||
'shell_runner_unittest.cc',
|
||||
'shell/gin_shell_unittest.cc',
|
||||
'test/run_all_unittests.cc',
|
||||
'test/run_js_tests.cc',
|
||||
'v8_isolate_memory_dump_provider_unittest.cc',
|
||||
'wrappable_unittest.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gin_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'gin_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'gin_unittests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Include this .gypi in your target to dynamically set the
|
||||
# use_official_google_api_keys variable (unless it is already
|
||||
# explicitly set) and the associated preprocessor define.
|
||||
|
||||
{
|
||||
'variables': {
|
||||
'variables': {
|
||||
# See documentation of this variable in //build/common.gypi.
|
||||
'use_official_google_api_keys%': 2,
|
||||
},
|
||||
|
||||
# Copy conditionally-set variables out one scope.
|
||||
'use_official_google_api_keys%': '<(use_official_google_api_keys)',
|
||||
|
||||
'conditions': [
|
||||
# If use_official_google_api_keys is already set (to 0 or 1), we
|
||||
# do none of the implicit checking. If it is set to 1 and the
|
||||
# internal keys file is missing, the build will fail at compile
|
||||
# time. If it is set to 0 and keys are not provided by other
|
||||
# means, a warning will be printed at compile time.
|
||||
['use_official_google_api_keys==2', {
|
||||
'use_official_google_api_keys%':
|
||||
'<!(python <(DEPTH)/google_apis/build/check_internal.py <(DEPTH)/google_apis/internal/google_chrome_api_keys.h)',
|
||||
}],
|
||||
]
|
||||
},
|
||||
|
||||
'conditions': [
|
||||
['use_official_google_api_keys==1', {
|
||||
'defines': ['USE_OFFICIAL_GOOGLE_API_KEYS=1'],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,208 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
|
||||
'targets': [
|
||||
# The public GCM target.
|
||||
{
|
||||
# GN version: //google_apis/gcm
|
||||
'target_name': 'gcm',
|
||||
'type': '<(component)',
|
||||
'variables': {
|
||||
'enable_wexit_time_destructors': 1,
|
||||
'proto_in_dir': './protocol',
|
||||
'proto_out_dir': 'google_apis/gcm/protocol',
|
||||
'cc_generator_options': 'dllexport_decl=GCM_EXPORT:',
|
||||
'cc_include': 'google_apis/gcm/base/gcm_export.h',
|
||||
},
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'defines': [
|
||||
'GCM_IMPLEMENTATION',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite'
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../../net/net.gyp:net',
|
||||
'../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
||||
'../../url/url.gyp:url_lib',
|
||||
],
|
||||
'sources': [
|
||||
# Note: sources list duplicated in GN build.
|
||||
'base/gcm_util.cc',
|
||||
'base/gcm_util.h',
|
||||
'base/mcs_message.cc',
|
||||
'base/mcs_message.h',
|
||||
'base/mcs_util.cc',
|
||||
'base/mcs_util.h',
|
||||
'base/socket_stream.cc',
|
||||
'base/socket_stream.h',
|
||||
'engine/account_mapping.cc',
|
||||
'engine/account_mapping.h',
|
||||
'engine/checkin_request.cc',
|
||||
'engine/checkin_request.h',
|
||||
'engine/connection_factory.cc',
|
||||
'engine/connection_factory.h',
|
||||
'engine/connection_factory_impl.cc',
|
||||
'engine/connection_factory_impl.h',
|
||||
'engine/connection_handler.cc',
|
||||
'engine/connection_handler.h',
|
||||
'engine/connection_handler_impl.cc',
|
||||
'engine/connection_handler_impl.h',
|
||||
'engine/gcm_registration_request_handler.cc',
|
||||
'engine/gcm_registration_request_handler.h',
|
||||
'engine/gcm_store.cc',
|
||||
'engine/gcm_store.h',
|
||||
'engine/gcm_store_impl.cc',
|
||||
'engine/gcm_store_impl.h',
|
||||
'engine/gcm_unregistration_request_handler.cc',
|
||||
'engine/gcm_unregistration_request_handler.h',
|
||||
'engine/gservices_settings.cc',
|
||||
'engine/gservices_settings.h',
|
||||
'engine/gservices_switches.cc',
|
||||
'engine/gservices_switches.h',
|
||||
'engine/heartbeat_manager.cc',
|
||||
'engine/heartbeat_manager.h',
|
||||
'engine/instance_id_delete_token_request_handler.cc',
|
||||
'engine/instance_id_delete_token_request_handler.h',
|
||||
'engine/instance_id_get_token_request_handler.cc',
|
||||
'engine/instance_id_get_token_request_handler.h',
|
||||
'engine/mcs_client.cc',
|
||||
'engine/mcs_client.h',
|
||||
'engine/registration_request.cc',
|
||||
'engine/registration_request.h',
|
||||
'engine/unregistration_request.cc',
|
||||
'engine/unregistration_request.h',
|
||||
'monitoring/gcm_stats_recorder.h',
|
||||
'protocol/android_checkin.proto',
|
||||
'protocol/checkin.proto',
|
||||
'protocol/mcs.proto',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/protoc.gypi'
|
||||
],
|
||||
},
|
||||
|
||||
# The test support library that is needed to test gcm.
|
||||
{
|
||||
# GN version: //google_apis/gcm:test_support
|
||||
'target_name': 'gcm_test_support',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite'
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
||||
'gcm',
|
||||
],
|
||||
'sources': [
|
||||
# Note: sources list duplicated in GN build.
|
||||
'base/fake_encryptor.cc',
|
||||
'base/fake_encryptor.h',
|
||||
'engine/fake_connection_factory.cc',
|
||||
'engine/fake_connection_factory.h',
|
||||
'engine/fake_connection_handler.cc',
|
||||
'engine/fake_connection_handler.h',
|
||||
'monitoring/fake_gcm_stats_recorder.cc',
|
||||
'monitoring/fake_gcm_stats_recorder.h',
|
||||
],
|
||||
},
|
||||
|
||||
# A standalone MCS (mobile connection server) client.
|
||||
{
|
||||
# GN version: //google_apis/gcm:mcs_probe
|
||||
'target_name': 'mcs_probe',
|
||||
'type': 'executable',
|
||||
'variables': { 'enable_wexit_time_destructors': 1, },
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../net/net.gyp:net',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
||||
'gcm',
|
||||
'gcm_test_support'
|
||||
],
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build.
|
||||
'tools/mcs_probe.cc',
|
||||
],
|
||||
},
|
||||
|
||||
# The main GCM unit tests.
|
||||
{
|
||||
'target_name': 'gcm_unit_tests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'variables': { 'enable_wexit_time_destructors': 1, },
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite'
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:run_all_unittests',
|
||||
'../../base/base.gyp:base',
|
||||
'../../net/net.gyp:net',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
||||
'gcm',
|
||||
'gcm_test_support'
|
||||
],
|
||||
'sources': [
|
||||
'base/mcs_message_unittest.cc',
|
||||
'base/mcs_util_unittest.cc',
|
||||
'base/socket_stream_unittest.cc',
|
||||
'engine/account_mapping_unittest.cc',
|
||||
'engine/checkin_request_unittest.cc',
|
||||
'engine/connection_factory_impl_unittest.cc',
|
||||
'engine/connection_handler_impl_unittest.cc',
|
||||
'engine/gcm_request_test_base.cc',
|
||||
'engine/gcm_request_test_base.h',
|
||||
'engine/gcm_store_impl_unittest.cc',
|
||||
'engine/gservices_settings_unittest.cc',
|
||||
'engine/heartbeat_manager_unittest.cc',
|
||||
'engine/mcs_client_unittest.cc',
|
||||
'engine/registration_request_unittest.cc',
|
||||
'engine/unregistration_request_unittest.cc',
|
||||
]
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gcm_unit_tests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'gcm_unit_tests',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'gcm_unit_tests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,228 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'chromium_code': 1, # Use higher warning level.
|
||||
},
|
||||
'includes': [
|
||||
'../build/win_precompile.gypi',
|
||||
],
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //google_apis
|
||||
'target_name': 'google_apis',
|
||||
'type': 'static_library',
|
||||
'includes': [
|
||||
'determine_use_official_keys.gypi',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../crypto/crypto.gyp:crypto',
|
||||
'../net/net.gyp:net',
|
||||
'../url/url.gyp:url_lib',
|
||||
],
|
||||
'conditions': [
|
||||
['google_api_key!=""', {
|
||||
'defines': ['GOOGLE_API_KEY="<(google_api_key)"'],
|
||||
}],
|
||||
['google_default_client_id!=""', {
|
||||
'defines': [
|
||||
'GOOGLE_DEFAULT_CLIENT_ID="<(google_default_client_id)"',
|
||||
]
|
||||
}],
|
||||
['google_default_client_secret!=""', {
|
||||
'defines': [
|
||||
'GOOGLE_DEFAULT_CLIENT_SECRET="<(google_default_client_secret)"',
|
||||
]
|
||||
}],
|
||||
['enable_extensions==1', {
|
||||
'sources': [
|
||||
# Note: sources list duplicated in GN build.
|
||||
'drive/auth_service.cc',
|
||||
'drive/auth_service.h',
|
||||
'drive/auth_service_interface.h',
|
||||
'drive/auth_service_observer.h',
|
||||
'drive/base_requests.cc',
|
||||
'drive/base_requests.h',
|
||||
'drive/drive_api_error_codes.cc',
|
||||
'drive/drive_api_error_codes.h',
|
||||
'drive/drive_api_parser.cc',
|
||||
'drive/drive_api_parser.h',
|
||||
'drive/drive_api_requests.cc',
|
||||
'drive/drive_api_requests.h',
|
||||
'drive/drive_api_url_generator.cc',
|
||||
'drive/drive_api_url_generator.h',
|
||||
'drive/drive_common_callbacks.h',
|
||||
'drive/files_list_request_runner.cc',
|
||||
'drive/files_list_request_runner.h',
|
||||
'drive/request_sender.cc',
|
||||
'drive/request_sender.h',
|
||||
'drive/request_util.cc',
|
||||
'drive/request_util.h',
|
||||
'drive/task_util.cc',
|
||||
'drive/task_util.h',
|
||||
'drive/time_util.cc',
|
||||
'drive/time_util.h',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'sources': [
|
||||
# Note: sources list duplicated in GN build.
|
||||
'gaia/account_tracker.cc',
|
||||
'gaia/account_tracker.h',
|
||||
'gaia/gaia_auth_consumer.cc',
|
||||
'gaia/gaia_auth_consumer.h',
|
||||
'gaia/gaia_auth_fetcher.cc',
|
||||
'gaia/gaia_auth_fetcher.h',
|
||||
'gaia/gaia_auth_util.cc',
|
||||
'gaia/gaia_auth_util.h',
|
||||
'gaia/gaia_constants.cc',
|
||||
'gaia/gaia_constants.h',
|
||||
'gaia/gaia_oauth_client.cc',
|
||||
'gaia/gaia_oauth_client.h',
|
||||
'gaia/gaia_switches.cc',
|
||||
'gaia/gaia_switches.h',
|
||||
'gaia/gaia_urls.cc',
|
||||
'gaia/gaia_urls.h',
|
||||
'gaia/google_service_auth_error.cc',
|
||||
'gaia/google_service_auth_error.h',
|
||||
'gaia/identity_provider.cc',
|
||||
'gaia/identity_provider.h',
|
||||
'gaia/oauth2_access_token_consumer.h',
|
||||
'gaia/oauth2_access_token_fetcher.cc',
|
||||
'gaia/oauth2_access_token_fetcher.h',
|
||||
'gaia/oauth2_access_token_fetcher_impl.cc',
|
||||
'gaia/oauth2_access_token_fetcher_impl.h',
|
||||
'gaia/oauth2_access_token_fetcher_immediate_error.cc',
|
||||
'gaia/oauth2_access_token_fetcher_immediate_error.h',
|
||||
'gaia/oauth2_api_call_flow.cc',
|
||||
'gaia/oauth2_api_call_flow.h',
|
||||
'gaia/oauth2_mint_token_flow.cc',
|
||||
'gaia/oauth2_mint_token_flow.h',
|
||||
'gaia/oauth2_token_service.cc',
|
||||
'gaia/oauth2_token_service.h',
|
||||
'gaia/oauth2_token_service_delegate.cc',
|
||||
'gaia/oauth2_token_service_delegate.h',
|
||||
'gaia/oauth2_token_service_request.cc',
|
||||
'gaia/oauth2_token_service_request.h',
|
||||
'gaia/oauth_request_signer.cc',
|
||||
'gaia/oauth_request_signer.h',
|
||||
'gaia/ubertoken_fetcher.cc',
|
||||
'gaia/ubertoken_fetcher.h',
|
||||
'google_api_keys.cc',
|
||||
'google_api_keys.h',
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [4267, ],
|
||||
},
|
||||
{
|
||||
'target_name': 'google_apis_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:run_all_unittests',
|
||||
'../testing/gmock.gyp:gmock',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'google_apis',
|
||||
'google_apis_test_support',
|
||||
],
|
||||
'includes': [
|
||||
'determine_use_official_keys.gypi',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'gaia/account_tracker_unittest.cc',
|
||||
'gaia/gaia_auth_fetcher_unittest.cc',
|
||||
'gaia/gaia_auth_util_unittest.cc',
|
||||
'gaia/gaia_oauth_client_unittest.cc',
|
||||
'gaia/google_service_auth_error_unittest.cc',
|
||||
'gaia/oauth2_access_token_fetcher_impl_unittest.cc',
|
||||
'gaia/oauth2_api_call_flow_unittest.cc',
|
||||
'gaia/oauth2_mint_token_flow_unittest.cc',
|
||||
'gaia/oauth2_token_service_request_unittest.cc',
|
||||
'gaia/oauth2_token_service_unittest.cc',
|
||||
'gaia/oauth_request_signer_unittest.cc',
|
||||
'gaia/ubertoken_fetcher_unittest.cc',
|
||||
'google_api_keys_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['enable_extensions==1', {
|
||||
'sources': [
|
||||
'drive/base_requests_server_unittest.cc',
|
||||
'drive/base_requests_unittest.cc',
|
||||
'drive/drive_api_parser_unittest.cc',
|
||||
'drive/drive_api_requests_unittest.cc',
|
||||
'drive/drive_api_url_generator_unittest.cc',
|
||||
'drive/files_list_request_runner_unittest.cc',
|
||||
'drive/request_sender_unittest.cc',
|
||||
'drive/request_util_unittest.cc',
|
||||
'drive/time_util_unittest.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //google_apis:test_support
|
||||
'target_name': 'google_apis_test_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../net/net.gyp:net',
|
||||
'../net/net.gyp:net_test_support',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../net/net.gyp:net',
|
||||
'../net/net.gyp:net_test_support',
|
||||
],
|
||||
'sources': [
|
||||
'gaia/fake_gaia.cc',
|
||||
'gaia/fake_gaia.h',
|
||||
'gaia/fake_identity_provider.cc',
|
||||
'gaia/fake_identity_provider.h',
|
||||
'gaia/fake_oauth2_token_service_delegate.cc',
|
||||
'gaia/fake_oauth2_token_service_delegate.h',
|
||||
'gaia/fake_oauth2_token_service.cc',
|
||||
'gaia/fake_oauth2_token_service.h',
|
||||
'gaia/mock_url_fetcher_factory.h',
|
||||
'gaia/oauth2_token_service_test_util.cc',
|
||||
'gaia/oauth2_token_service_test_util.h',
|
||||
],
|
||||
'conditions': [
|
||||
['enable_extensions==1', {
|
||||
'sources': [
|
||||
'drive/dummy_auth_service.cc',
|
||||
'drive/dummy_auth_service.h',
|
||||
'drive/test_util.cc',
|
||||
'drive/test_util.h',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'google_apis_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'google_apis_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'google_apis_unittests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'google_update',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'clang_warning_flags': [
|
||||
# MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_"
|
||||
'-Wno-extra-tokens',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'google_update_idl.idl',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl_i.c',
|
||||
],
|
||||
# This target exports a hard dependency because dependent targets may
|
||||
# include google_update_idl.h, a generated header.
|
||||
'hard_dependency': 1,
|
||||
'msvs_settings': {
|
||||
'VCMIDLTool': {
|
||||
'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/google_update',
|
||||
},
|
||||
},
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets':[
|
||||
{
|
||||
# GN version: //ios/chrome/common/physical_web
|
||||
'target_name': 'physical_web',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'ios_chrome_physical_web_data_source.h',
|
||||
'ios_chrome_physical_web_data_source.mm',
|
||||
'physical_web_device.h',
|
||||
'physical_web_device.mm',
|
||||
'physical_web_request.h',
|
||||
'physical_web_request.mm',
|
||||
'physical_web_scanner.h',
|
||||
'physical_web_scanner.mm',
|
||||
'physical_web_types.h',
|
||||
'physical_web_types.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../../../base/base.gyp:base',
|
||||
'../../../../components/components.gyp:physical_web_data_source',
|
||||
'../../../../components/components.gyp:version_info',
|
||||
'../../../../device/bluetooth/bluetooth.gyp:uribeacon',
|
||||
'../../../../google_apis/google_apis.gyp:google_apis',
|
||||
'../../../../ios/web/ios_web.gyp:user_agent',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreBluetooth.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
],
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
@ -1,909 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/chrome/app
|
||||
'target_name': 'ios_chrome_app',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'ios_chrome_browser',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'app/application_delegate/memory_warning_helper.h',
|
||||
'app/application_delegate/memory_warning_helper.mm',
|
||||
'app/deferred_initialization_runner.h',
|
||||
'app/deferred_initialization_runner.mm',
|
||||
'app/safe_mode_crashing_modules_config.h',
|
||||
'app/safe_mode_crashing_modules_config.mm',
|
||||
'app/safe_mode_util.cc',
|
||||
'app/safe_mode_util.h',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/browser
|
||||
'target_name': 'ios_chrome_browser',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../breakpad/breakpad.gyp:breakpad_client',
|
||||
'../../components/components.gyp:about_handler',
|
||||
'../../components/components.gyp:autofill_core_browser',
|
||||
'../../components/components.gyp:autofill_core_common',
|
||||
'../../components/components.gyp:autofill_ios_browser',
|
||||
'../../components/components.gyp:bookmarks_browser',
|
||||
'../../components/components.gyp:browser_sync_browser',
|
||||
'../../components/components.gyp:browser_sync_common',
|
||||
'../../components/components.gyp:browsing_data_core',
|
||||
'../../components/components.gyp:component_updater',
|
||||
'../../components/components.gyp:content_settings_core_browser',
|
||||
'../../components/components.gyp:cookie_config',
|
||||
'../../components/components.gyp:crash_core_browser',
|
||||
'../../components/components.gyp:crash_core_common',
|
||||
'../../components/components.gyp:dom_distiller_core',
|
||||
'../../components/components.gyp:dom_distiller_ios',
|
||||
'../../components/components.gyp:favicon_base',
|
||||
'../../components/components.gyp:favicon_core',
|
||||
'../../components/components.gyp:gcm_driver',
|
||||
'../../components/components.gyp:google_core_browser',
|
||||
'../../components/components.gyp:history_core_browser',
|
||||
'../../components/components.gyp:history_ios_browser',
|
||||
'../../components/components.gyp:image_fetcher',
|
||||
'../../components/components.gyp:infobars_core',
|
||||
'../../components/components.gyp:invalidation_impl',
|
||||
'../../components/components.gyp:invalidation_public',
|
||||
'../../components/components.gyp:keyed_service_core',
|
||||
'../../components/components.gyp:keyed_service_ios',
|
||||
'../../components/components.gyp:language_usage_metrics',
|
||||
'../../components/components.gyp:leveldb_proto',
|
||||
'../../components/components.gyp:metrics',
|
||||
'../../components/components.gyp:metrics_net',
|
||||
'../../components/components.gyp:metrics_profiler',
|
||||
'../../components/components.gyp:metrics_profiler_ios',
|
||||
'../../components/components.gyp:metrics_services_manager',
|
||||
'../../components/components.gyp:metrics_ui',
|
||||
'../../components/components.gyp:navigation_metrics',
|
||||
'../../components/components.gyp:net_log',
|
||||
'../../components/components.gyp:network_session_configurator',
|
||||
'../../components/components.gyp:network_time',
|
||||
'../../components/components.gyp:ntp_snippets',
|
||||
'../../components/components.gyp:omnibox_browser',
|
||||
'../../components/components.gyp:open_from_clipboard',
|
||||
'../../components/components.gyp:password_manager_core_browser',
|
||||
'../../components/components.gyp:password_manager_sync_browser',
|
||||
'../../components/components.gyp:physical_web_data_source',
|
||||
'../../components/components.gyp:physical_web_ui',
|
||||
'../../components/components.gyp:pref_registry',
|
||||
'../../components/components.gyp:profile_metrics',
|
||||
'../../components/components.gyp:proxy_config',
|
||||
'../../components/components.gyp:rappor',
|
||||
'../../components/components.gyp:search',
|
||||
'../../components/components.gyp:search_engines',
|
||||
'../../components/components.gyp:security_interstitials_core',
|
||||
'../../components/components.gyp:security_state',
|
||||
'../../components/components.gyp:sessions_ios',
|
||||
'../../components/components.gyp:signin_core_browser',
|
||||
'../../components/components.gyp:signin_core_common',
|
||||
'../../components/components.gyp:signin_ios_browser',
|
||||
'../../components/components.gyp:spellcheck_common',
|
||||
'../../components/components.gyp:ssl_config',
|
||||
'../../components/components.gyp:suggestions',
|
||||
'../../components/components.gyp:syncable_prefs',
|
||||
'../../components/components.gyp:translate_core_browser',
|
||||
'../../components/components.gyp:translate_ios_browser',
|
||||
'../../components/components.gyp:undo_component',
|
||||
'../../components/components.gyp:update_client',
|
||||
'../../components/components.gyp:upload_list',
|
||||
'../../components/components.gyp:user_prefs',
|
||||
'../../components/components.gyp:variations',
|
||||
'../../components/components.gyp:variations_service',
|
||||
'../../components/components.gyp:version_info',
|
||||
'../../components/components.gyp:version_ui',
|
||||
'../../components/components.gyp:web_resource',
|
||||
'../../components/components.gyp:webdata_services',
|
||||
'../../components/components_resources.gyp:components_resources',
|
||||
'../../components/components_strings.gyp:components_strings',
|
||||
'../../components/prefs/prefs.gyp:prefs',
|
||||
'../../components/url_formatter/url_formatter.gyp:url_formatter',
|
||||
'../../google_apis/google_apis.gyp:google_apis',
|
||||
'../../net/net.gyp:net',
|
||||
'../../net/net.gyp:net_extras',
|
||||
'../../services/shell/shell_public.gyp:shell_public',
|
||||
'../../skia/skia.gyp:skia',
|
||||
'../../components/sync.gyp:sync',
|
||||
'../../third_party/brotli/brotli.gyp:brotli',
|
||||
'../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
|
||||
'../../third_party/libwebp/libwebp.gyp:libwebp_dec',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'../../ui/gfx/gfx.gyp:gfx',
|
||||
'../../url/url.gyp:url_lib',
|
||||
'../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
|
||||
'../web/ios_web.gyp:ios_web',
|
||||
'injected_js',
|
||||
'ios_chrome_browser_about_flags',
|
||||
'ios_chrome_common',
|
||||
'ios_chrome_resources.gyp:ios_chrome_resources',
|
||||
'ios_chrome_resources.gyp:ios_chrome_ui_string_overrider_factory',
|
||||
'ios_chrome_resources.gyp:ios_chrome_ui_string_overrider_factory_gen',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../components/components.gyp:dom_distiller_core',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreLocation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Photos.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'browser/app_startup_parameters.h',
|
||||
'browser/app_startup_parameters.mm',
|
||||
'browser/application_context.cc',
|
||||
'browser/application_context.h',
|
||||
'browser/application_context_impl.cc',
|
||||
'browser/application_context_impl.h',
|
||||
'browser/arch_util.cc',
|
||||
'browser/arch_util.h',
|
||||
'browser/autocomplete/autocomplete_classifier_factory.cc',
|
||||
'browser/autocomplete/autocomplete_classifier_factory.h',
|
||||
'browser/autocomplete/autocomplete_provider_client_impl.cc',
|
||||
'browser/autocomplete/autocomplete_provider_client_impl.h',
|
||||
'browser/autocomplete/autocomplete_scheme_classifier_impl.h',
|
||||
'browser/autocomplete/autocomplete_scheme_classifier_impl.mm',
|
||||
'browser/autocomplete/in_memory_url_index_factory.cc',
|
||||
'browser/autocomplete/in_memory_url_index_factory.h',
|
||||
'browser/autocomplete/shortcuts_backend_factory.h',
|
||||
'browser/autocomplete/shortcuts_backend_factory.mm',
|
||||
'browser/autofill/form_input_accessory_view.h',
|
||||
'browser/autofill/form_input_accessory_view.mm',
|
||||
'browser/autofill/form_input_accessory_view_controller.h',
|
||||
'browser/autofill/form_input_accessory_view_controller.mm',
|
||||
'browser/autofill/form_input_accessory_view_delegate.h',
|
||||
'browser/autofill/form_suggestion_controller.h',
|
||||
'browser/autofill/form_suggestion_controller.mm',
|
||||
'browser/autofill/form_suggestion_label.h',
|
||||
'browser/autofill/form_suggestion_label.mm',
|
||||
'browser/autofill/form_suggestion_provider.h',
|
||||
'browser/autofill/form_suggestion_view.h',
|
||||
'browser/autofill/form_suggestion_view.mm',
|
||||
'browser/autofill/form_suggestion_view_client.h',
|
||||
'browser/autofill/personal_data_manager_factory.cc',
|
||||
'browser/autofill/personal_data_manager_factory.h',
|
||||
'browser/bookmarks/bookmark_client_impl.cc',
|
||||
'browser/bookmarks/bookmark_client_impl.h',
|
||||
'browser/bookmarks/bookmark_model_factory.cc',
|
||||
'browser/bookmarks/bookmark_model_factory.h',
|
||||
'browser/bookmarks/bookmarks_utils.cc',
|
||||
'browser/bookmarks/bookmarks_utils.h',
|
||||
'browser/bookmarks/startup_task_runner_service_factory.cc',
|
||||
'browser/bookmarks/startup_task_runner_service_factory.h',
|
||||
'browser/browser_state/bookmark_model_loaded_observer.cc',
|
||||
'browser/browser_state/bookmark_model_loaded_observer.h',
|
||||
'browser/browser_state/browser_state_info_cache.cc',
|
||||
'browser/browser_state/browser_state_info_cache.h',
|
||||
'browser/browser_state/browser_state_info_cache_observer.h',
|
||||
'browser/browser_state/browser_state_keyed_service_factories.h',
|
||||
'browser/browser_state/browser_state_keyed_service_factories.mm',
|
||||
'browser/browser_state/browser_state_otr_helper.cc',
|
||||
'browser/browser_state/browser_state_otr_helper.h',
|
||||
'browser/browser_state/chrome_browser_state.h',
|
||||
'browser/browser_state/chrome_browser_state.mm',
|
||||
'browser/browser_state/chrome_browser_state_impl.cc',
|
||||
'browser/browser_state/chrome_browser_state_impl.h',
|
||||
'browser/browser_state/chrome_browser_state_impl_io_data.h',
|
||||
'browser/browser_state/chrome_browser_state_impl_io_data.mm',
|
||||
'browser/browser_state/chrome_browser_state_io_data.cc',
|
||||
'browser/browser_state/chrome_browser_state_io_data.h',
|
||||
'browser/browser_state/chrome_browser_state_manager.h',
|
||||
'browser/browser_state/chrome_browser_state_manager_impl.cc',
|
||||
'browser/browser_state/chrome_browser_state_manager_impl.h',
|
||||
'browser/browser_state/chrome_browser_state_removal_controller.h',
|
||||
'browser/browser_state/chrome_browser_state_removal_controller.mm',
|
||||
'browser/browser_state/off_the_record_chrome_browser_state_impl.cc',
|
||||
'browser/browser_state/off_the_record_chrome_browser_state_impl.h',
|
||||
'browser/browser_state/off_the_record_chrome_browser_state_io_data.h',
|
||||
'browser/browser_state/off_the_record_chrome_browser_state_io_data.mm',
|
||||
'browser/browser_state_metrics/browser_state_metrics.cc',
|
||||
'browser/browser_state_metrics/browser_state_metrics.h',
|
||||
'browser/browsing_data/browsing_data_change_listening.h',
|
||||
'browser/browsing_data/browsing_data_remover_helper.cc',
|
||||
'browser/browsing_data/browsing_data_remover_helper.h',
|
||||
'browser/browsing_data/ios_chrome_browsing_data_remover.h',
|
||||
'browser/browsing_data/ios_chrome_browsing_data_remover.mm',
|
||||
'browser/chrome_constants.cc',
|
||||
'browser/chrome_constants.h',
|
||||
'browser/chrome_coordinator.h',
|
||||
'browser/chrome_coordinator.mm',
|
||||
'browser/chrome_paths.h',
|
||||
'browser/chrome_paths.mm',
|
||||
'browser/chrome_paths_internal.h',
|
||||
'browser/chrome_switches.cc',
|
||||
'browser/chrome_switches.h',
|
||||
'browser/chrome_url_constants.cc',
|
||||
'browser/chrome_url_constants.h',
|
||||
'browser/chrome_url_util.h',
|
||||
'browser/chrome_url_util.mm',
|
||||
'browser/component_updater/ios_component_updater_configurator.cc',
|
||||
'browser/component_updater/ios_component_updater_configurator.h',
|
||||
'browser/content_settings/cookie_settings_factory.cc',
|
||||
'browser/content_settings/cookie_settings_factory.h',
|
||||
'browser/content_settings/host_content_settings_map_factory.cc',
|
||||
'browser/content_settings/host_content_settings_map_factory.h',
|
||||
'browser/crash_loop_detection_util.h',
|
||||
'browser/crash_loop_detection_util.mm',
|
||||
'browser/crash_report/breakpad_helper.h',
|
||||
'browser/crash_report/breakpad_helper.mm',
|
||||
'browser/crash_report/crash_keys.cc',
|
||||
'browser/crash_report/crash_keys.h',
|
||||
'browser/crash_report/crash_report_background_uploader.h',
|
||||
'browser/crash_report/crash_report_background_uploader.mm',
|
||||
'browser/crash_report/crash_report_multi_parameter.h',
|
||||
'browser/crash_report/crash_report_multi_parameter.mm',
|
||||
'browser/crash_report/crash_report_user_application_state.h',
|
||||
'browser/crash_report/crash_report_user_application_state.mm',
|
||||
'browser/crash_report/crash_upload_list.cc',
|
||||
'browser/crash_report/crash_upload_list.h',
|
||||
'browser/dom_distiller/distiller_viewer.cc',
|
||||
'browser/dom_distiller/distiller_viewer.h',
|
||||
'browser/dom_distiller/dom_distiller_service_factory.cc',
|
||||
'browser/dom_distiller/dom_distiller_service_factory.h',
|
||||
'browser/experimental_flags.h',
|
||||
'browser/experimental_flags.mm',
|
||||
'browser/favicon/favicon_client_impl.h',
|
||||
'browser/favicon/favicon_client_impl.mm',
|
||||
'browser/favicon/favicon_loader.h',
|
||||
'browser/favicon/favicon_loader.mm',
|
||||
'browser/favicon/favicon_service_factory.cc',
|
||||
'browser/favicon/favicon_service_factory.h',
|
||||
'browser/favicon/ios_chrome_favicon_loader_factory.h',
|
||||
'browser/favicon/ios_chrome_favicon_loader_factory.mm',
|
||||
'browser/favicon/ios_chrome_large_icon_cache_factory.cc',
|
||||
'browser/favicon/ios_chrome_large_icon_cache_factory.h',
|
||||
'browser/favicon/ios_chrome_large_icon_service_factory.cc',
|
||||
'browser/favicon/ios_chrome_large_icon_service_factory.h',
|
||||
'browser/favicon/large_icon_cache.cc',
|
||||
'browser/favicon/large_icon_cache.h',
|
||||
'browser/file_metadata_util.h',
|
||||
'browser/file_metadata_util.mm',
|
||||
'browser/find_in_page/find_in_page_controller.h',
|
||||
'browser/find_in_page/find_in_page_controller.mm',
|
||||
'browser/find_in_page/find_in_page_model.h',
|
||||
'browser/find_in_page/find_in_page_model.mm',
|
||||
'browser/find_in_page/js_findinpage_manager.h',
|
||||
'browser/find_in_page/js_findinpage_manager.mm',
|
||||
'browser/first_run/first_run.h',
|
||||
'browser/first_run/first_run.mm',
|
||||
'browser/first_run/first_run_configuration.h',
|
||||
'browser/first_run/first_run_configuration.mm',
|
||||
'browser/first_run/first_run_metrics.h',
|
||||
'browser/geolocation/CLLocation+OmniboxGeolocation.h',
|
||||
'browser/geolocation/CLLocation+OmniboxGeolocation.mm',
|
||||
'browser/geolocation/CLLocation+XGeoHeader.h',
|
||||
'browser/geolocation/CLLocation+XGeoHeader.mm',
|
||||
'browser/geolocation/location_manager.h',
|
||||
'browser/geolocation/location_manager.mm',
|
||||
'browser/geolocation/omnibox_geolocation_authorization_alert.h',
|
||||
'browser/geolocation/omnibox_geolocation_authorization_alert.mm',
|
||||
'browser/geolocation/omnibox_geolocation_config.h',
|
||||
'browser/geolocation/omnibox_geolocation_config.mm',
|
||||
'browser/geolocation/omnibox_geolocation_local_state.h',
|
||||
'browser/geolocation/omnibox_geolocation_local_state.mm',
|
||||
'browser/google/google_brand.h',
|
||||
'browser/google/google_brand.mm',
|
||||
'browser/google/google_url_tracker_client_impl.cc',
|
||||
'browser/google/google_url_tracker_client_impl.h',
|
||||
'browser/google/google_url_tracker_factory.cc',
|
||||
'browser/google/google_url_tracker_factory.h',
|
||||
'browser/history/history_backend_client_impl.cc',
|
||||
'browser/history/history_backend_client_impl.h',
|
||||
'browser/history/history_client_impl.cc',
|
||||
'browser/history/history_client_impl.h',
|
||||
'browser/history/history_service_factory.cc',
|
||||
'browser/history/history_service_factory.h',
|
||||
'browser/history/history_utils.cc',
|
||||
'browser/history/history_utils.h',
|
||||
'browser/history/top_sites_factory.cc',
|
||||
'browser/history/top_sites_factory.h',
|
||||
'browser/history/web_history_service_factory.cc',
|
||||
'browser/history/web_history_service_factory.h',
|
||||
'browser/infobars/confirm_infobar_controller.h',
|
||||
'browser/infobars/confirm_infobar_controller+protected.h',
|
||||
'browser/infobars/confirm_infobar_controller.mm',
|
||||
'browser/infobars/infobar.h',
|
||||
'browser/infobars/infobar.mm',
|
||||
'browser/infobars/infobar_container_ios.h',
|
||||
'browser/infobars/infobar_container_ios.mm',
|
||||
'browser/infobars/infobar_container_view.h',
|
||||
'browser/infobars/infobar_container_view.mm',
|
||||
'browser/infobars/infobar_controller.h',
|
||||
'browser/infobars/infobar_controller.mm',
|
||||
'browser/infobars/infobar_manager_impl.h',
|
||||
'browser/infobars/infobar_manager_impl.mm',
|
||||
'browser/infobars/infobar_utils.h',
|
||||
'browser/infobars/infobar_utils.mm',
|
||||
'browser/install_time_util.h',
|
||||
'browser/install_time_util.mm',
|
||||
'browser/installation_notifier.h',
|
||||
'browser/installation_notifier.mm',
|
||||
'browser/interstitials/ios_chrome_controller_client.h',
|
||||
'browser/interstitials/ios_chrome_controller_client.mm',
|
||||
'browser/interstitials/ios_chrome_metrics_helper.h',
|
||||
'browser/interstitials/ios_chrome_metrics_helper.mm',
|
||||
'browser/interstitials/ios_security_interstitial_page.h',
|
||||
'browser/interstitials/ios_security_interstitial_page.mm',
|
||||
'browser/invalidation/ios_chrome_profile_invalidation_provider_factory.h',
|
||||
'browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm',
|
||||
'browser/ios_chrome_field_trials.cc',
|
||||
'browser/ios_chrome_field_trials.h',
|
||||
'browser/ios_chrome_io_thread.h',
|
||||
'browser/ios_chrome_io_thread.mm',
|
||||
'browser/ios_chrome_main_parts.h',
|
||||
'browser/ios_chrome_main_parts.mm',
|
||||
'browser/itunes_links/itunes_links_observer.h',
|
||||
'browser/itunes_links/itunes_links_observer.mm',
|
||||
'browser/memory/memory_debugger.h',
|
||||
'browser/memory/memory_debugger.mm',
|
||||
'browser/memory/memory_debugger_manager.h',
|
||||
'browser/memory/memory_debugger_manager.mm',
|
||||
'browser/memory/memory_metrics.cc',
|
||||
'browser/memory/memory_metrics.h',
|
||||
'browser/metrics/field_trial_synchronizer.cc',
|
||||
'browser/metrics/field_trial_synchronizer.h',
|
||||
'browser/metrics/ios_chrome_metrics_service_accessor.cc',
|
||||
'browser/metrics/ios_chrome_metrics_service_accessor.h',
|
||||
'browser/metrics/ios_chrome_metrics_service_client.cc',
|
||||
'browser/metrics/ios_chrome_metrics_service_client.h',
|
||||
'browser/metrics/ios_chrome_metrics_services_manager_client.h',
|
||||
'browser/metrics/ios_chrome_metrics_services_manager_client.mm',
|
||||
'browser/metrics/ios_chrome_origins_seen_service_factory.cc',
|
||||
'browser/metrics/ios_chrome_origins_seen_service_factory.h',
|
||||
'browser/metrics/ios_chrome_stability_metrics_provider.cc',
|
||||
'browser/metrics/ios_chrome_stability_metrics_provider.h',
|
||||
'browser/metrics/mobile_session_shutdown_metrics_provider.h',
|
||||
'browser/metrics/mobile_session_shutdown_metrics_provider.mm',
|
||||
'browser/metrics/previous_session_info.h',
|
||||
'browser/metrics/previous_session_info.mm',
|
||||
'browser/metrics/previous_session_info_private.h',
|
||||
'browser/net/chrome_cookie_store_ios_client.h',
|
||||
'browser/net/chrome_cookie_store_ios_client.mm',
|
||||
'browser/net/connection_type_observer_bridge.h',
|
||||
'browser/net/connection_type_observer_bridge.mm',
|
||||
'browser/net/cookie_util.h',
|
||||
'browser/net/cookie_util.mm',
|
||||
'browser/net/crl_set_fetcher.cc',
|
||||
'browser/net/crl_set_fetcher.h',
|
||||
'browser/net/http_server_properties_manager_factory.cc',
|
||||
'browser/net/http_server_properties_manager_factory.h',
|
||||
'browser/net/image_fetcher.h',
|
||||
'browser/net/image_fetcher.mm',
|
||||
'browser/net/ios_chrome_http_user_agent_settings.h',
|
||||
'browser/net/ios_chrome_http_user_agent_settings.mm',
|
||||
'browser/net/ios_chrome_network_delegate.cc',
|
||||
'browser/net/ios_chrome_network_delegate.h',
|
||||
'browser/net/ios_chrome_url_request_context_getter.cc',
|
||||
'browser/net/ios_chrome_url_request_context_getter.h',
|
||||
'browser/net/metrics_network_client.h',
|
||||
'browser/net/metrics_network_client.mm',
|
||||
'browser/net/metrics_network_client_manager.h',
|
||||
'browser/net/metrics_network_client_manager.mm',
|
||||
'browser/net/net_types.h',
|
||||
'browser/net/proxy_service_factory.cc',
|
||||
'browser/net/proxy_service_factory.h',
|
||||
'browser/net/retryable_url_fetcher.h',
|
||||
'browser/net/retryable_url_fetcher.mm',
|
||||
'browser/notification_promo.cc',
|
||||
'browser/notification_promo.h',
|
||||
'browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc',
|
||||
'browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.h',
|
||||
'browser/open_from_clipboard/create_clipboard_recent_content.h',
|
||||
'browser/open_from_clipboard/create_clipboard_recent_content.mm',
|
||||
'browser/passwords/credential_manager.h',
|
||||
'browser/passwords/credential_manager.mm',
|
||||
'browser/passwords/ios_chrome_password_manager_client.h',
|
||||
'browser/passwords/ios_chrome_password_manager_client.mm',
|
||||
'browser/passwords/ios_chrome_password_manager_driver.h',
|
||||
'browser/passwords/ios_chrome_password_manager_driver.mm',
|
||||
'browser/passwords/ios_chrome_password_manager_infobar_delegate.h',
|
||||
'browser/passwords/ios_chrome_password_manager_infobar_delegate.mm',
|
||||
'browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc',
|
||||
'browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.h',
|
||||
'browser/passwords/ios_chrome_password_store_factory.cc',
|
||||
'browser/passwords/ios_chrome_password_store_factory.h',
|
||||
'browser/passwords/ios_chrome_save_password_infobar_delegate.h',
|
||||
'browser/passwords/ios_chrome_save_password_infobar_delegate.mm',
|
||||
'browser/passwords/ios_chrome_update_password_infobar_delegate.h',
|
||||
'browser/passwords/ios_chrome_update_password_infobar_delegate.mm',
|
||||
'browser/passwords/js_credential_manager.h',
|
||||
'browser/passwords/js_credential_manager.mm',
|
||||
'browser/passwords/js_password_manager.h',
|
||||
'browser/passwords/js_password_manager.mm',
|
||||
'browser/passwords/password_controller.h',
|
||||
'browser/passwords/password_controller.mm',
|
||||
'browser/passwords/password_generation_agent.h',
|
||||
'browser/passwords/password_generation_agent.mm',
|
||||
'browser/passwords/password_generation_edit_view.h',
|
||||
'browser/passwords/password_generation_edit_view.mm',
|
||||
'browser/passwords/password_generation_offer_view.h',
|
||||
'browser/passwords/password_generation_offer_view.mm',
|
||||
'browser/passwords/password_generation_prompt_delegate.h',
|
||||
'browser/passwords/password_generation_utils.h',
|
||||
'browser/passwords/password_generation_utils.mm',
|
||||
'browser/passwords/passwords_ui_delegate.h',
|
||||
'browser/passwords/update_password_infobar_controller.h',
|
||||
'browser/passwords/update_password_infobar_controller.mm',
|
||||
'browser/physical_web/create_physical_web_data_source.h',
|
||||
'browser/physical_web/create_physical_web_data_source.mm',
|
||||
'browser/physical_web/physical_web_constants.h',
|
||||
'browser/pref_names.cc',
|
||||
'browser/pref_names.h',
|
||||
'browser/prefs/browser_prefs.h',
|
||||
'browser/prefs/browser_prefs.mm',
|
||||
'browser/prefs/ios_chrome_pref_model_associator_client.cc',
|
||||
'browser/prefs/ios_chrome_pref_model_associator_client.h',
|
||||
'browser/prefs/ios_chrome_pref_service_factory.cc',
|
||||
'browser/prefs/ios_chrome_pref_service_factory.h',
|
||||
'browser/prefs/pref_observer_bridge.h',
|
||||
'browser/prefs/pref_observer_bridge.mm',
|
||||
'browser/procedural_block_types.h',
|
||||
'browser/reading_list/reading_list_entry.cc',
|
||||
'browser/reading_list/reading_list_entry.h',
|
||||
'browser/reading_list/reading_list_model.cc',
|
||||
'browser/reading_list/reading_list_model.h',
|
||||
'browser/reading_list/reading_list_model_factory.cc',
|
||||
'browser/reading_list/reading_list_model_factory.h',
|
||||
'browser/reading_list/reading_list_model_impl.cc',
|
||||
'browser/reading_list/reading_list_model_impl.h',
|
||||
'browser/reading_list/reading_list_model_observer.h',
|
||||
'browser/reading_list/reading_list_model_observer.h',
|
||||
'browser/reading_list/reading_list_model_storage.h',
|
||||
'browser/reading_list/reading_list_model_storage_defaults.h',
|
||||
'browser/reading_list/reading_list_model_storage_defaults.mm',
|
||||
'browser/root_coordinator.h',
|
||||
'browser/root_coordinator.mm',
|
||||
'browser/search_engines/search_engines_util.cc',
|
||||
'browser/search_engines/search_engines_util.h',
|
||||
'browser/search_engines/template_url_service_client_impl.cc',
|
||||
'browser/search_engines/template_url_service_client_impl.h',
|
||||
'browser/search_engines/template_url_service_factory.cc',
|
||||
'browser/search_engines/template_url_service_factory.h',
|
||||
'browser/search_engines/ui_thread_search_terms_data.cc',
|
||||
'browser/search_engines/ui_thread_search_terms_data.h',
|
||||
'browser/services/gcm/ios_chrome_gcm_profile_service_factory.cc',
|
||||
'browser/services/gcm/ios_chrome_gcm_profile_service_factory.h',
|
||||
'browser/sessions/ios_chrome_session_tab_helper.h',
|
||||
'browser/sessions/ios_chrome_session_tab_helper.mm',
|
||||
'browser/sessions/ios_chrome_tab_restore_service_client.h',
|
||||
'browser/sessions/ios_chrome_tab_restore_service_client.mm',
|
||||
'browser/sessions/ios_chrome_tab_restore_service_factory.cc',
|
||||
'browser/sessions/ios_chrome_tab_restore_service_factory.h',
|
||||
'browser/share_extension/share_extension_item_receiver.h',
|
||||
'browser/share_extension/share_extension_item_receiver.mm',
|
||||
'browser/share_extension/share_extension_service.h',
|
||||
'browser/share_extension/share_extension_service.mm',
|
||||
'browser/share_extension/share_extension_service_factory.cc',
|
||||
'browser/share_extension/share_extension_service_factory.h',
|
||||
'browser/signin/about_signin_internals_factory.cc',
|
||||
'browser/signin/about_signin_internals_factory.h',
|
||||
'browser/signin/account_consistency_service_factory.h',
|
||||
'browser/signin/account_consistency_service_factory.mm',
|
||||
'browser/signin/account_fetcher_service_factory.cc',
|
||||
'browser/signin/account_fetcher_service_factory.h',
|
||||
'browser/signin/account_reconcilor_factory.cc',
|
||||
'browser/signin/account_reconcilor_factory.h',
|
||||
'browser/signin/account_tracker_service_factory.cc',
|
||||
'browser/signin/account_tracker_service_factory.h',
|
||||
'browser/signin/browser_state_data_remover.h',
|
||||
'browser/signin/browser_state_data_remover.mm',
|
||||
'browser/signin/chrome_identity_service_observer_bridge.h',
|
||||
'browser/signin/chrome_identity_service_observer_bridge.mm',
|
||||
'browser/signin/constants.h',
|
||||
'browser/signin/constants.mm',
|
||||
'browser/signin/gaia_auth_fetcher_ios.h',
|
||||
'browser/signin/gaia_auth_fetcher_ios.mm',
|
||||
'browser/signin/gaia_auth_fetcher_ios_private.h',
|
||||
'browser/signin/gaia_cookie_manager_service_factory.cc',
|
||||
'browser/signin/gaia_cookie_manager_service_factory.h',
|
||||
'browser/signin/ios_chrome_signin_status_metrics_provider_delegate.cc',
|
||||
'browser/signin/ios_chrome_signin_status_metrics_provider_delegate.h',
|
||||
'browser/signin/oauth2_token_service_factory.h',
|
||||
'browser/signin/oauth2_token_service_factory.mm',
|
||||
'browser/signin/profile_oauth2_token_service_ios_provider_impl.h',
|
||||
'browser/signin/profile_oauth2_token_service_ios_provider_impl.mm',
|
||||
'browser/signin/signin_client_factory.cc',
|
||||
'browser/signin/signin_client_factory.h',
|
||||
'browser/signin/signin_client_impl.h',
|
||||
'browser/signin/signin_client_impl.mm',
|
||||
'browser/signin/signin_error_controller_factory.cc',
|
||||
'browser/signin/signin_error_controller_factory.h',
|
||||
'browser/signin/signin_manager_factory.cc',
|
||||
'browser/signin/signin_manager_factory.h',
|
||||
'browser/signin/signin_manager_factory_observer.h',
|
||||
'browser/signin/signin_util.h',
|
||||
'browser/signin/signin_util.mm',
|
||||
'browser/snapshots/lru_cache.h',
|
||||
'browser/snapshots/lru_cache.mm',
|
||||
'browser/snapshots/snapshot_cache.h',
|
||||
'browser/snapshots/snapshot_cache.mm',
|
||||
'browser/snapshots/snapshot_manager.h',
|
||||
'browser/snapshots/snapshot_manager.mm',
|
||||
'browser/snapshots/snapshot_overlay.h',
|
||||
'browser/snapshots/snapshot_overlay.mm',
|
||||
'browser/snapshots/snapshots_util.h',
|
||||
'browser/snapshots/snapshots_util.mm',
|
||||
'browser/ssl/ios_chrome_security_state_model_client.h',
|
||||
'browser/ssl/ios_chrome_security_state_model_client.mm',
|
||||
'browser/ssl/ios_ssl_blocking_page.h',
|
||||
'browser/ssl/ios_ssl_blocking_page.mm',
|
||||
'browser/ssl/ios_ssl_error_handler.h',
|
||||
'browser/ssl/ios_ssl_error_handler.mm',
|
||||
'browser/storekit_launcher.h',
|
||||
'browser/suggestions/image_fetcher_impl.h',
|
||||
'browser/suggestions/image_fetcher_impl.mm',
|
||||
'browser/suggestions/ios_image_decoder_impl.h',
|
||||
'browser/suggestions/ios_image_decoder_impl.mm',
|
||||
'browser/suggestions/suggestions_service_factory.h',
|
||||
'browser/suggestions/suggestions_service_factory.mm',
|
||||
'browser/sync/glue/sync_start_util.cc',
|
||||
'browser/sync/glue/sync_start_util.h',
|
||||
'browser/sync/ios_chrome_profile_sync_service_factory.cc',
|
||||
'browser/sync/ios_chrome_profile_sync_service_factory.h',
|
||||
'browser/sync/ios_chrome_sync_client.h',
|
||||
'browser/sync/ios_chrome_sync_client.mm',
|
||||
'browser/sync/ios_chrome_synced_tab_delegate.h',
|
||||
'browser/sync/ios_chrome_synced_tab_delegate.mm',
|
||||
'browser/sync/sessions/ios_chrome_local_session_event_router.h',
|
||||
'browser/sync/sessions/ios_chrome_local_session_event_router.mm',
|
||||
'browser/sync/sync_observer_bridge.h',
|
||||
'browser/sync/sync_observer_bridge.mm',
|
||||
'browser/sync/sync_setup_service.cc',
|
||||
'browser/sync/sync_setup_service.h',
|
||||
'browser/sync/sync_setup_service_factory.cc',
|
||||
'browser/sync/sync_setup_service_factory.h',
|
||||
'browser/tab_parenting_global_observer.cc',
|
||||
'browser/tab_parenting_global_observer.h',
|
||||
'browser/translate/after_translate_infobar_controller.h',
|
||||
'browser/translate/after_translate_infobar_controller.mm',
|
||||
'browser/translate/before_translate_infobar_controller.h',
|
||||
'browser/translate/before_translate_infobar_controller.mm',
|
||||
'browser/translate/chrome_ios_translate_client.h',
|
||||
'browser/translate/chrome_ios_translate_client.mm',
|
||||
'browser/translate/never_translate_infobar_controller.h',
|
||||
'browser/translate/never_translate_infobar_controller.mm',
|
||||
'browser/translate/translate_accept_languages_factory.cc',
|
||||
'browser/translate/translate_accept_languages_factory.h',
|
||||
'browser/translate/translate_infobar_tags.h',
|
||||
'browser/translate/translate_message_infobar_controller.h',
|
||||
'browser/translate/translate_message_infobar_controller.mm',
|
||||
'browser/translate/translate_service_ios.cc',
|
||||
'browser/translate/translate_service_ios.h',
|
||||
'browser/ui/UIView+SizeClassSupport.h',
|
||||
'browser/ui/UIView+SizeClassSupport.mm',
|
||||
'browser/ui/alert_coordinator/action_sheet_coordinator.h',
|
||||
'browser/ui/alert_coordinator/action_sheet_coordinator.mm',
|
||||
'browser/ui/alert_coordinator/alert_coordinator.h',
|
||||
'browser/ui/alert_coordinator/alert_coordinator.mm',
|
||||
'browser/ui/alert_coordinator/input_alert_coordinator.h',
|
||||
'browser/ui/alert_coordinator/input_alert_coordinator.mm',
|
||||
'browser/ui/animation_util.h',
|
||||
'browser/ui/animation_util.mm',
|
||||
'browser/ui/autofill/autofill_client_ios.h',
|
||||
'browser/ui/autofill/autofill_client_ios.mm',
|
||||
'browser/ui/autofill/autofill_save_card_infobar.mm',
|
||||
'browser/ui/background_generator.h',
|
||||
'browser/ui/background_generator.mm',
|
||||
'browser/ui/browser_otr_state.h',
|
||||
'browser/ui/browser_otr_state.mm',
|
||||
'browser/ui/commands/UIKit+ChromeExecuteCommand.h',
|
||||
'browser/ui/commands/UIKit+ChromeExecuteCommand.mm',
|
||||
'browser/ui/commands/clear_browsing_data_command.h',
|
||||
'browser/ui/commands/clear_browsing_data_command.mm',
|
||||
'browser/ui/commands/generic_chrome_command.h',
|
||||
'browser/ui/commands/generic_chrome_command.mm',
|
||||
'browser/ui/commands/ios_command_ids.h',
|
||||
'browser/ui/commands/open_url_command.h',
|
||||
'browser/ui/commands/open_url_command.mm',
|
||||
'browser/ui/commands/reading_list_add_command.h',
|
||||
'browser/ui/commands/reading_list_add_command.mm',
|
||||
'browser/ui/commands/set_up_for_testing_command.h',
|
||||
'browser/ui/commands/set_up_for_testing_command.mm',
|
||||
'browser/ui/commands/show_mail_composer_command.h',
|
||||
'browser/ui/commands/show_mail_composer_command.mm',
|
||||
'browser/ui/commands/show_signin_command.h',
|
||||
'browser/ui/commands/show_signin_command.mm',
|
||||
'browser/ui/context_menu/context_menu_coordinator.h',
|
||||
'browser/ui/context_menu/context_menu_coordinator.mm',
|
||||
'browser/ui/elements/selector_coordinator.h',
|
||||
'browser/ui/elements/selector_coordinator.mm',
|
||||
'browser/ui/elements/selector_picker_presentation_controller.h',
|
||||
'browser/ui/elements/selector_picker_presentation_controller.mm',
|
||||
'browser/ui/elements/selector_picker_view_controller.h',
|
||||
'browser/ui/elements/selector_picker_view_controller.mm',
|
||||
'browser/ui/elements/selector_view_controller_delegate.h',
|
||||
'browser/ui/file_locations.h',
|
||||
'browser/ui/file_locations.mm',
|
||||
'browser/ui/image_util.h',
|
||||
'browser/ui/image_util.mm',
|
||||
'browser/ui/keyboard/UIKeyCommand+Chrome.h',
|
||||
'browser/ui/keyboard/UIKeyCommand+Chrome.mm',
|
||||
'browser/ui/keyboard/hardware_keyboard_watcher.h',
|
||||
'browser/ui/keyboard/hardware_keyboard_watcher.mm',
|
||||
'browser/ui/native_content_controller.h',
|
||||
'browser/ui/native_content_controller.mm',
|
||||
'browser/ui/omnibox/web_omnibox_edit_controller.cc',
|
||||
'browser/ui/omnibox/web_omnibox_edit_controller.h',
|
||||
'browser/ui/orientation_limiting_navigation_controller.h',
|
||||
'browser/ui/orientation_limiting_navigation_controller.mm',
|
||||
'browser/ui/prerender_final_status.h',
|
||||
'browser/ui/reversed_animation.h',
|
||||
'browser/ui/reversed_animation.mm',
|
||||
'browser/ui/rtl_geometry.h',
|
||||
'browser/ui/rtl_geometry.mm',
|
||||
'browser/ui/show_mail_composer_util.h',
|
||||
'browser/ui/show_mail_composer_util.mm',
|
||||
'browser/ui/show_privacy_settings_util.h',
|
||||
'browser/ui/show_privacy_settings_util.mm',
|
||||
'browser/ui/side_swipe_gesture_recognizer.h',
|
||||
'browser/ui/side_swipe_gesture_recognizer.mm',
|
||||
'browser/ui/size_class_support_util.h',
|
||||
'browser/ui/size_class_support_util.mm',
|
||||
'browser/ui/ui_util.h',
|
||||
'browser/ui/ui_util.mm',
|
||||
'browser/ui/uikit_ui_util.h',
|
||||
'browser/ui/uikit_ui_util.mm',
|
||||
'browser/ui/url_loader.h',
|
||||
'browser/ui/webui/about_ui.cc',
|
||||
'browser/ui/webui/about_ui.h',
|
||||
'browser/ui/webui/crashes_ui.cc',
|
||||
'browser/ui/webui/crashes_ui.h',
|
||||
'browser/ui/webui/flags_ui.cc',
|
||||
'browser/ui/webui/flags_ui.h',
|
||||
'browser/ui/webui/gcm/gcm_internals_ui.cc',
|
||||
'browser/ui/webui/gcm/gcm_internals_ui.h',
|
||||
'browser/ui/webui/history/browsing_history_handler.cc',
|
||||
'browser/ui/webui/history/browsing_history_handler.h',
|
||||
'browser/ui/webui/history/favicon_source.cc',
|
||||
'browser/ui/webui/history/favicon_source.h',
|
||||
'browser/ui/webui/history/history_ui.h',
|
||||
'browser/ui/webui/history/history_ui.mm',
|
||||
'browser/ui/webui/history/metrics_handler.cc',
|
||||
'browser/ui/webui/history/metrics_handler.h',
|
||||
'browser/ui/webui/mojo_web_ui_ios_controller.h',
|
||||
'browser/ui/webui/net_export/net_export_ui.cc',
|
||||
'browser/ui/webui/net_export/net_export_ui.h',
|
||||
'browser/ui/webui/physical_web_ui.cc',
|
||||
'browser/ui/webui/physical_web_ui.h',
|
||||
'browser/ui/webui/sync_internals/sync_internals_message_handler.cc',
|
||||
'browser/ui/webui/sync_internals/sync_internals_message_handler.h',
|
||||
'browser/ui/webui/sync_internals/sync_internals_ui.cc',
|
||||
'browser/ui/webui/sync_internals/sync_internals_ui.h',
|
||||
'browser/ui/webui/version_handler.cc',
|
||||
'browser/ui/webui/version_handler.h',
|
||||
'browser/ui/webui/version_ui.h',
|
||||
'browser/ui/webui/version_ui.mm',
|
||||
'browser/undo/bookmark_undo_service_factory.cc',
|
||||
'browser/undo/bookmark_undo_service_factory.h',
|
||||
'browser/updatable_config/updatable_array.h',
|
||||
'browser/updatable_config/updatable_array.mm',
|
||||
'browser/updatable_config/updatable_config_base.h',
|
||||
'browser/updatable_config/updatable_config_base.mm',
|
||||
'browser/updatable_config/updatable_dictionary.h',
|
||||
'browser/updatable_config/updatable_dictionary.mm',
|
||||
'browser/update_client/ios_chrome_update_query_params_delegate.cc',
|
||||
'browser/update_client/ios_chrome_update_query_params_delegate.h',
|
||||
'browser/variations/ios_chrome_variations_service_client.cc',
|
||||
'browser/variations/ios_chrome_variations_service_client.h',
|
||||
'browser/web/dom_altering_lock.h',
|
||||
'browser/web/dom_altering_lock.mm',
|
||||
'browser/web/resubmit_data_controller.h',
|
||||
'browser/web/resubmit_data_controller.mm',
|
||||
'browser/webp_transcode/webp_decoder.h',
|
||||
'browser/webp_transcode/webp_decoder.mm',
|
||||
'browser/web_data_service_factory.cc',
|
||||
'browser/web_data_service_factory.h',
|
||||
'browser/web_resource/web_resource_util.cc',
|
||||
'browser/web_resource/web_resource_util.h',
|
||||
'browser/xcallback_parameters.h',
|
||||
'browser/xcallback_parameters.mm',
|
||||
],
|
||||
'conditions': [
|
||||
['enable_rlz==1', {
|
||||
'dependencies': [
|
||||
'../../components/components.gyp:rlz',
|
||||
'ios_chrome_browser_rlz',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/browser:about_flags
|
||||
# This is a separate target so that the 'defines' does not leak to the
|
||||
# other files (which would increase the compilation time when changing
|
||||
# the value).
|
||||
'target_name': 'ios_chrome_browser_about_flags',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/components.gyp:autofill_core_common',
|
||||
'../../components/components.gyp:dom_distiller_core',
|
||||
'../../components/components.gyp:flags_ui',
|
||||
'../../components/sync.gyp:sync',
|
||||
'../../components/components_strings.gyp:components_strings',
|
||||
'../../google_apis/google_apis.gyp:google_apis',
|
||||
'../web/ios_web.gyp:ios_web',
|
||||
'ios_chrome_resources.gyp:ios_strings_gen',
|
||||
],
|
||||
'sources': [
|
||||
'browser/about_flags.h',
|
||||
'browser/about_flags.mm',
|
||||
],
|
||||
'defines': [
|
||||
'GOOGLE_STAGING_API_URL="<(google_staging_api_url)"',
|
||||
'GOOGLE_STAGING_LSO_URL="<(google_staging_lso_url)"',
|
||||
'GOOGLE_TEST_API_URL="<(google_test_api_url)"',
|
||||
'GOOGLE_TEST_LSO_URL="<(google_test_lso_url)"',
|
||||
'GOOGLE_TEST_OAUTH_CLIENT_ID="<(google_test_oauth_client_id)"',
|
||||
'GOOGLE_TEST_OAUTH_CLIENT_SECRET="<(google_test_oauth_client_secret)"',
|
||||
'GOOGLE_TEST_OAUTH_URL="<(google_test_oauth_url)"',
|
||||
'GOOGLE_TEST_SYNC_URL="<(google_test_sync_url)"',
|
||||
],
|
||||
'variables': {
|
||||
'google_staging_api_url%': '',
|
||||
'google_staging_lso_url%': '',
|
||||
'google_test_api_url%': '',
|
||||
'google_test_lso_url%': '',
|
||||
'google_test_oauth_client_id%': '',
|
||||
'google_test_oauth_client_secret%': '',
|
||||
'google_test_oauth_url%': '',
|
||||
'google_test_sync_url%': '',
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/common
|
||||
'target_name': 'ios_chrome_common',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/components.gyp:version_info',
|
||||
'app_group_mainapp',
|
||||
'common/physical_web/physical_web.gyp:physical_web',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'common/channel_info.h',
|
||||
'common/channel_info.mm',
|
||||
'common/material_timing.h',
|
||||
'common/material_timing.mm',
|
||||
'common/string_util.h',
|
||||
'common/string_util.mm',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/browser:injected_js
|
||||
'target_name': 'injected_js',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'browser/find_in_page/resources/find_in_page.js',
|
||||
'browser/passwords/resources/credential_manager.js',
|
||||
'browser/passwords/resources/password_controller.js',
|
||||
],
|
||||
'includes': [ '../../ios/web/js_compile.gypi' ],
|
||||
'link_settings': {
|
||||
'mac_bundle_resources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/credential_manager.js',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/find_in_page.js',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/password_controller.js',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/common/app_group
|
||||
'target_name': 'app_group_common',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'common/app_group/app_group_constants.h',
|
||||
'common/app_group/app_group_constants.mm',
|
||||
'common/app_group/app_group_metrics.h',
|
||||
'common/app_group/app_group_metrics.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
# This target will be included into application extensions and the list
|
||||
# of its dependencies must be kept as short as possible.
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/components.gyp:version_info',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/common/app_group:client
|
||||
'target_name': 'app_group_client',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'common/app_group/app_group_metrics_client.h',
|
||||
'common/app_group/app_group_metrics_client.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
# This target will be included into application extensions and the list
|
||||
# of its dependencies must be kept as short as possible.
|
||||
'app_group_common',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/common/app_group:main_app
|
||||
'target_name': 'app_group_mainapp',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'common/app_group/app_group_metrics_mainapp.h',
|
||||
'common/app_group/app_group_metrics_mainapp.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
'app_group_common',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['enable_rlz_support==1', {
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/chrome/browser/rlz
|
||||
'target_name': 'ios_chrome_browser_rlz',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'browser/rlz/rlz_tracker_delegate_impl.cc',
|
||||
'browser/rlz/rlz_tracker_delegate_impl.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../components/components.gyp:google_core_browser',
|
||||
'../../components/components.gyp:omnibox_browser',
|
||||
'../../components/components.gyp:rlz',
|
||||
'../../components/components.gyp:search_engines',
|
||||
'../../rlz/rlz.gyp:rlz_lib',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,266 +0,0 @@
|
||||
# Copyright 2012 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/chrome',
|
||||
'ui_string_overrider_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_locale_settings.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_strings.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_strings.h',
|
||||
],
|
||||
'ui_string_overrider_output_basename':
|
||||
'ios/chrome/browser/variations/ios_ui_string_overrider_factory',
|
||||
'ui_string_overrider_script_name':
|
||||
'../../components/variations/service/generate_ui_string_overrider.py',
|
||||
'conditions': [
|
||||
['branding=="Chromium"', {
|
||||
'ui_string_overrider_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_chromium_strings.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_chromium_strings.h',
|
||||
],
|
||||
}],
|
||||
['branding=="Chrome"', {
|
||||
'ui_string_overrider_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_google_chrome_strings.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_google_chrome_strings.h',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'ios_chrome_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'ios_resources_gen',
|
||||
'ios_strings_gen',
|
||||
'ios_theme_resources_gen',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/strings
|
||||
'target_name': 'ios_strings_gen',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
# GN version: //ios/chrome/app/strings:ios_strings
|
||||
'action_name': 'generate_ios_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'app/strings/ios_strings.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/strings:ios_chromium_strings
|
||||
'action_name': 'generate_ios_chromium_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'app/strings/ios_chromium_strings.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/strings:ios_google_chrome_strings
|
||||
'action_name': 'generate_ios_google_chrome_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'app/strings/ios_google_chrome_strings.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources
|
||||
'target_name': 'ios_resources_gen',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'ios_resources',
|
||||
'variables': {
|
||||
'grit_grd_file': 'app/resources/ios_resources.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/theme
|
||||
'target_name': 'ios_theme_resources_gen',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'ios_theme_resources',
|
||||
'variables': {
|
||||
'grit_grd_file': 'app/theme/ios_theme_resources.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources:packed_resources
|
||||
'target_name': 'ios_packed_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'../../components/components_strings.gyp:components_strings',
|
||||
'../../net/net.gyp:net_resources',
|
||||
'../../ui/resources/ui_resources.gyp:ui_resources',
|
||||
'../../ui/strings/ui_strings.gyp:ui_strings',
|
||||
'ios_chrome_resources',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources:repack_locales
|
||||
'action_name': 'repack_ios_locales',
|
||||
'variables': {
|
||||
'repack_locales_path': 'tools/build/ios_repack_locales.py',
|
||||
},
|
||||
'inputs': [
|
||||
'<(repack_locales_path)',
|
||||
'<!@pymod_do_main(ios_repack_locales -i '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_ios '
|
||||
'-b <(branding_path_component) '
|
||||
'<(locales))'
|
||||
],
|
||||
'outputs': [
|
||||
'<!@pymod_do_main(ios_repack_locales -o '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_ios '
|
||||
'<(locales))'
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(repack_locales_path)',
|
||||
'-x', '<(SHARED_INTERMEDIATE_DIR)/repack_ios',
|
||||
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'-b', '<(branding_path_component)',
|
||||
'<@(locales)',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources:repack_scalable_resources
|
||||
'action_name': 'repack_ios_resources_100_percent',
|
||||
'variables': {
|
||||
'pak_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources_100_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_100_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
|
||||
],
|
||||
'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_100_percent.pak',
|
||||
},
|
||||
'includes': [ '../../build/repack_action.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources:repack_scalable_resources
|
||||
'action_name': 'repack_ios_resources_200_percent',
|
||||
'variables': {
|
||||
'pak_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources_200_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_200_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_200_percent.pak',
|
||||
],
|
||||
'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_200_percent.pak',
|
||||
},
|
||||
'includes': [ '../../build/repack_action.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources:repack_scalable_resources
|
||||
'action_name': 'repack_ios_resources_300_percent',
|
||||
'variables': {
|
||||
'pak_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources_300_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_300_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_300_percent.pak',
|
||||
],
|
||||
'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_300_percent.pak',
|
||||
},
|
||||
'includes': [ '../../build/repack_action.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/app/resources:repack_unscaled_resources
|
||||
'action_name': 'repack_ios_resources',
|
||||
'variables': {
|
||||
'pak_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
|
||||
],
|
||||
'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/resources.pak',
|
||||
},
|
||||
'includes': [ '../../build/repack_action.gypi' ],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/browser/variations:ios_chrome_ui_string_overrider_factory
|
||||
'target_name': 'ios_chrome_ui_string_overrider_factory_gen',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
'dependencies': [
|
||||
'../../components/components_strings.gyp:components_strings',
|
||||
'ios_strings_gen',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_ios_ui_string_overrider',
|
||||
'inputs': [
|
||||
'<(ui_string_overrider_script_name)',
|
||||
'<@(ui_string_overrider_inputs)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'<(ui_string_overrider_script_name)',
|
||||
'-o', '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'-S', '<(ui_string_overrider_output_basename).cc',
|
||||
'-H', '<(ui_string_overrider_output_basename).h',
|
||||
'<@(ui_string_overrider_inputs)',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/browser/variations:ios_chrome_ui_string_overrider_factory
|
||||
'target_name': 'ios_chrome_ui_string_overrider_factory',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../components/components.gyp:variations_service',
|
||||
'ios_chrome_ui_string_overrider_factory_gen',
|
||||
],
|
||||
'sources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'dependencies': [
|
||||
'<(DEPTH)/ios/chrome/ios_chrome_resources.gyp:ios_packed_resources',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_100_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_200_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_300_percent.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/repack_ios/resources.pak',
|
||||
'<!@pymod_do_main(ios_repack_locales -o -s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_ios <(locales))',
|
||||
],
|
||||
}
|
@ -1,176 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/chrome:ios_chrome_unittests
|
||||
'target_name': 'ios_chrome_unittests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:test_support_base',
|
||||
'../../components/components.gyp:bookmarks_test_support',
|
||||
'../../components/components.gyp:favicon_base',
|
||||
'../../components/components.gyp:metrics',
|
||||
'../../components/components.gyp:metrics_test_support',
|
||||
'../../components/components.gyp:password_manager_core_browser',
|
||||
'../../components/components.gyp:password_manager_core_browser_test_support',
|
||||
'../../components/components.gyp:password_manager_core_common',
|
||||
'../../components/components.gyp:proxy_config',
|
||||
'../../components/components.gyp:ssl_config',
|
||||
'../../components/components.gyp:syncable_prefs_test_support',
|
||||
'../../components/components.gyp:update_client',
|
||||
'../../components/components.gyp:version_info',
|
||||
'../../components/prefs/prefs.gyp:prefs_test_support',
|
||||
'../../ios/testing/ios_testing.gyp:ocmock_support',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../skia/skia.gyp:skia',
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
|
||||
'../../third_party/ocmock/ocmock.gyp:ocmock',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'../../ui/gfx/gfx.gyp:gfx',
|
||||
'../../ui/gfx/gfx.gyp:gfx_test_support',
|
||||
'../../ui/strings/ui_strings.gyp:ui_strings',
|
||||
'../web/ios_web.gyp:ios_web',
|
||||
'../web/ios_web.gyp:ios_web_test_support',
|
||||
'ios_chrome.gyp:ios_chrome_app',
|
||||
'ios_chrome.gyp:ios_chrome_browser',
|
||||
'ios_chrome.gyp:ios_chrome_common',
|
||||
'ios_chrome_test_support',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'browser/ui/native_content_controller_test.xib'
|
||||
],
|
||||
'sources': [
|
||||
'app/application_delegate/memory_warning_helper_unittest.mm',
|
||||
'app/safe_mode_util_unittest.cc',
|
||||
'browser/chrome_url_util_unittest.mm',
|
||||
'browser/crash_loop_detection_util_unittest.mm',
|
||||
'browser/favicon/large_icon_cache_unittest.cc',
|
||||
'browser/geolocation/CLLocation+XGeoHeaderTest.mm',
|
||||
'browser/geolocation/location_manager_unittest.mm',
|
||||
'browser/geolocation/omnibox_geolocation_local_state_unittest.mm',
|
||||
'browser/install_time_util_unittest.mm',
|
||||
'browser/installation_notifier_unittest.mm',
|
||||
'browser/ios_chrome_io_thread_unittest.mm',
|
||||
'browser/itunes_links/itunes_links_observer_unittest.mm',
|
||||
'browser/metrics/ios_chrome_metrics_service_accessor_unittest.cc',
|
||||
'browser/metrics/ios_chrome_stability_metrics_provider_unittest.cc',
|
||||
'browser/metrics/mobile_session_shutdown_metrics_provider_unittest.mm',
|
||||
'browser/metrics/previous_session_info_unittest.mm',
|
||||
'browser/net/cookie_util_unittest.mm',
|
||||
'browser/net/image_fetcher_unittest.mm',
|
||||
'browser/net/metrics_network_client_unittest.mm',
|
||||
'browser/net/retryable_url_fetcher_unittest.mm',
|
||||
'browser/notification_promo_unittest.cc',
|
||||
'browser/passwords/credential_manager_js_unittest.mm',
|
||||
'browser/passwords/credential_manager_unittest.mm',
|
||||
'browser/passwords/password_controller_js_unittest.mm',
|
||||
'browser/passwords/password_controller_off_the_record_unittest.mm',
|
||||
'browser/passwords/password_controller_unittest.mm',
|
||||
'browser/passwords/password_generation_agent_unittest.mm',
|
||||
'browser/reading_list/reading_list_entry_unittest.cc',
|
||||
'browser/reading_list/reading_list_model_unittest.cc',
|
||||
'browser/signin/chrome_identity_service_observer_bridge_unittest.mm',
|
||||
'browser/signin/gaia_auth_fetcher_ios_unittest.mm',
|
||||
'browser/snapshots/lru_cache_unittest.mm',
|
||||
'browser/snapshots/snapshot_cache_unittest.mm',
|
||||
'browser/snapshots/snapshots_util_unittest.mm',
|
||||
'browser/ssl/ios_ssl_error_handler_unittest.mm',
|
||||
'browser/translate/translate_service_ios_unittest.cc',
|
||||
'browser/ui/alert_coordinator/action_sheet_coordinator_unittest.mm',
|
||||
'browser/ui/alert_coordinator/alert_coordinator_unittest.mm',
|
||||
'browser/ui/alert_coordinator/input_alert_coordinator_unittest.mm',
|
||||
'browser/ui/commands/set_up_for_testing_command_unittest.mm',
|
||||
'browser/ui/context_menu/context_menu_coordinator_unittest.mm',
|
||||
'browser/ui/elements/selector_coordinator_unittest.mm',
|
||||
'browser/ui/elements/selector_picker_view_controller_unittest.mm',
|
||||
'browser/ui/keyboard/UIKeyCommand+ChromeTest.mm',
|
||||
'browser/ui/keyboard/hardware_keyboard_watcher_unittest.mm',
|
||||
'browser/ui/native_content_controller_unittest.mm',
|
||||
'browser/ui/ui_util_unittest.mm',
|
||||
'browser/ui/uikit_ui_util_unittest.mm',
|
||||
'browser/update_client/ios_chrome_update_query_params_delegate_unittest.cc',
|
||||
'browser/web_resource/web_resource_util_unittest.cc',
|
||||
'browser/webp_transcode/webp_decoder_unittest.mm',
|
||||
'common/string_util_unittest.mm',
|
||||
'test/google_toolbox_unittest.mm',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'copy_ios_chrome_test_data',
|
||||
'variables': {
|
||||
'test_data_files': [
|
||||
'../../net/data/ssl/certificates/',
|
||||
'test/data',
|
||||
],
|
||||
'test_data_prefix': 'ios/chrome',
|
||||
},
|
||||
'includes': [ '../../build/copy_test_data_ios.gypi' ]
|
||||
},
|
||||
],
|
||||
'includes': ['ios_chrome_resources_bundle.gypi'],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/browser:test_support
|
||||
'target_name': 'ios_chrome_test_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/components.gyp:keyed_service_core',
|
||||
'../../components/components.gyp:keyed_service_ios',
|
||||
'../../components/components.gyp:password_manager_core_browser_test_support',
|
||||
'../../components/components.gyp:signin_ios_browser_test_support',
|
||||
'../../components/sync.gyp:sync',
|
||||
'../../components/sync.gyp:test_support_sync_driver',
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'../../url/url.gyp:url_lib',
|
||||
'../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
|
||||
'../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser_test_support',
|
||||
'ios_chrome.gyp:ios_chrome_browser',
|
||||
],
|
||||
'sources': [
|
||||
'browser/browser_state/test_chrome_browser_state.h',
|
||||
'browser/browser_state/test_chrome_browser_state.mm',
|
||||
'browser/browser_state/test_chrome_browser_state_isolated_context.h',
|
||||
'browser/browser_state/test_chrome_browser_state_isolated_context.mm',
|
||||
'browser/browser_state/test_chrome_browser_state_manager.cc',
|
||||
'browser/browser_state/test_chrome_browser_state_manager.h',
|
||||
'browser/geolocation/location_manager+Testing.h',
|
||||
'browser/geolocation/test_location_manager.h',
|
||||
'browser/geolocation/test_location_manager.mm',
|
||||
'browser/net/mock_image_fetcher.h',
|
||||
'browser/net/mock_image_fetcher.mm',
|
||||
'browser/signin/fake_oauth2_token_service_builder.h',
|
||||
'browser/signin/fake_oauth2_token_service_builder.mm',
|
||||
'browser/signin/fake_signin_manager_builder.cc',
|
||||
'browser/signin/fake_signin_manager_builder.h',
|
||||
'browser/sync/fake_sync_service_factory.cc',
|
||||
'browser/sync/fake_sync_service_factory.h',
|
||||
'browser/sync/ios_chrome_profile_sync_test_util.cc',
|
||||
'browser/sync/ios_chrome_profile_sync_test_util.h',
|
||||
'browser/sync/sync_setup_service_mock.cc',
|
||||
'browser/sync/sync_setup_service_mock.h',
|
||||
'test/block_cleanup_test.h',
|
||||
'test/block_cleanup_test.mm',
|
||||
'test/ios_chrome_scoped_testing_chrome_browser_provider.h',
|
||||
'test/ios_chrome_scoped_testing_chrome_browser_provider.mm',
|
||||
'test/ios_chrome_scoped_testing_local_state.cc',
|
||||
'test/ios_chrome_scoped_testing_local_state.h',
|
||||
'test/ios_chrome_unit_test_suite.h',
|
||||
'test/ios_chrome_unit_test_suite.mm',
|
||||
'test/run_all_unittests.cc',
|
||||
'test/testing_application_context.h',
|
||||
'test/testing_application_context.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'grit_out_dir': '<(grit_base_dir)/ios/share_extension',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/chrome/share_extensions:resources
|
||||
'target_name': 'ios_share_extension_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'ios_share_extension_strings_gen',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/share_extensions/strings
|
||||
'target_name': 'ios_share_extension_strings_gen',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_ios_share_extension_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'share_extension/strings/ios_share_extension_strings.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'includes': [ '../../build/grit_target.gypi' ],
|
||||
# Override the exported include-dirs; ios/chrome/grit/ios_*strings.h
|
||||
# should only be referenceable as ios/chrome/grit to allow DEPS-time
|
||||
# checking of usage.
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(grit_base_dir)',
|
||||
],
|
||||
'include_dirs!': [
|
||||
'<(grit_out_dir)',
|
||||
],
|
||||
}
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/share_extensions:packed_resources
|
||||
'target_name': 'ios_share_extension_packed_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'ios_share_extension_resources',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'repack_ios_share_extension_locales',
|
||||
'variables': {
|
||||
'repack_locales_path': 'tools/build/ios_repack_extension_locales.py',
|
||||
},
|
||||
'inputs': [
|
||||
'tools/build/ios_repack_extension_locales.py',
|
||||
'<!@pymod_do_main(ios_repack_extension_locales -i '
|
||||
'-n share_extension '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_share_extension '
|
||||
'-b <(branding_path_component) '
|
||||
'<(locales))'
|
||||
],
|
||||
'outputs': [
|
||||
'<!@pymod_do_main(ios_repack_extension_locales -o '
|
||||
'-n share_extension '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_share_extension '
|
||||
'<(locales))'
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'tools/build/ios_repack_extension_locales.py',
|
||||
'-n', 'share_extension',
|
||||
'-x', '<(SHARED_INTERMEDIATE_DIR)/repack_share_extension',
|
||||
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'-b', '<(branding_path_component)',
|
||||
'<@(locales)',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'grit_out_dir': '<(grit_base_dir)/ios/today_extension',
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/chrome/today_extension:resources
|
||||
'target_name': 'ios_today_extension_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'ios_today_extension_strings_gen',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/today_extension/strings
|
||||
'target_name': 'ios_today_extension_strings_gen',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_ios_today_extension_strings',
|
||||
'variables': {
|
||||
'grit_grd_file': 'today_extension/strings/ios_today_extension_strings.grd',
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'includes': [ '../../build/grit_target.gypi' ],
|
||||
# Override the exported include-dirs; ios/chrome/grit/ios_*strings.h
|
||||
# should only be referenceable as ios/chrome/grit to allow DEPS-time
|
||||
# checking of usage.
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(grit_base_dir)',
|
||||
],
|
||||
'include_dirs!': [
|
||||
'<(grit_out_dir)',
|
||||
],
|
||||
}
|
||||
},
|
||||
{
|
||||
# GN version: //ios/chrome/today_extension:packed_resources
|
||||
'target_name': 'ios_today_extension_packed_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'ios_today_extension_resources',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'repack_ios_today_extension_locales',
|
||||
'variables': {
|
||||
'repack_locales_path': 'tools/build/ios_repack_extension_locales.py',
|
||||
},
|
||||
'inputs': [
|
||||
'tools/build/ios_repack_extension_locales.py',
|
||||
'<!@pymod_do_main(ios_repack_extension_locales -i '
|
||||
'-n today_extension '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_today_extension '
|
||||
'-b <(branding_path_component) '
|
||||
'<(locales))'
|
||||
],
|
||||
'outputs': [
|
||||
'<!@pymod_do_main(ios_repack_extension_locales -o '
|
||||
'-n today_extension '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_today_extension '
|
||||
'<(locales))'
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'tools/build/ios_repack_extension_locales.py',
|
||||
'-n', 'today_extension',
|
||||
'-x', '<(SHARED_INTERMEDIATE_DIR)/repack_today_extension',
|
||||
'-s', '<(SHARED_INTERMEDIATE_DIR)',
|
||||
'-b', '<(branding_path_component)',
|
||||
'<@(locales)',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
@ -1,13 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'dependencies': [
|
||||
'<(DEPTH)/ios/chrome/ios_today_extension_resources.gyp:ios_today_extension_packed_resources',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'<!@pymod_do_main(ios_repack_extension_locales -n today_extension -o '
|
||||
'-s <(SHARED_INTERMEDIATE_DIR) '
|
||||
'-x <(SHARED_INTERMEDIATE_DIR)/repack_today_extension <(locales))',
|
||||
],
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Builds an OS X command line tool to generate Localizable.strings and
|
||||
# InfoPlist.strings from compiled locales.pak.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'generate_localizable_strings',
|
||||
'type': 'executable',
|
||||
'toolsets': ['host'],
|
||||
'dependencies': [
|
||||
'../../../../base/base.gyp:base',
|
||||
'../../../../ui/base/ui_base.gyp:ui_data_pack',
|
||||
],
|
||||
'sources': [
|
||||
'generate_localizable_strings.mm',
|
||||
],
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/public/consumer/base
|
||||
'target_name': 'ios_consumer_base',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'../public/consumer/base/debugger.h',
|
||||
'base/debugger.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,172 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crnet',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../components/prefs/prefs.gyp:prefs',
|
||||
'../../ios/net/ios_net.gyp:ios_net',
|
||||
'../../ios/web/ios_web.gyp:user_agent',
|
||||
'../../net/net.gyp:net',
|
||||
'crnet_resources',
|
||||
],
|
||||
'mac_framework_headers': [
|
||||
'CrNet.h',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ '.' ],
|
||||
},
|
||||
'sources': [
|
||||
# TODO(ellyjones): http://crbug.com/485144
|
||||
'../../net/url_request/sdch_dictionary_fetcher.cc',
|
||||
'../../net/url_request/sdch_dictionary_fetcher.h',
|
||||
'CrNet.h',
|
||||
'CrNet.mm',
|
||||
'crnet_environment.h',
|
||||
'crnet_environment.mm',
|
||||
'sdch_owner_pref_storage.cc',
|
||||
'sdch_owner_pref_storage.h',
|
||||
],
|
||||
'defines': [
|
||||
# TODO(stuartmorgan): Revisit the way this is set, and the above is
|
||||
# built, once the web/ layer is complete. Note that this setting doesn't
|
||||
# propagate to any included targets.
|
||||
'CRNET=1',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'DEAD_CODE_STRIPPING': 'YES',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'crnet_framework',
|
||||
'product_name': 'CrNet',
|
||||
'type': 'shared_library',
|
||||
'mac_bundle': 1,
|
||||
'sources': [
|
||||
'CrNet.h',
|
||||
'CrNet.mm',
|
||||
'crnet_environment.h',
|
||||
'crnet_environment.mm',
|
||||
'sdch_owner_pref_storage.cc',
|
||||
'sdch_owner_pref_storage.h',
|
||||
'sdch_owner_pref_storage.cc',
|
||||
],
|
||||
'mac_framework_headers': [
|
||||
'CrNet.h',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'Foundation.framework',
|
||||
],
|
||||
},
|
||||
'xcode_settings': {
|
||||
'DEBUGGING_SYMBOLS': 'YES',
|
||||
'INFOPLIST_FILE': 'Info.plist',
|
||||
'LD_DYLIB_INSTALL_NAME': '@loader_path/Frameworks/CrNet.framework/CrNet',
|
||||
},
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/prefs/prefs.gyp:prefs',
|
||||
'../../ios/net/ios_net.gyp:ios_net',
|
||||
'../../ios/web/ios_web.gyp:user_agent',
|
||||
'../../net/net.gyp:net',
|
||||
'crnet_resources',
|
||||
],
|
||||
'configurations': {
|
||||
'Debug_Base': {
|
||||
'xcode_settings': {
|
||||
'DEPLOYMENT_POSTPROCESSING': 'NO',
|
||||
'DEBUG_INFORMATION_FORMAT': 'dwarf',
|
||||
'STRIP_INSTALLED_PRODUCT': 'NO',
|
||||
}
|
||||
},
|
||||
'Release_Base': {
|
||||
'xcode_settings': {
|
||||
'DEPLOYMENT_POSTPROCESSING': 'YES',
|
||||
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
|
||||
'STRIP_INSTALLED_PRODUCT': 'YES',
|
||||
'STRIP_STYLE': 'non-global',
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
# This bundle contains "Accept-Languages" header values for known locales.
|
||||
# TODO(huey): These strings should be auto-generated from chrome's .xtb
|
||||
# files, not hardcoded.
|
||||
'target_name': 'crnet_resources',
|
||||
'type': 'loadable_module',
|
||||
'mac_bundle': 1,
|
||||
'mac_bundle_resources': [
|
||||
'Resources/Localization/am.lproj/Localizable.strings',
|
||||
'Resources/Localization/ar.lproj/Localizable.strings',
|
||||
'Resources/Localization/bg.lproj/Localizable.strings',
|
||||
'Resources/Localization/bn.lproj/Localizable.strings',
|
||||
'Resources/Localization/ca.lproj/Localizable.strings',
|
||||
'Resources/Localization/cs.lproj/Localizable.strings',
|
||||
'Resources/Localization/da.lproj/Localizable.strings',
|
||||
'Resources/Localization/de.lproj/Localizable.strings',
|
||||
'Resources/Localization/el.lproj/Localizable.strings',
|
||||
'Resources/Localization/en-GB.lproj/Localizable.strings',
|
||||
'Resources/Localization/en.lproj/Localizable.strings',
|
||||
'Resources/Localization/es-419.lproj/Localizable.strings',
|
||||
'Resources/Localization/es.lproj/Localizable.strings',
|
||||
'Resources/Localization/fa.lproj/Localizable.strings',
|
||||
'Resources/Localization/fi.lproj/Localizable.strings',
|
||||
'Resources/Localization/fil.lproj/Localizable.strings',
|
||||
'Resources/Localization/fr.lproj/Localizable.strings',
|
||||
'Resources/Localization/gu.lproj/Localizable.strings',
|
||||
'Resources/Localization/he.lproj/Localizable.strings',
|
||||
'Resources/Localization/hi.lproj/Localizable.strings',
|
||||
'Resources/Localization/hr.lproj/Localizable.strings',
|
||||
'Resources/Localization/hu.lproj/Localizable.strings',
|
||||
'Resources/Localization/id.lproj/Localizable.strings',
|
||||
'Resources/Localization/it.lproj/Localizable.strings',
|
||||
'Resources/Localization/ja.lproj/Localizable.strings',
|
||||
'Resources/Localization/kn.lproj/Localizable.strings',
|
||||
'Resources/Localization/ko.lproj/Localizable.strings',
|
||||
'Resources/Localization/lt.lproj/Localizable.strings',
|
||||
'Resources/Localization/lv.lproj/Localizable.strings',
|
||||
'Resources/Localization/ml.lproj/Localizable.strings',
|
||||
'Resources/Localization/mr.lproj/Localizable.strings',
|
||||
'Resources/Localization/ms.lproj/Localizable.strings',
|
||||
'Resources/Localization/nb.lproj/Localizable.strings',
|
||||
'Resources/Localization/nl.lproj/Localizable.strings',
|
||||
'Resources/Localization/pl.lproj/Localizable.strings',
|
||||
'Resources/Localization/pt-BR.lproj/Localizable.strings',
|
||||
'Resources/Localization/pt-PT.lproj/Localizable.strings',
|
||||
'Resources/Localization/pt.lproj/Localizable.strings',
|
||||
'Resources/Localization/ro.lproj/Localizable.strings',
|
||||
'Resources/Localization/ru.lproj/Localizable.strings',
|
||||
'Resources/Localization/sk.lproj/Localizable.strings',
|
||||
'Resources/Localization/sl.lproj/Localizable.strings',
|
||||
'Resources/Localization/sr.lproj/Localizable.strings',
|
||||
'Resources/Localization/sv.lproj/Localizable.strings',
|
||||
'Resources/Localization/sw.lproj/Localizable.strings',
|
||||
'Resources/Localization/ta.lproj/Localizable.strings',
|
||||
'Resources/Localization/te.lproj/Localizable.strings',
|
||||
'Resources/Localization/th.lproj/Localizable.strings',
|
||||
'Resources/Localization/tr.lproj/Localizable.strings',
|
||||
'Resources/Localization/uk.lproj/Localizable.strings',
|
||||
'Resources/Localization/vi.lproj/Localizable.strings',
|
||||
'Resources/Localization/zh-Hans.lproj/Localizable.strings',
|
||||
'Resources/Localization/zh-Hant.lproj/Localizable.strings',
|
||||
'Resources/Localization/zh.lproj/Localizable.strings',
|
||||
],
|
||||
'all_dependent_settings': {
|
||||
'link_settings': {
|
||||
'mac_bundle_resources': [
|
||||
'>(PRODUCT_DIR)/crnet_resources.bundle',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [],
|
||||
'conditions': [
|
||||
# Our shared library hack only works with ninja; xcode cannot generate
|
||||
# iOS build targets for dynamic libraries.
|
||||
['"<(GENERATOR)"=="ninja"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crnet_consumer',
|
||||
'type': 'executable',
|
||||
'mac_bundle': 1,
|
||||
'dependencies': [
|
||||
'../../../ios/crnet/crnet_pack.gyp:crnet_pack',
|
||||
],
|
||||
'sources': [
|
||||
'crnet_consumer_app_delegate.h',
|
||||
'crnet_consumer_app_delegate.mm',
|
||||
'crnet_consumer_view_controller.h',
|
||||
'crnet_consumer_view_controller.m',
|
||||
'main.mm',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'../../../third_party/icu/common/icudtl.dat',
|
||||
'Default.png',
|
||||
'crnet-consumer-Info.plist',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../../..',
|
||||
'..',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<(PRODUCT_DIR)/libcrnet_standalone.a',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-lresolv',
|
||||
'-lsqlite3',
|
||||
'-lxml2',
|
||||
],
|
||||
},
|
||||
},
|
||||
'xcode_settings': {
|
||||
'CLANG_ENABLE_OBJC_ARC': 'YES',
|
||||
'DEAD_CODE_STRIPPING': 'YES',
|
||||
'INFOPLIST_FILE': 'crnet-consumer-Info.plist',
|
||||
},
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [],
|
||||
'conditions': [
|
||||
# Our shared library hack only works with ninja; xcode cannot generate
|
||||
# iOS build targets for dynamic libraries. More details below.
|
||||
['"<(GENERATOR)"=="ninja"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crnet_dummy',
|
||||
'type': 'executable',
|
||||
'mac_bundle': 1,
|
||||
'dependencies': [
|
||||
'../../ios/crnet/crnet.gyp:crnet',
|
||||
],
|
||||
'sources': [
|
||||
'../../ios/build/packaging/dummy_main.mm',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'INFOPLIST_FILE': '../../ios/build/packaging/dummy-Info.plist',
|
||||
},
|
||||
},
|
||||
{
|
||||
# Build this target to package a standalone CrNet in a single
|
||||
# .a file.
|
||||
'target_name': 'crnet_pack',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
# Depend on the dummy target so that all of CrNet's dependencies
|
||||
# are built before packaging.
|
||||
'crnet_dummy',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'Package CrNet',
|
||||
'variables': {
|
||||
'tool_path':
|
||||
'../../ios/build/packaging/link_dependencies.py',
|
||||
},
|
||||
|
||||
# Actions need an inputs list, even if it's empty.
|
||||
'inputs': [
|
||||
'<(tool_path)',
|
||||
'<(PRODUCT_DIR)/crnet_dummy.app/crnet_dummy',
|
||||
],
|
||||
# Only specify one output, since this will be libtool's output.
|
||||
'outputs': [ '<(PRODUCT_DIR)/libcrnet_standalone.a' ],
|
||||
'action': ['<(tool_path)',
|
||||
'<(PRODUCT_DIR)',
|
||||
'crnet_dummy.app/crnet_dummy',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [],
|
||||
'conditions': [
|
||||
# The CrNet build is ninja-only because of the hack in
|
||||
# ios/build/packaging/link_dependencies.py.
|
||||
['OS=="ios" and "<(GENERATOR)"=="ninja"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crnet_test',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../../../ios/crnet/crnet.gyp:crnet',
|
||||
'../../../ios/third_party/gcdwebserver/gcdwebserver.gyp:gcdwebserver',
|
||||
'../../../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'crnet_http_tests.mm',
|
||||
'crnet_test_runner.mm',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../../..',
|
||||
'..',
|
||||
],
|
||||
'link_settings': {
|
||||
},
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
35
ios/ios.gyp
35
ios/ios.gyp
@ -1,35 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'ios',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'chrome/common/physical_web/physical_web.gyp:*',
|
||||
'chrome/ios_chrome_tests.gyp:*',
|
||||
'chrome/ios_share_extension_resources.gyp:*',
|
||||
'chrome/ios_today_extension_resources.gyp:*',
|
||||
'consumer/ios_consumer_base.gyp:*',
|
||||
'crnet/crnet.gyp:*',
|
||||
'crnet/crnet_consumer/crnet_consumer.gyp:*',
|
||||
'crnet/crnet_pack.gyp:*',
|
||||
'crnet/test/crnet_test.gyp:*',
|
||||
'net/ios_net.gyp:*',
|
||||
'net/ios_net_unittests.gyp:*',
|
||||
'provider/ios_provider_chrome.gyp:*',
|
||||
'provider/ios_provider_web.gyp:*',
|
||||
'testing/ios_testing.gyp:*',
|
||||
'web/ios_web.gyp:*',
|
||||
'web/ios_web_inttests.gyp:*',
|
||||
'web/ios_web_shell.gyp:*',
|
||||
'web/ios_web_shell_tests.gyp:*',
|
||||
'web/ios_web_unittests.gyp:*',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/net
|
||||
'target_name': 'ios_net',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../net/net.gyp:net',
|
||||
],
|
||||
'sources': [
|
||||
'clients/crn_forwarding_network_client.h',
|
||||
'clients/crn_forwarding_network_client.mm',
|
||||
'clients/crn_forwarding_network_client_factory.h',
|
||||
'clients/crn_forwarding_network_client_factory.mm',
|
||||
'clients/crn_network_client_protocol.h',
|
||||
'clients/crn_simple_network_client_factory.h',
|
||||
'clients/crn_simple_network_client_factory.mm',
|
||||
'cookies/cookie_cache.cc',
|
||||
'cookies/cookie_cache.h',
|
||||
'cookies/cookie_creation_time_manager.h',
|
||||
'cookies/cookie_creation_time_manager.mm',
|
||||
'cookies/cookie_store_ios.h',
|
||||
'cookies/cookie_store_ios.mm',
|
||||
'cookies/cookie_store_ios_client.h',
|
||||
'cookies/cookie_store_ios_client.mm',
|
||||
'cookies/system_cookie_util.h',
|
||||
'cookies/system_cookie_util.mm',
|
||||
'crn_http_protocol_handler.h',
|
||||
'crn_http_protocol_handler.mm',
|
||||
'crn_http_protocol_handler_proxy.h',
|
||||
'crn_http_protocol_handler_proxy_with_client_thread.h',
|
||||
'crn_http_protocol_handler_proxy_with_client_thread.mm',
|
||||
'crn_http_url_response.h',
|
||||
'crn_http_url_response.mm',
|
||||
'empty_nsurlcache.h',
|
||||
'empty_nsurlcache.mm',
|
||||
'http_cache_helper.cc',
|
||||
'http_cache_helper.h',
|
||||
'http_protocol_logging.h',
|
||||
'http_protocol_logging.mm',
|
||||
'http_response_headers_util.h',
|
||||
'http_response_headers_util.mm',
|
||||
'nsurlrequest_util.h',
|
||||
'nsurlrequest_util.mm',
|
||||
'protocol_handler_util.h',
|
||||
'protocol_handler_util.mm',
|
||||
'request_tracker.h',
|
||||
'request_tracker.mm',
|
||||
'url_scheme_util.h',
|
||||
'url_scheme_util.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/net:ios_net_unittests
|
||||
'target_name': 'ios_net_unittests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:run_all_unittests',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../url/url.gyp:url_lib',
|
||||
'ios_net.gyp:ios_net',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'clients/crn_forwarding_network_client_factory_unittest.mm',
|
||||
'cookies/cookie_cache_unittest.cc',
|
||||
'cookies/cookie_creation_time_manager_unittest.mm',
|
||||
'cookies/cookie_store_ios_unittest.mm',
|
||||
'cookies/system_cookie_util_unittest.mm',
|
||||
'http_response_headers_util_unittest.mm',
|
||||
'nsurlrequest_util_unittest.mm',
|
||||
'protocol_handler_util_unittest.mm',
|
||||
'url_scheme_util_unittest.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/public/provider/chrome/browser
|
||||
'target_name': 'ios_provider_chrome_browser',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'../public/provider/chrome/browser/browser_constants.cc',
|
||||
'../public/provider/chrome/browser/browser_constants.h',
|
||||
'../public/provider/chrome/browser/chrome_browser_provider.h',
|
||||
'../public/provider/chrome/browser/chrome_browser_provider.mm',
|
||||
'../public/provider/chrome/browser/geolocation_updater_provider.h',
|
||||
'../public/provider/chrome/browser/geolocation_updater_provider.mm',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity.h',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity.mm',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity_browser_opener.h',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity_service.h',
|
||||
'../public/provider/chrome/browser/signin/chrome_identity_service.mm',
|
||||
'../public/provider/chrome/browser/signin/signin_error_provider.h',
|
||||
'../public/provider/chrome/browser/signin/signin_error_provider.mm',
|
||||
'../public/provider/chrome/browser/signin/signin_resources_provider.h',
|
||||
'../public/provider/chrome/browser/signin/signin_resources_provider.mm',
|
||||
'../public/provider/chrome/browser/ui/default_ios_web_view_factory.h',
|
||||
'../public/provider/chrome/browser/ui/default_ios_web_view_factory.mm',
|
||||
'../public/provider/chrome/browser/ui/infobar_view_delegate.h',
|
||||
'../public/provider/chrome/browser/ui/infobar_view_protocol.h',
|
||||
'../public/provider/chrome/browser/updatable_resource_provider.h',
|
||||
'../public/provider/chrome/browser/updatable_resource_provider.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/components.gyp:autofill_core_browser',
|
||||
'../../components/components.gyp:favicon_base',
|
||||
'../../components/components.gyp:metrics',
|
||||
'../../components/components.gyp:sync_sessions',
|
||||
'../../net/net.gyp:net',
|
||||
'../web/ios_web.gyp:ios_web',
|
||||
'ios_provider_web.gyp:ios_provider_web',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/public/provider/chrome/browser:test_support
|
||||
'target_name': 'ios_provider_chrome_browser_test_support',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'../public/provider/chrome/browser/signin/fake_chrome_identity.h',
|
||||
'../public/provider/chrome/browser/signin/fake_chrome_identity.mm',
|
||||
'../public/provider/chrome/browser/signin/fake_chrome_identity_service.h',
|
||||
'../public/provider/chrome/browser/signin/fake_chrome_identity_service.mm',
|
||||
'../public/provider/chrome/browser/test_chrome_browser_provider.h',
|
||||
'../public/provider/chrome/browser/test_chrome_browser_provider.mm',
|
||||
'../public/provider/chrome/browser/test_chrome_provider_initializer.h',
|
||||
'../public/provider/chrome/browser/test_chrome_provider_initializer.mm',
|
||||
'../public/provider/chrome/browser/test_updatable_resource_provider.h',
|
||||
'../public/provider/chrome/browser/test_updatable_resource_provider.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/components.gyp:signin_ios_browser_test_support',
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'ios_provider_chrome_browser',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/public/provider/web
|
||||
'target_name': 'ios_provider_web',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../web/ios_web.gyp:ios_web',
|
||||
],
|
||||
'sources': [
|
||||
'../public/provider/web/web_controller_provider.h',
|
||||
'../public/provider/web/web_controller_provider.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/testing/earl_grey:earl_grey_support
|
||||
'target_name': 'earl_grey_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
|
||||
],
|
||||
'sources': [
|
||||
'disabled_test_macros.h',
|
||||
'wait_util.h',
|
||||
'wait_util.mm',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../../..',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/testing:ocmock_support
|
||||
'target_name': 'ocmock_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../third_party/ocmock/ocmock.gyp:ocmock',
|
||||
'../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
|
||||
],
|
||||
'sources': [
|
||||
'ocmock_complex_type_helper.h',
|
||||
'ocmock_complex_type_helper.mm',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/testing:ocmock_support_unittest
|
||||
'target_name': 'ocmock_support_unittest',
|
||||
'type': 'executable',
|
||||
'variables': {
|
||||
'ios_product_name': '<(_target_name)',
|
||||
},
|
||||
'sources': [
|
||||
'ocmock_complex_type_helper_unittest.mm',
|
||||
],
|
||||
'dependencies': [
|
||||
'ocmock_support',
|
||||
'../../base/base.gyp:run_all_unittests',
|
||||
'../../base/base.gyp:test_support_base',
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../testing/iossim/iossim.gyp:iossim#host',
|
||||
'../../third_party/ocmock/ocmock.gyp:ocmock',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
|
||||
},
|
||||
],
|
||||
}
|
28
ios/third_party/blink/blink_html_tokenizer.gyp
vendored
28
ios/third_party/blink/blink_html_tokenizer.gyp
vendored
@ -1,28 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/third_party/blink:html_tokenizer
|
||||
'target_name': 'blink_html_tokenizer',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../../base/base.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../../..',
|
||||
],
|
||||
'sources': [
|
||||
'src/html_character_provider.h',
|
||||
'src/html_input_stream_preprocessor.h',
|
||||
'src/html_markup_tokenizer_inlines.h',
|
||||
'src/html_token.h',
|
||||
'src/html_token.mm',
|
||||
'src/html_tokenizer.h',
|
||||
'src/html_tokenizer.mm',
|
||||
'src/html_tokenizer_adapter.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
326
ios/third_party/earl_grey/earl_grey.gyp
vendored
326
ios/third_party/earl_grey/earl_grey.gyp
vendored
@ -1,326 +0,0 @@
|
||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'EarlGrey',
|
||||
'type': 'shared_library',
|
||||
'mac_bundle': 1,
|
||||
'sources': [
|
||||
'src/EarlGrey/Action/GREYAction.h',
|
||||
'src/EarlGrey/Action/GREYActionBlock.h',
|
||||
'src/EarlGrey/Action/GREYActionBlock.m',
|
||||
'src/EarlGrey/Action/GREYActions.h',
|
||||
'src/EarlGrey/Action/GREYActions.m',
|
||||
'src/EarlGrey/Action/GREYBaseAction.m',
|
||||
'src/EarlGrey/Action/GREYChangeStepperAction.h',
|
||||
'src/EarlGrey/Action/GREYChangeStepperAction.m',
|
||||
'src/EarlGrey/Action/GREYPathGestureUtils.h',
|
||||
'src/EarlGrey/Action/GREYPathGestureUtils.m',
|
||||
'src/EarlGrey/Action/GREYPickerAction.h',
|
||||
'src/EarlGrey/Action/GREYPickerAction.m',
|
||||
'src/EarlGrey/Action/GREYScrollAction.h',
|
||||
'src/EarlGrey/Action/GREYScrollAction.m',
|
||||
'src/EarlGrey/Action/GREYScrollActionError.m',
|
||||
'src/EarlGrey/Action/GREYScrollToContentEdgeAction.h',
|
||||
'src/EarlGrey/Action/GREYScrollToContentEdgeAction.m',
|
||||
'src/EarlGrey/Action/GREYSlideAction.h',
|
||||
'src/EarlGrey/Action/GREYSlideAction.m',
|
||||
'src/EarlGrey/Action/GREYSwipeAction.h',
|
||||
'src/EarlGrey/Action/GREYSwipeAction.m',
|
||||
'src/EarlGrey/Action/GREYTapAction.h',
|
||||
'src/EarlGrey/Action/GREYTapAction.m',
|
||||
'src/EarlGrey/Action/GREYTapper.h',
|
||||
'src/EarlGrey/Action/GREYTapper.m',
|
||||
'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/CAAnimation+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/CAAnimation+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/CALayer+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/CALayer+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/CGGeometry+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/CGGeometry+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSError+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSError+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSObject+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSObject+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSString+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSString+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSTimer+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSTimer+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSURL+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSURL+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIAnimation+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIAnimation+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIApplication+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIApplication+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIScrollView+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIScrollView+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UISwitch+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UISwitch+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UITouch+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UITouch+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIView+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIView+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIViewController+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIViewController+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIWebView+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIWebView+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/UIWindow+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIWindow+GREYAdditions.m',
|
||||
'src/EarlGrey/Additions/XCTestCase+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/XCTestCase+GREYAdditions.m',
|
||||
'src/EarlGrey/AppSupport/GREYIdlingResource.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertion.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertionBlock.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertionBlock.m',
|
||||
'src/EarlGrey/Assertion/GREYAssertionDefines.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertions.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertions.m',
|
||||
'src/EarlGrey/Common/GREYAnalytics.h',
|
||||
'src/EarlGrey/Common/GREYAnalytics.m',
|
||||
'src/EarlGrey/Common/GREYConfiguration.h',
|
||||
'src/EarlGrey/Common/GREYConfiguration.m',
|
||||
'src/EarlGrey/Common/GREYConstants.h',
|
||||
'src/EarlGrey/Common/GREYConstants.m',
|
||||
'src/EarlGrey/Common/GREYDefines.h',
|
||||
'src/EarlGrey/Common/GREYElementHierarchy.h',
|
||||
'src/EarlGrey/Common/GREYElementHierarchy.m',
|
||||
'src/EarlGrey/Common/GREYExposed.h',
|
||||
'src/EarlGrey/Common/GREYPrivate.h',
|
||||
'src/EarlGrey/Common/GREYScreenshotUtil.h',
|
||||
'src/EarlGrey/Common/GREYScreenshotUtil.m',
|
||||
'src/EarlGrey/Common/GREYSwizzler.h',
|
||||
'src/EarlGrey/Common/GREYSwizzler.m',
|
||||
'src/EarlGrey/Common/GREYTestHelper.h',
|
||||
'src/EarlGrey/Common/GREYTestHelper.m',
|
||||
'src/EarlGrey/Common/GREYVisibilityChecker.h',
|
||||
'src/EarlGrey/Common/GREYVisibilityChecker.m',
|
||||
'src/EarlGrey/Core/GREYAutomationSetup.h',
|
||||
'src/EarlGrey/Core/GREYAutomationSetup.m',
|
||||
'src/EarlGrey/Core/GREYElementFinder.h',
|
||||
'src/EarlGrey/Core/GREYElementFinder.m',
|
||||
'src/EarlGrey/Core/GREYElementInteraction.h',
|
||||
'src/EarlGrey/Core/GREYElementInteraction.m',
|
||||
'src/EarlGrey/Core/GREYInteractionDataSource.h',
|
||||
'src/EarlGrey/Core/GREYKeyboard.h',
|
||||
'src/EarlGrey/Core/GREYKeyboard.m',
|
||||
'src/EarlGrey/Delegate/GREYCAAnimationDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYCAAnimationDelegate.m',
|
||||
'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.m',
|
||||
'src/EarlGrey/Delegate/GREYSurrogateDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYSurrogateDelegate.m',
|
||||
'src/EarlGrey/Delegate/GREYUIWebViewDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYUIWebViewDelegate.m',
|
||||
'src/EarlGrey/EarlGrey.h',
|
||||
'src/EarlGrey/EarlGrey.m',
|
||||
'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.h',
|
||||
'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.m',
|
||||
'src/EarlGrey/Event/GREYSyntheticEvents.h',
|
||||
'src/EarlGrey/Event/GREYSyntheticEvents.m',
|
||||
'src/EarlGrey/Exception/GREYDefaultFailureHandler.h',
|
||||
'src/EarlGrey/Exception/GREYDefaultFailureHandler.m',
|
||||
'src/EarlGrey/Exception/GREYFailureHandler.h',
|
||||
'src/EarlGrey/Exception/GREYFrameworkException.h',
|
||||
'src/EarlGrey/Exception/GREYFrameworkException.m',
|
||||
'src/EarlGrey/Matcher/GREYAllOf.h',
|
||||
'src/EarlGrey/Matcher/GREYAllOf.m',
|
||||
'src/EarlGrey/Matcher/GREYAnyOf.h',
|
||||
'src/EarlGrey/Matcher/GREYAnyOf.m',
|
||||
'src/EarlGrey/Matcher/GREYBaseMatcher.h',
|
||||
'src/EarlGrey/Matcher/GREYBaseMatcher.m',
|
||||
'src/EarlGrey/Matcher/GREYDescription.h',
|
||||
'src/EarlGrey/Matcher/GREYElementMatcherBlock.h',
|
||||
'src/EarlGrey/Matcher/GREYElementMatcherBlock.m',
|
||||
'src/EarlGrey/Matcher/GREYHCMatcher.h',
|
||||
'src/EarlGrey/Matcher/GREYHCMatcher.m',
|
||||
'src/EarlGrey/Matcher/GREYLayoutConstraint.h',
|
||||
'src/EarlGrey/Matcher/GREYLayoutConstraint.m',
|
||||
'src/EarlGrey/Matcher/GREYMatcher.h',
|
||||
'src/EarlGrey/Matcher/GREYMatchers.h',
|
||||
'src/EarlGrey/Matcher/GREYMatchers.m',
|
||||
'src/EarlGrey/Matcher/GREYNot.h',
|
||||
'src/EarlGrey/Matcher/GREYNot.m',
|
||||
'src/EarlGrey/Matcher/GREYStringDescription.h',
|
||||
'src/EarlGrey/Matcher/GREYStringDescription.m',
|
||||
'src/EarlGrey/Provider/GREYDataEnumerator.h',
|
||||
'src/EarlGrey/Provider/GREYDataEnumerator.m',
|
||||
'src/EarlGrey/Provider/GREYElementProvider.h',
|
||||
'src/EarlGrey/Provider/GREYElementProvider.m',
|
||||
'src/EarlGrey/Provider/GREYProvider.h',
|
||||
'src/EarlGrey/Provider/GREYUIWindowProvider.h',
|
||||
'src/EarlGrey/Provider/GREYUIWindowProvider.m',
|
||||
'src/EarlGrey/Synchronization/GREYAppStateTracker.h',
|
||||
'src/EarlGrey/Synchronization/GREYAppStateTracker.m',
|
||||
'src/EarlGrey/Synchronization/GREYCondition.h',
|
||||
'src/EarlGrey/Synchronization/GREYCondition.m',
|
||||
'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.m',
|
||||
'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.m',
|
||||
'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.m',
|
||||
'src/EarlGrey/Synchronization/GREYRunLoopSpinner.h',
|
||||
'src/EarlGrey/Synchronization/GREYRunLoopSpinner.m',
|
||||
'src/EarlGrey/Synchronization/GREYSyncAPI.h',
|
||||
'src/EarlGrey/Synchronization/GREYSyncAPI.m',
|
||||
'src/EarlGrey/Synchronization/GREYTimedIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYTimedIdlingResource.m',
|
||||
'src/EarlGrey/Synchronization/GREYUIThreadExecutor.h',
|
||||
'src/EarlGrey/Synchronization/GREYUIThreadExecutor.m',
|
||||
'src/EarlGrey/Synchronization/GREYUIWebViewIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYUIWebViewIdlingResource.m',
|
||||
],
|
||||
'mac_framework_headers': [
|
||||
'src/EarlGrey/EarlGrey.h',
|
||||
'src/EarlGrey/Action/GREYAction.h',
|
||||
'src/EarlGrey/Action/GREYActionBlock.h',
|
||||
'src/EarlGrey/Action/GREYActions.h',
|
||||
'src/EarlGrey/Action/GREYBaseAction.h',
|
||||
'src/EarlGrey/Action/GREYScrollActionError.h',
|
||||
'src/EarlGrey/AppSupport/GREYIdlingResource.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertion.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertionBlock.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertionDefines.h',
|
||||
'src/EarlGrey/Assertion/GREYAssertions.h',
|
||||
'src/EarlGrey/Common/GREYConfiguration.h',
|
||||
'src/EarlGrey/Common/GREYConstants.h',
|
||||
'src/EarlGrey/Common/GREYDefines.h',
|
||||
'src/EarlGrey/Common/GREYElementHierarchy.h',
|
||||
'src/EarlGrey/Common/GREYScreenshotUtil.h',
|
||||
'src/EarlGrey/Common/GREYTestHelper.h',
|
||||
'src/EarlGrey/Core/GREYElementFinder.h',
|
||||
'src/EarlGrey/Core/GREYElementInteraction.h',
|
||||
'src/EarlGrey/Core/GREYInteraction.h',
|
||||
'src/EarlGrey/Exception/GREYFailureHandler.h',
|
||||
'src/EarlGrey/Exception/GREYFrameworkException.h',
|
||||
'src/EarlGrey/Matcher/GREYAllOf.h',
|
||||
'src/EarlGrey/Matcher/GREYAnyOf.h',
|
||||
'src/EarlGrey/Matcher/GREYBaseMatcher.h',
|
||||
'src/EarlGrey/Matcher/GREYDescription.h',
|
||||
'src/EarlGrey/Matcher/GREYElementMatcherBlock.h',
|
||||
'src/EarlGrey/Matcher/GREYLayoutConstraint.h',
|
||||
'src/EarlGrey/Matcher/GREYMatcher.h',
|
||||
'src/EarlGrey/Matcher/GREYMatchers.h',
|
||||
'src/EarlGrey/Matcher/GREYNot.h',
|
||||
'src/EarlGrey/Provider/GREYDataEnumerator.h',
|
||||
'src/EarlGrey/Provider/GREYProvider.h',
|
||||
'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h',
|
||||
'src/EarlGrey/Synchronization/GREYSyncAPI.h',
|
||||
'src/EarlGrey/Synchronization/GREYCondition.h',
|
||||
'src/EarlGrey/Synchronization/GREYUIThreadExecutor.h',
|
||||
],
|
||||
'mac_framework_private_headers': [
|
||||
'src/EarlGrey/Action/GREYPathGestureUtils.h',
|
||||
'src/EarlGrey/Action/GREYScrollAction.h',
|
||||
'src/EarlGrey/Action/GREYSwipeAction.h',
|
||||
'src/EarlGrey/Action/GREYTapAction.h',
|
||||
'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/CAAnimation+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/CALayer+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/CGGeometry+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSError+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSString+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSTimer+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSURL+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIAnimation+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIApplication+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIScrollView+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UISwitch+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UITouch+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIView+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIViewController+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIWebView+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/UIWindow+GREYAdditions.h',
|
||||
'src/EarlGrey/Additions/XCTestCase+GREYAdditions.h',
|
||||
'src/EarlGrey/Common/GREYExposed.h',
|
||||
'src/EarlGrey/Common/GREYPrivate.h',
|
||||
'src/EarlGrey/Common/GREYSwizzler.h',
|
||||
'src/EarlGrey/Common/GREYVisibilityChecker.h',
|
||||
'src/EarlGrey/Delegate/GREYCAAnimationDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYSurrogateDelegate.h',
|
||||
'src/EarlGrey/Delegate/GREYUIWebViewDelegate.h',
|
||||
'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.h',
|
||||
'src/EarlGrey/Event/GREYSyntheticEvents.h',
|
||||
'src/EarlGrey/Provider/GREYElementProvider.h',
|
||||
'src/EarlGrey/Provider/GREYUIWindowProvider.h',
|
||||
'src/EarlGrey/Synchronization/GREYAppStateTracker.h',
|
||||
'src/EarlGrey/Synchronization/GREYTimedIdlingResource.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
|
||||
'../fishhook/fishhook.gyp:fishhook',
|
||||
'../ochamcrest/ochamcrest.gyp:OCHamcrest',
|
||||
],
|
||||
# EarlGrey.pch requires that NS_BLOCK_ASSERTIONS be undefined.
|
||||
'defines!': [
|
||||
'NS_BLOCK_ASSERTIONS=1',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
|
||||
'GCC_PREFIX_HEADER': 'src/EarlGrey.pch',
|
||||
'USE_HEADERMAP': 'YES',
|
||||
'CLANG_ENABLE_OBJC_ARC': 'YES',
|
||||
'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
|
||||
'BUNDLE_IDENTIFIER': 'com.google.earlgrey.EarlGrey',
|
||||
'INFOPLIST_FILE': 'src/EarlGrey-Info.plist',
|
||||
'DYLIB_INSTALL_NAME_BASE': '@rpath',
|
||||
'OTHER_LDFLAGS': [
|
||||
'-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks',
|
||||
'-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks'
|
||||
]
|
||||
},
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'CoreGraphics.framework',
|
||||
'Foundation.framework',
|
||||
'IOKit.framework',
|
||||
'QuartzCore.framework',
|
||||
'UIKit.framework',
|
||||
'XCTest.framework',
|
||||
],
|
||||
},
|
||||
'include_dirs': [
|
||||
'src',
|
||||
'src/EarlGrey',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../ochamcrest/ochamcrest.gyp:OCHamcrest',
|
||||
],
|
||||
'mac_framework_dirs': [
|
||||
'$(SDKROOT)/../../Library/Frameworks',
|
||||
'<(PRODUCT_DIR)'
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'src/EarlGrey',
|
||||
],
|
||||
'mac_framework_dirs': [
|
||||
# EarlGrey and its dependencies need to link to XCTest.framework
|
||||
# which is not under SDKROOT.
|
||||
'$(SDKROOT)/../../Library/Frameworks',
|
||||
'<(PRODUCT_DIR)'
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
22
ios/third_party/fishhook/fishhook.gyp
vendored
22
ios/third_party/fishhook/fishhook.gyp
vendored
@ -1,22 +0,0 @@
|
||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/third_party/fishhook
|
||||
'target_name': 'fishhook',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'src/fishhook.c',
|
||||
'src/fishhook.h',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'src'
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
72
ios/third_party/gcdwebserver/gcdwebserver.gyp
vendored
72
ios/third_party/gcdwebserver/gcdwebserver.gyp
vendored
@ -1,72 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
{
|
||||
'targets' : [
|
||||
{
|
||||
# GN version: //ios/third_party/gcdwebserver
|
||||
'target_name' : 'gcdwebserver',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'src/GCDWebServer/Core',
|
||||
'src/GCDWebServer/Requests',
|
||||
'src/GCDWebServer/Responses',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'src/GCDWebServer/Core',
|
||||
'src/GCDWebServer/Requests',
|
||||
'src/GCDWebServer/Responses',
|
||||
],
|
||||
},
|
||||
'xcode_settings': {
|
||||
'CLANG_ENABLE_OBJC_ARC': 'YES',
|
||||
# TODO(crbug.com/569158): Suppresses warnings that are treated as errors
|
||||
# when minimum iOS version support is increased to iOS 9 and up.
|
||||
# This should be removed once all deprecation violations have been fixed.
|
||||
'WARNING_CFLAGS': ['-Wno-deprecated-declarations'],
|
||||
},
|
||||
'sources': [
|
||||
'src/GCDWebServer/Core/GCDWebServer.h',
|
||||
'src/GCDWebServer/Core/GCDWebServer.m',
|
||||
'src/GCDWebServer/Core/GCDWebServerConnection.h',
|
||||
'src/GCDWebServer/Core/GCDWebServerConnection.m',
|
||||
'src/GCDWebServer/Core/GCDWebServerFunctions.h',
|
||||
'src/GCDWebServer/Core/GCDWebServerFunctions.m',
|
||||
'src/GCDWebServer/Core/GCDWebServerHTTPStatusCodes.h',
|
||||
'src/GCDWebServer/Core/GCDWebServerPrivate.h',
|
||||
'src/GCDWebServer/Core/GCDWebServerRequest.h',
|
||||
'src/GCDWebServer/Core/GCDWebServerRequest.m',
|
||||
'src/GCDWebServer/Core/GCDWebServerResponse.h',
|
||||
'src/GCDWebServer/Core/GCDWebServerResponse.m',
|
||||
'src/GCDWebServer/Requests/GCDWebServerDataRequest.h',
|
||||
'src/GCDWebServer/Requests/GCDWebServerDataRequest.m',
|
||||
'src/GCDWebServer/Requests/GCDWebServerFileRequest.h',
|
||||
'src/GCDWebServer/Requests/GCDWebServerFileRequest.m',
|
||||
'src/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.h',
|
||||
'src/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.m',
|
||||
'src/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.h',
|
||||
'src/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.m',
|
||||
'src/GCDWebServer/Responses/GCDWebServerDataResponse.h',
|
||||
'src/GCDWebServer/Responses/GCDWebServerDataResponse.m',
|
||||
'src/GCDWebServer/Responses/GCDWebServerErrorResponse.h',
|
||||
'src/GCDWebServer/Responses/GCDWebServerErrorResponse.m',
|
||||
'src/GCDWebServer/Responses/GCDWebServerFileResponse.h',
|
||||
'src/GCDWebServer/Responses/GCDWebServerFileResponse.m',
|
||||
'src/GCDWebServer/Responses/GCDWebServerStreamedResponse.h',
|
||||
'src/GCDWebServer/Responses/GCDWebServerStreamedResponse.m',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-lz',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
254
ios/third_party/ochamcrest/ochamcrest.gyp
vendored
254
ios/third_party/ochamcrest/ochamcrest.gyp
vendored
@ -1,254 +0,0 @@
|
||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'chromium_sources': 0,
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'OCHamcrest',
|
||||
'type': 'shared_library',
|
||||
'mac_bundle': 1,
|
||||
'sources': [
|
||||
'src/Source/Core/HCAssertThat.h',
|
||||
'src/Source/Core/HCAssertThat.m',
|
||||
'src/Source/Core/HCBaseDescription.h',
|
||||
'src/Source/Core/HCBaseDescription.m',
|
||||
'src/Source/Core/HCBaseMatcher.h',
|
||||
'src/Source/Core/HCBaseMatcher.m',
|
||||
'src/Source/Core/HCDescription.h',
|
||||
'src/Source/Core/HCDiagnosingMatcher.h',
|
||||
'src/Source/Core/HCDiagnosingMatcher.m',
|
||||
'src/Source/Core/HCMatcher.h',
|
||||
'src/Source/Core/HCSelfDescribing.h',
|
||||
'src/Source/Core/HCStringDescription.h',
|
||||
'src/Source/Core/HCStringDescription.m',
|
||||
'src/Source/Core/Helpers/HCCollect.h',
|
||||
'src/Source/Core/Helpers/HCCollect.m',
|
||||
'src/Source/Core/Helpers/HCInvocationMatcher.h',
|
||||
'src/Source/Core/Helpers/HCInvocationMatcher.m',
|
||||
'src/Source/Core/Helpers/HCRequireNonNilObject.h',
|
||||
'src/Source/Core/Helpers/HCRequireNonNilObject.m',
|
||||
'src/Source/Core/Helpers/HCWrapInMatcher.h',
|
||||
'src/Source/Core/Helpers/HCWrapInMatcher.m',
|
||||
'src/Source/Core/Helpers/NSInvocation+OCHamcrest.h',
|
||||
'src/Source/Core/Helpers/NSInvocation+OCHamcrest.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.m',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h',
|
||||
'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.m',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.m',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.m',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.m',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.m',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.m',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.m',
|
||||
'src/Source/Library/Collection/HCEvery.h',
|
||||
'src/Source/Library/Collection/HCEvery.m',
|
||||
'src/Source/Library/Collection/HCHasCount.h',
|
||||
'src/Source/Library/Collection/HCHasCount.m',
|
||||
'src/Source/Library/Collection/HCIsCollectionContaining.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContaining.m',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.m',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInOrder.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInOrder.m',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.m',
|
||||
'src/Source/Library/Collection/HCIsCollectionOnlyContaining.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionOnlyContaining.m',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContaining.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContaining.m',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingEntries.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingEntries.m',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingKey.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingKey.m',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingValue.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingValue.m',
|
||||
'src/Source/Library/Collection/HCIsEmptyCollection.h',
|
||||
'src/Source/Library/Collection/HCIsEmptyCollection.m',
|
||||
'src/Source/Library/Collection/HCIsIn.h',
|
||||
'src/Source/Library/Collection/HCIsIn.m',
|
||||
'src/Source/Library/Decorator/HCDescribedAs.h',
|
||||
'src/Source/Library/Decorator/HCDescribedAs.m',
|
||||
'src/Source/Library/Decorator/HCIs.h',
|
||||
'src/Source/Library/Decorator/HCIs.m',
|
||||
'src/Source/Library/Logical/HCAllOf.h',
|
||||
'src/Source/Library/Logical/HCAllOf.m',
|
||||
'src/Source/Library/Logical/HCAnyOf.h',
|
||||
'src/Source/Library/Logical/HCAnyOf.m',
|
||||
'src/Source/Library/Logical/HCIsAnything.h',
|
||||
'src/Source/Library/Logical/HCIsAnything.m',
|
||||
'src/Source/Library/Logical/HCIsNot.h',
|
||||
'src/Source/Library/Logical/HCIsNot.m',
|
||||
'src/Source/Library/Number/HCIsCloseTo.h',
|
||||
'src/Source/Library/Number/HCIsCloseTo.m',
|
||||
'src/Source/Library/Number/HCIsEqualToNumber.h',
|
||||
'src/Source/Library/Number/HCIsEqualToNumber.m',
|
||||
'src/Source/Library/Number/HCIsTrueFalse.h',
|
||||
'src/Source/Library/Number/HCIsTrueFalse.m',
|
||||
'src/Source/Library/Number/HCNumberAssert.h',
|
||||
'src/Source/Library/Number/HCNumberAssert.m',
|
||||
'src/Source/Library/Number/HCOrderingComparison.h',
|
||||
'src/Source/Library/Number/HCOrderingComparison.m',
|
||||
'src/Source/Library/Object/HCArgumentCaptor.h',
|
||||
'src/Source/Library/Object/HCArgumentCaptor.m',
|
||||
'src/Source/Library/Object/HCClassMatcher.h',
|
||||
'src/Source/Library/Object/HCClassMatcher.m',
|
||||
'src/Source/Library/Object/HCConformsToProtocol.h',
|
||||
'src/Source/Library/Object/HCConformsToProtocol.m',
|
||||
'src/Source/Library/Object/HCHasDescription.h',
|
||||
'src/Source/Library/Object/HCHasDescription.m',
|
||||
'src/Source/Library/Object/HCHasProperty.h',
|
||||
'src/Source/Library/Object/HCHasProperty.m',
|
||||
'src/Source/Library/Object/HCIsEqual.h',
|
||||
'src/Source/Library/Object/HCIsEqual.m',
|
||||
'src/Source/Library/Object/HCIsInstanceOf.h',
|
||||
'src/Source/Library/Object/HCIsInstanceOf.m',
|
||||
'src/Source/Library/Object/HCIsNil.h',
|
||||
'src/Source/Library/Object/HCIsNil.m',
|
||||
'src/Source/Library/Object/HCIsSame.h',
|
||||
'src/Source/Library/Object/HCIsSame.m',
|
||||
'src/Source/Library/Object/HCIsTypeOf.h',
|
||||
'src/Source/Library/Object/HCIsTypeOf.m',
|
||||
'src/Source/Library/Object/HCThrowsException.h',
|
||||
'src/Source/Library/Object/HCThrowsException.m',
|
||||
'src/Source/Library/Text/HCIsEqualIgnoringCase.h',
|
||||
'src/Source/Library/Text/HCIsEqualIgnoringCase.m',
|
||||
'src/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.h',
|
||||
'src/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.m',
|
||||
'src/Source/Library/Text/HCStringContains.h',
|
||||
'src/Source/Library/Text/HCStringContains.m',
|
||||
'src/Source/Library/Text/HCStringContainsInOrder.h',
|
||||
'src/Source/Library/Text/HCStringContainsInOrder.m',
|
||||
'src/Source/Library/Text/HCStringEndsWith.h',
|
||||
'src/Source/Library/Text/HCStringEndsWith.m',
|
||||
'src/Source/Library/Text/HCStringStartsWith.h',
|
||||
'src/Source/Library/Text/HCStringStartsWith.m',
|
||||
'src/Source/Library/Text/HCSubstringMatcher.h',
|
||||
'src/Source/Library/Text/HCSubstringMatcher.m',
|
||||
'src/Source/OCHamcrest.h',
|
||||
],
|
||||
'mac_framework_headers': [
|
||||
'src/Source/Core/HCAssertThat.h',
|
||||
'src/Source/Core/HCBaseDescription.h',
|
||||
'src/Source/Core/HCBaseMatcher.h',
|
||||
'src/Source/Core/HCDescription.h',
|
||||
'src/Source/Core/HCDiagnosingMatcher.h',
|
||||
'src/Source/Core/HCMatcher.h',
|
||||
'src/Source/Core/HCSelfDescribing.h',
|
||||
'src/Source/Core/HCStringDescription.h',
|
||||
'src/Source/Core/Helpers/HCCollect.h',
|
||||
'src/Source/Core/Helpers/HCInvocationMatcher.h',
|
||||
'src/Source/Core/Helpers/HCRequireNonNilObject.h',
|
||||
'src/Source/Core/Helpers/HCWrapInMatcher.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.h',
|
||||
'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.h',
|
||||
'src/Source/Library/Collection/HCEvery.h',
|
||||
'src/Source/Library/Collection/HCHasCount.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContaining.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInOrder.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.h',
|
||||
'src/Source/Library/Collection/HCIsCollectionOnlyContaining.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContaining.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingEntries.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingKey.h',
|
||||
'src/Source/Library/Collection/HCIsDictionaryContainingValue.h',
|
||||
'src/Source/Library/Collection/HCIsEmptyCollection.h',
|
||||
'src/Source/Library/Collection/HCIsIn.h',
|
||||
'src/Source/Library/Decorator/HCDescribedAs.h',
|
||||
'src/Source/Library/Decorator/HCIs.h',
|
||||
'src/Source/Library/Logical/HCAllOf.h',
|
||||
'src/Source/Library/Logical/HCAnyOf.h',
|
||||
'src/Source/Library/Logical/HCIsAnything.h',
|
||||
'src/Source/Library/Logical/HCIsNot.h',
|
||||
'src/Source/Library/Number/HCIsCloseTo.h',
|
||||
'src/Source/Library/Number/HCIsEqualToNumber.h',
|
||||
'src/Source/Library/Number/HCIsTrueFalse.h',
|
||||
'src/Source/Library/Number/HCNumberAssert.h',
|
||||
'src/Source/Library/Number/HCOrderingComparison.h',
|
||||
'src/Source/Library/Object/HCArgumentCaptor.h',
|
||||
'src/Source/Library/Object/HCClassMatcher.h',
|
||||
'src/Source/Library/Object/HCConformsToProtocol.h',
|
||||
'src/Source/Library/Object/HCHasDescription.h',
|
||||
'src/Source/Library/Object/HCHasProperty.h',
|
||||
'src/Source/Library/Object/HCIsEqual.h',
|
||||
'src/Source/Library/Object/HCIsInstanceOf.h',
|
||||
'src/Source/Library/Object/HCIsNil.h',
|
||||
'src/Source/Library/Object/HCIsSame.h',
|
||||
'src/Source/Library/Object/HCIsTypeOf.h',
|
||||
'src/Source/Library/Object/HCThrowsException.h',
|
||||
'src/Source/Library/Text/HCIsEqualIgnoringCase.h',
|
||||
'src/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.h',
|
||||
'src/Source/Library/Text/HCStringContains.h',
|
||||
'src/Source/Library/Text/HCStringContainsInOrder.h',
|
||||
'src/Source/Library/Text/HCStringEndsWith.h',
|
||||
'src/Source/Library/Text/HCStringStartsWith.h',
|
||||
'src/Source/Library/Text/HCSubstringMatcher.h',
|
||||
'src/Source/OCHamcrest.h',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
|
||||
'USE_HEADERMAP': 'YES',
|
||||
'CLANG_ENABLE_ARC': 'YES',
|
||||
'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
|
||||
'PRODUCT_BUNDLE_IDENTIFIER': 'org.hamcrest.OCHamcrest.OCHamcrest-iOS',
|
||||
'INFOPLIST_FILE': 'src/Source/OCHamcrest-Info.plist',
|
||||
'DYLIB_INSTALL_NAME_BASE': '@rpath',
|
||||
'OTHER_LDFLAGS': [
|
||||
'-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks',
|
||||
'-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks'
|
||||
]
|
||||
},
|
||||
'include_dirs': [
|
||||
'src',
|
||||
'src/Source',
|
||||
],
|
||||
'mac_framework_dirs': [
|
||||
'$(SDKROOT)/../../Library/Frameworks',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'Foundation.framework',
|
||||
'UIKit.framework',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
@ -1,574 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/web/public/app
|
||||
'target_name': 'ios_web_app',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'ios_web',
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:base_i18n',
|
||||
'../../crypto/crypto.gyp:crypto',
|
||||
'../../net/net.gyp:net',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'../../ui/gfx/gfx.gyp:gfx',
|
||||
'../../ui/gfx/gfx.gyp:gfx_geometry',
|
||||
],
|
||||
'sources': [
|
||||
'app/web_main.mm',
|
||||
'app/web_main_loop.h',
|
||||
'app/web_main_loop.mm',
|
||||
'app/web_main_runner.mm',
|
||||
'public/app/web_main.h',
|
||||
'public/app/web_main_delegate.h',
|
||||
'public/app/web_main_parts.h',
|
||||
'public/app/web_main_runner.h',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web
|
||||
'target_name': 'ios_web',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'ios_web_core',
|
||||
'ios_web_resources.gyp:ios_web_resources',
|
||||
'js_resources',
|
||||
'user_agent',
|
||||
'../../base/base.gyp:base',
|
||||
'../../components/url_formatter/url_formatter.gyp:url_formatter',
|
||||
'../../ios/net/ios_net.gyp:ios_net',
|
||||
'../../ios/third_party/blink/blink_html_tokenizer.gyp:blink_html_tokenizer',
|
||||
'../../net/net.gyp:net',
|
||||
'../../mojo/mojo_edk.gyp:mojo_system_impl',
|
||||
'../../mojo/mojo_public.gyp:mojo_public',
|
||||
'../../services/shell/shell_public.gyp:shell_public',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'../../ui/gfx/gfx.gyp:gfx',
|
||||
'../../ui/gfx/gfx.gyp:gfx_geometry',
|
||||
'../../ui/resources/ui_resources.gyp:ui_resources',
|
||||
'../../url/url.gyp:url_lib',
|
||||
],
|
||||
'sources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/webui_resources_map.cc',
|
||||
'active_state_manager_impl.h',
|
||||
'active_state_manager_impl.mm',
|
||||
'alloc_with_zone_interceptor.h',
|
||||
'alloc_with_zone_interceptor.mm',
|
||||
'browser_state.mm',
|
||||
'browser_url_rewriter_impl.h',
|
||||
'browser_url_rewriter_impl.mm',
|
||||
'interstitials/html_web_interstitial_impl.h',
|
||||
'interstitials/html_web_interstitial_impl.mm',
|
||||
'interstitials/native_web_interstitial_impl.h',
|
||||
'interstitials/native_web_interstitial_impl.mm',
|
||||
'interstitials/web_interstitial_facade_delegate.h',
|
||||
'interstitials/web_interstitial_impl.h',
|
||||
'interstitials/web_interstitial_impl.mm',
|
||||
'load_committed_details.cc',
|
||||
'navigation/crw_session_certificate_policy_manager.h',
|
||||
'navigation/crw_session_certificate_policy_manager.mm',
|
||||
'navigation/crw_session_controller+private_constructors.h',
|
||||
'navigation/crw_session_controller.h',
|
||||
'navigation/crw_session_controller.mm',
|
||||
'navigation/crw_session_entry.h',
|
||||
'navigation/crw_session_entry.mm',
|
||||
'navigation/navigation_item_facade_delegate.h',
|
||||
'navigation/navigation_item_impl.h',
|
||||
'navigation/navigation_item_impl.mm',
|
||||
'navigation/navigation_manager_delegate.h',
|
||||
'navigation/navigation_manager_facade_delegate.h',
|
||||
'navigation/navigation_manager_impl.h',
|
||||
'navigation/navigation_manager_impl.mm',
|
||||
'navigation/nscoder_util.h',
|
||||
'navigation/nscoder_util.mm',
|
||||
'navigation/time_smoother.cc',
|
||||
'navigation/time_smoother.h',
|
||||
'net/cert_host_pair.cc',
|
||||
'net/cert_host_pair.h',
|
||||
'net/cert_policy.cc',
|
||||
'net/certificate_policy_cache.cc',
|
||||
'net/clients/crw_js_injection_network_client.h',
|
||||
'net/clients/crw_js_injection_network_client.mm',
|
||||
'net/clients/crw_js_injection_network_client_factory.h',
|
||||
'net/clients/crw_js_injection_network_client_factory.mm',
|
||||
'net/clients/crw_redirect_network_client.h',
|
||||
'net/clients/crw_redirect_network_client.mm',
|
||||
'net/clients/crw_redirect_network_client_factory.h',
|
||||
'net/clients/crw_redirect_network_client_factory.mm',
|
||||
'net/cookie_notification_bridge.h',
|
||||
'net/cookie_notification_bridge.mm',
|
||||
'net/crw_cert_verification_controller.h',
|
||||
'net/crw_cert_verification_controller.mm',
|
||||
'net/crw_request_tracker_delegate.h',
|
||||
'net/crw_ssl_status_updater.h',
|
||||
'net/crw_ssl_status_updater.mm',
|
||||
'net/request_group_util.h',
|
||||
'net/request_group_util.mm',
|
||||
'net/request_tracker_data_memoizing_store.h',
|
||||
'net/request_tracker_factory_impl.h',
|
||||
'net/request_tracker_factory_impl.mm',
|
||||
'net/request_tracker_impl.h',
|
||||
'net/request_tracker_impl.mm',
|
||||
'net/web_http_protocol_handler_delegate.h',
|
||||
'net/web_http_protocol_handler_delegate.mm',
|
||||
'public/active_state_manager.h',
|
||||
'public/block_types.h',
|
||||
'public/browser_state.h',
|
||||
'public/browser_url_rewriter.h',
|
||||
'public/cert_policy.h',
|
||||
'public/certificate_policy_cache.h',
|
||||
'public/favicon_status.cc',
|
||||
'public/favicon_status.h',
|
||||
'public/favicon_url.cc',
|
||||
'public/favicon_url.h',
|
||||
'public/interstitials/web_interstitial.h',
|
||||
'public/interstitials/web_interstitial_delegate.h',
|
||||
'public/java_script_dialog_callback.h',
|
||||
'public/java_script_dialog_presenter.h',
|
||||
'public/java_script_dialog_type.h',
|
||||
'public/load_committed_details.h',
|
||||
'public/navigation_item.h',
|
||||
'public/navigation_manager.h',
|
||||
'public/origin_util.h',
|
||||
'public/origin_util.mm',
|
||||
'public/referrer.h',
|
||||
'public/referrer_util.cc',
|
||||
'public/referrer_util.h',
|
||||
'public/security_style.h',
|
||||
'public/ssl_status.cc',
|
||||
'public/ssl_status.h',
|
||||
'public/string_util.h',
|
||||
'public/url_scheme_util.h',
|
||||
'public/url_schemes.h',
|
||||
'public/url_schemes.mm',
|
||||
'public/url_util.h',
|
||||
'public/web/url_data_source_ios.h',
|
||||
'public/web_capabilities.cc',
|
||||
'public/web_capabilities.h',
|
||||
'public/web_client.h',
|
||||
'public/web_client.mm',
|
||||
'public/web_kit_constants.h',
|
||||
'public/web_state/context_menu_params.h',
|
||||
'public/web_state/credential.h',
|
||||
'public/web_state/crw_web_controller_observer.h',
|
||||
'public/web_state/crw_web_user_interface_delegate.h',
|
||||
'public/web_state/crw_web_view_proxy.h',
|
||||
'public/web_state/crw_web_view_scroll_view_proxy.h',
|
||||
'public/web_state/global_web_state_observer.h',
|
||||
'public/web_state/js/credential_util.h',
|
||||
'public/web_state/js/crw_js_injection_evaluator.h',
|
||||
'public/web_state/js/crw_js_injection_manager.h',
|
||||
'public/web_state/js/crw_js_injection_receiver.h',
|
||||
'public/web_state/page_display_state.h',
|
||||
'public/web_state/page_display_state.mm',
|
||||
'public/web_state/ui/crw_content_view.h',
|
||||
'public/web_state/ui/crw_generic_content_view.h',
|
||||
'public/web_state/ui/crw_native_content.h',
|
||||
'public/web_state/ui/crw_native_content_provider.h',
|
||||
'public/web_state/ui/crw_web_delegate.h',
|
||||
'public/web_state/ui/crw_web_view_content_view.h',
|
||||
'public/web_state/url_verification_constants.h',
|
||||
'public/web_state/web_state.h',
|
||||
'public/web_state/web_state_delegate.h',
|
||||
'public/web_state/web_state_delegate_bridge.h',
|
||||
'public/web_state/web_state_observer.h',
|
||||
'public/web_state/web_state_observer_bridge.h',
|
||||
'public/web_state/web_state_policy_decider.h',
|
||||
'public/web_state/web_state_user_data.h',
|
||||
'public/web_thread.h',
|
||||
'public/web_thread_delegate.h',
|
||||
'public/web_ui_ios_data_source.h',
|
||||
'public/web_view_creation_util.h',
|
||||
'public/webui/web_ui_ios.h',
|
||||
'public/webui/web_ui_ios_controller.cc',
|
||||
'public/webui/web_ui_ios_controller.h',
|
||||
'public/webui/web_ui_ios_controller_factory.h',
|
||||
'public/webui/web_ui_ios_message_handler.cc',
|
||||
'public/webui/web_ui_ios_message_handler.h',
|
||||
'string_util.cc',
|
||||
'url_scheme_util.mm',
|
||||
'url_util.cc',
|
||||
'web_kit_constants.cc',
|
||||
'web_state/blocked_popup_info.h',
|
||||
'web_state/blocked_popup_info.mm',
|
||||
'web_state/context_menu_params.mm',
|
||||
'web_state/credential.cc',
|
||||
'web_state/crw_pass_kit_downloader.h',
|
||||
'web_state/crw_pass_kit_downloader.mm',
|
||||
'web_state/crw_web_view_proxy_impl.h',
|
||||
'web_state/crw_web_view_proxy_impl.mm',
|
||||
'web_state/crw_web_view_scroll_view_proxy.mm',
|
||||
'web_state/error_translation_util.h',
|
||||
'web_state/error_translation_util.mm',
|
||||
'web_state/global_web_state_event_tracker.h',
|
||||
'web_state/global_web_state_event_tracker.mm',
|
||||
'web_state/global_web_state_observer.cc',
|
||||
'web_state/js/credential_util.mm',
|
||||
'web_state/js/crw_js_injection_manager.mm',
|
||||
'web_state/js/crw_js_injection_receiver.mm',
|
||||
'web_state/js/crw_js_plugin_placeholder_manager.h',
|
||||
'web_state/js/crw_js_plugin_placeholder_manager.mm',
|
||||
'web_state/js/crw_js_post_request_loader.h',
|
||||
'web_state/js/crw_js_post_request_loader.mm',
|
||||
'web_state/js/crw_js_window_id_manager.h',
|
||||
'web_state/js/crw_js_window_id_manager.mm',
|
||||
'web_state/js/page_script_util.h',
|
||||
'web_state/js/page_script_util.mm',
|
||||
'web_state/page_viewport_state.h',
|
||||
'web_state/page_viewport_state.mm',
|
||||
'web_state/ui/crw_generic_content_view.mm',
|
||||
'web_state/ui/crw_swipe_recognizer_provider.h',
|
||||
'web_state/ui/crw_touch_tracking_recognizer.h',
|
||||
'web_state/ui/crw_touch_tracking_recognizer.mm',
|
||||
'web_state/ui/crw_web_controller.h',
|
||||
'web_state/ui/crw_web_controller.mm',
|
||||
'web_state/ui/crw_web_controller_container_view.h',
|
||||
'web_state/ui/crw_web_controller_container_view.mm',
|
||||
'web_state/ui/crw_web_view_content_view.mm',
|
||||
'web_state/ui/crw_wk_script_message_router.h',
|
||||
'web_state/ui/crw_wk_script_message_router.mm',
|
||||
'web_state/ui/web_view_js_utils.h',
|
||||
'web_state/ui/web_view_js_utils.mm',
|
||||
'web_state/ui/wk_back_forward_list_item_holder.h',
|
||||
'web_state/ui/wk_back_forward_list_item_holder.mm',
|
||||
'web_state/ui/wk_web_view_configuration_provider.h',
|
||||
'web_state/ui/wk_web_view_configuration_provider.mm',
|
||||
'web_state/web_controller_observer_bridge.h',
|
||||
'web_state/web_controller_observer_bridge.mm',
|
||||
'web_state/web_state.mm',
|
||||
'web_state/web_state_delegate.mm',
|
||||
'web_state/web_state_delegate_bridge.mm',
|
||||
'web_state/web_state_facade_delegate.h',
|
||||
'web_state/web_state_impl.h',
|
||||
'web_state/web_state_impl.mm',
|
||||
'web_state/web_state_observer.mm',
|
||||
'web_state/web_state_observer_bridge.mm',
|
||||
'web_state/web_state_policy_decider.mm',
|
||||
'web_state/web_state_weak_ptr_factory.h',
|
||||
'web_state/web_state_weak_ptr_factory.mm',
|
||||
'web_state/web_view_internal_creation_util.h',
|
||||
'web_state/web_view_internal_creation_util.mm',
|
||||
'web_state/wk_web_view_security_util.h',
|
||||
'web_state/wk_web_view_security_util.mm',
|
||||
'web_thread_impl.cc',
|
||||
'web_thread_impl.h',
|
||||
'web_view_creation_util.mm',
|
||||
'webui/crw_web_ui_manager.h',
|
||||
'webui/crw_web_ui_manager.mm',
|
||||
'webui/crw_web_ui_page_builder.h',
|
||||
'webui/crw_web_ui_page_builder.mm',
|
||||
'webui/mojo_facade.h',
|
||||
'webui/mojo_facade.mm',
|
||||
'webui/mojo_js_constants.cc',
|
||||
'webui/mojo_js_constants.h',
|
||||
'webui/shared_resources_data_source_ios.h',
|
||||
'webui/shared_resources_data_source_ios.mm',
|
||||
'webui/url_data_manager_ios.cc',
|
||||
'webui/url_data_manager_ios.h',
|
||||
'webui/url_data_manager_ios_backend.h',
|
||||
'webui/url_data_manager_ios_backend.mm',
|
||||
'webui/url_data_source_ios.mm',
|
||||
'webui/url_data_source_ios_impl.cc',
|
||||
'webui/url_data_source_ios_impl.h',
|
||||
'webui/url_fetcher_block_adapter.h',
|
||||
'webui/url_fetcher_block_adapter.mm',
|
||||
'webui/web_ui_ios_controller_factory_registry.cc',
|
||||
'webui/web_ui_ios_controller_factory_registry.h',
|
||||
'webui/web_ui_ios_data_source_impl.h',
|
||||
'webui/web_ui_ios_data_source_impl.mm',
|
||||
'webui/web_ui_ios_impl.h',
|
||||
'webui/web_ui_ios_impl.mm',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/WebKit.framework',
|
||||
],
|
||||
},
|
||||
},
|
||||
# Target shared by ios_web and CrNet.
|
||||
{
|
||||
# GN version: //ios/web:core
|
||||
'target_name': 'ios_web_core',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'crw_network_activity_indicator_manager.h',
|
||||
'crw_network_activity_indicator_manager.mm',
|
||||
'history_state_util.h',
|
||||
'history_state_util.mm',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web:web_bundle
|
||||
'target_name': 'ios_web_js_bundle',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'closure_entry_point': '__crWeb.webBundle',
|
||||
'js_bundle_files': [
|
||||
'web_state/js/resources/base.js',
|
||||
'web_state/js/resources/common.js',
|
||||
'web_state/js/resources/console.js',
|
||||
'web_state/js/resources/core.js',
|
||||
'web_state/js/resources/dialog_overrides.js',
|
||||
'web_state/js/resources/message.js',
|
||||
'web_state/js/resources/web_bundle.js',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'web_state/js/resources/base.js',
|
||||
'web_state/js/resources/common.js',
|
||||
'web_state/js/resources/console.js',
|
||||
'web_state/js/resources/core.js',
|
||||
'web_state/js/resources/dialog_overrides.js',
|
||||
'web_state/js/resources/message.js',
|
||||
'web_state/js/resources/web_bundle.js',
|
||||
],
|
||||
'!sources': [
|
||||
# Remove all js files except web_bundle. Those files should not be
|
||||
# copied with the rest of resources, as they just Closure dependencies
|
||||
# for web_bundle.js. Dependencies were added as sources, so they get
|
||||
# indexed by Xcode.
|
||||
'web_state/js/resources/base.js',
|
||||
'web_state/js/resources/common.js',
|
||||
'web_state/js/resources/console.js',
|
||||
'web_state/js/resources/core.js',
|
||||
'web_state/js/resources/dialog_overrides.js',
|
||||
'web_state/js/resources/message.js',
|
||||
],
|
||||
'link_settings': {
|
||||
'mac_bundle_resources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/web_bundle.js',
|
||||
],
|
||||
},
|
||||
'includes': [
|
||||
'js_compile_bundle.gypi'
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web:web_ui_bundle
|
||||
'target_name': 'ios_web_ui_js_bundle',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'closure_entry_point': '__crWeb.webUIBundle',
|
||||
'js_bundle_files': [
|
||||
'../third_party/requirejs/require.js',
|
||||
'webui/resources/web_ui_base.js',
|
||||
'webui/resources/web_ui_bind.js',
|
||||
'webui/resources/web_ui_bundle.js',
|
||||
'webui/resources/web_ui_favicons.js',
|
||||
'webui/resources/web_ui_module_load_notifier.js',
|
||||
'webui/resources/web_ui_send.js',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'../third_party/requirejs/require.js',
|
||||
'webui/resources/web_ui_base.js',
|
||||
'webui/resources/web_ui_bind.js',
|
||||
'webui/resources/web_ui_bundle.js',
|
||||
'webui/resources/web_ui_favicons.js',
|
||||
'webui/resources/web_ui_module_load_notifier.js',
|
||||
'webui/resources/web_ui_send.js',
|
||||
],
|
||||
'!sources': [
|
||||
# Remove all js files except web_ui_bundle. Those files should not be
|
||||
# copied with the rest of resources, as they just Closure dependencies
|
||||
# for web_ui_bundle.js. Dependencies were added as sources, so they get
|
||||
# indexed by Xcode.
|
||||
'../third_party/requirejs/require.js',
|
||||
'webui/resources/web_ui_base.js',
|
||||
'webui/resources/web_ui_bind.js',
|
||||
'webui/resources/web_ui_favicons.js',
|
||||
'webui/resources/web_ui_module_load_notifier.js',
|
||||
'webui/resources/web_ui_send.js',
|
||||
],
|
||||
'link_settings': {
|
||||
'mac_bundle_resources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/web_ui_bundle.js',
|
||||
],
|
||||
},
|
||||
'includes': [
|
||||
'js_compile_bundle.gypi'
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web:js_resources
|
||||
'target_name': 'js_resources',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'ios_web_js_bundle',
|
||||
'ios_web_ui_js_bundle',
|
||||
],
|
||||
'sources': [
|
||||
'web_state/js/resources/post_request.js',
|
||||
'web_state/js/resources/plugin_placeholder.js',
|
||||
'web_state/js/resources/window_id.js',
|
||||
],
|
||||
'link_settings': {
|
||||
'mac_bundle_resources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/post_request.js',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/window_id.js',
|
||||
],
|
||||
},
|
||||
'includes': [
|
||||
'js_compile_checked.gypi'
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web:earl_grey_test_support
|
||||
'target_name': 'ios_web_earl_grey_test_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'ios_web_test_support',
|
||||
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
|
||||
],
|
||||
'sources': [
|
||||
'public/test/earl_grey/web_view_matchers.h',
|
||||
'public/test/earl_grey/web_view_matchers.mm',
|
||||
'public/test/web_view_interaction_test_util.h',
|
||||
'public/test/web_view_interaction_test_util.mm',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web:test_support
|
||||
'target_name': 'ios_web_test_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:test_support_base',
|
||||
'../../ios/testing/ios_testing.gyp:ocmock_support',
|
||||
'../../ios/third_party/gcdwebserver/gcdwebserver.gyp:gcdwebserver',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../third_party/ocmock/ocmock.gyp:ocmock',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
'ios_web',
|
||||
'test_mojo_bindings',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'public/test/crw_test_js_injection_receiver.h',
|
||||
'public/test/crw_test_js_injection_receiver.mm',
|
||||
'public/test/http_server.h',
|
||||
'public/test/http_server.mm',
|
||||
'public/test/http_server_util.h',
|
||||
'public/test/http_server_util.mm',
|
||||
'public/test/js_test_util.h',
|
||||
'public/test/js_test_util.mm',
|
||||
'public/test/navigation_test_util.h',
|
||||
'public/test/navigation_test_util.mm',
|
||||
'public/test/response_providers/data_response_provider.h',
|
||||
'public/test/response_providers/data_response_provider.mm',
|
||||
'public/test/response_providers/file_based_response_provider.h',
|
||||
'public/test/response_providers/file_based_response_provider.mm',
|
||||
'public/test/response_providers/file_based_response_provider_impl.h',
|
||||
'public/test/response_providers/file_based_response_provider_impl.mm',
|
||||
'public/test/response_providers/html_response_provider.h',
|
||||
'public/test/response_providers/html_response_provider.mm',
|
||||
'public/test/response_providers/html_response_provider_impl.h',
|
||||
'public/test/response_providers/html_response_provider_impl.mm',
|
||||
'public/test/response_providers/response_provider.h',
|
||||
'public/test/response_providers/response_provider.mm',
|
||||
'public/test/response_providers/string_response_provider.h',
|
||||
'public/test/response_providers/string_response_provider.mm',
|
||||
'public/test/scoped_testing_web_client.h',
|
||||
'public/test/scoped_testing_web_client.mm',
|
||||
'public/test/test_browser_state.cc',
|
||||
'public/test/test_browser_state.h',
|
||||
'public/test/test_redirect_observer.h',
|
||||
'public/test/test_redirect_observer.mm',
|
||||
'public/test/test_web_client.h',
|
||||
'public/test/test_web_client.mm',
|
||||
'public/test/test_web_state.h',
|
||||
'public/test/test_web_state.mm',
|
||||
'public/test/test_web_thread.h',
|
||||
'public/test/test_web_thread_bundle.h',
|
||||
'public/test/test_web_view_content_view.h',
|
||||
'public/test/test_web_view_content_view.mm',
|
||||
'public/test/web_js_test.h',
|
||||
'public/test/web_test.h',
|
||||
'public/test/web_test.mm',
|
||||
'public/test/web_test_suite.h',
|
||||
'public/test/web_test_with_web_state.h',
|
||||
'public/test/web_test_with_web_state.mm',
|
||||
'test/crw_fake_web_controller_observer.h',
|
||||
'test/crw_fake_web_controller_observer.mm',
|
||||
'test/test_url_constants.cc',
|
||||
'test/test_url_constants.h',
|
||||
'test/test_web_thread.cc',
|
||||
'test/test_web_thread_bundle.cc',
|
||||
'test/web_int_test.h',
|
||||
'test/web_int_test.mm',
|
||||
'test/web_test_suite.mm',
|
||||
'test/web_test_with_web_controller.h',
|
||||
'test/web_test_with_web_controller.mm',
|
||||
'test/wk_web_view_crash_utils.h',
|
||||
'test/wk_web_view_crash_utils.mm',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web/test:mojo_bindings
|
||||
'target_name': 'test_mojo_bindings_mojom',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'mojom_files': [
|
||||
'test/mojo_test.mojom',
|
||||
],
|
||||
'use_new_wrapper_types': 'false',
|
||||
},
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web/test:mojo_bindings
|
||||
'target_name': 'test_mojo_bindings',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../mojo/mojo_base.gyp:mojo_common_lib',
|
||||
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
||||
'test_mojo_bindings_mojom',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web:user_agent
|
||||
'target_name': 'user_agent',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base'
|
||||
],
|
||||
'sources': [
|
||||
'public/user_agent.h',
|
||||
'public/user_agent.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'ios_web_inttests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:test_support_base',
|
||||
'../../ios/provider/ios_provider_web.gyp:ios_provider_web',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../services/shell/shell_public.gyp:shell_public',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../ui/base/ui_base.gyp:ui_base_test_support',
|
||||
'ios_web.gyp:ios_web',
|
||||
'ios_web.gyp:ios_web_test_support',
|
||||
'ios_web.gyp:test_mojo_bindings',
|
||||
'test_resources',
|
||||
'packed_test_resources',
|
||||
],
|
||||
'sources': [
|
||||
'browser_state_web_view_partition_inttest.mm',
|
||||
'public/test/http_server_inttest.mm',
|
||||
'test/run_all_unittests.cc',
|
||||
'webui/web_ui_mojo_inttest.mm',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/web/test/resources.pak'
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ios/web/test:resources
|
||||
'target_name': 'test_resources',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'dependencies': [
|
||||
'ios_web.gyp:test_mojo_bindings',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'test_resources',
|
||||
'variables': {
|
||||
'grit_grd_file': 'test/test_resources.grd',
|
||||
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/web/test',
|
||||
'grit_additional_defines': [
|
||||
'-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'copies': [
|
||||
{
|
||||
'destination': '<(PRODUCT_DIR)',
|
||||
'files': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/web/test/test_resources.pak'
|
||||
],
|
||||
},
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'packed_test_resources',
|
||||
'type': 'none',
|
||||
'hard_depency': 1,
|
||||
'dependencies': [
|
||||
'test_resources',
|
||||
],
|
||||
'variables': {
|
||||
'repack_path': [
|
||||
'../../tools/grit/grit/format/repack.py',
|
||||
],
|
||||
},
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'repack_test_resources',
|
||||
'variables': {
|
||||
'pak_inputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/web/ios_web_resources.pak',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/web/test/test_resources.pak'
|
||||
],
|
||||
'pak_output': '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/resources.pak',
|
||||
},
|
||||
'includes': [ '../../build/repack_action.gypi' ],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/web:resources
|
||||
'target_name': 'ios_web_resources',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/web',
|
||||
},
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate_ios_web_resources',
|
||||
'variables': {
|
||||
'grit_grd_file': 'ios_web_resources.grd',
|
||||
},
|
||||
'grit_additional_defines': [
|
||||
'-E', 'root_out_dir=<(PRODUCT_DIR)',
|
||||
],
|
||||
'includes': [ '../../build/grit_action.gypi' ],
|
||||
},
|
||||
],
|
||||
'copies': [
|
||||
{
|
||||
'destination': '<(PRODUCT_DIR)',
|
||||
'files': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ios/web/ios_web_resources.pak'
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/web/shell:ios_web_shell
|
||||
'target_name': 'ios_web_shell',
|
||||
'includes': [
|
||||
'ios_web_shell_exe.gypi',
|
||||
]
|
||||
},
|
||||
],
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'type': 'executable',
|
||||
'mac_bundle': 1,
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'dependencies': [
|
||||
'ios_web.gyp:ios_web',
|
||||
'ios_web.gyp:ios_web_app',
|
||||
'../../base/base.gyp:base',
|
||||
'../../net/net.gyp:net',
|
||||
'../../net/net.gyp:net_extras',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'ios_web.gyp:ios_web',
|
||||
'ios_web.gyp:ios_web_app',
|
||||
'../../base/base.gyp:base',
|
||||
'../../net/net.gyp:net',
|
||||
'../../ui/base/ui_base.gyp:ui_base',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'INFOPLIST_FILE': 'shell/Info.plist',
|
||||
'CLANG_ENABLE_OBJC_ARC': 'YES',
|
||||
},
|
||||
'sources': [
|
||||
'shell/app_delegate.h',
|
||||
'shell/app_delegate.mm',
|
||||
'shell/shell_browser_state.h',
|
||||
'shell/shell_browser_state.mm',
|
||||
'shell/shell_main_delegate.h',
|
||||
'shell/shell_main_delegate.mm',
|
||||
'shell/shell_network_delegate.cc',
|
||||
'shell/shell_network_delegate.h',
|
||||
'shell/shell_url_request_context_getter.h',
|
||||
'shell/shell_url_request_context_getter.mm',
|
||||
'shell/shell_web_client.h',
|
||||
'shell/shell_web_client.mm',
|
||||
'shell/shell_web_main_parts.h',
|
||||
'shell/shell_web_main_parts.mm',
|
||||
'shell/view_controller.h',
|
||||
'shell/view_controller.mm',
|
||||
'shell/web_exe_main.mm',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'shell/Default.png',
|
||||
'shell/textfield_background@2x.png',
|
||||
'shell/toolbar_back@2x.png',
|
||||
'shell/toolbar_forward@2x.png',
|
||||
],
|
||||
},
|
||||
}
|
@ -1,133 +0,0 @@
|
||||
# Copyright 2016 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/web/shell/test:ios_web_shell_test
|
||||
'target_name': 'ios_web_shell_test',
|
||||
'type': 'loadable_module',
|
||||
'mac_xctest_bundle': 1,
|
||||
'variables': {
|
||||
'test_host': '<(_target_name)_host',
|
||||
},
|
||||
'dependencies': [
|
||||
'<(test_host)',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'WRAPPER_EXTENSION': 'xctest',
|
||||
'TEST_HOST': '${BUILT_PRODUCTS_DIR}/<(test_host).app/<(test_host)',
|
||||
'BUNDLE_LOADER': '$(TEST_HOST)',
|
||||
'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
|
||||
'INFOPLIST_FILE': 'shell/test/Module-Info.plist',
|
||||
'OTHER_LDFLAGS': [
|
||||
'-bundle_loader <(test_host).app/<(test_host)',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'shell/test/shell_test.mm',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'Foundation.framework',
|
||||
'XCTest.framework',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
# Create a test host for earl grey tests, so Xcode 7.3 and above
|
||||
# doesn't contaminate the app structure.
|
||||
# GN version: //ios/web/shell/test:ios_web_shell_test_host
|
||||
'target_name': 'ios_web_shell_test_host',
|
||||
'includes': [
|
||||
'ios_web_shell_exe.gypi',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'XCTest.framework',
|
||||
],
|
||||
},
|
||||
'xcode_settings': {
|
||||
'INFOPLIST_FILE': 'shell/test/Host-Info.plist',
|
||||
'OTHER_LDFLAGS': [
|
||||
'-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks',
|
||||
'-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks'
|
||||
]
|
||||
},
|
||||
'dependencies': [
|
||||
'ios_web_shell_earl_grey_test_support',
|
||||
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
|
||||
],
|
||||
'sources': [
|
||||
'shell/test/meta_tags_egtest.mm',
|
||||
'shell/test/navigation_egtest.mm',
|
||||
'shell/test/page_state_egtest.mm',
|
||||
'shell/test/pdf_egtest.mm',
|
||||
'shell/test/plugin_placeholder_egtest.mm',
|
||||
'shell/test/redirect_egtest.mm',
|
||||
],
|
||||
'actions': [{
|
||||
'action_name': 'copy_test_data',
|
||||
'variables': {
|
||||
'test_data_files': [
|
||||
'../../ios/web/shell/test/http_server_files',
|
||||
],
|
||||
# Files are copied to .app/<test_data_prefix>/<test_data_files>.
|
||||
# Since the test_data_files are two levels up, the test_data_prefix
|
||||
# needs to be two levels deep so the files end up in the .app bundle
|
||||
# and not in some parent directory. In other words, this will resolve
|
||||
# to: .app/ios/web/../../ios/web/shell/test/http_server_files.
|
||||
'test_data_prefix': 'ios/web',
|
||||
},
|
||||
'includes': [ '../../build/copy_test_data_ios.gypi' ],
|
||||
}],
|
||||
|
||||
'postbuilds': [
|
||||
{
|
||||
'postbuild_name': 'Copy OCHamcrest to TEST_HOST',
|
||||
'action': [
|
||||
'ditto',
|
||||
'${BUILT_PRODUCTS_DIR}/OCHamcrest.framework',
|
||||
'${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.framework',
|
||||
],
|
||||
},
|
||||
{
|
||||
'postbuild_name': 'Copy EarlGrey to TEST_HOST',
|
||||
'action': [
|
||||
'ditto',
|
||||
'${BUILT_PRODUCTS_DIR}/EarlGrey.framework',
|
||||
'${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.framework',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
# TODO(crbug.com/606815): Refactor out code that is common across Chrome
|
||||
# and the web shell.
|
||||
# GN version: //ios/web/shell/test:earl_grey_test_support
|
||||
'target_name': 'ios_web_shell_earl_grey_test_support',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
|
||||
'ios_web.gyp:ios_web_earl_grey_test_support',
|
||||
'../testing/earl_grey/earl_grey_support.gyp:earl_grey_support',
|
||||
],
|
||||
'sources': [
|
||||
'shell/test/app/navigation_test_util.h',
|
||||
'shell/test/app/navigation_test_util.mm',
|
||||
'shell/test/app/web_shell_test_util.h',
|
||||
'shell/test/app/web_shell_test_util.mm',
|
||||
'shell/test/app/web_view_interaction_test_util.h',
|
||||
'shell/test/app/web_view_interaction_test_util.mm',
|
||||
'shell/test/earl_grey/shell_base_test_case.h',
|
||||
'shell/test/earl_grey/shell_base_test_case.mm',
|
||||
'shell/test/earl_grey/shell_matchers.h',
|
||||
'shell/test/earl_grey/shell_matchers.mm',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 2013 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
# GN version: //ios/web:ios_web_unittests
|
||||
'target_name': 'ios_web_unittests',
|
||||
'type': '<(gtest_target_type)',
|
||||
'dependencies': [
|
||||
'../../base/base.gyp:base',
|
||||
'../../base/base.gyp:test_support_base',
|
||||
'../../net/net.gyp:net_test_support',
|
||||
'../../testing/gmock.gyp:gmock',
|
||||
'../../testing/gtest.gyp:gtest',
|
||||
'../../third_party/ocmock/ocmock.gyp:ocmock',
|
||||
'../../ui/base/ui_base.gyp:ui_base_test_support',
|
||||
'../testing/ios_testing.gyp:ocmock_support',
|
||||
'ios_web.gyp:ios_web',
|
||||
'ios_web.gyp:ios_web_test_support',
|
||||
],
|
||||
'sources': [
|
||||
'active_state_manager_impl_unittest.mm',
|
||||
'alloc_with_zone_interceptor_unittest.mm',
|
||||
'browser_state_unittest.cc',
|
||||
'crw_network_activity_indicator_manager_unittest.mm',
|
||||
'history_state_util_unittest.mm',
|
||||
'navigation/crw_session_controller_unittest.mm',
|
||||
'navigation/crw_session_entry_unittest.mm',
|
||||
'navigation/navigation_item_impl_unittest.mm',
|
||||
'navigation/navigation_manager_impl_unittest.mm',
|
||||
'navigation/nscoder_util_unittest.mm',
|
||||
'net/cert_host_pair_unittest.cc',
|
||||
'net/cert_policy_unittest.cc',
|
||||
'net/clients/crw_js_injection_network_client_unittest.mm',
|
||||
'net/crw_cert_verification_controller_unittest.mm',
|
||||
'net/crw_ssl_status_updater_unittest.mm',
|
||||
'net/request_group_util_unittest.mm',
|
||||
'net/request_tracker_impl_unittest.mm',
|
||||
'net/web_http_protocol_handler_delegate_unittest.mm',
|
||||
'public/origin_util_unittest.mm',
|
||||
'public/referrer_util_unittest.cc',
|
||||
'public/web_state/page_viewport_state_unittest.mm',
|
||||
'string_util_unittest.cc',
|
||||
'test/crw_fake_web_controller_observer_unittest.mm',
|
||||
'test/run_all_unittests.cc',
|
||||
'url_scheme_util_unittest.mm',
|
||||
'url_util_unittest.cc',
|
||||
'web_state/crw_pass_kit_downloader_unittest.mm',
|
||||
'web_state/crw_web_view_scroll_view_proxy_unittest.mm',
|
||||
'web_state/error_translation_util_unittest.mm',
|
||||
'web_state/js/common_js_unittest.mm',
|
||||
'web_state/js/core_js_unittest.mm',
|
||||
'web_state/js/credential_util_unittest.mm',
|
||||
'web_state/js/crw_js_injection_manager_unittest.mm',
|
||||
'web_state/js/crw_js_post_request_loader_unittest.mm',
|
||||
'web_state/js/crw_js_window_id_manager_unittest.mm',
|
||||
'web_state/js/page_script_util_unittest.mm',
|
||||
'web_state/ui/crw_web_controller_container_view_unittest.mm',
|
||||
'web_state/ui/crw_web_controller_observer_unittest.mm',
|
||||
'web_state/ui/crw_web_controller_unittest.mm',
|
||||
'web_state/ui/crw_wk_script_message_router_unittest.mm',
|
||||
'web_state/ui/web_view_js_utils_unittest.mm',
|
||||
'web_state/ui/wk_back_forward_list_item_holder_unittest.mm',
|
||||
'web_state/ui/wk_web_view_configuration_provider_unittest.mm',
|
||||
'web_state/web_state_impl_unittest.mm',
|
||||
'web_state/web_state_delegate_bridge_unittest.mm',
|
||||
"web_state/web_state_delegate_stub.h",
|
||||
"web_state/web_state_delegate_stub.mm",
|
||||
'web_state/web_view_internal_creation_util_unittest.mm',
|
||||
'web_state/wk_web_view_security_util_unittest.mm',
|
||||
'webui/crw_web_ui_manager_unittest.mm',
|
||||
'webui/crw_web_ui_page_builder_unittest.mm',
|
||||
'webui/mojo_facade_unittest.mm',
|
||||
'webui/url_fetcher_block_adapter_unittest.mm',
|
||||
],
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'copy_test_data',
|
||||
'variables': {
|
||||
'test_data_files': [
|
||||
'../../net/data/ssl/certificates/',
|
||||
'test/data/chrome.html',
|
||||
'test/data/testbadpass.pkpass',
|
||||
'test/data/testfavicon.png',
|
||||
'test/data/testpass.pkpass',
|
||||
],
|
||||
'test_data_prefix': 'ios/web',
|
||||
},
|
||||
'includes': [ '../../build/copy_test_data_ios.gypi' ],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# This file should be deprecated in favor of js_compile_checked.gypi or
|
||||
# eventually third_party/closure_compiler/compile_js.gypi as iOS JS code
|
||||
# becomes error free. See http://crbug.com/487804
|
||||
{
|
||||
'variables': {
|
||||
'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar',
|
||||
'compile_javascript%': 1,
|
||||
},
|
||||
'conditions': [
|
||||
['compile_javascript==1', {
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'jscompilation',
|
||||
'extension': 'js',
|
||||
'inputs': [
|
||||
'<(closure_compiler_path)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
|
||||
],
|
||||
'action': [
|
||||
'java',
|
||||
'-jar',
|
||||
'<(closure_compiler_path)',
|
||||
'--compilation_level',
|
||||
'SIMPLE_OPTIMIZATIONS',
|
||||
'--js',
|
||||
'<(RULE_INPUT_PATH)',
|
||||
'--js_output_file',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
'message': 'Running closure compiler on <(RULE_INPUT_NAME)',
|
||||
} # rule_name: jscompilation
|
||||
]},
|
||||
{ # else
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'jscompilation',
|
||||
'extension': 'js',
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
|
||||
],
|
||||
'action': [
|
||||
'cp',
|
||||
'<(RULE_INPUT_PATH)',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
}
|
||||
]} # rule_name: jscompilation
|
||||
] # condition: compile_javascript
|
||||
] # conditions
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# This file is meant to be included into a target to provide a rule
|
||||
# to build JavaScript bundles using closure compiler.
|
||||
#
|
||||
# To use this, create a gyp target with the following form:
|
||||
# {
|
||||
# 'target_name': 'my_js_target',
|
||||
# 'type': 'none',
|
||||
# 'variables': {
|
||||
# 'closure_entry_point': 'name of the closure module',
|
||||
# 'js_bundle_files': ['path/to/dependency/file',],
|
||||
# },
|
||||
# 'includes': ['path/to/this/gypi/file'],
|
||||
# }
|
||||
#
|
||||
# Required variables:
|
||||
# closure_entry_point - name of the entry point closure module.
|
||||
# js_bundle_files - list of js files to build a bundle.
|
||||
|
||||
{
|
||||
'variables': {
|
||||
'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar',
|
||||
},
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'jsbundlecompilation',
|
||||
'extension': 'js',
|
||||
'inputs': [
|
||||
'<(closure_compiler_path)',
|
||||
'<@(js_bundle_files)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
|
||||
],
|
||||
'action': [
|
||||
'java',
|
||||
'-jar',
|
||||
'<(closure_compiler_path)',
|
||||
'--compilation_level',
|
||||
'SIMPLE_OPTIMIZATIONS',
|
||||
# Pass every js file to closure compiler. --only_closure_dependencies
|
||||
# flag ensures that unnecessary files will not be compiled into the
|
||||
# final output file.
|
||||
'--js',
|
||||
'<@(js_bundle_files)',
|
||||
'--js_output_file',
|
||||
'<@(_outputs)',
|
||||
'--only_closure_dependencies',
|
||||
'--closure_entry_point=<(closure_entry_point)',
|
||||
],
|
||||
'message': 'Building <(RULE_INPUT_NAME) JavaScript bundle',
|
||||
} # rule_name: jsbundlecompilation
|
||||
]
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# This file should be identical to js_compile.gypi except it passes jscomp_error
|
||||
# flags to the compiler. One should prefer this over js_compile.gypi once the
|
||||
# JS code being compiled are error free.
|
||||
#
|
||||
# This file should be eventually deprecated in favor of
|
||||
# third_party/closure_compiler/compile_js.gypi once they have the same set of
|
||||
# jscomp_error flags enabled. See http://crbug.com/487804
|
||||
{
|
||||
'variables': {
|
||||
'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar',
|
||||
'compile_javascript%': 1,
|
||||
},
|
||||
'conditions': [
|
||||
['compile_javascript==1', {
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'jscompilation',
|
||||
'extension': 'js',
|
||||
'inputs': [
|
||||
'<(closure_compiler_path)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
|
||||
],
|
||||
'action': [
|
||||
'java',
|
||||
'-jar',
|
||||
'<(closure_compiler_path)',
|
||||
'--compilation_level',
|
||||
'SIMPLE_OPTIMIZATIONS',
|
||||
'--jscomp_error=accessControls',
|
||||
'--jscomp_error=ambiguousFunctionDecl',
|
||||
# '--jscomp_error=checkTypes',
|
||||
# '--jscomp_error=checkVars',
|
||||
'--jscomp_error=constantProperty',
|
||||
'--jscomp_error=deprecated',
|
||||
'--jscomp_error=externsValidation',
|
||||
'--jscomp_error=globalThis',
|
||||
'--jscomp_error=invalidCasts',
|
||||
# '--jscomp_error=missingProperties',
|
||||
# '--jscomp_error=missingReturn',
|
||||
'--jscomp_error=nonStandardJsDocs',
|
||||
'--jscomp_error=suspiciousCode',
|
||||
'--jscomp_error=undefinedNames',
|
||||
# '--jscomp_error=undefinedVars',
|
||||
'--jscomp_error=unknownDefines',
|
||||
'--jscomp_error=uselessCode',
|
||||
'--jscomp_error=visibility',
|
||||
'--js',
|
||||
'<(RULE_INPUT_PATH)',
|
||||
'--js_output_file',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
'message': 'Running closure compiler on <(RULE_INPUT_NAME)',
|
||||
} # rule_name: jscompilation
|
||||
]},
|
||||
{ # else
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'jscompilation',
|
||||
'extension': 'js',
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
|
||||
],
|
||||
'action': [
|
||||
'cp',
|
||||
'<(RULE_INPUT_PATH)',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
}
|
||||
]} # rule_name: jscompilation
|
||||
] # condition: compile_javascript
|
||||
] # conditions
|
||||
}
|
@ -1,241 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'includes': [
|
||||
'jingle.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'chromium_code': 1,
|
||||
}, # variables
|
||||
'conditions': [
|
||||
['enable_webrtc==1 or OS!="android"', {
|
||||
'targets': [
|
||||
# A library of various utils for integration with libjingle.
|
||||
# GN version: //jingle:jingle_glue
|
||||
{
|
||||
'target_name': 'jingle_glue',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'<@(jingle_glue_sources)',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../net/net.gyp:net',
|
||||
'../third_party/libjingle/libjingle.gyp:libjingle',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../third_party/libjingle/libjingle.gyp:libjingle',
|
||||
],
|
||||
},
|
||||
# A library for sending and receiving peer-issued notifications.
|
||||
#
|
||||
# TODO(akalin): Separate out the XMPP stuff from this library into
|
||||
# its own library.
|
||||
#
|
||||
# GN version: //jingle:notifier
|
||||
{
|
||||
'target_name': 'notifier',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'notifier/base/const_communicator.h',
|
||||
'notifier/base/gaia_constants.cc',
|
||||
'notifier/base/gaia_constants.h',
|
||||
'notifier/base/gaia_token_pre_xmpp_auth.cc',
|
||||
'notifier/base/gaia_token_pre_xmpp_auth.h',
|
||||
'notifier/base/notification_method.h',
|
||||
'notifier/base/notification_method.cc',
|
||||
'notifier/base/notifier_options.cc',
|
||||
'notifier/base/notifier_options.h',
|
||||
'notifier/base/notifier_options_util.cc',
|
||||
'notifier/base/notifier_options_util.h',
|
||||
'notifier/base/server_information.cc',
|
||||
'notifier/base/server_information.h',
|
||||
'notifier/base/weak_xmpp_client.cc',
|
||||
'notifier/base/weak_xmpp_client.h',
|
||||
'notifier/base/xmpp_connection.cc',
|
||||
'notifier/base/xmpp_connection.h',
|
||||
'notifier/communicator/connection_settings.cc',
|
||||
'notifier/communicator/connection_settings.h',
|
||||
'notifier/communicator/login.cc',
|
||||
'notifier/communicator/login.h',
|
||||
'notifier/communicator/login_settings.cc',
|
||||
'notifier/communicator/login_settings.h',
|
||||
'notifier/communicator/single_login_attempt.cc',
|
||||
'notifier/communicator/single_login_attempt.h',
|
||||
'notifier/listener/non_blocking_push_client.cc',
|
||||
'notifier/listener/non_blocking_push_client.h',
|
||||
'notifier/listener/notification_constants.cc',
|
||||
'notifier/listener/notification_constants.h',
|
||||
'notifier/listener/notification_defines.cc',
|
||||
'notifier/listener/notification_defines.h',
|
||||
'notifier/listener/push_client_observer.cc',
|
||||
'notifier/listener/push_client_observer.h',
|
||||
'notifier/listener/push_client.cc',
|
||||
'notifier/listener/push_client.h',
|
||||
'notifier/listener/push_notifications_listen_task.cc',
|
||||
'notifier/listener/push_notifications_listen_task.h',
|
||||
'notifier/listener/push_notifications_send_update_task.cc',
|
||||
'notifier/listener/push_notifications_send_update_task.h',
|
||||
'notifier/listener/push_notifications_subscribe_task.cc',
|
||||
'notifier/listener/push_notifications_subscribe_task.h',
|
||||
'notifier/listener/send_ping_task.cc',
|
||||
'notifier/listener/send_ping_task.h',
|
||||
'notifier/listener/xml_element_util.cc',
|
||||
'notifier/listener/xml_element_util.h',
|
||||
'notifier/listener/xmpp_push_client.cc',
|
||||
'notifier/listener/xmpp_push_client.h',
|
||||
],
|
||||
'defines' : [
|
||||
'_CRT_SECURE_NO_WARNINGS',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../net/net.gyp:net',
|
||||
'../third_party/expat/expat.gyp:expat',
|
||||
'../third_party/libjingle/libjingle.gyp:libjingle',
|
||||
'../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
|
||||
'../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
|
||||
'../url/url.gyp:url_lib',
|
||||
'jingle_glue',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../third_party/libjingle/libjingle.gyp:libjingle',
|
||||
'../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
|
||||
'../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
|
||||
],
|
||||
},
|
||||
# GN version: //jingle:notifier_test_util
|
||||
{
|
||||
'target_name': 'notifier_test_util',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'notifier/base/fake_base_task.cc',
|
||||
'notifier/base/fake_base_task.h',
|
||||
'notifier/listener/fake_push_client.cc',
|
||||
'notifier/listener/fake_push_client.h',
|
||||
'notifier/listener/fake_push_client_observer.cc',
|
||||
'notifier/listener/fake_push_client_observer.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'notifier',
|
||||
'../base/base.gyp:base',
|
||||
'../testing/gmock.gyp:gmock',
|
||||
],
|
||||
},
|
||||
# GN version: //jingle:jingle_unittests
|
||||
{
|
||||
'target_name': 'jingle_unittests',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'glue/chrome_async_socket_unittest.cc',
|
||||
'glue/fake_ssl_client_socket_unittest.cc',
|
||||
'glue/jingle_glue_mock_objects.cc',
|
||||
'glue/jingle_glue_mock_objects.h',
|
||||
'glue/logging_unittest.cc',
|
||||
'glue/mock_task.cc',
|
||||
'glue/mock_task.h',
|
||||
'glue/proxy_resolving_client_socket_unittest.cc',
|
||||
'glue/task_pump_unittest.cc',
|
||||
'glue/thread_wrapper_unittest.cc',
|
||||
'notifier/base/weak_xmpp_client_unittest.cc',
|
||||
'notifier/base/xmpp_connection_unittest.cc',
|
||||
'notifier/communicator/connection_settings_unittest.cc',
|
||||
'notifier/communicator/login_settings_unittest.cc',
|
||||
'notifier/communicator/single_login_attempt_unittest.cc',
|
||||
'notifier/listener/non_blocking_push_client_unittest.cc',
|
||||
'notifier/listener/notification_defines_unittest.cc',
|
||||
'notifier/listener/push_client_unittest.cc',
|
||||
'notifier/listener/push_notifications_send_update_task_unittest.cc',
|
||||
'notifier/listener/push_notifications_subscribe_task_unittest.cc',
|
||||
'notifier/listener/send_ping_task_unittest.cc',
|
||||
'notifier/listener/xml_element_util_unittest.cc',
|
||||
'notifier/listener/xmpp_push_client_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="android"', {
|
||||
'sources!': [
|
||||
# TODO(jrg):
|
||||
# EXPECT_DEBUG_DEATH() uses features not enabled.
|
||||
# Should we -std=c++0x or -std=gnu++0x?
|
||||
'glue/chrome_async_socket_unittest.cc',
|
||||
'notifier/base/xmpp_connection_unittest.cc',
|
||||
],
|
||||
}]],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'dependencies': [
|
||||
'jingle_glue',
|
||||
'notifier',
|
||||
'notifier_test_util',
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:run_all_unittests',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../net/net.gyp:net',
|
||||
'../net/net.gyp:net_test_support',
|
||||
'../testing/gmock.gyp:gmock',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'../third_party/libjingle/libjingle.gyp:libjingle',
|
||||
'../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
|
||||
'../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'jingle_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'jingle_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'jingle_unittests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, { # enable_webrtc!=1 and OS=="android"
|
||||
'targets': [
|
||||
# Stub targets as Android doesn't use libjingle when webrtc is disabled.
|
||||
{
|
||||
'target_name': 'jingle_glue',
|
||||
'type': 'none',
|
||||
},
|
||||
{
|
||||
'target_name': 'jingle_glue_test_util',
|
||||
'type': 'none',
|
||||
},
|
||||
# GN version: //jingle:notifier
|
||||
{
|
||||
'target_name': 'notifier',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'notifier/base/gaia_constants.cc',
|
||||
'notifier/base/gaia_constants.h',
|
||||
'notifier/base/notification_method.h',
|
||||
'notifier/base/notification_method.cc',
|
||||
'notifier/base/notifier_options.cc',
|
||||
'notifier/base/notifier_options.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../net/net.gyp:net',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'notifier_test_util',
|
||||
'type': 'none',
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'includes': [
|
||||
'../native_client/build/untrusted.gypi',
|
||||
'jingle.gypi',
|
||||
],
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'jingle_glue_nacl',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'nacl_untrusted_build': 1,
|
||||
'nlib_target': 'libjingle_glue_nacl.a',
|
||||
'build_glibc': 0,
|
||||
'build_newlib': 0,
|
||||
'build_pnacl_newlib': 1,
|
||||
},
|
||||
'sources': [
|
||||
'<@(jingle_glue_sources)',
|
||||
],
|
||||
'sources!': [
|
||||
'glue/chrome_async_socket.cc',
|
||||
'glue/proxy_resolving_client_socket.cc',
|
||||
'glue/xmpp_client_socket_factory.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base_nacl.gyp:base_nacl',
|
||||
'../net/net_nacl.gyp:net_nacl',
|
||||
'../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl',
|
||||
],
|
||||
}
|
||||
]
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'includes': [
|
||||
'../build/common_untrusted.gypi',
|
||||
],
|
||||
'conditions': [
|
||||
['disable_nacl==0 and disable_nacl_untrusted==0', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'nacl_io_untrusted',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'nacl_untrusted_build': 1,
|
||||
'nlib_target': 'libnacl_io.a',
|
||||
'build_newlib': 1,
|
||||
'build_pnacl_newlib': 1,
|
||||
},
|
||||
'include_dirs': [
|
||||
'../native_client/src/untrusted/irt',
|
||||
'src/libraries',
|
||||
'src/libraries/nacl_io/include',
|
||||
'src/libraries/third_party/newlib-extras',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'src/libraries',
|
||||
'src/libraries/nacl_io/include',
|
||||
'src/libraries/third_party/newlib-extras',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'>!@pymod_do_main(dsc_info -s -l src/libraries/nacl_io nacl_io)',
|
||||
],
|
||||
'dependencies': [
|
||||
'../ppapi/native_client/native_client.gyp:ppapi_lib',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
1708
net/net.gyp
1708
net/net.gyp
File diff suppressed because it is too large
Load Diff
@ -1,360 +0,0 @@
|
||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
# This target is included by 'net' target.
|
||||
'type': '<(component)',
|
||||
'variables': { 'enable_wexit_time_destructors': 1, },
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../crypto/crypto.gyp:crypto',
|
||||
'../sdch/sdch.gyp:sdch',
|
||||
'../third_party/boringssl/boringssl.gyp:boringssl',
|
||||
'../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
||||
'../third_party/zlib/zlib.gyp:zlib',
|
||||
'../url/url.gyp:url_url_features',
|
||||
'net_derived_sources',
|
||||
'net_quic_proto',
|
||||
'net_resources',
|
||||
],
|
||||
'sources': [
|
||||
'<@(net_nacl_common_sources)',
|
||||
'<@(net_non_nacl_sources)',
|
||||
],
|
||||
'defines': [
|
||||
'NET_IMPLEMENTATION',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../base/base.gyp:base',
|
||||
'../third_party/boringssl/boringssl.gyp:boringssl',
|
||||
],
|
||||
'conditions': [
|
||||
['chromeos==1', {
|
||||
'sources!': [
|
||||
'base/network_change_notifier_linux.cc',
|
||||
'base/network_change_notifier_linux.h',
|
||||
'base/network_change_notifier_netlink_linux.cc',
|
||||
'base/network_change_notifier_netlink_linux.h',
|
||||
'proxy/proxy_config_service_linux.cc',
|
||||
'proxy/proxy_config_service_linux.h',
|
||||
],
|
||||
}],
|
||||
['use_kerberos==1', {
|
||||
'defines': [
|
||||
'USE_KERBEROS',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="openbsd"', {
|
||||
'include_dirs': [
|
||||
'/usr/include/kerberosV'
|
||||
],
|
||||
}],
|
||||
['linux_link_kerberos==1', {
|
||||
'link_settings': {
|
||||
'ldflags': [
|
||||
'<!@(krb5-config --libs gssapi)',
|
||||
],
|
||||
},
|
||||
}, { # linux_link_kerberos==0
|
||||
'defines': [
|
||||
'DLOPEN_KERBEROS',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, { # use_kerberos == 0
|
||||
'sources!': [
|
||||
'http/http_auth_gssapi_posix.cc',
|
||||
'http/http_auth_gssapi_posix.h',
|
||||
'http/http_auth_handler_negotiate.cc',
|
||||
'http/http_auth_handler_negotiate.h',
|
||||
],
|
||||
}],
|
||||
['posix_avoid_mmap==1', {
|
||||
'defines': [
|
||||
'POSIX_AVOID_MMAP',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'defines': [
|
||||
'POSIX_AVOID_MMAP',
|
||||
],
|
||||
},
|
||||
'sources!': [
|
||||
'disk_cache/blockfile/mapped_file_posix.cc',
|
||||
],
|
||||
}, { # else
|
||||
'sources!': [
|
||||
'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
|
||||
],
|
||||
}],
|
||||
['disable_file_support!=1', {
|
||||
# TODO(mmenke): Should probably get rid of the dependency on
|
||||
# net_resources in this case (It's used in net_util, to format
|
||||
# directory listings. Also used outside of net/).
|
||||
'sources': ['<@(net_file_support_sources)']
|
||||
}],
|
||||
['disable_ftp_support!=1', {
|
||||
'sources': ['<@(net_ftp_support_sources)']
|
||||
}],
|
||||
['enable_built_in_dns==1', {
|
||||
'defines': [
|
||||
'ENABLE_BUILT_IN_DNS',
|
||||
]
|
||||
}, { # else
|
||||
'sources!': [
|
||||
'dns/address_sorter_posix.cc',
|
||||
'dns/address_sorter_posix.h',
|
||||
'dns/dns_client.cc',
|
||||
],
|
||||
}],
|
||||
[ 'use_nss_certs == 1', {
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:nss',
|
||||
],
|
||||
}, {
|
||||
'sources!': [
|
||||
'cert/x509_util_nss.h',
|
||||
]
|
||||
}
|
||||
],
|
||||
['chromecast==1 and use_nss_certs==1', {
|
||||
'sources': [
|
||||
'ssl/ssl_platform_key_chromecast.cc',
|
||||
],
|
||||
'sources!': [
|
||||
'ssl/ssl_platform_key_nss.cc',
|
||||
],
|
||||
}],
|
||||
[ 'use_openssl_certs == 0', {
|
||||
'sources!': [
|
||||
'base/crypto_module_openssl.cc',
|
||||
'base/keygen_handler_openssl.cc',
|
||||
'base/openssl_private_key_store.h',
|
||||
'base/openssl_private_key_store_android.cc',
|
||||
'base/openssl_private_key_store_memory.cc',
|
||||
'cert/cert_database_openssl.cc',
|
||||
'cert/cert_verify_proc_openssl.cc',
|
||||
'cert/cert_verify_proc_openssl.h',
|
||||
'cert/test_root_certs_openssl.cc',
|
||||
'cert/x509_certificate_openssl.cc',
|
||||
'ssl/openssl_client_key_store.cc',
|
||||
'ssl/openssl_client_key_store.h',
|
||||
],
|
||||
}],
|
||||
[ 'use_glib == 1', {
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:gconf',
|
||||
'../build/linux/system.gyp:gio',
|
||||
],
|
||||
}],
|
||||
[ 'desktop_linux == 1 or chromeos == 1', {
|
||||
'conditions': [
|
||||
['os_bsd==1', {
|
||||
'sources!': [
|
||||
'base/network_change_notifier_linux.cc',
|
||||
'base/network_change_notifier_netlink_linux.cc',
|
||||
'proxy/proxy_config_service_linux.cc',
|
||||
],
|
||||
},{
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:libresolv',
|
||||
],
|
||||
}],
|
||||
['OS=="solaris"', {
|
||||
'link_settings': {
|
||||
'ldflags': [
|
||||
'-R/usr/lib/mps',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
[ 'use_nss_certs != 1', {
|
||||
'sources!': [
|
||||
'base/crypto_module_nss.cc',
|
||||
'base/keygen_handler_nss.cc',
|
||||
'cert/cert_database_nss.cc',
|
||||
'cert/cert_verify_proc_nss.cc',
|
||||
'cert/cert_verify_proc_nss.h',
|
||||
'cert/nss_cert_database.cc',
|
||||
'cert/nss_cert_database.h',
|
||||
'cert/nss_cert_database_chromeos.cc',
|
||||
'cert/nss_cert_database_chromeos.h',
|
||||
'cert/nss_profile_filter_chromeos.cc',
|
||||
'cert/nss_profile_filter_chromeos.h',
|
||||
'cert/test_root_certs_nss.cc',
|
||||
'cert/x509_certificate_nss.cc',
|
||||
'cert/x509_util_nss.cc',
|
||||
'cert_net/nss_ocsp.cc',
|
||||
'cert_net/nss_ocsp.h',
|
||||
'ssl/client_cert_store_nss.cc',
|
||||
'ssl/client_cert_store_nss.h',
|
||||
'ssl/client_key_store.cc',
|
||||
'ssl/client_key_store.h',
|
||||
'ssl/ssl_platform_key_nss.cc',
|
||||
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
|
||||
'third_party/mozilla_security_manager/nsKeygenHandler.h',
|
||||
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
|
||||
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
|
||||
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
|
||||
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
[ 'use_nss_certs == 1', {
|
||||
'sources': [
|
||||
'third_party/nss/ssl/cmpcert.cc',
|
||||
'third_party/nss/ssl/cmpcert.h',
|
||||
],
|
||||
}],
|
||||
[ 'enable_websockets == 1', {
|
||||
'defines': ['ENABLE_WEBSOCKETS'],
|
||||
'sources': ['<@(net_websockets_sources)']
|
||||
}],
|
||||
[ 'enable_mdns != 1', {
|
||||
'sources!' : [
|
||||
'dns/mdns_cache.cc',
|
||||
'dns/mdns_cache.h',
|
||||
'dns/mdns_client.cc',
|
||||
'dns/mdns_client.h',
|
||||
'dns/mdns_client_impl.cc',
|
||||
'dns/mdns_client_impl.h',
|
||||
]
|
||||
}],
|
||||
[ 'OS == "win"', {
|
||||
'sources!': [
|
||||
'http/http_auth_handler_ntlm_portable.cc',
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [4267, ],
|
||||
'all_dependent_settings': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalDependencies': [
|
||||
'crypt32.lib',
|
||||
'dhcpcsvc.lib',
|
||||
'iphlpapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'secur32.lib',
|
||||
'urlmon.lib',
|
||||
'winhttp.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalDependencies': [
|
||||
'crypt32.lib',
|
||||
'dhcpcsvc.lib',
|
||||
'iphlpapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'secur32.lib',
|
||||
'urlmon.lib',
|
||||
'winhttp.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
}, { # else: OS != "win"
|
||||
'sources!': [
|
||||
'base/winsock_init.cc',
|
||||
'base/winsock_init.h',
|
||||
'base/winsock_util.cc',
|
||||
'base/winsock_util.h',
|
||||
'proxy/proxy_resolver_winhttp.cc',
|
||||
'proxy/proxy_resolver_winhttp.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
[ 'OS == "mac"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
|
||||
'$(SDKROOT)/usr/lib/libresolv.dylib',
|
||||
]
|
||||
},
|
||||
},
|
||||
],
|
||||
[ 'OS == "ios"', {
|
||||
'sources!': [
|
||||
'disk_cache/blockfile/file_posix.cc',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-lresolv',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
[ 'OS == "ios" or OS == "mac"', {
|
||||
'sources': [
|
||||
'<@(net_base_mac_ios_sources)',
|
||||
],
|
||||
},
|
||||
],
|
||||
['OS=="android" and _toolset=="target"', {
|
||||
'dependencies': [
|
||||
'net_java',
|
||||
],
|
||||
}],
|
||||
[ 'OS == "android"', {
|
||||
'dependencies': [
|
||||
'net_jni_headers',
|
||||
],
|
||||
'sources!': [
|
||||
'base/openssl_private_key_store_memory.cc',
|
||||
'cert/cert_database_openssl.cc',
|
||||
'cert/cert_verify_proc_openssl.cc',
|
||||
'cert/test_root_certs_openssl.cc',
|
||||
'http/http_auth_gssapi_posix.cc',
|
||||
'http/http_auth_gssapi_posix.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
],
|
||||
'target_conditions': [
|
||||
# These source files are excluded by default platform rules, but they
|
||||
# are needed in specific cases on other platforms. Re-including them can
|
||||
# only be done in target_conditions as it is evaluated after the
|
||||
# platform rules.
|
||||
['OS == "android"', {
|
||||
'sources/': [
|
||||
['include', '^base/platform_mime_util_linux\\.cc$'],
|
||||
['include', '^base/address_tracker_linux\\.cc$'],
|
||||
['include', '^base/address_tracker_linux\\.h$'],
|
||||
['include', '^base/network_interfaces_linux\\.cc$'],
|
||||
['include', '^base/network_interfaces_linux\\.h$'],
|
||||
],
|
||||
}],
|
||||
['OS == "ios"', {
|
||||
'sources/': [
|
||||
['include', '^base/mac/url_conversions\\.h$'],
|
||||
['include', '^base/mac/url_conversions\\.mm$'],
|
||||
['include', '^base/network_change_notifier_mac\\.cc$'],
|
||||
['include', '^base/network_config_watcher_mac\\.cc$'],
|
||||
['include', '^base/network_interfaces_mac\\.cc$'],
|
||||
['include', '^base/network_interfaces_mac\\.h$'],
|
||||
['include', '^base/platform_mime_util_mac\\.mm$'],
|
||||
['include', '^proxy/proxy_resolver_mac\\.cc$'],
|
||||
['include', '^proxy/proxy_server_mac\\.cc$'],
|
||||
],
|
||||
}],
|
||||
['OS == "ios"', {
|
||||
'sources/': [
|
||||
['include', '^cert/test_root_certs_mac\\.cc$'],
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 2014 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'includes': [
|
||||
'../native_client/build/untrusted.gypi',
|
||||
'net.gypi',
|
||||
],
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'net_nacl',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'nacl_untrusted_build': 1,
|
||||
'nlib_target': 'libnet_nacl.a',
|
||||
'build_glibc': 0,
|
||||
'build_newlib': 0,
|
||||
'build_pnacl_newlib': 1,
|
||||
},
|
||||
'dependencies': [
|
||||
'../crypto/crypto_nacl.gyp:crypto_nacl',
|
||||
'../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
|
||||
'../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl',
|
||||
'../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
||||
'../url/url_nacl.gyp:url_nacl',
|
||||
'net.gyp:net_derived_sources',
|
||||
'net.gyp:net_quic_proto',
|
||||
'net.gyp:net_resources',
|
||||
],
|
||||
'defines': [
|
||||
'NET_IMPLEMENTATION',
|
||||
],
|
||||
'pnacl_compile_flags': [
|
||||
'-Wno-bind-to-temporary-copy',
|
||||
],
|
||||
'sources': [
|
||||
'<@(net_nacl_common_sources)',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright (c) 2009 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'tld_cleanup_util',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../../../base/base.gyp:base',
|
||||
'../../../url/url.gyp:url_lib',
|
||||
],
|
||||
'sources': [
|
||||
'tld_cleanup_util.cc',
|
||||
'tld_cleanup_util.h',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
72
pdf/pdf.gyp
72
pdf/pdf.gyp
@ -1,72 +0,0 @@
|
||||
{
|
||||
'variables': {
|
||||
'chromium_code': 1,
|
||||
'pdf_enable_xfa%': 0,
|
||||
'pdf_engine%': 0, # 0 PDFium
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'pdf',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../gin/gin.gyp:gin',
|
||||
'../net/net.gyp:net',
|
||||
'../ppapi/ppapi.gyp:ppapi_cpp_objects',
|
||||
'../ppapi/ppapi.gyp:ppapi_internal_module',
|
||||
'../ui/base/ui_base.gyp:ui_base',
|
||||
],
|
||||
'ldflags': [ '-L<(PRODUCT_DIR)',],
|
||||
'sources': [
|
||||
'chunk_stream.h',
|
||||
'chunk_stream.cc',
|
||||
'document_loader.h',
|
||||
'document_loader.cc',
|
||||
'draw_utils.cc',
|
||||
'draw_utils.h',
|
||||
'out_of_process_instance.cc',
|
||||
'out_of_process_instance.h',
|
||||
'paint_aggregator.cc',
|
||||
'paint_aggregator.h',
|
||||
'paint_manager.cc',
|
||||
'paint_manager.h',
|
||||
'pdf.cc',
|
||||
'pdf.h',
|
||||
'pdf_engine.h',
|
||||
'preview_mode_client.cc',
|
||||
'preview_mode_client.h',
|
||||
],
|
||||
'conditions': [
|
||||
['pdf_engine==0', {
|
||||
'dependencies': [
|
||||
'../third_party/pdfium/pdfium.gyp:pdfium',
|
||||
],
|
||||
'sources': [
|
||||
'pdfium/pdfium_api_string_buffer_adapter.cc',
|
||||
'pdfium/pdfium_api_string_buffer_adapter.h',
|
||||
'pdfium/pdfium_assert_matching_enums.cc',
|
||||
'pdfium/pdfium_engine.cc',
|
||||
'pdfium/pdfium_engine.h',
|
||||
'pdfium/pdfium_mem_buffer_file_read.cc',
|
||||
'pdfium/pdfium_mem_buffer_file_read.h',
|
||||
'pdfium/pdfium_mem_buffer_file_write.cc',
|
||||
'pdfium/pdfium_mem_buffer_file_write.h',
|
||||
'pdfium/pdfium_page.cc',
|
||||
'pdfium/pdfium_page.h',
|
||||
'pdfium/pdfium_range.cc',
|
||||
'pdfium/pdfium_range.h',
|
||||
],
|
||||
}],
|
||||
['pdf_enable_xfa==1', {
|
||||
'defines': [
|
||||
'PDF_ENABLE_XFA',
|
||||
]
|
||||
}],
|
||||
['OS=="win"', {
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
@ -1,363 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'printing',
|
||||
'type': '<(component)',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:base_i18n',
|
||||
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../skia/skia.gyp:skia',
|
||||
'../third_party/icu/icu.gyp:icui18n',
|
||||
'../third_party/icu/icu.gyp:icuuc',
|
||||
'../ui/gfx/gfx.gyp:gfx',
|
||||
'../ui/gfx/gfx.gyp:gfx_geometry',
|
||||
'../url/url.gyp:url_lib',
|
||||
],
|
||||
'defines': [
|
||||
'PRINTING_IMPLEMENTATION',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'backend/print_backend.cc',
|
||||
'backend/print_backend.h',
|
||||
'backend/print_backend_consts.cc',
|
||||
'backend/print_backend_consts.h',
|
||||
'backend/print_backend_dummy.cc',
|
||||
'backend/print_backend_win.cc',
|
||||
'backend/printing_info_win.cc',
|
||||
'backend/printing_info_win.h',
|
||||
'emf_win.cc',
|
||||
'emf_win.h',
|
||||
'image.cc',
|
||||
'image.h',
|
||||
'image_android.cc',
|
||||
'image_linux.cc',
|
||||
'image_mac.cc',
|
||||
'image_win.cc',
|
||||
'metafile.cc',
|
||||
'metafile.h',
|
||||
'metafile_skia_wrapper.cc',
|
||||
'metafile_skia_wrapper.h',
|
||||
'page_number.cc',
|
||||
'page_number.h',
|
||||
'page_range.cc',
|
||||
'page_range.h',
|
||||
'page_setup.cc',
|
||||
'page_setup.h',
|
||||
'page_size_margins.h',
|
||||
'pdf_metafile_cg_mac.cc',
|
||||
'pdf_metafile_cg_mac.h',
|
||||
'pdf_metafile_skia.cc',
|
||||
'pdf_metafile_skia.h',
|
||||
'print_dialog_gtk_interface.h',
|
||||
'print_job_constants.cc',
|
||||
'print_job_constants.h',
|
||||
'print_settings.cc',
|
||||
'print_settings.h',
|
||||
'print_settings_conversion.cc',
|
||||
'print_settings_conversion.h',
|
||||
'print_settings_initializer_mac.cc',
|
||||
'print_settings_initializer_mac.h',
|
||||
'print_settings_initializer_win.cc',
|
||||
'print_settings_initializer_win.h',
|
||||
'printed_document.cc',
|
||||
'printed_document.h',
|
||||
'printed_document_mac.cc',
|
||||
'printed_document_win.cc',
|
||||
'printed_page.cc',
|
||||
'printed_page.h',
|
||||
'printed_pages_source.h',
|
||||
'printing_context.cc',
|
||||
'printing_context.h',
|
||||
'printing_context_system_dialog_win.cc',
|
||||
'printing_context_system_dialog_win.h',
|
||||
'printing_context_win.cc',
|
||||
'printing_context_win.h',
|
||||
'printing_utils.cc',
|
||||
'printing_utils.h',
|
||||
'units.cc',
|
||||
'units.h',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
['use_aura==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/ui/aura/aura.gyp:aura',
|
||||
],
|
||||
}],
|
||||
# Mac-Aura does not support printing.
|
||||
['OS=="mac" and use_aura==1',{
|
||||
'sources!': [
|
||||
'printed_document_mac.cc',
|
||||
'printing_context_mac.mm',
|
||||
'printing_context_mac.h',
|
||||
],
|
||||
}],
|
||||
['OS=="mac" and use_aura==0',{
|
||||
'sources': [
|
||||
'printing_context_mac.mm',
|
||||
'printing_context_mac.h',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/ui/aura/aura.gyp:aura',
|
||||
],
|
||||
'defines': [
|
||||
# PRINT_BACKEND_AVAILABLE disables the default dummy implementation
|
||||
# of the print backend and enables a custom implementation instead.
|
||||
'PRINT_BACKEND_AVAILABLE',
|
||||
],
|
||||
'sources': [
|
||||
'backend/win_helper.cc',
|
||||
'backend/win_helper.h',
|
||||
],
|
||||
}],
|
||||
['chromeos==1',{
|
||||
'sources': [
|
||||
'printed_document_chromeos.cc',
|
||||
'printing_context_no_system_dialog.cc',
|
||||
'printing_context_no_system_dialog.h',
|
||||
],
|
||||
}],
|
||||
['use_cups==1', {
|
||||
'dependencies': [
|
||||
'cups',
|
||||
],
|
||||
'variables': {
|
||||
'cups_version': '<!(python cups_config_helper.py --api-version <(sysroot))',
|
||||
},
|
||||
'conditions': [
|
||||
['cups_version in ["1.6", "1.7"]', {
|
||||
'cflags': [
|
||||
# CUPS 1.6 deprecated the PPD APIs, but we will stay with this
|
||||
# API for now as supported Linux and Mac OS'es are still using
|
||||
# older versions of CUPS. More info: crbug.com/226176
|
||||
'-Wno-deprecated-declarations',
|
||||
# CUPS 1.7 deprecates httpConnectEncrypt(), see the mac section
|
||||
# below.
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
# The 10.9 SDK includes cups 1.7, which deprecates
|
||||
# httpConnectEncrypt() in favor of httpConnect2(). hhttpConnect2()
|
||||
# is new in 1.7, so it doesn't exist on OS X 10.6-10.8 and we
|
||||
# can't use it until 10.9 is our minimum system version.
|
||||
# (cups_version isn't reliable on OS X, so key the check off of
|
||||
# mac_sdk).
|
||||
# With a 10.8 deployment target, several other APIs are
|
||||
# deprecated. We're still on CUPS 1.4 until Linux no longer
|
||||
# needs to support it, see comment above.
|
||||
'xcode_settings': {
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wno-deprecated-declarations',
|
||||
],
|
||||
},
|
||||
}],
|
||||
['chromeos==1', {
|
||||
'sources': [
|
||||
'backend/cups_connection.cc',
|
||||
'backend/cups_connection.h',
|
||||
'backend/cups_deleters.cc',
|
||||
'backend/cups_deleters.h',
|
||||
'backend/cups_ipp_util.cc',
|
||||
'backend/cups_ipp_util.h',
|
||||
'backend/cups_printer.cc',
|
||||
'backend/cups_printer.h',
|
||||
'backend/print_backend_cups_ipp.cc',
|
||||
'backend/print_backend_cups_ipp.h',
|
||||
'printing_context_chromeos.cc',
|
||||
'printing_context_chromeos.h',
|
||||
],
|
||||
}, { # chromeos==0
|
||||
'sources': [
|
||||
'backend/cups_helper.cc',
|
||||
'backend/cups_helper.h',
|
||||
'backend/print_backend_cups.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'defines': [
|
||||
# PRINT_BACKEND_AVAILABLE disables the default dummy implementation
|
||||
# of the print backend and enables a custom implementation instead.
|
||||
'PRINT_BACKEND_AVAILABLE',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and chromeos==1', {
|
||||
'defines': [
|
||||
# PRINT_BACKEND_AVAILABLE disables the default dummy implementation
|
||||
# of the print backend and enables a custom implementation instead.
|
||||
'PRINT_BACKEND_AVAILABLE',
|
||||
],
|
||||
'sources': [
|
||||
'backend/print_backend_chromeos.cc',
|
||||
'printed_document_chromeos.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and chromeos==0', {
|
||||
'sources': [
|
||||
'printed_document_linux.cc',
|
||||
'printing_context_linux.cc',
|
||||
'printing_context_linux.h',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'sources': [
|
||||
'printing_context_android.cc',
|
||||
'printing_context_android.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'printing_jni_headers',
|
||||
],
|
||||
}, {
|
||||
'sources': [
|
||||
'pdf_transform.cc',
|
||||
'pdf_transform.h',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'printing_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../base/base.gyp:run_all_unittests',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
'../ui/base/ui_base.gyp:ui_base',
|
||||
'../ui/gfx/gfx.gyp:gfx',
|
||||
'../ui/gfx/gfx.gyp:gfx_geometry',
|
||||
'../ui/gfx/gfx.gyp:gfx_test_support',
|
||||
'printing',
|
||||
],
|
||||
'sources': [
|
||||
'emf_win_unittest.cc',
|
||||
'page_number_unittest.cc',
|
||||
'page_range_unittest.cc',
|
||||
'page_setup_unittest.cc',
|
||||
'pdf_metafile_cg_mac_unittest.cc',
|
||||
'printed_page_unittest.cc',
|
||||
'printing_context_win_unittest.cc',
|
||||
'printing_test.h',
|
||||
'printing_utils_unittest.cc',
|
||||
'units_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}],
|
||||
['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]}],
|
||||
['OS!="android"', {
|
||||
'sources': ['pdf_transform_unittest.cc']
|
||||
}],
|
||||
['use_cups==1', {
|
||||
'defines': [
|
||||
'USE_CUPS',
|
||||
],
|
||||
'conditions': [
|
||||
['chromeos==1', {
|
||||
'sources': ['backend/cups_ipp_util_unittest.cc'],
|
||||
}, {
|
||||
'sources': ['backend/cups_helper_unittest.cc'],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
{
|
||||
# GN version: //printing:cups (config, not a target).
|
||||
'target_name': 'cups',
|
||||
'type': 'none',
|
||||
'conditions': [
|
||||
['use_cups==1', {
|
||||
'direct_dependent_settings': {
|
||||
'defines': [
|
||||
'USE_CUPS',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/usr/lib/libcups.dylib',
|
||||
]
|
||||
},
|
||||
}, {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<!@(python cups_config_helper.py --libs <(sysroot))',
|
||||
],
|
||||
},
|
||||
}],
|
||||
['os_bsd==1', {
|
||||
'cflags': [
|
||||
'<!@(python cups_config_helper.py --cflags <(sysroot))',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "android"', {
|
||||
'targets': [
|
||||
{
|
||||
# GN: //printing:printing_jni_headers
|
||||
'target_name': 'printing_jni_headers',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'android/java/src/org/chromium/printing/PrintingContext.java',
|
||||
],
|
||||
'variables': {
|
||||
'jni_gen_package': 'printing',
|
||||
},
|
||||
'includes': [ '../build/jni_generator.gypi' ],
|
||||
},
|
||||
{
|
||||
# GN: //printing:printing_java
|
||||
'target_name': 'printing_java',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'java_in_dir': '../printing/android/java',
|
||||
},
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_java',
|
||||
],
|
||||
'includes': [ '../build/java.gypi' ],
|
||||
}
|
||||
]
|
||||
}],
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'printing_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'printing_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'printing_unittests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
]
|
||||
}
|
@ -1,416 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'compile_suid_client': 1,
|
||||
'compile_credentials': 1,
|
||||
'use_base_test_suite': 1,
|
||||
}, {
|
||||
'compile_suid_client': 0,
|
||||
'compile_credentials': 0,
|
||||
'use_base_test_suite': 0,
|
||||
}],
|
||||
['OS=="linux" and (target_arch=="ia32" or target_arch=="x64" or '
|
||||
'target_arch=="mipsel")', {
|
||||
'compile_seccomp_bpf_demo': 1,
|
||||
}, {
|
||||
'compile_seccomp_bpf_demo': 0,
|
||||
}],
|
||||
],
|
||||
},
|
||||
'target_defaults': {
|
||||
'target_conditions': [
|
||||
# All linux/ files will automatically be excluded on Android
|
||||
# so make sure we re-include them explicitly.
|
||||
['OS == "android"', {
|
||||
'sources/': [
|
||||
['include', '^linux/'],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
# We have two principal targets: sandbox and sandbox_linux_unittests
|
||||
# All other targets are listed as dependencies.
|
||||
# There is one notable exception: for historical reasons, chrome_sandbox is
|
||||
# the setuid sandbox and is its own target.
|
||||
{
|
||||
'target_name': 'sandbox',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sandbox_services',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'compile_suid_client==1', {
|
||||
'dependencies': [
|
||||
'suid_sandbox_client',
|
||||
],
|
||||
}],
|
||||
# Compile seccomp BPF when we support it.
|
||||
[ 'use_seccomp_bpf==1', {
|
||||
'dependencies': [
|
||||
'seccomp_bpf',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'sandbox_linux_test_utils',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'tests/sandbox_test_runner.cc',
|
||||
'tests/sandbox_test_runner.h',
|
||||
'tests/sandbox_test_runner_function_pointer.cc',
|
||||
'tests/sandbox_test_runner_function_pointer.h',
|
||||
'tests/test_utils.cc',
|
||||
'tests/test_utils.h',
|
||||
'tests/unit_tests.cc',
|
||||
'tests/unit_tests.h',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'use_seccomp_bpf==1', {
|
||||
'sources': [
|
||||
'seccomp-bpf/bpf_tester_compatibility_delegate.h',
|
||||
'seccomp-bpf/bpf_tests.h',
|
||||
'seccomp-bpf/sandbox_bpf_test_runner.cc',
|
||||
'seccomp-bpf/sandbox_bpf_test_runner.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'seccomp_bpf',
|
||||
]
|
||||
}],
|
||||
[ 'use_base_test_suite==1', {
|
||||
'dependencies': [
|
||||
'../base/base.gyp:test_support_base',
|
||||
],
|
||||
'defines': [
|
||||
'SANDBOX_USES_BASE_TEST_SUITE',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# The main sandboxing test target.
|
||||
'target_name': 'sandbox_linux_unittests',
|
||||
'includes': [
|
||||
'sandbox_linux_test_sources.gypi',
|
||||
],
|
||||
'type': 'executable',
|
||||
'conditions': [
|
||||
[ 'OS == "android"', {
|
||||
'variables': {
|
||||
'test_type': 'gtest',
|
||||
'test_suite_name': '<(_target_name)',
|
||||
},
|
||||
'includes': [
|
||||
'../../build/android/test_runner.gypi',
|
||||
],
|
||||
}]
|
||||
]
|
||||
},
|
||||
{
|
||||
'target_name': 'seccomp_bpf',
|
||||
'type': '<(component)',
|
||||
'sources': [
|
||||
'bpf_dsl/bpf_dsl.cc',
|
||||
'bpf_dsl/bpf_dsl.h',
|
||||
'bpf_dsl/bpf_dsl_forward.h',
|
||||
'bpf_dsl/bpf_dsl_impl.h',
|
||||
'bpf_dsl/codegen.cc',
|
||||
'bpf_dsl/codegen.h',
|
||||
'bpf_dsl/cons.h',
|
||||
'bpf_dsl/errorcode.h',
|
||||
'bpf_dsl/linux_syscall_ranges.h',
|
||||
'bpf_dsl/policy.cc',
|
||||
'bpf_dsl/policy.h',
|
||||
'bpf_dsl/policy_compiler.cc',
|
||||
'bpf_dsl/policy_compiler.h',
|
||||
'bpf_dsl/seccomp_macros.h',
|
||||
'bpf_dsl/seccomp_macros.h',
|
||||
'bpf_dsl/syscall_set.cc',
|
||||
'bpf_dsl/syscall_set.h',
|
||||
'bpf_dsl/trap_registry.h',
|
||||
'seccomp-bpf-helpers/baseline_policy.cc',
|
||||
'seccomp-bpf-helpers/baseline_policy.h',
|
||||
'seccomp-bpf-helpers/sigsys_handlers.cc',
|
||||
'seccomp-bpf-helpers/sigsys_handlers.h',
|
||||
'seccomp-bpf-helpers/syscall_parameters_restrictions.cc',
|
||||
'seccomp-bpf-helpers/syscall_parameters_restrictions.h',
|
||||
'seccomp-bpf-helpers/syscall_sets.cc',
|
||||
'seccomp-bpf-helpers/syscall_sets.h',
|
||||
'seccomp-bpf/die.cc',
|
||||
'seccomp-bpf/die.h',
|
||||
'seccomp-bpf/sandbox_bpf.cc',
|
||||
'seccomp-bpf/sandbox_bpf.h',
|
||||
'seccomp-bpf/syscall.cc',
|
||||
'seccomp-bpf/syscall.h',
|
||||
'seccomp-bpf/trap.cc',
|
||||
'seccomp-bpf/trap.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'sandbox_services',
|
||||
'sandbox_services_headers',
|
||||
],
|
||||
'defines': [
|
||||
'SANDBOX_IMPLEMENTATION',
|
||||
],
|
||||
'includes': [
|
||||
# Disable LTO due to compiler bug
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703
|
||||
'../../build/android/disable_gcc_lto.gypi',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
},
|
||||
{
|
||||
# The setuid sandbox, for Linux
|
||||
'target_name': 'chrome_sandbox',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'suid/common/sandbox.h',
|
||||
'suid/common/suid_unsafe_environment_variables.h',
|
||||
'suid/process_util.h',
|
||||
'suid/process_util_linux.c',
|
||||
'suid/sandbox.c',
|
||||
],
|
||||
'cflags': [
|
||||
# For ULLONG_MAX
|
||||
'-std=gnu99',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
# Do not use any sanitizer tools with this binary. http://crbug.com/382766
|
||||
'cflags/': [
|
||||
['exclude', '-fsanitize'],
|
||||
],
|
||||
'ldflags/': [
|
||||
['exclude', '-fsanitize'],
|
||||
],
|
||||
},
|
||||
{ 'target_name': 'sandbox_services',
|
||||
'type': '<(component)',
|
||||
'sources': [
|
||||
'services/init_process_reaper.cc',
|
||||
'services/init_process_reaper.h',
|
||||
'services/proc_util.cc',
|
||||
'services/proc_util.h',
|
||||
'services/resource_limits.cc',
|
||||
'services/resource_limits.h',
|
||||
'services/scoped_process.cc',
|
||||
'services/scoped_process.h',
|
||||
'services/syscall_wrappers.cc',
|
||||
'services/syscall_wrappers.h',
|
||||
'services/thread_helpers.cc',
|
||||
'services/thread_helpers.h',
|
||||
'services/yama.cc',
|
||||
'services/yama.h',
|
||||
'syscall_broker/broker_channel.cc',
|
||||
'syscall_broker/broker_channel.h',
|
||||
'syscall_broker/broker_client.cc',
|
||||
'syscall_broker/broker_client.h',
|
||||
'syscall_broker/broker_common.h',
|
||||
'syscall_broker/broker_file_permission.cc',
|
||||
'syscall_broker/broker_file_permission.h',
|
||||
'syscall_broker/broker_host.cc',
|
||||
'syscall_broker/broker_host.h',
|
||||
'syscall_broker/broker_policy.cc',
|
||||
'syscall_broker/broker_policy.h',
|
||||
'syscall_broker/broker_process.cc',
|
||||
'syscall_broker/broker_process.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
],
|
||||
'defines': [
|
||||
'SANDBOX_IMPLEMENTATION',
|
||||
],
|
||||
'conditions': [
|
||||
['compile_credentials==1', {
|
||||
'sources': [
|
||||
'services/credentials.cc',
|
||||
'services/credentials.h',
|
||||
'services/namespace_sandbox.cc',
|
||||
'services/namespace_sandbox.h',
|
||||
'services/namespace_utils.cc',
|
||||
'services/namespace_utils.h',
|
||||
],
|
||||
'dependencies': [
|
||||
# for capability.h.
|
||||
'sandbox_services_headers',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
},
|
||||
{ 'target_name': 'sandbox_services_headers',
|
||||
'type': 'none',
|
||||
'sources': [
|
||||
'system_headers/arm64_linux_syscalls.h',
|
||||
'system_headers/arm64_linux_ucontext.h',
|
||||
'system_headers/arm_linux_syscalls.h',
|
||||
'system_headers/arm_linux_ucontext.h',
|
||||
'system_headers/capability.h',
|
||||
'system_headers/i386_linux_ucontext.h',
|
||||
'system_headers/linux_futex.h',
|
||||
'system_headers/linux_seccomp.h',
|
||||
'system_headers/linux_syscalls.h',
|
||||
'system_headers/linux_time.h',
|
||||
'system_headers/linux_ucontext.h',
|
||||
'system_headers/mips_linux_syscalls.h',
|
||||
'system_headers/mips_linux_ucontext.h',
|
||||
'system_headers/x86_32_linux_syscalls.h',
|
||||
'system_headers/x86_64_linux_syscalls.h',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'suid_sandbox_client',
|
||||
'type': '<(component)',
|
||||
'sources': [
|
||||
'suid/common/sandbox.h',
|
||||
'suid/common/suid_unsafe_environment_variables.h',
|
||||
'suid/client/setuid_sandbox_client.cc',
|
||||
'suid/client/setuid_sandbox_client.h',
|
||||
'suid/client/setuid_sandbox_host.cc',
|
||||
'suid/client/setuid_sandbox_host.h',
|
||||
],
|
||||
'defines': [
|
||||
'SANDBOX_IMPLEMENTATION',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'sandbox_services',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'bpf_dsl_golden',
|
||||
'type': 'none',
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'generate',
|
||||
'inputs': [
|
||||
'bpf_dsl/golden/generate.py',
|
||||
'bpf_dsl/golden/i386/ArgSizePolicy.txt',
|
||||
'bpf_dsl/golden/i386/BasicPolicy.txt',
|
||||
'bpf_dsl/golden/i386/ElseIfPolicy.txt',
|
||||
'bpf_dsl/golden/i386/MaskingPolicy.txt',
|
||||
'bpf_dsl/golden/i386/MoreBooleanLogicPolicy.txt',
|
||||
'bpf_dsl/golden/i386/NegativeConstantsPolicy.txt',
|
||||
'bpf_dsl/golden/i386/SwitchPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/ArgSizePolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/BasicPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/BooleanLogicPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/ElseIfPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/MaskingPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/MoreBooleanLogicPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/NegativeConstantsPolicy.txt',
|
||||
'bpf_dsl/golden/x86-64/SwitchPolicy.txt',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/sandbox/linux/bpf_dsl/golden/golden_files.h',
|
||||
],
|
||||
'action': [
|
||||
'python',
|
||||
'linux/bpf_dsl/golden/generate.py',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/sandbox/linux/bpf_dsl/golden/golden_files.h',
|
||||
'linux/bpf_dsl/golden/i386/ArgSizePolicy.txt',
|
||||
'linux/bpf_dsl/golden/i386/BasicPolicy.txt',
|
||||
'linux/bpf_dsl/golden/i386/ElseIfPolicy.txt',
|
||||
'linux/bpf_dsl/golden/i386/MaskingPolicy.txt',
|
||||
'linux/bpf_dsl/golden/i386/MoreBooleanLogicPolicy.txt',
|
||||
'linux/bpf_dsl/golden/i386/NegativeConstantsPolicy.txt',
|
||||
'linux/bpf_dsl/golden/i386/SwitchPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/ArgSizePolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/BasicPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/BooleanLogicPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/ElseIfPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/MaskingPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/MoreBooleanLogicPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/NegativeConstantsPolicy.txt',
|
||||
'linux/bpf_dsl/golden/x86-64/SwitchPolicy.txt',
|
||||
],
|
||||
'message': 'Generating header from golden files ...',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
[ 'OS=="android"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_linux_unittests_deps',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sandbox_linux_unittests',
|
||||
],
|
||||
'variables': {
|
||||
'output_dir': '<(PRODUCT_DIR)/sandbox_linux_unittests__dist/',
|
||||
'native_binary': '<(PRODUCT_DIR)/sandbox_linux_unittests',
|
||||
'include_main_binary': 1,
|
||||
},
|
||||
'includes': [
|
||||
'../../build/android/native_app_dependencies.gypi'
|
||||
],
|
||||
}],
|
||||
}],
|
||||
[ 'OS=="android"', {
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_linux_unittests_apk_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sandbox_linux_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'../sandbox_linux_unittests_apk.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
],
|
||||
}],
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_linux_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sandbox_linux_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'../sandbox_linux_unittests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 2015 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'includes': [
|
||||
'../../build/common_untrusted.gypi',
|
||||
],
|
||||
'conditions': [
|
||||
['disable_nacl==0 and disable_nacl_untrusted==0', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_linux_nacl_nonsfi',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'nacl_untrusted_build': 1,
|
||||
'nlib_target': 'libsandbox_linux_nacl_nonsfi.a',
|
||||
'build_glibc': 0,
|
||||
'build_newlib': 0,
|
||||
'build_irt': 0,
|
||||
'build_pnacl_newlib': 0,
|
||||
'build_nonsfi_helper': 1,
|
||||
'compile_flags': [
|
||||
'-fgnu-inline-asm',
|
||||
],
|
||||
'sources': [
|
||||
# This is the subset of linux build target, needed for
|
||||
# nacl_helper_nonsfi's sandbox implementation.
|
||||
'bpf_dsl/bpf_dsl.cc',
|
||||
'bpf_dsl/codegen.cc',
|
||||
'bpf_dsl/policy.cc',
|
||||
'bpf_dsl/policy_compiler.cc',
|
||||
'bpf_dsl/syscall_set.cc',
|
||||
'seccomp-bpf-helpers/sigsys_handlers.cc',
|
||||
'seccomp-bpf-helpers/syscall_parameters_restrictions.cc',
|
||||
'seccomp-bpf/die.cc',
|
||||
'seccomp-bpf/sandbox_bpf.cc',
|
||||
'seccomp-bpf/syscall.cc',
|
||||
'seccomp-bpf/trap.cc',
|
||||
'services/credentials.cc',
|
||||
'services/namespace_sandbox.cc',
|
||||
'services/namespace_utils.cc',
|
||||
'services/proc_util.cc',
|
||||
'services/resource_limits.cc',
|
||||
'services/syscall_wrappers.cc',
|
||||
'services/thread_helpers.cc',
|
||||
'suid/client/setuid_sandbox_client.cc',
|
||||
],
|
||||
},
|
||||
'dependencies': [
|
||||
'../../base/base_nacl.gyp:base_nacl_nonsfi',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
|
||||
['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_linux_test_utils_nacl_nonsfi',
|
||||
'type': 'none',
|
||||
'variables': {
|
||||
'nacl_untrusted_build': 1,
|
||||
'nlib_target': 'libsandbox_linux_test_utils_nacl_nonsfi.a',
|
||||
'build_glibc': 0,
|
||||
'build_newlib': 0,
|
||||
'build_irt': 0,
|
||||
'build_pnacl_newlib': 0,
|
||||
'build_nonsfi_helper': 1,
|
||||
|
||||
'sources': [
|
||||
'seccomp-bpf/sandbox_bpf_test_runner.cc',
|
||||
'tests/sandbox_test_runner.cc',
|
||||
'tests/unit_tests.cc',
|
||||
],
|
||||
},
|
||||
'dependencies': [
|
||||
'../../testing/gtest_nacl.gyp:gtest_nacl',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Tests need to be compiled in the same link unit, so we have to list them
|
||||
# in a separate .gypi file.
|
||||
{
|
||||
'dependencies': [
|
||||
'sandbox',
|
||||
'sandbox_linux_test_utils',
|
||||
'sandbox_services',
|
||||
'../base/base.gyp:base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'sources': [
|
||||
'services/proc_util_unittest.cc',
|
||||
'services/scoped_process_unittest.cc',
|
||||
'services/resource_limits_unittests.cc',
|
||||
'services/syscall_wrappers_unittest.cc',
|
||||
'services/thread_helpers_unittests.cc',
|
||||
'services/yama_unittests.cc',
|
||||
'syscall_broker/broker_file_permission_unittest.cc',
|
||||
'syscall_broker/broker_process_unittest.cc',
|
||||
'tests/main.cc',
|
||||
'tests/scoped_temporary_file.cc',
|
||||
'tests/scoped_temporary_file.h',
|
||||
'tests/scoped_temporary_file_unittest.cc',
|
||||
'tests/test_utils_unittest.cc',
|
||||
'tests/unit_tests_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'compile_suid_client==1', {
|
||||
'sources': [
|
||||
'suid/client/setuid_sandbox_client_unittest.cc',
|
||||
'suid/client/setuid_sandbox_host_unittest.cc',
|
||||
],
|
||||
}],
|
||||
[ 'use_seccomp_bpf==1', {
|
||||
'sources': [
|
||||
'bpf_dsl/bpf_dsl_unittest.cc',
|
||||
'bpf_dsl/codegen_unittest.cc',
|
||||
'bpf_dsl/cons_unittest.cc',
|
||||
'bpf_dsl/dump_bpf.cc',
|
||||
'bpf_dsl/dump_bpf.h',
|
||||
'bpf_dsl/syscall_set_unittest.cc',
|
||||
'bpf_dsl/test_trap_registry.cc',
|
||||
'bpf_dsl/test_trap_registry.h',
|
||||
'bpf_dsl/test_trap_registry_unittest.cc',
|
||||
'bpf_dsl/verifier.cc',
|
||||
'bpf_dsl/verifier.h',
|
||||
'integration_tests/bpf_dsl_seccomp_unittest.cc',
|
||||
'integration_tests/seccomp_broker_process_unittest.cc',
|
||||
'seccomp-bpf-helpers/baseline_policy_unittest.cc',
|
||||
'seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc',
|
||||
'seccomp-bpf/bpf_tests_unittest.cc',
|
||||
'seccomp-bpf/sandbox_bpf_unittest.cc',
|
||||
'seccomp-bpf/syscall_unittest.cc',
|
||||
'seccomp-bpf/trap_unittest.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'bpf_dsl_golden',
|
||||
],
|
||||
}],
|
||||
[ 'compile_credentials==1', {
|
||||
'sources': [
|
||||
'integration_tests/namespace_unix_domain_socket_unittest.cc',
|
||||
'services/credentials_unittest.cc',
|
||||
'services/namespace_utils_unittest.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:libcap'
|
||||
],
|
||||
'conditions': [
|
||||
[ 'use_base_test_suite==1', {
|
||||
'sources': [
|
||||
'services/namespace_sandbox_unittest.cc',
|
||||
]
|
||||
}]
|
||||
],
|
||||
}],
|
||||
[ 'use_base_test_suite==1', {
|
||||
'dependencies': [
|
||||
'../base/base.gyp:test_support_base',
|
||||
],
|
||||
'defines': [
|
||||
'SANDBOX_USES_BASE_TEST_SUITE',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'seatbelt',
|
||||
'type' : '<(component)',
|
||||
'sources': [
|
||||
'seatbelt.cc',
|
||||
'seatbelt.h',
|
||||
'seatbelt_export.h',
|
||||
],
|
||||
'defines': [
|
||||
'SEATBELT_IMPLEMENTATION',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/usr/lib/libsandbox.dylib',
|
||||
],
|
||||
}
|
||||
},
|
||||
{
|
||||
'target_name': 'sandbox',
|
||||
'type': '<(component)',
|
||||
'sources': [
|
||||
'bootstrap_sandbox.cc',
|
||||
'bootstrap_sandbox.h',
|
||||
'launchd_interception_server.cc',
|
||||
'launchd_interception_server.h',
|
||||
'mach_message_server.cc',
|
||||
'mach_message_server.h',
|
||||
'message_server.h',
|
||||
'os_compatibility.cc',
|
||||
'os_compatibility.h',
|
||||
'policy.cc',
|
||||
'policy.h',
|
||||
'pre_exec_delegate.cc',
|
||||
'pre_exec_delegate.h',
|
||||
'xpc.h',
|
||||
'xpc_message_server.cc',
|
||||
'xpc_message_server.h',
|
||||
],
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
'defines': [
|
||||
'SANDBOX_IMPLEMENTATION',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/usr/lib/libbsm.dylib',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'sandbox_mac_unittests',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'bootstrap_sandbox_unittest.mm',
|
||||
'policy_unittest.cc',
|
||||
'xpc_message_server_unittest.cc',
|
||||
],
|
||||
'dependencies': [
|
||||
'sandbox',
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:run_all_unittests',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_mac_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sandbox_mac_unittests',
|
||||
],
|
||||
'includes': [ '../../build/isolate.gypi' ],
|
||||
'sources': [ '../sandbox_mac_unittests.isolate' ],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium 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': {
|
||||
'chromium_code': 1,
|
||||
},
|
||||
'conditions': [
|
||||
[ 'OS=="win"', {
|
||||
'includes': [
|
||||
'win/sandbox_win.gypi',
|
||||
],
|
||||
}],
|
||||
[ 'OS=="linux" or OS=="android"', {
|
||||
'includes': [
|
||||
'linux/sandbox_linux.gypi',
|
||||
],
|
||||
}],
|
||||
[ 'OS=="mac" and OS!="ios"', {
|
||||
'includes': [
|
||||
'mac/sandbox_mac.gypi',
|
||||
],
|
||||
}],
|
||||
[ 'OS!="win" and OS!="mac" and OS!="linux" and OS!="android"', {
|
||||
# A 'default' to accomodate the "sandbox" target.
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox',
|
||||
'type': 'none',
|
||||
}
|
||||
]
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,419 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'target_defaults': {
|
||||
'variables': {
|
||||
'sandbox_windows_target': 0,
|
||||
'target_arch%': 'ia32',
|
||||
},
|
||||
'target_conditions': [
|
||||
['sandbox_windows_target==1', {
|
||||
# Files that are shared between the 32-bit and the 64-bit versions
|
||||
# of the Windows sandbox library.
|
||||
'sources': [
|
||||
'src/acl.cc',
|
||||
'src/acl.h',
|
||||
'src/broker_services.cc',
|
||||
'src/broker_services.h',
|
||||
'src/crosscall_client.h',
|
||||
'src/crosscall_params.h',
|
||||
'src/crosscall_server.cc',
|
||||
'src/crosscall_server.h',
|
||||
'src/eat_resolver.cc',
|
||||
'src/eat_resolver.h',
|
||||
'src/filesystem_dispatcher.cc',
|
||||
'src/filesystem_dispatcher.h',
|
||||
'src/filesystem_interception.cc',
|
||||
'src/filesystem_interception.h',
|
||||
'src/filesystem_policy.cc',
|
||||
'src/filesystem_policy.h',
|
||||
'src/handle_closer.cc',
|
||||
'src/handle_closer.h',
|
||||
'src/handle_closer_agent.cc',
|
||||
'src/handle_closer_agent.h',
|
||||
'src/interception.cc',
|
||||
'src/interception.h',
|
||||
'src/interception_agent.cc',
|
||||
'src/interception_agent.h',
|
||||
'src/interception_internal.h',
|
||||
'src/interceptors.h',
|
||||
'src/internal_types.h',
|
||||
'src/ipc_tags.h',
|
||||
'src/job.cc',
|
||||
'src/job.h',
|
||||
'src/named_pipe_dispatcher.cc',
|
||||
'src/named_pipe_dispatcher.h',
|
||||
'src/named_pipe_interception.cc',
|
||||
'src/named_pipe_interception.h',
|
||||
'src/named_pipe_policy.cc',
|
||||
'src/named_pipe_policy.h',
|
||||
'src/nt_internals.h',
|
||||
'src/policy_broker.cc',
|
||||
'src/policy_broker.h',
|
||||
'src/policy_engine_opcodes.cc',
|
||||
'src/policy_engine_opcodes.h',
|
||||
'src/policy_engine_params.h',
|
||||
'src/policy_engine_processor.cc',
|
||||
'src/policy_engine_processor.h',
|
||||
'src/policy_low_level.cc',
|
||||
'src/policy_low_level.h',
|
||||
'src/policy_params.h',
|
||||
'src/policy_target.cc',
|
||||
'src/policy_target.h',
|
||||
'src/process_mitigations.cc',
|
||||
'src/process_mitigations.h',
|
||||
'src/process_mitigations_win32k_dispatcher.cc',
|
||||
'src/process_mitigations_win32k_dispatcher.h',
|
||||
'src/process_mitigations_win32k_interception.cc',
|
||||
'src/process_mitigations_win32k_interception.h',
|
||||
'src/process_mitigations_win32k_policy.cc',
|
||||
'src/process_mitigations_win32k_policy.h',
|
||||
'src/process_thread_dispatcher.cc',
|
||||
'src/process_thread_dispatcher.h',
|
||||
'src/process_thread_interception.cc',
|
||||
'src/process_thread_interception.h',
|
||||
'src/process_thread_policy.cc',
|
||||
'src/process_thread_policy.h',
|
||||
'src/registry_dispatcher.cc',
|
||||
'src/registry_dispatcher.h',
|
||||
'src/registry_interception.cc',
|
||||
'src/registry_interception.h',
|
||||
'src/registry_policy.cc',
|
||||
'src/registry_policy.h',
|
||||
'src/resolver.cc',
|
||||
'src/resolver.h',
|
||||
'src/restricted_token_utils.cc',
|
||||
'src/restricted_token_utils.h',
|
||||
'src/restricted_token.cc',
|
||||
'src/restricted_token.h',
|
||||
'src/sandbox_factory.h',
|
||||
'src/sandbox_globals.cc',
|
||||
'src/sandbox_nt_types.h',
|
||||
'src/sandbox_nt_util.cc',
|
||||
'src/sandbox_nt_util.h',
|
||||
'src/sandbox_policy_base.cc',
|
||||
'src/sandbox_policy_base.h',
|
||||
'src/sandbox_policy.h',
|
||||
'src/sandbox_rand.cc',
|
||||
'src/sandbox_rand.h',
|
||||
'src/sandbox_types.h',
|
||||
'src/sandbox_utils.cc',
|
||||
'src/sandbox_utils.h',
|
||||
'src/sandbox.cc',
|
||||
'src/sandbox.h',
|
||||
'src/security_level.h',
|
||||
'src/service_resolver.cc',
|
||||
'src/service_resolver.h',
|
||||
'src/sharedmem_ipc_client.cc',
|
||||
'src/sharedmem_ipc_client.h',
|
||||
'src/sharedmem_ipc_server.cc',
|
||||
'src/sharedmem_ipc_server.h',
|
||||
'src/sid.cc',
|
||||
'src/sid.h',
|
||||
'src/sync_dispatcher.cc',
|
||||
'src/sync_dispatcher.h',
|
||||
'src/sync_interception.cc',
|
||||
'src/sync_interception.h',
|
||||
'src/sync_policy.cc',
|
||||
'src/sync_policy.h',
|
||||
'src/target_interceptions.cc',
|
||||
'src/target_interceptions.h',
|
||||
'src/target_process.cc',
|
||||
'src/target_process.h',
|
||||
'src/target_services.cc',
|
||||
'src/target_services.h',
|
||||
'src/top_level_dispatcher.cc',
|
||||
'src/top_level_dispatcher.h',
|
||||
'src/win_utils.cc',
|
||||
'src/win_utils.h',
|
||||
'src/win2k_threadpool.cc',
|
||||
'src/win2k_threadpool.h',
|
||||
'src/window.cc',
|
||||
'src/window.h',
|
||||
],
|
||||
'target_conditions': [
|
||||
['target_arch=="x64"', {
|
||||
'sources': [
|
||||
'src/interceptors_64.cc',
|
||||
'src/interceptors_64.h',
|
||||
'src/resolver_64.cc',
|
||||
'src/service_resolver_64.cc',
|
||||
],
|
||||
}],
|
||||
['target_arch=="ia32"', {
|
||||
'sources': [
|
||||
'src/resolver_32.cc',
|
||||
'src/service_resolver_32.cc',
|
||||
'src/sidestep_resolver.cc',
|
||||
'src/sidestep_resolver.h',
|
||||
'src/sidestep\ia32_modrm_map.cpp',
|
||||
'src/sidestep\ia32_opcode_map.cpp',
|
||||
'src/sidestep\mini_disassembler_types.h',
|
||||
'src/sidestep\mini_disassembler.cpp',
|
||||
'src/sidestep\mini_disassembler.h',
|
||||
'src/sidestep\preamble_patcher_with_stub.cpp',
|
||||
'src/sidestep\preamble_patcher.h',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'sandbox_windows_target': 1,
|
||||
},
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base',
|
||||
'../base/base.gyp:base_static',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../base/base.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_integration_tests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'sandbox',
|
||||
'sbox_integration_test_hook_dll',
|
||||
'sbox_integration_test_win_proc',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'src/address_sanitizer_test.cc',
|
||||
'src/app_container_test.cc',
|
||||
'src/file_policy_test.cc',
|
||||
'src/handle_inheritance_test.cc',
|
||||
'tests/integration_tests/integration_tests_test.cc',
|
||||
'src/handle_closer_test.cc',
|
||||
'src/integrity_level_test.cc',
|
||||
'src/ipc_ping_test.cc',
|
||||
'src/lpc_policy_test.cc',
|
||||
'src/named_pipe_policy_test.cc',
|
||||
'src/policy_target_test.cc',
|
||||
'src/process_mitigations_test.cc',
|
||||
'src/process_policy_test.cc',
|
||||
'src/registry_policy_test.cc',
|
||||
'src/restricted_token_test.cc',
|
||||
'src/sync_policy_test.cc',
|
||||
'src/sync_policy_test.h',
|
||||
'src/unload_dll_test.cc',
|
||||
'tests/common/controller.cc',
|
||||
'tests/common/controller.h',
|
||||
'tests/common/test_utils.cc',
|
||||
'tests/common/test_utils.h',
|
||||
'tests/integration_tests/integration_tests.cc',
|
||||
'tests/integration_tests/integration_tests_common.h',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-ldxva2.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_integration_test_hook_dll',
|
||||
'type': 'shared_library',
|
||||
'dependencies': [
|
||||
],
|
||||
'sources': [
|
||||
'tests/integration_tests/hooking_dll.cc',
|
||||
'tests/integration_tests/integration_tests_common.h',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_integration_test_win_proc',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
],
|
||||
'sources': [
|
||||
'tests/integration_tests/hooking_win_proc.cc',
|
||||
'tests/integration_tests/integration_tests_common.h',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_validation_tests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'sandbox',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'tests/common/controller.cc',
|
||||
'tests/common/controller.h',
|
||||
'tests/validation_tests/unit_tests.cc',
|
||||
'tests/validation_tests/commands.cc',
|
||||
'tests/validation_tests/commands.h',
|
||||
'tests/validation_tests/suite.cc',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-lshlwapi.lib',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'sandbox',
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'src/interception_unittest.cc',
|
||||
'src/service_resolver_unittest.cc',
|
||||
'src/restricted_token_unittest.cc',
|
||||
'src/job_unittest.cc',
|
||||
'src/sid_unittest.cc',
|
||||
'src/policy_engine_unittest.cc',
|
||||
'src/policy_low_level_unittest.cc',
|
||||
'src/policy_opcodes_unittest.cc',
|
||||
'src/ipc_unittest.cc',
|
||||
'src/sandbox_nt_util_unittest.cc',
|
||||
'src/threadpool_unittest.cc',
|
||||
'src/win_utils_unittest.cc',
|
||||
'tests/common/test_utils.cc',
|
||||
'tests/common/test_utils.h',
|
||||
'tests/unit_tests/unit_tests.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'sandbox_poc',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'sandbox',
|
||||
'pocdll',
|
||||
],
|
||||
'sources': [
|
||||
'sandbox_poc/main_ui_window.cc',
|
||||
'sandbox_poc/main_ui_window.h',
|
||||
'sandbox_poc/resource.h',
|
||||
'sandbox_poc/sandbox.cc',
|
||||
'sandbox_poc/sandbox.h',
|
||||
'sandbox_poc/sandbox.ico',
|
||||
'sandbox_poc/sandbox.rc',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-lcomctl32.lib',
|
||||
],
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'pocdll',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'sandbox_poc/pocdll/exports.h',
|
||||
'sandbox_poc/pocdll/fs.cc',
|
||||
'sandbox_poc/pocdll/handles.cc',
|
||||
'sandbox_poc/pocdll/invasive.cc',
|
||||
'sandbox_poc/pocdll/network.cc',
|
||||
'sandbox_poc/pocdll/pocdll.cc',
|
||||
'sandbox_poc/pocdll/processes_and_threads.cc',
|
||||
'sandbox_poc/pocdll/registry.cc',
|
||||
'sandbox_poc/pocdll/spyware.cc',
|
||||
'sandbox_poc/pocdll/utils.h',
|
||||
],
|
||||
'defines': [
|
||||
'POCDLL_EXPORTS',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win" and target_arch=="ia32"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sandbox_win64',
|
||||
'type': 'static_library',
|
||||
'variables': {
|
||||
'sandbox_windows_target': 1,
|
||||
'target_arch': 'x64',
|
||||
},
|
||||
'dependencies': [
|
||||
'../base/base.gyp:base_win64',
|
||||
'../base/base.gyp:base_static_win64',
|
||||
],
|
||||
'configurations': {
|
||||
'Common_Base': {
|
||||
'msvs_target_platform': 'x64',
|
||||
},
|
||||
},
|
||||
'include_dirs': [
|
||||
'../..',
|
||||
],
|
||||
'defines': [
|
||||
'<@(nacl_win64_defines)',
|
||||
]
|
||||
},
|
||||
],
|
||||
}],
|
||||
['test_isolation_mode != "noop"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sbox_integration_tests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sbox_integration_tests',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'../sbox_integration_tests.isolate',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_unittests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sbox_unittests',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'../sbox_unittests.isolate',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'sbox_validation_tests_run',
|
||||
'type': 'none',
|
||||
'dependencies': [
|
||||
'sbox_validation_tests',
|
||||
],
|
||||
'includes': [
|
||||
'../../build/isolate.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'../sbox_validation_tests.isolate',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
# Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
||||
# This gypi file contains all the Chrome-specific enhancements to Skia.
|
||||
# In component mode (shared_lib) it is folded into a single shared library with
|
||||
# the Skia files but in all other cases it is a separate library.
|
||||
{
|
||||
'dependencies': [
|
||||
'skia_library',
|
||||
'../base/base.gyp:base',
|
||||
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
],
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'ext',
|
||||
],
|
||||
},
|
||||
'variables': {
|
||||
# TODO(scottmg): http://crbug.com/177306
|
||||
'clang_warning_flags_unset': [
|
||||
# Don't warn about string->bool used in asserts.
|
||||
'-Wstring-conversion',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
# Note: file list duplicated in GN build.
|
||||
'ext/analysis_canvas.cc',
|
||||
'ext/benchmarking_canvas.cc',
|
||||
'ext/bitmap_platform_device_cairo.cc',
|
||||
'ext/bitmap_platform_device_mac.cc',
|
||||
'ext/bitmap_platform_device_skia.cc',
|
||||
'ext/bitmap_platform_device_win.cc',
|
||||
'ext/convolver.cc',
|
||||
'ext/event_tracer_impl.cc',
|
||||
'ext/fontmgr_default_win.cc',
|
||||
'ext/google_logging.cc',
|
||||
'ext/image_operations.cc',
|
||||
'ext/opacity_filter_canvas.cc',
|
||||
'ext/platform_canvas.cc',
|
||||
'ext/platform_device.cc',
|
||||
'ext/platform_device_linux.cc',
|
||||
'ext/platform_device_mac.cc',
|
||||
'ext/platform_device_win.cc',
|
||||
'ext/recursive_gaussian_convolution.cc',
|
||||
'ext/SkDiscardableMemory_chrome.cc',
|
||||
'ext/SkMemory_new_handler.cpp',
|
||||
'ext/skia_histogram.cc',
|
||||
'ext/skia_memory_dump_provider.cc',
|
||||
'ext/skia_trace_memory_dump_impl.cc',
|
||||
'ext/skia_utils_base.cc',
|
||||
'ext/skia_utils_ios.mm',
|
||||
'ext/skia_utils_mac.mm',
|
||||
'ext/skia_utils_win.cc',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'OS == "ios"', {
|
||||
'sources!': [
|
||||
'ext/platform_canvas.cc',
|
||||
],
|
||||
}],
|
||||
[ 'OS == "android" and '
|
||||
'enable_basic_printing==0 and enable_print_preview==0', {
|
||||
'sources!': [
|
||||
'ext/skia_utils_base.cc',
|
||||
],
|
||||
}],
|
||||
[ 'OS != "android" and (OS != "linux" or use_cairo==1)', {
|
||||
'sources!': [
|
||||
'ext/bitmap_platform_device_skia.cc',
|
||||
],
|
||||
}],
|
||||
[ 'OS != "ios" and target_arch != "arm" and target_arch != "mipsel" and \
|
||||
target_arch != "arm64" and target_arch != "mips64el"', {
|
||||
'sources': [
|
||||
'ext/convolver_SSE2.cc',
|
||||
],
|
||||
}],
|
||||
[ 'target_arch == "mipsel" and mips_dsp_rev >= 2',{
|
||||
'sources': [
|
||||
'ext/convolver_mips_dspr2.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'target_conditions': [
|
||||
# Pull in specific linux files for android (which have been filtered out
|
||||
# by file name rules).
|
||||
[ 'OS == "android"', {
|
||||
'sources/': [
|
||||
['include', 'ext/platform_device_linux\\.cc$'],
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
@ -1,186 +0,0 @@
|
||||
# Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# This gypi file handles the removal of platform-specific files from the
|
||||
# Skia build.
|
||||
{
|
||||
'includes': [
|
||||
# chromium_skia_defines.gypi defines chromium_skia_defines
|
||||
'chromium_skia_defines.gypi',
|
||||
|
||||
# skia_for_chromium_defines.gypi defines skia_for_chromium_defines
|
||||
'../third_party/skia/gyp/skia_for_chromium_defines.gypi',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'..',
|
||||
'config',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
[ 'OS != "android"', {
|
||||
'sources/': [
|
||||
['exclude', '_android\\.(cc|cpp)$'],
|
||||
],
|
||||
}],
|
||||
[ 'OS != "ios"', {
|
||||
'sources/': [
|
||||
['exclude', '_ios\\.(cc|cpp|mm?)$'],
|
||||
],
|
||||
}],
|
||||
[ 'OS == "ios"', {
|
||||
'defines': [
|
||||
# When targetting iOS and using gyp to generate the build files, it is
|
||||
# not possible to select files to build depending on the architecture
|
||||
# (i.e. it is not possible to use hand optimized assembly version). In
|
||||
# that configuration, disable all optimisation.
|
||||
'SK_BUILD_FOR_IOS',
|
||||
'SK_BUILD_NO_OPTS',
|
||||
],
|
||||
}],
|
||||
[ 'OS != "mac"', {
|
||||
'sources/': [
|
||||
['exclude', '_mac\\.(cc|cpp|mm?)$'],
|
||||
],
|
||||
}],
|
||||
[ 'OS == "mac"', {
|
||||
'defines': [
|
||||
'SK_BUILD_FOR_MAC',
|
||||
],
|
||||
}],
|
||||
[ 'OS != "win"', {
|
||||
'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
|
||||
}],
|
||||
[ 'OS == "win"', {
|
||||
'defines': [
|
||||
# On windows, GDI handles are a scarse system-wide resource so we have to keep
|
||||
# the glyph cache, which holds up to 4 GDI handles per entry, to a fairly small
|
||||
# size.
|
||||
# http://crbug.com/314387
|
||||
'SK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256',
|
||||
'GR_GL_FUNCTION_TYPE=__stdcall',
|
||||
],
|
||||
}],
|
||||
[ 'desktop_linux == 0 and chromeos == 0', {
|
||||
'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
|
||||
}],
|
||||
[ 'use_cairo == 0', {
|
||||
'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ],
|
||||
}],
|
||||
|
||||
#Settings for text blitting, chosen to approximate the system browser.
|
||||
[ 'OS == "linux"', {
|
||||
'defines': [
|
||||
'SK_GAMMA_EXPONENT=1.2',
|
||||
'SK_GAMMA_CONTRAST=0.2',
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'defines': [
|
||||
'SK_GAMMA_APPLY_TO_A8',
|
||||
'SK_GAMMA_EXPONENT=1.4',
|
||||
'SK_GAMMA_CONTRAST=0.0',
|
||||
],
|
||||
}],
|
||||
['OS == "win"', {
|
||||
'defines': [
|
||||
'SK_GAMMA_SRGB',
|
||||
'SK_GAMMA_CONTRAST=0.5',
|
||||
],
|
||||
}],
|
||||
['OS == "mac"', {
|
||||
'defines': [
|
||||
'SK_GAMMA_SRGB',
|
||||
'SK_GAMMA_CONTRAST=0.0',
|
||||
],
|
||||
}],
|
||||
|
||||
# Neon support.
|
||||
[ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 1', {
|
||||
'defines': [
|
||||
'SK_ARM_HAS_NEON',
|
||||
],
|
||||
}],
|
||||
[ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 0 and arm_neon_optional == 1', {
|
||||
'defines': [
|
||||
'SK_ARM_HAS_OPTIONAL_NEON',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'variables': {
|
||||
'variables': {
|
||||
'conditions': [
|
||||
['OS== "ios"', {
|
||||
'skia_support_gpu': 0,
|
||||
}, {
|
||||
'skia_support_gpu': 1,
|
||||
}],
|
||||
['OS=="ios" or (enable_basic_printing==0 and enable_print_preview==0)', {
|
||||
'skia_support_pdf': 0,
|
||||
}, {
|
||||
'skia_support_pdf': 1,
|
||||
}],
|
||||
],
|
||||
},
|
||||
'skia_support_gpu': '<(skia_support_gpu)',
|
||||
'skia_support_pdf': '<(skia_support_pdf)',
|
||||
|
||||
# These two set the paths so we can include skia/gyp/core.gypi
|
||||
'skia_src_path': '../third_party/skia/src',
|
||||
'skia_include_path': '../third_party/skia/include',
|
||||
|
||||
# This list will contain all defines that also need to be exported to
|
||||
# dependent components.
|
||||
'skia_export_defines': [
|
||||
'SK_SUPPORT_GPU=<(skia_support_gpu)',
|
||||
|
||||
# This variable contains additional defines, specified in the
|
||||
# chromium_skia_defines.gypi file.
|
||||
'<@(chromium_skia_defines)',
|
||||
|
||||
# This variable contains additional defines, specified in skia's
|
||||
# skia_for_chromium_defines.gypi file.
|
||||
'<@(skia_for_chromium_defines)',
|
||||
],
|
||||
|
||||
'default_font_cache_limit%': '(20*1024*1024)',
|
||||
|
||||
'conditions': [
|
||||
['OS== "android"', {
|
||||
# Android devices are typically more memory constrained, so
|
||||
# default to a smaller glyph cache (it may be overriden at runtime
|
||||
# when the renderer starts up, depending on the actual device memory).
|
||||
'default_font_cache_limit': '(1*1024*1024)',
|
||||
'skia_export_defines': [
|
||||
'SK_BUILD_FOR_ANDROID',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
||||
'defines': [
|
||||
'<@(skia_export_defines)',
|
||||
|
||||
'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)',
|
||||
],
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'defines': [
|
||||
'<@(skia_export_defines)',
|
||||
],
|
||||
},
|
||||
|
||||
# We would prefer this to be direct_dependent_settings,
|
||||
# however we currently have no means to enforce that direct dependents
|
||||
# re-export if they include Skia headers in their public headers.
|
||||
'all_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'..',
|
||||
'config',
|
||||
],
|
||||
},
|
||||
|
||||
'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],
|
||||
}
|
@ -1,314 +0,0 @@
|
||||
# Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
||||
# This gypi file contains the Skia library.
|
||||
# In component mode (shared_lib) it is folded into a single shared library with
|
||||
# the Chrome-specific enhancements but in all other cases it is a separate lib.
|
||||
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
# variables and defines should go in skia_common.gypi so they can be seen
|
||||
# by files listed here and in skia_library_opts.gypi.
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
{
|
||||
'dependencies': [
|
||||
'skia_library_opts.gyp:skia_opts',
|
||||
'../third_party/zlib/zlib.gyp:zlib',
|
||||
],
|
||||
|
||||
'includes': [
|
||||
'../third_party/skia/gyp/core.gypi',
|
||||
'../third_party/skia/gyp/effects.gypi',
|
||||
'../third_party/skia/gyp/pdf.gypi',
|
||||
'../third_party/skia/gyp/utils.gypi',
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'../third_party/skia/src/ports/SkImageEncoder_none.cpp',
|
||||
|
||||
'../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp',
|
||||
'../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp',
|
||||
'../third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp',
|
||||
'../third_party/skia/src/ports/SkFontMgr_FontConfigInterface_factory.cpp',
|
||||
|
||||
'../third_party/skia/src/fonts/SkFontMgr_indirect.cpp',
|
||||
'../third_party/skia/src/fonts/SkRemotableFontMgr.cpp',
|
||||
'../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp',
|
||||
|
||||
'../third_party/skia/src/ports/SkImageGenerator_none.cpp',
|
||||
|
||||
'../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
|
||||
'../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp',
|
||||
'../third_party/skia/src/ports/SkFontHost_mac.cpp',
|
||||
'../third_party/skia/src/ports/SkFontHost_win.cpp',
|
||||
"../third_party/skia/src/ports/SkFontMgr_android.cpp",
|
||||
"../third_party/skia/src/ports/SkFontMgr_android_factory.cpp",
|
||||
'../third_party/skia/src/ports/SkFontMgr_android_parser.cpp',
|
||||
'../third_party/skia/src/ports/SkFontMgr_win_dw.cpp',
|
||||
'../third_party/skia/src/ports/SkGlobalInitialization_default.cpp',
|
||||
'../third_party/skia/src/ports/SkOSFile_posix.cpp',
|
||||
'../third_party/skia/src/ports/SkOSFile_stdio.cpp',
|
||||
'../third_party/skia/src/ports/SkOSFile_win.cpp',
|
||||
'../third_party/skia/src/ports/SkScalerContext_win_dw.cpp',
|
||||
'../third_party/skia/src/ports/SkTLS_pthread.cpp',
|
||||
'../third_party/skia/src/ports/SkTLS_win.cpp',
|
||||
'../third_party/skia/src/ports/SkTypeface_win_dw.cpp',
|
||||
|
||||
'../third_party/skia/src/sfnt/SkOTTable_name.cpp',
|
||||
'../third_party/skia/src/sfnt/SkOTUtils.cpp',
|
||||
],
|
||||
|
||||
# Exclude all unused files in skia utils.gypi file
|
||||
'sources!': [
|
||||
'../third_party/skia/src/utils/SkBoundaryPatch.cpp',
|
||||
'../third_party/skia/src/utils/SkFrontBufferedStream.cpp',
|
||||
'../third_party/skia/src/utils/SkCamera.cpp',
|
||||
'../third_party/skia/src/utils/SkDumpCanvas.cpp',
|
||||
'../third_party/skia/src/utils/SkInterpolator.cpp',
|
||||
'../third_party/skia/src/utils/SkLayer.cpp',
|
||||
'../third_party/skia/src/utils/SkMeshUtils.cpp',
|
||||
'../third_party/skia/src/utils/SkOSFile.cpp',
|
||||
'../third_party/skia/src/utils/SkParsePath.cpp',
|
||||
|
||||
#windows
|
||||
'../third_party/skia/src/utils/win/SkAutoCoInitialize.cpp',
|
||||
'../third_party/skia/src/utils/win/SkIStream.cpp',
|
||||
'../third_party/skia/src/utils/win/SkWGL_win.cpp',
|
||||
|
||||
#testing
|
||||
'../third_party/skia/src/fonts/SkGScalerContext.cpp',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/c',
|
||||
'../third_party/skia/include/core',
|
||||
'../third_party/skia/include/client/android',
|
||||
'../third_party/skia/include/effects',
|
||||
'../third_party/skia/include/images',
|
||||
'../third_party/skia/include/lazy',
|
||||
'../third_party/skia/include/pathops',
|
||||
'../third_party/skia/include/pdf',
|
||||
'../third_party/skia/include/pipe',
|
||||
'../third_party/skia/include/ports',
|
||||
'../third_party/skia/include/private',
|
||||
'../third_party/skia/include/utils',
|
||||
'../third_party/skia/src/core',
|
||||
'../third_party/skia/src/opts',
|
||||
'../third_party/skia/src/image',
|
||||
'../third_party/skia/src/pdf',
|
||||
'../third_party/skia/src/ports',
|
||||
'../third_party/skia/src/sfnt',
|
||||
'../third_party/skia/src/utils',
|
||||
'../third_party/skia/src/lazy',
|
||||
],
|
||||
'conditions': [
|
||||
['skia_support_gpu != 0', {
|
||||
'includes': [
|
||||
'../third_party/skia/gyp/gpu.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'<@(skgpu_null_gl_sources)',
|
||||
'<@(skgpu_sources)',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/gpu',
|
||||
'../third_party/skia/src/gpu',
|
||||
],
|
||||
}],
|
||||
['skia_support_pdf == 0', {
|
||||
'sources/': [
|
||||
['exclude', '../third_party/skia/src/doc/SkDocument_PDF.cpp'],
|
||||
['exclude', '../third_party/skia/src/pdf/'],
|
||||
],
|
||||
}],
|
||||
['skia_support_pdf == 1', {
|
||||
'dependencies': [
|
||||
'../third_party/sfntly/sfntly.gyp:sfntly',
|
||||
],
|
||||
}],
|
||||
|
||||
[ 'OS == "win"', {
|
||||
'sources!': [
|
||||
# Keeping _win.cpp
|
||||
"../third_party/skia/src/utils/SkThreadUtils_pthread.cpp",
|
||||
],
|
||||
},{
|
||||
'sources!': [
|
||||
# Keeping _pthread.cpp
|
||||
"../third_party/skia/src/utils/SkThreadUtils_win.cpp",
|
||||
],
|
||||
}],
|
||||
|
||||
[ 'OS != "mac"', {
|
||||
'sources/': [
|
||||
['exclude', '/mac/']
|
||||
],
|
||||
}],
|
||||
[ 'OS == "android" and target_arch == "arm"', {
|
||||
'sources': [
|
||||
'../third_party/skia/src/core/SkUtilsArm.cpp',
|
||||
],
|
||||
'dependencies': [
|
||||
'../build/android/ndk.gyp:cpu_features',
|
||||
],
|
||||
}],
|
||||
[ 'desktop_linux == 1 or chromeos == 1', {
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:fontconfig',
|
||||
'../build/linux/system.gyp:freetype2',
|
||||
'../third_party/expat/expat.gyp:expat',
|
||||
'../third_party/icu/icu.gyp:icuuc',
|
||||
],
|
||||
'cflags': [
|
||||
'-Wno-unused',
|
||||
'-Wno-unused-function',
|
||||
],
|
||||
}],
|
||||
[ 'use_cairo == 1 and use_pango == 1', {
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:pangocairo',
|
||||
],
|
||||
}],
|
||||
[ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
|
||||
'sources!': [
|
||||
'../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp',
|
||||
'../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp',
|
||||
'../third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp',
|
||||
'../third_party/skia/src/ports/SkFontMgr_FontConfigInterface_factory.cpp',
|
||||
],
|
||||
}],
|
||||
[ 'OS=="win" or OS=="mac" or OS=="ios"', {
|
||||
'sources!': [
|
||||
'../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
|
||||
'../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp',
|
||||
|
||||
],
|
||||
}],
|
||||
[ 'OS == "android"', {
|
||||
'dependencies': [
|
||||
'../third_party/expat/expat.gyp:expat',
|
||||
'../third_party/freetype-android/freetype.gyp:ft2',
|
||||
],
|
||||
# This exports a hard dependency because it needs to run its
|
||||
# symlink action in order to expose the skia header files.
|
||||
'hard_dependency': 1,
|
||||
'include_dirs': [
|
||||
'../third_party/expat/files/lib',
|
||||
],
|
||||
},{ # not 'OS == "android"'
|
||||
'sources!': [
|
||||
"../third_party/skia/src/ports/SkFontMgr_android_factory.cpp",
|
||||
'../third_party/skia/src/ports/SkFontMgr_android_parser.cpp',
|
||||
],
|
||||
}],
|
||||
[ 'OS == "ios"', {
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/utils/ios',
|
||||
'../third_party/skia/include/utils/mac',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
# This file is used on both iOS and Mac, so it should be removed
|
||||
# from the ios and mac conditions and moved into the main sources
|
||||
# list.
|
||||
'../third_party/skia/src/utils/mac/SkStream_mac.cpp',
|
||||
],
|
||||
|
||||
# The main skia_opts target does not currently work on iOS because the
|
||||
# target architecture on iOS is determined at compile time rather than
|
||||
# gyp time (simulator builds are x86, device builds are arm). As a
|
||||
# temporary measure, this is a separate opts target for iOS-only, using
|
||||
# the _none.cpp files to avoid architecture-dependent implementations.
|
||||
'dependencies': [
|
||||
'skia_library_opts.gyp:skia_opts_none',
|
||||
],
|
||||
'dependencies!': [
|
||||
'skia_library_opts.gyp:skia_opts',
|
||||
],
|
||||
}],
|
||||
[ 'OS == "mac"', {
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/utils/mac',
|
||||
],
|
||||
},
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/utils/mac',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'../third_party/skia/src/utils/mac/SkStream_mac.cpp',
|
||||
],
|
||||
}],
|
||||
[ 'OS == "win"', {
|
||||
'sources!': [
|
||||
'../third_party/skia/src/ports/SkOSFile_posix.cpp',
|
||||
'../third_party/skia/src/ports/SkTLS_pthread.cpp',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/utils/win',
|
||||
'../third_party/skia/src/utils/win',
|
||||
],
|
||||
},{ # not 'OS == "win"'
|
||||
'sources!': [
|
||||
'../third_party/skia/src/ports/SkFontMgr_win_dw.cpp',
|
||||
'../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp',
|
||||
'../third_party/skia/src/ports/SkScalerContext_win_dw.cpp',
|
||||
'../third_party/skia/src/ports/SkTypeface_win_dw.cpp',
|
||||
|
||||
'../third_party/skia/src/utils/win/SkDWrite.cpp',
|
||||
'../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp',
|
||||
'../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp',
|
||||
'../third_party/skia/src/utils/win/SkHRESULT.cpp',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'target_conditions': [
|
||||
# Pull in specific Mac files for iOS (which have been filtered out
|
||||
# by file name rules).
|
||||
[ 'OS == "ios"', {
|
||||
'sources/': [
|
||||
['include', 'SkFontHost_mac\\.cpp$',],
|
||||
['include', 'SkStream_mac\\.cpp$',],
|
||||
['include', 'SkCreateCGImageRef\\.cpp$',],
|
||||
],
|
||||
'xcode_settings' : {
|
||||
'WARNING_CFLAGS': [
|
||||
# SkFontHost_mac.cpp uses API deprecated in iOS 7, crbug.com/408571
|
||||
'-Wno-deprecated-declarations',
|
||||
],
|
||||
},
|
||||
}],
|
||||
# Add the files for the SkFontMgr_Android. This is used to emulate android
|
||||
# fonts on linux. See content/zygote/zygote_main_linux.cc
|
||||
[ 'OS == "linux"', {
|
||||
'sources/': [
|
||||
['include', 'SkFontMgr_android\\.cpp$',],
|
||||
['include', 'SkFontMgr_android_parser\\.cpp$',],
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'../third_party/skia/include/core',
|
||||
'../third_party/skia/include/effects',
|
||||
'../third_party/skia/include/pdf',
|
||||
'../third_party/skia/include/gpu',
|
||||
'../third_party/skia/include/lazy',
|
||||
'../third_party/skia/include/pathops',
|
||||
'../third_party/skia/include/pipe',
|
||||
'../third_party/skia/include/ports',
|
||||
'../third_party/skia/include/utils',
|
||||
],
|
||||
},
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user