This removes GYP dependencies in tizen_src.
Change-Id: Iedd7c5e6f1665f601e04100a4c0d46ee728bcc58
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
--no-content-shell Don't build content_shell application
--debug Build debug version of chromium-efl (out.${host_arch}/Debug instead of out.${host_arch}/Release)
-jN Set number of jobs, just like with make or ninja
- --skip-gyp Skip restore_gyp, jhbuild and gyp_chromium steps
--skip-ninja Skip ninja step
examples:
-$0 --skip-gyp
-$0 --skip-gyp --ccache
+$0 --ccache
$0 --skip-ninja
EOF
exit
function parseHostBuildScriptParams() {
- export SKIP_GYP=0
export USE_CCACHE=0
export USE_CLANG=0
export FORCE_JHBUILD=0
-h|--help)
hostBuldScriptUsage ${0}
;;
- --skip-gyp)
- export SKIP_GYP=1
- ;;
--skip-gn)
export SKIP_GN=1
;;
done
}
-function hostGypChromiumEfl() {
- if [[ $SKIP_GYP == 0 ]]; then
- local XWALK_ARG=""
- local COMPONENT_ARG=""
- if [[ $BUILD_XWALK == 1 ]]; then
- XWALK_ARG="--xwalk"
- fi
- if [[ $COMPONENT_BUILD == 1 ]]; then
- COMPONENT_ARG="-Dcomponent=shared_library"
- fi
- ${TOPDIR}/tizen_src/build/gyp_chromiumefl.sh \
- $XWALK_ARG \
- $COMPONENT_ARG \
- -Doutdir="$TOPDIR/out.$(getHostArch)" \
- $@
- fi
-}
-
function hostGnChromiumEfl() {
if [[ $SKIP_GN != 1 ]]; then
local XWALK_ARG=""
count=$(( $count + 1 ))
ARGS[$count]="_skip_ninja 1"
;;
- --skip-gyp)
- ARGS[$count]=--define
- count=$(( $count + 1 ))
- ARGS[$count]="_skip_gyp 1"
- ;;
--skip-gn)
ARGS[$count]=--define
count=$(( $count + 1 ))
rollbackGbsSysrootChanges $1
}
-if [ -z "$GYP_GENERATOR_OUTPUT" ]; then
- export GYP_GENERATOR_OUTPUT=${TOPDIR}/"out.cross.arm"
-fi
-
parseHostBuildScriptParams crosscompile $@
if [ -z "$GBS_ROOT_PATH" ]; then
export SYSROOTDIR="${GBS_ROOT_PATH}"/local/BUILD-ROOTS/scratch.armv7l.0
export PKG_CONFIG_SYSROOT_DIR="${SYSROOTDIR}"
export PKG_CONFIG_PATH="${SYSROOTDIR}/usr/lib/pkgconfig:${SYSROOTDIR}/usr/share/pkgconfig"
-export GYP_CROSSCOMPILE=1
export PATH="${TOPDIR}/build/cross-shim:$PATH"
preBuild ${SYSROOTDIR}
-export __GYP_CHROMIUMEFL_TARGET=crosscompile
-hostGypChromiumEfl -Dbuilding_for_tizen_mobile=1
-
hostNinja crosscompile
RET=$?
rollbackGbsSysrootChanges $1
}
-if [ -z "$GYP_GENERATOR_OUTPUT" ]; then
- export GYP_GENERATOR_OUTPUT=${TOPDIR}/"out.cross.tv.arm"
-fi
-
parseHostBuildScriptParams crosscompile $@
if [ -z "$GBS_ROOT_PATH" ]; then
export SYSROOTDIR="${GBS_ROOT_PATH}"/local/BUILD-ROOTS/scratch.armv7l.0
export PKG_CONFIG_SYSROOT_DIR="${SYSROOTDIR}"
export PKG_CONFIG_PATH="${SYSROOTDIR}/usr/lib/pkgconfig:${SYSROOTDIR}/usr/share/pkgconfig"
-export GYP_CROSSCOMPILE=1
export PATH="${TOPDIR}/build/cross-shim:$PATH"
preBuild ${SYSROOTDIR}
-export __GYP_CHROMIUMEFL_TARGET=crosscompile
-hostGypChromiumEfl -Dbuilding_for_tizen_tv=1 -Dchromium_efl_tizen_version="2.4"
-
hostNinja crosscompile
RET=$?
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'target_conditions': [
- ['<(use_efl)==0', {
- 'source/': [
- [ 'exclude', '_efl\.(h|cc)$' ],
- ],
- }],
- ]
-}
+++ /dev/null
-#!/usr/bin/env python
-
-import argparse
-import glob
-import os
-import shlex
-import subprocess
-import sys
-
-top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
-if '--xwalk' in sys.argv:
- xwalk_dir = os.path.join(top_dir, '..', 'xwalk')
- sys.argv.remove('--xwalk')
-else:
- xwalk_dir = None
-chrome_src = os.environ.get('CHROME_SRC')
-if chrome_src:
- chrome_src = os.path.abspath(chrome_src)
-if not chrome_src or not os.path.isdir(chrome_src):
- chrome_src = os.path.join(top_dir, '..')
- print 'CHROME_SRC not set, falling back to ' + chrome_src
-
-script_dir = os.path.abspath(os.path.join(chrome_src, 'build'))
-if not os.path.isdir(script_dir):
- print script_dir + " is not a valid directory"
- sys.exit(1)
-
-sys.path.insert(0, script_dir)
-import gyp_helper
-sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
-import gyp
-import gyp.generator.ninja
-
-
-def gyp_ninja_override_CalculateVariables(default_variables, params):
- """Calculate additional variables for use in the build (called by gyp)."""
-
- default_variables.setdefault('OS', 'linux')
- default_variables.setdefault('gcc_version', '49')
- default_variables.setdefault('SHARED_LIB_SUFFIX', '.so')
- default_variables.setdefault('SHARED_LIB_DIR',
- os.path.join('$!PRODUCT_DIR', 'lib'))
- # Take into account the fact that toplevel_dir might not be equal to depth
- toplevel_offset = ''
- if 'options' in params:
- options = params['options']
- toplevel_offset = os.path.relpath(options.depth, options.toplevel_dir)
- default_variables.setdefault('LIB_DIR',
- os.path.join('$!PRODUCT_DIR', 'obj', toplevel_offset))
-
-# Override CalculateVariables functions in gyp ninja generator instead of patching gyp.
-gyp.generator.ninja.CalculateVariables = gyp_ninja_override_CalculateVariables
-
-# Add paths so that pymod_do_main(...) can import files.
-sys.path.insert(1, os.path.join(chrome_src, 'tools', 'generate_shim_headers'))
-sys.path.insert(1, os.path.join(chrome_src, 'tools', 'grit'))
-
-sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
- 'Source', 'core', 'core.gyp', 'scripts'))
-# Remove the above and keep the line below once we require a newer specific
-# Chromium revision.
-sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
- 'Source', 'build', 'scripts'))
-sys.path.insert(1, os.path.join(chrome_src, 'chrome', 'tools', 'build'))
-sys.path.insert(1, os.path.join(chrome_src, 'native_client', 'build'))
-
-import repack_locales
-
-def additional_include_files(args=[]):
- """
- Returns a list of additional (.gypi) files to include, without
- duplicating ones that are already specified on the command line.
- """
- # Determine the include files specified on the command line.
- # This doesn't cover all the different option formats you can use,
- # but it's mainly intended to avoid duplicating flags on the automatic
- # makefile regeneration which only uses this format.
- specified_includes = set()
- for arg in args:
- if arg.startswith('-I') and len(arg) > 2:
- specified_includes.add(os.path.realpath(arg[2:]))
-
- result = []
- def AddInclude(path):
- if os.path.realpath(path) not in specified_includes:
- result.append(path)
-
- # Include xwalk common.gypi to effect chromium source tree.
- if xwalk_dir:
- AddInclude(os.path.join(xwalk_dir, 'build', 'common.gypi'))
-
- # Always include common.gypi.
- AddInclude(os.path.join(script_dir, 'common.gypi'))
-
- # Optionally add supplemental .gypi files if present.
- supplements = glob.glob(os.path.join(chrome_src, '*', 'supplement.gypi'))
- for supplement in supplements:
- AddInclude(supplement)
-
- return result
-
-
-def GetOutputDirectory():
- """Returns the output directory that GYP will use."""
-
- # Handle command line generator flags.
- parser = argparse.ArgumentParser()
- parser.add_argument('-G', dest='genflags', default=[], action='append')
- genflags = parser.parse_known_args()[0].genflags
-
- # Handle generator flags from the environment.
- genflags += shlex.split(os.environ.get('GYP_GENERATOR_FLAGS', ''))
-
- needle = 'output_dir='
- for item in genflags:
- if item.startswith(needle):
- return item[len(needle):]
-
- return 'out'
-
-
-if __name__ == '__main__':
- args = sys.argv[1:]
-
- # On Mac we want to override CXX and CC that is provided with
- # the Chromium GYP environment.
- if sys.platform.startswith('darwin'):
- os.environ['CXX'] = 'clang++'
- os.environ['CC'] = 'clang'
-
- gyp_helper.apply_chromium_gyp_env()
-
- # This could give false positives since it doesn't actually do real option
- # parsing. Oh well.
- gyp_file_specified = False
- for arg in args:
- if arg.endswith('.gyp'):
- gyp_file_specified = True
- break
-
- if not gyp_file_specified:
- args.append(os.path.join(top_dir, 'ewk', 'chromium-ewk.gyp'))
-
- if xwalk_dir:
- args.append(os.path.join(xwalk_dir, 'xwalk.gyp'))
-
- args.extend(['-I' + i for i in additional_include_files(args)])
-
- # On Mac we want to build in x64 mode. And we want to use libc++.
- # Even though we are not on linux, it seems we specifically have to disable linux_use_tcmalloc.
- if sys.platform in ('darwin',):
- args.extend(['-D', 'host_arch=x64', '-D', 'use_libcpp=1', '-D', 'linux_use_tcmalloc=0'])
-
- # There shouldn't be a circular dependency relationship between .gyp files,
- # but in Chromium's .gyp files, on non-Mac platforms, circular relationships
- # currently exist. The check for circular dependencies is currently
- # bypassed on other platforms, but is left enabled on the Mac, where a
- # violation of the rule causes Xcode to misbehave badly.
- # TODO(mark): Find and kill remaining circular dependencies, and remove this
- # option. http://crbug.com/35878.
- # TODO(tc): Fix circular dependencies in ChromiumOS then add linux2 to the
- # list.
- if sys.platform not in ('darwin',):
- args.append('--no-circular-check')
-
- # the top_level source directory is the first common ancestor of our module and the chromium source tree for the build to be sane.
- # commonprefix works on a character basis, so it might return a phony common prefix (not the common parent directory we expect),
- toplevel= os.path.commonprefix([top_dir, chrome_src])
- if not os.path.exists(toplevel):
- toplevel = os.path.join(toplevel, os.pardir)
- args.extend(["--toplevel-dir=" + toplevel])
- # Tweak the output location.
- args.extend(['--generator-output', os.path.abspath(GetOutputDirectory())])
- args.extend(['-Goutput_dir='+ os.path.abspath(GetOutputDirectory())])
- args.append("--check")
-
- # gyp on gbs fails with multiprocessing.SemLock() not implemented
- # disabling parallel gyp for gbs
- gbs_build = os.environ.get('BUILDING_WITH_GBS')
- if gbs_build:
- args.append("--no-parallel")
-
- # TODO(b.kelemen): remove the condition once gyp_trunk.py has landed.
- if os.path.exists(os.path.join(script_dir, 'gyp_trunk.py')):
- # gyp_trunk works on sys.argv so we merge |args| back.
- sys.argv = [sys.argv[0]] + args
-
- import gyp_trunk
- gyp_trunk.overwrite_arguments()
- args = sys.argv[1:]
-
-
- print 'Updating projects from gyp files...'
-
- # Off we go...
- sys.exit(gyp.main(args))
+++ /dev/null
-#!/bin/bash
-
-source $(dirname $0)/common.sh
-trap 'error_report $0 $LINENO' ERR SIGINT SIGTERM SIGQUIT
-host_arch=$(getHostArch)
-
-supported_targets=("mobile" "tv" "desktop")
-
-if [ -z "$GYP_GENERATOR_OUTPUT" ]; then
- GYP_GENERATOR_OUTPUT=${TOPDIR}/"out.${host_arch}"
-fi
-
-if [ -z "$GYP_GENERATOR_FLAGS" ]; then
- export GYP_GENERATOR_FLAGS="output_dir=${GYP_GENERATOR_OUTPUT}"
-fi
-
-EXTRA_GYP_ARGS="$@"
-
-# __GYP_CHROMIUMEFL_TARGET is defined when we are called from build_desktop.sh.
-# Otherwise we are called by gbs whch already passes the correct building_for_* flag.
-if [ "$__GYP_CHROMIUMEFL_TARGET" == "desktop" ]; then
- target=desktop
-fi
-
-while [[ $# > 0 ]]; do
- case "$1" in
- -Dbuilding_for_tizen_*=1)
- buildType="gbs"
- target=$(echo $1 | sed -e 's#-Dbuilding_for_tizen_\([a-z]*\)\=1#\1#')
- ;;
- -Dchromium_efl_tizen_version=*)
- tizen_version=$(echo $1 | sed -e 's#-Dchromium_efl_tizen_version\=\([0-9.]*\)#\1#')
- ;;
- -Dtizen_emulator_support=1)
- tizen_emulator_support=1
- ;;
- -Duse_wayland=1)
- use_wayland=1
- ;;
- --xwalk)
- building_xwalk=1
- ;;
- -Dbuilding_crosswalk_bin=*)
- building_xwalk_for_development=1
- ;;
- esac
- shift;
-done
-
-findElementInArray "$target" "${supported_targets[@]}"
-if [[ $? == 1 ]]; then
- echo "Unsupported target: $target"
- exit 1
-fi
-
-if [ "$__GYP_CHROMIUMEFL_TARGET" == "crosscompile" ]; then
- buildType=crosscompile
- EXTRA_GYP_ARGS+=" -Dedje_compiler=${TOPDIR}/out.${host_arch}/Dependencies/Root/bin/edje_cc"
-fi
-
-ORIGINAL_GYP_DEFINES="$GYP_DEFINES"
-export GYP_DEFINES=$(echo "$GYP_DEFINES" | sed -e 's/component\s*=\s*shared_library//g')
-if [ "$ORIGINAL_GYP_DEFINES" != "$GYP_DEFINES" ]; then
- echo "WARNING: component build is not supported."
- echo "Removing component=shared_library from GYP_DEFINES."
-fi
-
-COMMON_GYP_PARAMETERS="
- -Duse_libjpeg_turbo=1
- -Dproprietary_codecs=1
- -Duse_alsa=0
- -Duse_aura=0
- -Duse_efl=1
- -Duse_gconf=0
- -Duse_kerberos=0
- -Duse_ozone=1
- -Dozone_auto_platforms=0
- -Dozone_platform_wayland=0
- -Duse_gnome_keyring=0
- -Duse_pango=0
- -Duse_cairo=0
- -Denable_plugins=1
- -Denable_extensions=1
- -Duse_cups=0
- -Duse_allocator=none
- -Duse_libpci=0
- -Ddisable_fatal_linker_warnings=
- --depth=${TOPDIR}
- "
-
-if [ "$building_xwalk" == "1" ] && [ "$building_xwalk_for_development" != "1" ]; then
- COMMON_GYP_PARAMETERS+="
- -Dxwalk_link_against_chromium_ewk=1
- "
-fi
-
-add_desktop_flags() {
- ADDITIONAL_GYP_PARAMETERS+="-Dbuilding_for_tizen=0
- -Dbuilding_for_tizen_mobile=0
- -Dbuilding_for_tizen_tv=0
- -Dclang=${USE_CLANG}
- -Dwerror=
- -Duse_sysroot=0
- -Duse_wayland=0
- "
-}
-
-add_arm_flags() {
- ADDITIONAL_GYP_PARAMETERS+="-Darmv7=1
- -Darm_thumb=1
- -Darm_neon=1
- "
-}
-
-add_tizen_flags() {
- ADDITIONAL_GYP_PARAMETERS+="-Dbuilding_for_tizen=1
- -Dtizen=1
- -Dpython_ver=$(getPythonVersion)
- -Denable_basic_printing=1
- -Denable_print_preview=1
- -Dclang=0
- -Dlinux_use_bundled_gold=0
- -Dlinux_use_bundled_binutils=0
- -Ddisable_nacl=1
- -Dtizen_multimedia_eme_support=0
- "
-
- # TODO(youngsoo): Once binutils-gold issue on tizen v3.0 ARM 64bit is fixed,
- # make the latest tizen version unconditional.
- if [ "$tizen_version" == "3.0" ] && [ "$host_arch" == "arm" ]; then
- # [M48_2564] Temporary disabling the flag for switching to new chromium
- # FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15383
- ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=0
- -Dprebuilt_ld_gold_dir=${TOPDIR}/tizen_src/build/prebuild
- "
- elif [ "$tizen_version" == "2.4" -a "$target" == "tv" ]; then
- ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=0
- -Dprebuilt_ld_gold_dir=${TOPDIR}/tizen_src/build/prebuild/tizen_v2.4_tv
- "
- else
- ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=0
- -Dprebuilt_ld_gold_dir=${TOPDIR}/tizen_src/build/prebuild
- "
- fi
-
- if [ "$tizen_version" == "3.0" ]; then
- # [M49_2623] Temporary disabling the flag.
- # FIXME: http://165.213.149.170/jira/browse/TWF-610
- ADDITIONAL_GYP_PARAMETERS+="-Dtizen_multimedia_support=0
- -Dtizen_tbm_support=0
- "
- else
- ADDITIONAL_GYP_PARAMETERS+="-Dtizen_multimedia_support=0
- -Dwerror=
- "
- fi
-
- add_wayland_flags
-}
-
-add_wayland_flags() {
- if [ "$use_wayland" == "1" ]; then
- ADDITIONAL_GYP_PARAMETERS+="-Duse_wayland=1
- -Dwayland_bringup=1
- "
- else
- ADDITIONAL_GYP_PARAMETERS+="-Duse_wayland=0
- -Dwayland_bringup=0
- "
- fi
-}
-
-add_gbs_flags() {
- ADDITIONAL_GYP_PARAMETERS+="-Dtarget_arch=$host_arch
- -Dhost_arch=$host_arch
- -Dsysroot=
- --no-parallel
- "
- # TODO(b.kelemen): ideally crosscompile should also support system libs.
- # Unfortunately the gbs root doesn't contain everything chromium needs.
- SYSTEM_DEPS="-Duse_system_expat=1
- -Duse_system_libjpeg=0
- -Duse_system_libpng=1
- -Duse_system_libusb=1
- -Duse_system_libxml=1
- -Duse_system_libxslt=1
- -Duse_system_zlib=1
- "
-
- # [M50_2661] Temporary using the icu of internal chformium instead of system.
- # The icu of system doesn't support utrie2.h
- # FIXME: http://suprem.sec.samsung.net/jira/browse/TWF-967
- SYSTEM_DEPS+="-Duse_system_icu=0
- "
-
- if [ "$target" == "mobile" ]; then
- SYSTEM_DEPS+="-Duse_system_bzip2=1
- -Duse_system_libexif=1
- -Duse_system_nspr=1
- "
- fi
-}
-
-add_cross_flags() {
- ADDITIONAL_GYP_PARAMETERS+="-Dtarget_arch=arm
- -Dhost_arch=$host_arch
- -Dsysroot=$SYSROOTDIR
- -Darm_tune=arm7
- -Dhost_clang=0
- "
-
- # Compiling yasm with crosscompile + icecc leads to some strange errors (one file is built for target instead of host).
- # Yasm is an assembler used only by the build (not at runtime) and it is generally available in Linux distros so let's just
- # use it from the system.
- ADDITIONAL_GYP_PARAMETERS+="-Duse_system_yasm=1"
-}
-
-if [ "$target" == "desktop" ]; then
- add_desktop_flags
-else
- add_tizen_flags
- if [ "$target" == "mobile" -o "$target" == "tv" ]; then
- if [ "$target_arch" == "arm" ]; then
- add_arm_flags
- fi
- if [ "$buildType" == "gbs" ]; then
- add_gbs_flags
- elif [ "$buildType" == "crosscompile" ]; then
- add_cross_flags
- fi
- fi
- if [ "$SYSTEM_DEPS" != "" ]; then
- #replacing original files with correct ones according to $SYSTEM_DEPS
- $TOPDIR/build/linux/unbundle/replace_gyp_files.py $SYSTEM_DEPS
- fi
-fi
-
-_GYP_ARGS="
- $COMMON_GYP_PARAMETERS
- $SYSTEM_DEPS
- $ADDITIONAL_GYP_PARAMETERS
- $EXTRA_GYP_ARGS
- "
-printf "GYP_ARGUMENTS:\n"
-for arg in $_GYP_ARGS; do
- printf " * ${arg##-D}\n"
-done
-
-${TOPDIR}/tizen_src/build/gyp_chromiumefl \
- ${_GYP_ARGS} \
- ${TOPDIR}/tizen_src/ewk/chromium-ewk.gyp
-
-ret=$?
-
-if [ "$SYSTEM_DEPS" != "" ]; then
- # Restore gyp files to their original states not to mess up the tree permanently.
- $TOPDIR/build/linux/unbundle/replace_gyp_files.py --undo $SYSTEM_DEPS
-fi
-
-exit $ret
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'pkg-config': 'pkg-config',
- },
- 'targets': [
- {
- 'target_name': 'evas',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags evas)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other evas)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l evas)',
- ],
- },
- }, # evas
- {
- 'target_name': 'ecore',
- 'type': 'none',
- 'toolsets': ['host', 'target'],
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ecore)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ecore)',
- ],
- },
- }, # ecore
- {
- 'target_name': 'ecore-imf-evas',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ecore-imf-evas)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-imf-evas)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ecore-imf-evas)',
- ],
- },
- }, # ecore-imf-evas
- {
- 'target_name': 'ecore-x',
- 'type': 'none',
- 'conditions': [
- ['use_wayland==0', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ecore-x)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-x)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ecore-x)',
- ],
- },
- }],
- ],
- }, # ecore-x
- {
- 'target_name': 'ecore-wayland',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1 and use_wayland==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ecore-wayland)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-wayland)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ecore-wayland)',
- ],
- },
- }],
- ],
- }, # ecore-wayland
- {
- 'target_name': 'ecore-evas',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ecore-evas)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-evas)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ecore-evas)',
- ],
- },
- }, # ecore-evas
- {
- 'target_name': 'ecore-input',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ecore-input)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-input)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ecore-input)',
- ],
- },
- }, # ecore-input
- {
- 'target_name': 'elementary',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags elementary)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other elementary)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l elementary)',
- ],
- },
- 'conditions': [
- ['clang==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- # Fix: elm_prefs_common.h:27:9: warning: empty struct has size 0 in C, size 1 in C++
- '-Wno-extern-c-compat',
- ],
- },
- }],
- ],
- }, # elementary
- {
- 'target_name': 'edje',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags edje)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other edje)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l edje)',
- ],
- },
- }, # edje
- {
- 'target_name': 'efl-extension',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags efl-extension)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other efl-extension)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l efl-extension)',
- ],
- },
- }],
- ],
- }, # efl-extension
- {
- 'target_name': 'ui-gadget',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1 and building_strategy=="ewk"', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags ui-gadget-1)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other ui-gadget-1)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l ui-gadget-1)',
- ],
- },
- }],
- ],
- }, # ui-gadget
- {
- 'target_name': 'capi-appfw-application',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-appfw-application)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-appfw-application)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-appfw-application)',
- ],
- },
- }],
- ],
- }, # capi-appfw-application
- {
- 'target_name': 'capi-location-manager',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1 and building_strategy=="ewk"', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-location-manager)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-location-manager)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-location-manager)',
- ],
- },
- }],
- ],
- }, # capi-location-manager
- {
- 'target_name': 'capi-system-info',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1 and building_strategy=="ewk"', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-system-info)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-info)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-system-info)',
- ],
- },
- }],
- ],
- }, # capi-system-info
- {
- 'target_name': 'capi-system-device',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen_mobile==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-system-device)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-device)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-system-device)',
- ],
- },
- }],
- ],
- }, # capi-system-device
- {
- 'target_name': 'capi-system-sensor',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen_mobile==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-system-sensor)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-sensor)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-system-sensor)',
- ],
- },
- }],
- ],
- }, # capi-system-sensor
- {
- 'target_name': 'capi-system-system-settings',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-system-system-settings)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-system-settings)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-system-system-settings)',
- ],
- },
- }],
- ],
- }, # capi-system-system-settings
- {
- 'target_name': 'libdri2',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1 and use_wayland==0', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags libdri2)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other libdri2)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l libdri2)',
- ],
- },
- }],
- ],
- }, # libdri2
- {
- 'target_name': 'libdrm',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags libdrm)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other libdrm)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l libdrm)',
- ],
- },
- }],
- ],
- }, # libdri2
- {
- 'target_name': 'libtbm',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags libtbm)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other libtbm)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l libtbm)',
- ],
- },
- }],
- ],
- }, # libtbm
- {
- 'target_name': 'x11',
- 'type': 'none',
- 'conditions': [
- ['use_wayland==0', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags x11)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other x11)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l x11)',
- ],
- },
- }],
- ],
- },
- {
- 'target_name': 'gstreamer',
- 'type': 'none',
- 'conditions': [
- ['chromium_efl_tizen_version >= "2.4"', {
- 'variables': {
- 'dependent_pkgs': [
- 'gstreamer-1.0',
- 'gstreamer-base-1.0',
- 'gstreamer-app-1.0',
- 'gstreamer-pbutils-1.0',
- 'gstreamer-video-1.0',
- ],
- },
- }, { # for Tizen v2.X
- 'variables': {
- 'dependent_pkgs': [
- 'gstreamer-0.10',
- 'gstreamer-base-0.10',
- 'gstreamer-app-0.10',
- 'gstreamer-pbutils-0.10',
- 'gstreamer-interfaces-0.10',
- 'gstreamer-video-0.10',
- ],
- },
- }]
- ],
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags <(dependent_pkgs))',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other <(dependent_pkgs))',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l <(dependent_pkgs))',
- ],
- },
- }, # gstreamer
- {
- 'target_name': 'gstreamer-fft',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags gstreamer-fft-1.0)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other gstreamer-fft-1.0)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l gstreamer-fft-1.0)',
- ],
- },
- }, # gstreamer_fft
- {
- 'target_name': 'capi-media-camera',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-media-camera)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-camera)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-media-camera)',
- ],
- },
- }],
- ],
- }, # capi-media-camera
- {
- 'target_name': 'capi-media-audio-io',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-media-audio-io)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-audio-io)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-media-audio-io)',
- ],
- },
- }],
- ],
- }, # capi-media-audio-io
- {
- 'target_name': 'capi-media-player',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-media-player)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-player)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-media-player)',
- ],
- },
- }],
- ],
- }, # capi-media-player
- {
- 'target_name': 'capi-media-tool',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags capi-media-tool)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-tool)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l capi-media-tool)',
- ],
- },
- }],
- ],
- }, # capi-media-tool
- {
- 'target_name': 'mm-player',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags mm-player)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other mm-player)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l mm-player)',
- ],
- },
- }],
- ],
- }, # mm-player
- {
- 'target_name': 'tts',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags tts)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other tts)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l tts)',
- ],
- },
- }],
- ],
- }, # tts
- {
- 'target_name': 'vconf',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags vconf)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other vconf)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l vconf)',
- ],
- },
- }],
- ],
- }, # vconf
- {
- 'target_name': 'feedback',
- 'type': 'none',
- 'conditions': [
- ['building_for_tizen==1 and building_strategy=="ewk"', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags feedback)',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(<(pkg-config) --libs-only-L --libs-only-other feedback)',
- ],
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l feedback)',
- ],
- },
- }],
- ],
- }, # feedback
- {
- 'target_name': 'tizen_tzplatform_config',
- 'type': 'none',
- 'variables': {
- 'packages': [
- 'libtzplatform-config',
- ],
- },
- 'conditions': [
- ['chromium_efl_tizen_version >= "3.0"', {
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(pkg-config --cflags <@(packages))',
- ],
- },
- 'link_settings': {
- 'ldflags': [
- '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
- ],
- 'libraries': [
- '<!@(pkg-config --libs-only-l <@(packages))',
- ],
- },
- },
- ],
- ],
- }, # tizen_tzplatform_config
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'external_base_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- ],
- },
- 'target_defaults': {
- 'target_conditions': [
- ['_target_name=="base"', {
- 'sources': [
- 'message_loop/message_pump_ecore.cc',
- 'message_loop/message_pump_ecore.h',
- ],
- # When building with use_ozone enabled, glib message pump implementation
- # is excluded in base/base.gypi
- # This exclusion should be based on use_glib status, not use_ozone.
- # Note: WRT requires Glib message pump (mainloop) enabled for some
- # plugins to work on renderer process.
- 'conditions': [
- ['use_glib==1', {
- 'sources': [
- '<(DEPTH)/base/message_loop/message_pump_glib.cc',
- ],
- }], # use_glib==1
- ], # conditions
- }],
- ],
- }
-}
-
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'includes': [
- 'base/base_efl.gypi',
- 'content/content_efl.gypi',
- 'device/vibration_efl.gypi',
- 'gpu/gpu_efl.gypi',
- 'media/media_efl.gypi',
- 'ui/ui_efl.gypi',
- 'third_party/blink/renderer/core/core_efl.gypi',
- 'third_party/blink/renderer/modules/modules_efl.gypi',
- 'third_party/blink/renderer/platform/blink_platform_efl.gypi',
- ],
-
-# [M53_2785] Temporary disabling the codes for switching to new chromium
-# It will be fixed by Webcore Team.
-# FIXME: http://suprem.sec.samsung.net/jira/browse/TWF-2062
-# 'conditions': [
-# ['building_for_tizen_mobile==1', {
-# 'includes': [
-# 'device/battery_tizen.gypi',
-# ],
-# }], # building_for_tizen_mobile==1
-# ], # conditions
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': [
- 'js_dialogs_efl.gypi',
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': 'js_dialogs_efl',
- 'type': 'static_library',
- 'dependencies': [
- '<(DEPTH)/base/base.gyp:base',
- '<(DEPTH)/skia/skia.gyp:skia',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/build/system.gyp:efl-extension',
- ],
- 'include_dirs': [
- '..',
- ],
- 'sources': [
- 'js_dialogs_efl/javascript_dialog_manager_efl.cc',
- 'js_dialogs_efl/javascript_dialog_manager_efl.h',
- 'js_dialogs_efl/javascript_modal_dialog_efl.cc',
- 'js_dialogs_efl/javascript_modal_dialog_efl.h',
- ],
- }
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'sources': [
- 'browser/compositor/context_factory_efl.cc',
- 'browser/compositor/context_factory_efl.h',
- 'browser/compositor/mailbox_output_surface_efl.cc',
- 'browser/compositor/mailbox_output_surface_efl.h',
- 'browser/web_contents/web_contents_view_efl.h',
- 'browser/web_contents/web_contents_view_efl.cc',
- 'browser/web_contents/web_contents_impl_efl.h',
- 'browser/web_contents/web_contents_impl_efl.cc',
- 'browser/web_contents/web_drag_dest_efl.h',
- 'browser/web_contents/web_drag_dest_efl.cc',
- 'browser/web_contents/web_drag_source_efl.h',
- 'browser/web_contents/web_drag_source_efl.cc',
- 'browser/tracing/tracing_controller_efl.h',
- 'browser/tracing/tracing_controller_efl.cc',
- 'browser/renderer_host/disambiguation_popup_efl.h',
- 'browser/renderer_host/disambiguation_popup_efl.cc',
- 'browser/renderer_host/edge_effect.h',
- 'browser/renderer_host/edge_effect.cc',
- 'browser/renderer_host/im_context_efl.h',
- 'browser/renderer_host/im_context_efl.cc',
- 'browser/renderer_host/native_web_keyboard_event_efl.cc',
- 'browser/renderer_host/render_widget_host_view_efl.h',
- 'browser/renderer_host/render_widget_host_view_efl.cc',
- 'browser/renderer_host/web_event_factory_efl.h',
- 'browser/renderer_host/web_event_factory_efl.cc',
- 'browser/screen_orientation/screen_orientation_delegate_efl.h',
- 'browser/screen_orientation/screen_orientation_delegate_efl.cc',
- 'browser/selection/selection_box_efl.cc',
- 'browser/selection/selection_box_efl.h',
- 'browser/selection/selection_controller_efl.cc',
- 'browser/selection/selection_controller_efl.h',
- 'browser/selection/selection_handle_efl.cc',
- 'browser/selection/selection_handle_efl.h',
- 'browser/selection/selection_magnifier_efl.cc',
- 'browser/selection/selection_magnifier_efl.h',
- 'public/browser/web_contents_efl_delegate.h',
- 'public/browser/web_contents_view_efl_delegate.h',
- ],
- 'sources/': [
- ['include', '^browser/renderer_host/ui_events_helper.cc'],
- ['include', '^browser/renderer_host/ui_events_helper.h'],
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'sources': [
- 'browser/speech/tts_message_filter_efl.cc',
- 'browser/speech/tts_message_filter_efl.h',
- 'browser/speech/tts_tizen.cc',
- 'browser/speech/tts_tizen.h',
- ],
- }], # building_for_tizen
- ['building_for_tizen_mobile==1', {
- 'sources/': [
- [ 'exclude', 'browser/device_sensors/data_fetcher_shared_memory_default.cc$' ],
- ],
- 'sources': [
- 'browser/device_sensors/data_fetcher_impl_tizen.cc',
- 'browser/device_sensors/data_fetcher_impl_tizen.h',
- 'browser/device_sensors/data_fetcher_shared_memory_tizen.cc',
- ],
- }], # building_for_tizen_mobile==1
- ['tizen_multimedia_support==1', {
- 'sources': [
- 'browser/media/media_web_contents_observer_efl.cc',
- 'browser/media/media_web_contents_observer_efl.h',
- 'browser/media/efl/browser_demuxer_efl.cc',
- 'browser/media/efl/browser_demuxer_efl.h',
- 'browser/media/efl/browser_media_player_manager_efl.cc',
- 'browser/media/efl/browser_media_player_manager_efl.h',
- ],
- }], # tizen_multimedia_support==1
- ['tizen_tbm_support==1', {
- 'sources': [
- 'browser/media/browser_mediapacket_manager.cc',
- 'browser/media/browser_mediapacket_manager.h',
- ],
- }], # tizen_tbm_support==1
- ['enable_web_speech==0', {
- 'sources/': [
- ['exclude', '^browser/speech/'],
- ],
- }], # enable_web_speech==0
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'defines': [
- 'DATA_DIR="<(data_dir)"',
- 'EXE_DIR="<(exe_dir)"',
- ],
- 'sources': [
- 'common/content_client_export.cc',
- 'common/content_client_export.h',
- 'common/message_generator_efl.cc',
- 'common/message_generator_efl.h',
- 'common/paths_efl.h',
- 'common/paths_efl.cc',
- 'common/render_messages_efl.h',
- 'common/cursors/webcursor_efl.cc',
- 'common/cursors/webcursor_efl.h',
- 'common/wrt/wrt_url_parse.h',
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'defines': [
- 'EDJE_DIR="<(edje_dir)"',
- 'LOCALE_DIR="<(locale_dir)"',
- ],
- 'sources': [
- 'common/tts_messages_efl.h',
- 'common/tts_utterance_request_efl.cc',
- 'common/tts_utterance_request_efl.h',
- ],
- } , {
- 'configurations': {
- 'Release': {
- 'defines': [
- 'EDJE_DIR="<(outdir)/Release/resources"',
- 'LOCALE_DIR="<(outdir)/Release/locale"',
- ],
- },
- 'Debug': {
- 'defines': [
- 'EDJE_DIR="<(outdir)/Debug/resources"',
- 'LOCALE_DIR="<(outdir)/Debug/locale"',
- ],
- },
- },
- }], # building_for_tizen
- # TODO: Get gpu_memory_buffer_impl_efl working with M42
- ['building_for_tizen==1 and ewk_bringup!=1', {
- 'sources': [
- 'common/gpu/client/gpu_memory_buffer_impl_efl.cc',
- 'common/gpu/client/gpu_memory_buffer_impl_efl_pixmap.cc',
- 'common/gpu/client/gpu_memory_buffer_impl_efl_pixmap.h',
- 'common/gpu/gpu_memory_buffer_factory_efl.cc',
- 'common/gpu/gpu_memory_buffer_factory_efl_pixmap.cc',
- 'common/gpu/gpu_memory_buffer_factory_efl_pixmap.h',
- ],
- 'sources/': [
- [ 'exclude', 'common/gpu/client/gpu_memory_buffer_impl_linux.cc$' ],
- [ 'exclude', 'common/gpu/gpu_memory_buffer_factory_linux.cc' ],
- ]
- }], # building_for_tizen==1
- ['tizen_multimedia_support==1', {
- 'sources': [
- 'common/media/efl/media_player_messages_enums_efl.h',
- 'common/media/efl/media_player_messages_efl.h',
- 'common/gpu/media/efl/tizen_video_decode_accelerator.h',
- 'common/gpu/media/efl/tizen_video_decode_accelerator.cc',
- 'common/gpu/media/efl/tizen_video_encode_accelerator.h',
- 'common/gpu/media/efl/tizen_video_encode_accelerator.cc',
- ],
- }], # tizen_multimedia_support==1
- ['wayland_bringup==1', {
- 'sources/': [
- ['exclude', 'content/common/gpu/client/gpu_memory_buffer_impl_efl_pixmap\\.(h|cc)$'],
- ['exclude', 'content/common/gpu/gpu_memory_buffer_factory_efl_pixmap\\.(h|cc)$'],
- ],
- }], # wayland_bringup
- ],
-}
+++ /dev/null
-# copyright (c) 2015 samsung electronics. 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': {
- 'include_dirs': [
- '<(DEPTH)',
- ],
- },
- 'targets': [
- {
- 'target_name': 'android_content_detection',
- 'type': 'static_library',
- 'dependencies' : [
- '<(DEPTH)/third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
- '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
- '<(DEPTH)/third_party/blink/public/blink.gyp:blink',
- '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
- ],
- 'sources': [
- '<(DEPTH)/content/renderer/android/renderer_date_time_picker.h',
- '<(DEPTH)/content/renderer/android/renderer_date_time_picker.cc',
- '<(DEPTH)/content/renderer/android/content_detector.h',
- '<(DEPTH)/content/renderer/android/content_detector.cc',
- '<(DEPTH)/content/renderer/android/email_detector.h',
- '<(DEPTH)/content/renderer/android/email_detector.cc',
- '<(DEPTH)/content/renderer/android/phone_number_detector.h',
- '<(DEPTH)/content/renderer/android/phone_number_detector.cc',
- ],
- },
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'external_content_common_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-appfw-application',
- '<(DEPTH)/tizen_src/build/system.gyp:tizen_tzplatform_config',
- '<(DEPTH)/tizen_src/build/system.gyp:tts',
- '<(DEPTH)/build/linux/system.gyp:fontconfig',
- ],
- 'external_content_browser_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-player',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-tool',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-sensor',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-imf-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/build/system.gyp:efl-extension',
- '<(DEPTH)/tizen_src/build/system.gyp:tts',
- '<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:window-factory',
- '<(DEPTH)/tizen_src/chromium_impl/edje_resources/edje_resources.gyp:edje_resources_efl',
- '<(DEPTH)/ui/gl/gl.gyp:gl',
- ],
- 'external_content_renderer_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:tts',
- '<(DEPTH)/tizen_src/chromium_impl/content/content_efl.gyp:android_content_detection',
- ],
- 'external_content_gpu_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- ],
- 'external_content_shell_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:efl-init',
- '<(DEPTH)/tizen_src/chromium_impl/components/components.gyp:js_dialogs_efl',
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'external_content_browser_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:vconf',
- ],
- }],
- ['use_wayland==0', {
- 'external_content_common_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- 'external_content_browser_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- '<(DEPTH)/tizen_src/build/system.gyp:x11',
- ],
- 'external_content_shell_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- },
- {
- 'external_content_common_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- 'external_content_browser_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- 'external_content_shell_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }],
- ['tizen_multimedia_support==1', {
- 'external_content_browser_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-player',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-tool',
- ],
- 'external_content_common_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:gstreamer',
- ],
- }],
- ],
- },
-
- 'target_defaults': {
- 'target_conditions': [
-
- ['_target_name=="content"', {
- # this implicitly means component="shared_library"
- 'includes': [
- 'content_browser_efl.gypi',
- 'content_common_efl.gypi',
- 'content_gpu_efl.gypi',
- 'content_renderer_efl.gypi',
- ]
- }],
-
- ['_target_name=="content_common"', {
- 'includes': [
- 'content_common_efl.gypi'
- ]
- }],
-
- ['_target_name=="content_browser"', {
- 'includes': [
- 'content_browser_efl.gypi'
- ]
- }],
-
- ['_target_name=="content_renderer"', {
- 'includes': [
- 'content_renderer_efl.gypi'
- ]
- }],
-
- ['_target_name=="content_gpu"', {
- 'includes': [
- 'content_gpu_efl.gypi'
- ]
- }],
-
- ['_target_name=="content_shell_lib"', {
- 'sources': [
- 'shell/browser/shell_efl.cc',
- 'shell/browser/shell_web_contents_view_delegate_efl.cc',
- ],
- }],
-
- ['_target_name=="content_shell"', {
- 'sources': [
- 'shell/browser/shell_main_efl.cc',
- ],
- 'sources/': [
- [ 'exclude', 'shell/app/shell_main.cc$' ],
- ],
- }],
-
- ], # target_conditions
- } # target_defaults
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'sources': [
- 'gpu/gpu_thread_override_efl.cc',
- 'gpu/in_process_gpu_thread_efl.cc',
- 'gpu/shared_mailbox_manager.h',
- 'gpu/shared_mailbox_manager.cc',
- '//gpu/command_buffer/service/mailbox_manager_impl.h',
- '//gpu/command_buffer/service/mailbox_manager_impl.cc',
- ],
- 'sources/': [
- [ 'exclude', 'gpu/in_process_gpu_thread.cc$' ],
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'sources': [
- '<(DEPTH)/content/renderer/external_popup_menu.cc',
- '<(DEPTH)/content/renderer/external_popup_menu.h',
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'sources': [
- 'renderer/tts_dispatcher_efl.cc',
- 'renderer/tts_dispatcher_efl.h',
- ],
- }], # building_for_tizen==1
- ['tizen_multimedia_support==1', {
- 'sources/': [
- [ 'exclude', 'renderer/media/audio_decoder\\.(cc|h)$' ],
- ],
- 'sources': [
- 'renderer/media/efl/audio_decoder_efl.h',
- 'renderer/media/efl/media_source_delegate_efl.cc',
- 'renderer/media/efl/media_source_delegate_efl.h',
- 'renderer/media/efl/renderer_demuxer_efl.cc',
- 'renderer/media/efl/renderer_demuxer_efl.h',
- 'renderer/media/efl/renderer_media_player_manager_efl.cc',
- 'renderer/media/efl/renderer_media_player_manager_efl.h',
- 'renderer/media/efl/webmediaplayer_efl.cc',
- 'renderer/media/efl/webmediaplayer_efl.h',
- 'renderer/media/tizen/audio_decoder_capi.cc',
- ],
- }], # tizen_multimedia_support==1
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'external_device_battery_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
- '<(DEPTH)/tizen_src/build/system.gyp:vconf',
- ],
- },
- 'target_defaults': {
- 'target_conditions': [
- ['_target_name=="device_battery"', {
- 'sources/': [
- [ 'exclude', 'battery_status_manager_linux\\.(h|cc)$' ],
- ],
- 'sources': [
- 'battery/battery_status_manager_tizen.cc',
- 'battery/battery_status_manager_tizen.h',
- ],
- }],
- ], # target_conditions
- }, # target_defaults
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': {
- 'target_conditions': [
- ['_target_name=="device_vibration"', {
- 'sources/': [
- [ 'exclude', 'vibration_manager_impl_default.cc' ],
- ],
- 'sources': [
- 'vibration/vibration_manager_impl_efl.cc',
- 'vibration/vibration_manager_impl_efl.h',
- 'vibration/vibration_provider_client.h',
- ],
- }],
- ], # target_conditions
- }, # target_defaults
-}
+++ /dev/null
-{
- 'targets': [{
- 'target_name': 'edje_resources_efl',
- 'type': 'none',
- 'sources': [
- 'SelectionHandles.edc',
- 'Magnifier.edc',
- 'DisambiguationPopup.edc',
- 'Edge.edc',
- ],
- 'rules': [{
- 'rule_name': 'edje_resources',
- 'message': 'Compiling EFL edje files <(RULE_INPUT_NAME)',
- 'extension': 'edc',
- 'outputs': [
- '<(PRODUCT_DIR)/resources/<(RULE_INPUT_ROOT).edj',
- ],
- 'action': [
- '<(edje_compiler)',
- '-id', '<(DEPTH)/tizen_src/chromium_impl/edje_resources/images/',
- '<(RULE_INPUT_PATH)',
- '<(PRODUCT_DIR)/resources/<(RULE_INPUT_ROOT).edj',
- ],
- }], # rules
- }],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': 'window-factory',
- 'type': 'static_library',
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- ],
- 'include_dirs': [
- '<(DEPTH)',
- ],
- 'sources': [
- 'window_factory.h',
- 'window_factory.cc',
- ],
- },
- {
- 'target_name': 'efl-init',
- 'type': 'static_library',
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/ui/compositor/compositor.gyp:compositor',
- ],
- 'include_dirs': [
- '<(DEPTH)',
- ],
- 'sources': [
- 'efl_export.h',
- 'init.h',
- 'init.cc',
- ],
- 'conditions': [
- ['use_ozone==1', {
- 'dependencies': [
- '<(DEPTH)/ui/ozone/ozone.gyp:ozone',
- ],
- }],
- ['use_wayland==1', {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }, {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- }], # use_wayland==1
- ],
- }
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': {
- 'target_conditions': [
- ['_target_name=="gpu_config"', {
- 'sources/': [
- ['exclude', 'config/gpu_driver_bug_list_json\\.cc$'],
- ['exclude', 'config/gpu_info_collector_linux\\.cc$'],
- ['exclude', 'config/gpu_info_collector_x11\\.cc$'],
- ['exclude', 'config/software_rendering_list_json\\.cc$'],
- ],
- 'sources': [
- 'config/gpu_driver_bug_list_json_efl.cc',
- 'config/gpu_info_collector_efl.cc',
- 'config/software_rendering_list_json_efl.cc',
- 'config/scoped_restore_non_owned_egl_context.cc',
- 'config/scoped_restore_non_owned_egl_context.h',
- ],
- }],
- ],
- }
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': [
- ['building_for_tizen==1', {
- 'media_use_ffmpeg': 0,
- }],
- ],
- },
- 'conditions': [
- ['use_ozone==1', {
- 'variables': {
- 'external_media_deps': [
- '<(DEPTH)/tizen_src/chromium_impl/ui/ozone/ozone_efl.gyp:ozone_efl',
- ],
- },
- }],
-
- ['tizen_multimedia_support==1', {
- 'variables': {
- 'external_media_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-audio-io',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-camera',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-player',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-tool',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- '<(DEPTH)/tizen_src/build/system.gyp:mm-player',
- ],
- 'conditions': [
- ['use_wayland==0', {
- 'external_media_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- '<(DEPTH)/ui/gl/gl.gyp:gl',
- ],
- },
- {
- 'external_media_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }],
- ['building_for_tizen_mobile==1', {
- 'external_media_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
- ],
- }],
- ],
- },
- 'target_defaults': {
- 'target_conditions': [
- ['_target_name=="media"', {
- 'defines': [
- 'TIZEN_VIDEO_CAPTURE_SUPPORT',
-
- # If 'TIZEN_MULTIMEDIA_ZEROCOPY_SUPPORT' is defined,
- # MediaPlayerEfl sends tbm_surface handle and let Renderer
- # use tbm_surface for Video Texture directly.(aka, zero-copy rendering).
- # If not,
- # MediaPlayerEfl delivers video frames by memcpying tbm_surface to shared memory.
- 'TIZEN_MULTIMEDIA_ZEROCOPY_SUPPORT'
- ],
- 'include_dirs': [
- '<(DEPTH)/third_party/WebKit',
- '<(DEPTH)/third_party/libyuv/include',
- '<(DEPTH)/third_party/mojo/src',
- '<(DEPTH)/v8/include',
- ],
- 'sources': [
- 'audio/tizen/audio_manager_capi.cc',
- 'audio/tizen/audio_manager_capi.h',
- 'audio/tizen/audio_manager_tizen.cc',
- 'audio/tizen/capi_audio_input.cc',
- 'audio/tizen/capi_audio_input.h',
- 'audio/tizen/capi_audio_output.cc',
- 'audio/tizen/capi_audio_output.h',
- 'audio/tizen/capi_util.cc',
- 'audio/tizen/capi_util.h',
- 'base/efl/demuxer_efl.h',
- 'base/efl/demuxer_stream_player_params_efl.cc',
- 'base/efl/demuxer_stream_player_params_efl.h',
- 'base/efl/media_player_efl.cc',
- 'base/efl/media_player_efl.h',
- 'base/efl/media_player_manager_efl.h',
- 'base/efl/media_player_util_efl.cc',
- 'base/efl/media_player_util_efl.h',
- 'base/efl/webaudio_decoder_efl.h',
- 'base/efl/webaudio_media_codec_info_efl.h',
- 'base/tizen/media_player_bridge_capi.cc',
- 'base/tizen/media_player_bridge_capi.h',
- 'base/tizen/media_source_player_capi.cc',
- 'base/tizen/media_source_player_capi.h',
- 'base/tizen/webaudio_decoder_browser_capi.cc',
- 'base/tizen/webaudio_decoder_browser_capi.h',
-# [M53_2785] Temporary disabling the codes for swiching to new chromium
-# It will be fixed by multimedia team
-# FIXME: http://suprem.sec.samsung.net/jira/browse/TWF-2061
-# 'capture/video/tizen/video_capture_device_factory_tizen.cc',
-# 'capture/video/tizen/video_capture_device_factory_tizen.h',
-# 'capture/video/tizen/video_capture_device_tizen.cc',
-# 'capture/video/tizen/video_capture_device_tizen.h',
- ],
- 'sources/': [
- [ 'exclude', 'audio/linux/audio_manager_linux.cc$'],
- [ 'exclude', 'capture/video/linux/video_capture_device_factory_linux.cc$' ],
- [ 'exclude', 'capture/video/linux/video_capture_device_factory_linux.h$' ],
- [ 'exclude', 'capture/video/linux/video_capture_device_linux.cc$' ],
- [ 'exclude', 'capture/video/linux/video_capture_device_linux.h$' ],
- ],
- 'conditions': [
- ['tizen_multimedia_eme_support==1', {
- 'defines': [
- 'TIZEN_MULTIMEDIA_EME_SUPPORT=1',
- ],
- }],
- ], # conditions
- }], # _target_name=="media"
- ], # target_conditions
- }, # target_defaults
- }], # tizen_multimedia_support==1
- ]
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': {
- 'target_conditions': [
-
- ['_target_name=="webcore_rendering"', {
- 'sources/': [
- [ 'exclude', 'layout/LayoutThemeLinux\\.cpp$' ],
- ],
- 'sources': [
- 'rendering/RenderThemeChromiumTizen.cpp',
- 'rendering/RenderThemeChromiumTizen.h',
- ],
- }],
-
- ['_target_name=="webcore_generated"', {
- 'sources': [
- '<(SHARED_INTERMEDIATE_DIR)/TizenUserAgentStyleSheets.h',
- '<(SHARED_INTERMEDIATE_DIR)/TizenUserAgentStyleSheetsData.cpp',
- ],
- }], # webcore_generated
-
- ['_target_name=="make_core_generated"', {
- 'actions': [
- {
- 'action_name': 'TizenUserAgentStyleSheets',
- 'variables': {
- 'scripts': [
- '<(DEPTH)/tizen_src/chromium_impl/third_party/blink/renderer/core/make-file-arrays.py',
- ],
- 'stylesheets': [
- '<(DEPTH)/tizen_src/chromium_impl/third_party/blink/renderer/core/rendering/themeChromiumTizen.css',
- ],
- },
- 'inputs': [
- '<@(scripts)',
- '<@(stylesheets)'
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/TizenUserAgentStyleSheets.h',
- '<(SHARED_INTERMEDIATE_DIR)/TizenUserAgentStyleSheetsData.cpp',
- ],
- 'action': [
- 'python',
- '<@(scripts)',
- '--namespace',
- 'blink',
- '--out-h=<(SHARED_INTERMEDIATE_DIR)/TizenUserAgentStyleSheets.h',
- '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/TizenUserAgentStyleSheetsData.cpp',
- '<@(stylesheets)',
- ],
- },
- ], # actions
- }],
-
- ], # target_conditions
- }, # target_defaults
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': [
- ['use_gstreamer_fft==1', {
- 'external_modules_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:gstreamer-fft',
- ],
- }],
- ],
- },
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'extra_platform_files': [
- 'audio/gstreamer/FFTFrameGStreamer.cpp',
- ],
- },
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': {
- 'include_dirs': [
- '<(DEPTH)',
- ],
- },
-
- 'targets': [
- {
- 'target_name': 'ozone_efl',
- 'type': 'static_library',
- 'dependencies': [
- '<(DEPTH)/ui/ozone/ozone.gyp:ozone_common',
- ],
- 'conditions': [
- ['use_wayland==0', {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- },
- {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }],
- ],
- 'sources': [
- 'client_native_pixmap_factory_efl.h',
- 'client_native_pixmap_factory_efl.cc',
- 'ozone_platform_efl.h',
- 'ozone_platform_efl.cc',
- 'surface_factory_efl.h',
- 'surface_factory_efl.cc',
- ],
- },
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'includes': [
- 'ui_efl_injections.gypi',
- ],
-
- 'variables': {
- 'external_ui_base_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- ],
- 'external_ui_gl_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:libdrm',
- '<(DEPTH)/tizen_src/build/system.gyp:libtbm',
- ],
- 'conditions': [
- ['use_wayland==0', {
- 'external_ui_base_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- '<(DEPTH)/tizen_src/build/system.gyp:x11',
- ],
- 'external_ui_gl_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:libdri2',
- ],
- 'external_ui_gfx_x11_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- 'external_ui_gfx_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'external_ui_gl_deps': [
- # needed for efl_pixmap.cc/h
- '<(DEPTH)/tizen_src/build/system.gyp:x11',
- ],
- }],
- ],
- },
- {
- 'external_ui_gfx_deps': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }],
- ],
- },
-
- 'conditions': [
- ['use_ozone==1', {
- 'variables': {
- 'external_ozone_platform_deps': [
- '<(DEPTH)/tizen_src/chromium_impl/ui/ozone/ozone_efl.gyp:ozone_efl',
- '<(DEPTH)/ui/events/devices/events_devices.gyp:events_devices',
- ],
- },
- }], # use_ozone==1
- ], # conditions
-
- 'target_defaults': {
- 'target_conditions': [
-
- ['_target_name=="gfx"', {
- 'sources': [
- '<(DEPTH)/ui/gfx/nine_image_painter.cc',
- '<(DEPTH)/ui/gfx/nine_image_painter.h',
- 'display/device_display_info_efl.cc',
- 'display/device_display_info_efl.h',
- 'display/screen_efl.h',
- 'display/screen_efl.cc',
- ],
- }],
-
- ['_target_name=="gfx_x11"', {
- 'sources': [
- 'gfx/x/x11_types_override.cc',
- ],
- 'sources/': [
- [ 'exclude', 'x11_types.cc$' ],
- ],
- 'conditions': [
- ['wayland_bringup==1', {
- 'sources/': [
- ['exclude', 'gfx/x11_types_override\\.cc$'],
- ],
- }],
- ],
- }],
-
- ['_target_name=="gl"', {
- 'sources/': [
- [ 'exclude', 'gl_context_egl\\.cc$' ],
- ],
- 'sources': [
- 'gl/gl_shared_context_efl.h',
- 'gl/gl_shared_context_efl.cc',
- 'gl/gl_context_egl_override.cc',
- 'gl/gl_current_context_efl.cc',
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'sources': [
- 'gl/gl_image_efl_pixmap.cc',
- 'gl/gl_image_efl_pixmap.h',
- 'gl/efl_pixmap.cc',
- 'gl/efl_pixmap.h',
- ],
- }],
- ['wayland_bringup==1', {
- 'sources/': [
- ['exclude', 'ui/gl/efl_pixmap\\.(h|cc)$'],
- ],
- }],
- ],
- }],
-
- ['_target_name=="x11_events_platform"', {
- 'conditions': [
- ['wayland_bringup==1', {
- 'sources/': [
- ['exclude', 'gfx/x11_event_source_efl\\.(h|cc)$'],
- ],
- }],
- ],
- }],
-
-
- ['_target_name=="ui_base"', {
- 'include_dirs': [
- '<(DEPTH)/third_party/mojo/src/',
- ],
- 'sources': [
- '<(DEPTH)/ui/base/cursor/cursor.h',
- '<(DEPTH)/ui/base/cursor/cursor.cc',
- '<(DEPTH)/ui/base/cursor/cursor_x11.cc',
- '<(DEPTH)/ui/base/cursor/cursor_loader_x11.h',
- '<(DEPTH)/ui/base/cursor/cursor_loader_x11.cc',
- '<(DEPTH)/ui/base/nine_image_painter_factory.cc',
- '<(DEPTH)/ui/base/nine_image_painter_factory.h',
- 'base/resource/resource_bundle_efl.cc',
- 'base/clipboard/clipboard_efl.cc',
- 'base/clipboard/clipboard_efl.h',
- 'base/clipboard/clipboard_helper_efl.cc',
- 'base/clipboard/clipboard_helper_efl.h',
- ],
- 'conditions': [
- ['wayland_bringup==1', {
- 'sources/': [
- ['exclude', 'ui/base/cursor/cursor_loader_x11\\.(h|cc)$'],
- ['exclude', 'ui/base/cursor/cursor_x11\\.(h|cc)$'],
- ],
- }],
- ],
- }],
-
- ['_target_name=="snapshot"', {
- 'sources': [
- 'snapshot/snapshot_efl.cc',
- ],
- }],
-
- ['_target_name=="gesture_detection"', {
- 'sources/': [
- ['exclude', 'gesture_detection/gesture_configuration_default\\.cc$']
- ],
- 'sources': [
- 'events/gesture_detection/gesture_configuration_efl.cc',
- ],
- }],
-
- ], # target_conditions
- } # target_defaults
-}
-
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- # In static mode, we build some sources that is needed
- # by efl-port as injectable static library.
- # However, in component mode, we build each of ui modules
- # as single DLL. So we include needed sources directly.
- 'conditions': [
- ['component=="static_library"', {
- 'variables': {
- 'external_ui_base_deps': [
- '<(DEPTH)/tizen_src/chromium_impl/ui/ui_targets_efl.gyp:ui_base_inject',
- ],
- 'external_ui_events_deps': [
- '<(DEPTH)/tizen_src/chromium_impl/ui/ui_targets_efl.gyp:ui_events_source_inject',
- ],
- 'external_native_theme_deps': [
- '<(DEPTH)/tizen_src/chromium_impl/ui/ui_targets_efl.gyp:ui_native_theme_inject',
- ],
- },
- },
- { # component != static_library
- 'target_defaults': {
- 'target_conditions': [
-
- ['_target_name=="ui_base"', {
- 'sources/': [
- ['include', '^cursor/cursors_aura\\.cc$'],
- ['include', '^cursor/cursors_aura\\.h$'],
- ],
- }],
-
- ['_target_name=="events"', {
- 'sources': [
- 'events/gestures/gesture_recognizer_impl_override.cc',
- 'events/gestures/gesture_recognizer_impl_efl.cc',
- 'events/gestures/gesture_recognizer_impl_efl.h',
- ],
- 'sources/': [
- ['include', '^gestures/gesture_provider_aura\\.cc$'],
- ['include', '^gestures/gesture_provider_aura\\.h$'],
- ['include', '^gestures/motion_event_aura\\.cc$'],
- ['include', '^gestures/motion_event_aura\\.h$'],
- ],
- }],
-
- ['_target_name=="native_theme"', {
- 'sources/': [
- ['include', '^native_theme_aura\\.cc$'],
- ['include', '^native_theme_aura\\.h$'],
- ],
- }],
-
- ], # target_conditions
- }, # target_defaults
- }],
- ],
-}
-
+++ /dev/null
-# copyright (c) 2015 samsung electronics. 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': {
- 'include_dirs': [
- '<(DEPTH)',
- ],
- },
- 'targets': [
- {
- 'target_name': 'ui_events_source_inject',
- 'type': 'static_library',
- 'sources': [
- # Indirectly includes ui/events/gestures/gesture_recognizer_impl_efl.cc/h.
- 'events/gestures/gesture_recognizer_impl_override.cc',
- 'events/gestures/gesture_recognizer_impl_efl.cc',
- 'events/gestures/gesture_recognizer_impl_efl.h',
- '<(DEPTH)/ui/events/gestures/gesture_provider_aura.cc',
- '<(DEPTH)/ui/events/gestures/gesture_provider_aura.h',
- '<(DEPTH)/ui/events/gestures/motion_event_aura.cc',
- '<(DEPTH)/ui/events/gestures/motion_event_aura.h',
- ],
- },
- {
- 'target_name': 'ui_native_theme_inject',
- 'type': 'static_library',
- 'sources': [
- '<(DEPTH)/ui/native_theme/native_theme_aura.h',
- '<(DEPTH)/ui/native_theme/native_theme_aura.cc',
- ],
- 'dependencies': [
- '<(DEPTH)/skia/skia.gyp:skia',
- ]
- },
- {
- 'target_name': 'ui_base_inject',
- 'type': 'static_library',
- 'sources': [
- '<(DEPTH)/ui/base/cursor/cursors_aura.h',
- '<(DEPTH)/ui/base/cursor/cursors_aura.cc',
- ],
- 'dependencies': [
- '<(DEPTH)/skia/skia.gyp:skia',
- ]
- }
- ],
-}
-
-
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': 'chromium_efl_all',
- 'type': 'none',
-
- 'dependencies': [
- 'unittest/ewk-tests.gypi:*',
- 'ubrowser/ubrowser.gypi:*',
- 'efl_webview_app/efl_webview_app.gypi:*',
- ],
- },
- ],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- # [M48_2564] Temporary disabling the flag for switching to new chromium
- # FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15382
- 'tizen_autofill_support%': 0,
-
- # Components used to auto generate CHROMIUM_VERSION preprocessor define.
- 'version_file' : '<(DEPTH)/chrome/VERSION',
- 'version_script' : '<(DEPTH)/build/util/version.py',
- 'version_pattern': '@MAJOR@.@MINOR@.@BUILD@.@PATCH@',
- },
-
- 'targets': [{
- 'target_name': 'chromium-ewk',
- 'type': 'shared_library',
-
- 'include_dirs': [
- '.',
- 'public',
- '<(DEPTH)/third_party/skia/include/core',
- '<(DEPTH)/v8/include',
- '<(SHARED_INTERMEDIATE_DIR)/blink/',
- ],
-
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/build/system.gyp:gstreamer',
- '<(DEPTH)/tizen_src/build/system.gyp:vconf',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-location-manager',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-info',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-media-camera',
- '<(DEPTH)/tizen_src/build/system.gyp:feedback',
- '<(DEPTH)/tizen_src/build/system.gyp:efl-extension',
- '<(DEPTH)/tizen_src/build/system.gyp:ui-gadget',
- '<(DEPTH)/tizen_src/ewk/po_tizen/locale.gyp:locale_efl',
- '<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:efl-init',
-
- '<(DEPTH)/base/base.gyp:base_static',
- '<(DEPTH)/chrome/browser/media/router/media_router.gyp:media_router_mojo_gen',
- '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
- '<(DEPTH)/content/content.gyp:content',
- '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_resources',
- '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_pak',
- '<(DEPTH)/components/components.gyp:visitedlink_browser',
- '<(DEPTH)/components/components.gyp:visitedlink_renderer',
- '<(DEPTH)/components/components.gyp:sessions_content',
- '<(DEPTH)/components/components.gyp:autofill_content_renderer',
- '<(DEPTH)/components/components.gyp:autofill_content_browser',
- '<(DEPTH)/components/components.gyp:devtools_http_handler',
- '<(DEPTH)/components/components.gyp:network_session_configurator_switches',
- '<(DEPTH)/components/components.gyp:password_manager_content_browser',
- '<(DEPTH)/components/components.gyp:password_manager_core_common',
- '<(DEPTH)/components/components.gyp:password_manager_core_browser',
- '<(DEPTH)/components/components.gyp:plugins_renderer',
- '<(DEPTH)/components/components.gyp:variations',
- '<(DEPTH)/device/vibration/vibration.gyp:device_vibration',
- '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak',
- '<(DEPTH)/printing/printing.gyp:printing',
- '<(DEPTH)/skia/skia.gyp:skia',
- '<(DEPTH)/storage/storage_browser.gyp:storage',
- '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
- '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
- '<(DEPTH)/third_party/blink/renderer/wtf/wtf.gyp:wtf',
- '<(DEPTH)/ui/compositor/compositor.gyp:compositor',
- '<(DEPTH)/ui/events/events.gyp:events',
- '<(DEPTH)/ui/events/events.gyp:events_base',
- '<(DEPTH)/ui/gl/gl.gyp:gl',
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
-
- 'defines': [
- 'CHROMIUM_VERSION=\"<!(python <(version_script) -f <(version_file) -t "<(version_pattern)")\"',
- ],
- 'link_settings': {
- 'ldflags': [
- '-Wl,--no-undefined',
- '-Wl,--version-script,<!(cd <(DEPTH) && pwd -P)/tizen_src/ewk/<(filter_file)',
- ],
- },
- 'cflags': [
- # Symbol visibility controled by chromium-ewk.filter
- '-fvisibility=hidden',
- ],
- 'cflags/': [
- # Treat warning as error for this target.
- # It needs to be included by means of pattern list because '-Werror' cflag
- # will be excluded in chromium side (src/build/common.gypi), and GYP
- # processes pattern lists after exclusion lists.
- # (ref: https://gyp.gsrc.io/docs/InputFormatReference.md#Processing-Order)
- ['include', '-Werror'],
- ],
- 'conditions': [
- ['xwalk_link_against_chromium_ewk==0', {
- 'variables': {
- 'filter_file' : 'chromium-ewk.filter',
- },
- 'dependencies': [
- '<(DEPTH)/content/content.gyp:content_app_browser',
- ],
- }, {
- 'variables': {
- 'filter_file' : 'chromium-ewk-xwalk.filter',
- },
- 'dependencies': [
- '<(DEPTH)/components/components.gyp:storage_monitor',
- '<(DEPTH)/components/components.gyp:web_modal',
- '<(DEPTH)/content/content.gyp:content_app_both',
- ],
- }], # xwalk_link_against_chromium_ewk
-
- ['building_for_tizen==1', {
- 'sources/': [
- [ 'exclude', 'browser/sound_effect\\.(cc|h)$' ],
- ],
- 'dependencies': [
- '<(DEPTH)/cc/cc.gyp:cc',
- ],
- }, {
- 'dependencies': [
- '<(DEPTH)/build/linux/system.gyp:gio',
- ],
- 'sources/': [
- [ 'exclude', 'browser/sound_effect_tizen\\.(cc|h)$' ],
- [ 'exclude', 'browser/geolocation/location_provider_efl\\.(cc|h)$'],
- ],
- }], # building_for_tizen==1
-
- # TODO : Below dependency is set in chromium/device/battery_tizen.gypi,
- # but since m47 it failed to get properly "injected"
- # to device_battery target due to the new nesting
- # used in the target declaration.
- ['building_for_tizen_mobile==1', {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
- ],
- }], # building_for_tizen_mobile==1
-
- ['notifications==1', {
- 'sources': [
- 'browser/notification/notification_controller_efl.cc',
- 'browser/notification/notification_controller_efl.h',
- ],
- }],
-
- ['tizen_autofill_support==1', {
- 'defines': [
- 'TIZEN_AUTOFILL_SUPPORT=1',
- ],
- }],
-
- ['use_allocator=="tcmalloc"', {
- 'dependencies': [
- '<(DEPTH)/base/allocator/allocator.gyp:allocator',
- ],
- }], # use_allocator==tcmalloc
- ['use_wayland==1', {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }, {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- }], # use_wayland==1
-
- ['use_ozone==1', {
- 'dependencies': [
- '<(DEPTH)/ui/ozone/ozone.gyp:ozone',
- ],
- }], # use_ozone==1
- ],
-
- 'sources': [
- 'autofill_popup_view_efl.cc',
- 'autofill_popup_view_efl.h',
- 'browser_context_efl.cc',
- 'browser_context_efl.h',
- 'browser_main_parts_efl.cc',
- 'browser_main_parts_efl.h',
- 'chromium_ewk.gypi',
- 'command_line_efl.cc',
- 'command_line_efl.h',
- 'content_browser_client_efl.cc',
- 'content_browser_client_efl.h',
- 'content_main_delegate_efl.cc',
- 'content_main_delegate_efl.h',
- 'context_menu_controller_efl.cc',
- 'context_menu_controller_efl.h',
- 'cookie_manager.cc',
- 'cookie_manager.h',
- 'devtools_delegate_efl.cc',
- 'devtools_delegate_efl.h',
- 'devtools_manager_delegate_efl.cc',
- 'devtools_manager_delegate_efl.h',
- 'efl_webprocess_main.cc',
- 'efl_webprocess_main.h',
- 'eweb_context.cc',
- 'eweb_context.h',
- 'eweb_view_callbacks.h',
- 'eweb_view.cc',
- 'eweb_view.h',
- 'ewk_global_data.cc',
- 'ewk_global_data.h',
- 'file_chooser_controller_efl.cc',
- 'file_chooser_controller_efl.h',
- 'geolocation_permission_popup.cc',
- 'geolocation_permission_popup.h',
- 'http_user_agent_settings_efl.cc',
- 'http_user_agent_settings_efl.h',
- 'locale_efl.cc',
- 'locale_efl.h',
- 'message_pump_for_ui_efl.cc',
- 'message_pump_for_ui_efl.h',
- 'network_delegate_efl.cc',
- 'network_delegate_efl.h',
- 'notification_permission_popup.cc',
- 'notification_permission_popup.h',
- 'permission_popup.h'
- 'permission_popup_manager.cc'
- 'permission_popup_manager.h',
- 'popup_controller_efl.cc',
- 'popup_controller_efl.h',
- 'scroll_detector.cc',
- 'scroll_detector.h',
- 'text_encoding_map_efl.cc',
- 'text_encoding_map_efl.h',
- 'url_request_context_getter_efl.cc',
- 'url_request_context_getter_efl.h',
- 'usermedia_permission_popup.cc',
- 'usermedia_permission_popup.h',
- 'web_contents_efl_delegate_ewk.cc',
- 'web_contents_efl_delegate_ewk.h',
- 'web_contents_delegate_efl.cc',
- 'web_contents_delegate_efl.h',
- 'web_contents_view_delegate_ewk.cc',
- 'web_contents_view_delegate_ewk.h',
- 'web_contents_view_efl_delegate_ewk.cc',
- 'web_contents_view_efl_delegate_ewk.h',
-
- 'browser/browsing_data_remover_efl.cc',
- 'browser/browsing_data_remover_efl.h',
- 'browser/download_manager_delegate_efl.cc',
- 'browser/download_manager_delegate_efl.h',
- 'browser/editor_client_observer.cc',
- 'browser/editor_client_observer.h',
- 'browser/javascript_dialog_manager_efl.cc',
- 'browser/javascript_dialog_manager_efl.h',
- 'browser/javascript_modal_dialog_efl.cc',
- 'browser/javascript_modal_dialog_efl.h',
- 'browser/login_delegate_efl.cc',
- 'browser/login_delegate_efl.h',
- 'browser/mime_override_manager_efl.cc',
- 'browser/mime_override_manager_efl.h',
- 'browser/navigation_policy_handler_efl.cc',
- 'browser/navigation_policy_handler_efl.h',
- 'browser/permission_manager_efl.cc',
- 'browser/permission_manager_efl.h',
- 'browser/policy_response_delegate_efl.cc',
- 'browser/policy_response_delegate_efl.h',
- 'browser/quota_permission_context_efl.cc',
- 'browser/quota_permission_context_efl.h',
- 'browser/render_message_filter_efl.cc',
- 'browser/render_message_filter_efl.h',
- 'browser/resource_dispatcher_host_delegate_efl.cc',
- 'browser/resource_dispatcher_host_delegate_efl.h',
- 'browser/resource_throttle_efl.cc',
- 'browser/resource_throttle_efl.h',
- 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
- 'browser/scoped_wait_for_ewk.h',
- 'browser/sound_effect.cc',
- 'browser/sound_effect.h',
- 'browser/sound_effect_tizen.cc',
- 'browser/ssl_host_state_delegate_efl.cc',
- 'browser/ssl_host_state_delegate_efl.h',
- 'browser/web_view_browser_message_filter.cc',
- 'browser/web_view_browser_message_filter.h',
-
- 'browser/autofill/autofill_client_efl.h',
- 'browser/autofill/autofill_client_efl.cc',
- 'browser/autofill/personal_data_manager_factory.cc',
- 'browser/autofill/personal_data_manager_factory.h',
-
- 'browser/favicon/favicon_database.h',
- 'browser/favicon/favicon_database_p.cc',
- 'browser/favicon/favicon_commands.cc',
- 'browser/favicon/favicon_downloader.h',
- 'browser/favicon/favicon_database_p.h',
- 'browser/favicon/favicon_database.cc',
- 'browser/favicon/favicon_commands.h',
- 'browser/favicon/favicon_downloader.cc',
-
- 'browser/geolocation/access_token_store_efl.cc',
- 'browser/geolocation/access_token_store_efl.h',
- 'browser/geolocation/geolocation_permission_context_efl.cc',
- 'browser/geolocation/geolocation_permission_context_efl.h',
- 'browser/geolocation/location_provider_efl.cc',
- 'browser/geolocation/location_provider_efl.h',
-
- 'browser/inputpicker/color_chooser_efl.cc',
- 'browser/inputpicker/color_chooser_efl.h',
- 'browser/inputpicker/InputPicker.cc',
- 'browser/inputpicker/InputPicker.h',
-
- 'browser/password_manager/password_store_factory.cc',
- 'browser/password_manager/password_store_factory.h',
- 'browser/password_manager/password_manager_client_efl.cc',
- 'browser/password_manager/password_manager_client_efl.h',
-
- 'browser/selectpicker/popup_picker.cc',
- 'browser/selectpicker/popup_menu_item.cc',
- 'browser/selectpicker/popup_picker.h',
- 'browser/selectpicker/popup_menu_item_private.h',
- 'browser/selectpicker/popup_menu_item.h',
-
- 'browser/vibration/vibration_provider_client.cc',
- 'browser/vibration/vibration_provider_client.h',
-
- 'browser/web_cache_efl/web_cache_manager_efl.cc',
- 'browser/web_cache_efl/web_cache_manager_efl.h',
-
- 'browser/webdata/web_data_service.h',
- 'browser/webdata/web_data_service_factory.h',
- 'browser/webdata/web_data_service_factory.cc',
- 'browser/webdata/web_data_service.cc',
-
- 'common/cache_params_efl.h',
- 'common/content_client_efl.cc',
- 'common/content_client_efl.h',
- 'common/content_switches_efl.cc',
- 'common/content_switches_efl.h',
- 'common/editing_messages.h',
- 'common/hit_test_params.h',
- 'common/message_generator_ewk.h',
- 'common/message_generator_ewk.cc',
- 'common/navigation_policy_params.cc',
- 'common/navigation_policy_params.h',
- 'common/print_pages_params.h',
- 'common/print_pages_params.cc',
- 'common/render_messages_ewk.h',
- 'common/tizen_extensible.cc',
- 'common/tizen_extensible.h',
- 'common/version_info_efl.h',
- 'common/version_info.h',
- 'common/version_info.cc',
- 'common/web_contents_utils.cc',
- 'common/web_contents_utils.h',
- 'common/web_preferences_efl.h',
-
- 'private/back_forward_list.h',
- 'private/ewk_auth_challenge_private.h',
- 'private/ewk_autofill_profile_private.cc',
- 'private/ewk_autofill_profile_private.h',
- 'private/ewk_back_forward_list_private.cc',
- 'private/ewk_back_forward_list_private.h',
- 'private/ewk_certificate_private.h',
- 'private/ewk_console_message_private.h',
- 'private/ewk_context_form_autofill_profile_private.cc',
- 'private/ewk_context_form_autofill_profile_private.h',
- 'private/ewk_context_menu_private.h',
- 'private/ewk_context_private.cc',
- 'private/ewk_context_private.h',
- 'private/ewk_cookie_manager_private.h',
- 'private/ewk_custom_handlers_private.cc',
- 'private/ewk_custom_handlers_private.h',
- 'private/ewk_error_private.h',
- 'private/ewk_favicon_database_private.h',
- 'private/ewk_frame_private.cc',
- 'private/ewk_frame_private.h',
- 'private/ewk_geolocation_private.cc',
- 'private/ewk_geolocation_private.h',
- 'private/ewk_history_private.cc',
- 'private/ewk_history_private.h',
- 'private/ewk_hit_test_private.cc',
- 'private/ewk_hit_test_private.h',
- 'private/ewk_main_private.cc',
- 'private/ewk_main_private.h',
- 'private/ewk_notification_private.cc',
- 'private/ewk_notification_private.h',
- 'private/ewk_object_private.h',
- 'private/ewk_policy_decision_private.cc',
- 'private/ewk_policy_decision_private.h',
- 'private/ewk_private.h',
- 'private/ewk_quota_permission_request_private.cc',
- 'private/ewk_quota_permission_request_private.h',
- 'private/ewk_security_origin_private.cc',
- 'private/ewk_security_origin_private.h',
- 'private/ewk_settings_private.cc',
- 'private/ewk_settings_private.h',
- 'private/ewk_suspendable_object.cc',
- 'private/ewk_suspendable_object.h',
- 'private/ewk_text_style_private.h',
- 'private/ewk_tracing_private.cc',
- 'private/ewk_tracing_private.h',
- 'private/ewk_user_media_private.cc',
- 'private/ewk_user_media_private.h',
- 'private/ewk_view_private.cc',
- 'private/ewk_view_private.h',
- 'private/ewk_web_application_icon_data_private.cc',
- 'private/ewk_web_application_icon_data_private.h',
- 'private/ewk_window_features_private.h',
- 'private/ewk_wrt_private.cc',
- 'private/ewk_wrt_private.h',
- 'private/webview_delegate_ewk.cc',
- 'private/webview_delegate_ewk.h',
-
- 'public/ewk_application_cache_manager.cc',
- 'public/ewk_application_cache_manager.h',
- 'public/ewk_auth_challenge.cc',
- 'public/ewk_auth_challenge.h',
- 'public/ewk_auth_request.cc',
- 'public/ewk_auth_request.h',
- 'public/ewk_autofill_profile.cc',
- 'public/ewk_autofill_profile.h',
- 'public/ewk_back_forward_list.cc',
- 'public/ewk_back_forward_list.h',
- 'public/ewk_back_forward_list_item.cc',
- 'public/ewk_back_forward_list_item.h',
- 'public/ewk_certificate.cc',
- 'public/ewk_certificate.h',
- 'public/ewk_console_message.cc',
- 'public/ewk_console_message.h',
- 'public/ewk_content_screening_detection.cc',
- 'public/ewk_content_screening_detection.h',
- 'public/ewk_context.cc',
- 'public/ewk_context.h',
- 'public/ewk_context_menu.cc',
- 'public/ewk_context_menu.h',
- 'public/ewk_cookie_manager.cc',
- 'public/ewk_cookie_manager.h',
- 'public/ewk_custom_handlers.cc',
- 'public/ewk_custom_handlers.h',
- 'public/ewk_dispatcher.cc',
- 'public/ewk_dispatcher.h',
- 'public/ewk_error.cc',
- 'public/ewk_error.h',
- 'public/ewk_favicon_database.cc',
- 'public/ewk_favicon_database.h',
- 'public/ewk_frame.cc',
- 'public/ewk_frame.h',
- 'public/ewk_geolocation.cc',
- 'public/ewk_geolocation.h',
- 'public/ewk_history.cc',
- 'public/ewk_history.h',
- 'public/ewk_hit_test.cc',
- 'public/ewk_hit_test.h',
- 'public/ewk_intercept_request.cc',
- 'public/ewk_intercept_request.h',
- 'public/ewk_ipc_message.cc',
- 'public/ewk_ipc_message.h',
- 'public/ewk_main.cc',
- 'public/ewk_main.h',
- 'public/ewk_notification.cc',
- 'public/ewk_notification.h',
- 'public/ewk_object.cc',
- 'public/ewk_object.h',
- 'public/ewk_page_group.cc',
- 'public/ewk_page_group.h',
- 'public/ewk_policy_decision.cc',
- 'public/ewk_policy_decision.h',
- 'public/ewk_popup_menu_item.cc',
- 'public/ewk_popup_menu_item.h',
- 'public/ewk_quota_permission_request.cc',
- 'public/ewk_quota_permission_request.h',
- 'public/ewk_security_origin.cc',
- 'public/ewk_security_origin.h',
- 'public/ewk_settings.cc',
- 'public/ewk_settings.h',
- 'public/ewk_storage_manager.cc',
- 'public/ewk_storage_manager.h',
- 'public/ewk_text_style.cc',
- 'public/ewk_text_style.h',
- 'public/ewk_tracing.cc',
- 'public/ewk_tracing.h',
- 'public/ewk_user_media.cc',
- 'public/ewk_user_media.h',
- 'public/ewk_view.cc',
- 'public/ewk_view.h',
- 'public/ewk_web_application_icon_data.cc',
- 'public/ewk_web_application_icon_data.h',
- 'public/ewk_window_features.cc',
- 'public/ewk_window_features.h',
- 'public/ewk_chromium.cc',
- 'public/ewk_chromium.h',
- 'public/ewk_enums.h',
- 'public/ewk_export.h',
- 'public/ewk_log.h',
- 'public/ewk_touch.h',
-
- 'browser/web_view_evas_handler.cc',
- 'browser/web_view_evas_handler.h',
-
- 'renderer/content_renderer_client_efl.cc',
- 'renderer/content_renderer_client_efl.h',
- 'renderer/editorclient_agent.cc',
- 'renderer/editorclient_agent.h',
- 'renderer/plugins/plugin_placeholder_efl.cc',
- 'renderer/plugins/plugin_placeholder_efl.h',
- 'renderer/print_web_view_helper_efl.cc',
- 'renderer/print_web_view_helper_efl.h',
- 'renderer/render_frame_observer_efl.cc',
- 'renderer/render_frame_observer_efl.h',
- 'renderer/render_thread_observer_efl.cc',
- 'renderer/render_thread_observer_efl.h',
- 'renderer/render_view_observer_efl.cc',
- 'renderer/render_view_observer_efl.h',
-
- 'resource/AutofillPopup.edc',
- 'resource/JavaScriptPopup.edc',
- 'resource/control.edc',
-
- 'wrt/wrtwidget.cc',
- 'wrt/wrt_file_protocol_handler.cc',
- 'wrt/dynamicplugin.cc',
- 'wrt/wrt_file_protocol_handler.h',
- 'wrt/wrt_widget_host.cc',
- 'wrt/wrtwidget.h',
- 'wrt/wrt_widget_host.h',
- 'wrt/dynamicplugin.h',
- ], # sources
-
- 'rules': [{
- 'rule_name': 'edje_resources_ewk',
- 'message': 'Compiling EWK edje files <(RULE_INPUT_NAME)',
- 'extension': 'edc',
- 'outputs': [
- '<(PRODUCT_DIR)/resources/<(RULE_INPUT_ROOT).edj',
- ],
- 'action': [
- '<(edje_compiler)',
- '-id', '<(DEPTH)/tizen_src/ewk/efl_integration/resource/images',
- '<(RULE_INPUT_PATH)',
- '<(PRODUCT_DIR)/resources/<(RULE_INPUT_ROOT).edj',
- ],
- }], # rules
- }, # chromum-ewk
- {
- 'target_name': 'efl_webprocess',
- 'type': 'executable',
- 'sources': [
- 'efl_webprocess.cc',
- ],
- 'dependencies': [
- 'chromium-ewk',
- ],
- },
- {
- 'target_name': 'launch_exec',
- 'type': 'none',
- 'sources': [
- 'launch_exec.sh',
- ],
- 'copies': [{
- 'destination': '<(PRODUCT_DIR)',
- 'files': [ 'launch_exec.sh', ],
- }],
- }],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'external_chromium_ewk_dependency': [
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:chromium-ewk',
- ],
-
- 'external_xwalk_dependencies_removals': [
- '<(DEPTH)/tizen_src/chromium_impl/efl/efl.gyp:efl-init',
- ],
-
- 'external_xwalk_runtime_dependencies_removals': [
- '<(DEPTH)/base/base.gyp:base',
- '<(DEPTH)/base/base.gyp:base_i18n',
- '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
- '<(DEPTH)/cc/cc.gyp:cc',
- '<(DEPTH)/components/components.gyp:autofill_content_renderer',
- '<(DEPTH)/components/components.gyp:visitedlink_browser',
- '<(DEPTH)/components/components.gyp:visitedlink_renderer',
- '<(DEPTH)/content/content.gyp:content',
- '<(DEPTH)/content/content.gyp:content_app_both',
- '<(DEPTH)/content/content.gyp:content_browser',
- '<(DEPTH)/content/content.gyp:content_common',
- '<(DEPTH)/content/content.gyp:content_gpu',
- '<(DEPTH)/content/content.gyp:content_plugin',
- '<(DEPTH)/content/content.gyp:content_ppapi_plugin',
- '<(DEPTH)/content/content.gyp:content_renderer',
- '<(DEPTH)/content/content.gyp:content_utility',
- '<(DEPTH)/gin/gin.gyp:gin',
- '<(DEPTH)/ipc/ipc.gyp:ipc',
- '<(DEPTH)/media/media.gyp:media',
- '<(DEPTH)/net/net.gyp:net',
- '<(DEPTH)/net/net.gyp:net_resources',
- '<(DEPTH)/skia/skia.gyp:skia',
- '<(DEPTH)/storage/storage_browser.gyp:storage',
- '<(DEPTH)/storage/storage_common.gyp:storage_common',
- '<(DEPTH)/third_party/blink/public/blink.gyp:blink',
- '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
- '<(DEPTH)/ui/gl/gl.gyp:gl',
- '<(DEPTH)/ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
- '<(DEPTH)/ui/snapshot/snapshot.gyp:snapshot',
- '<(DEPTH)/url/url.gyp:url_lib',
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
-
- 'external_xwalk_application_common_lib_dependencies_removals': [
- '<(DEPTH)/base/base.gyp:base',
- '<(DEPTH)/base/base.gyp:base_i18n',
- '<(DEPTH)/content/content.gyp:content_common',
- '<(DEPTH)/crypto/crypto.gyp:crypto',
- '<(DEPTH)/net/net.gyp:net',
- '<(DEPTH)/sql/sql.gyp:sql',
- '<(DEPTH)/url/url.gyp:url_lib',
- '<(DEPTH)/sandbox/sandbox.gyp:sandbox',
- ],
-
- 'external_xwalk_application_lib_dependencies_removals': [
- '../base/base.gyp:base',
- '../content/content.gyp:content_browser',
- '../crypto/crypto.gyp:crypto',
- '../ipc/ipc.gyp:ipc',
- '../ui/base/ui_base.gyp:ui_base',
- '../url/url.gyp:url_lib',
- '../third_party/blink/public/blink.gyp:blink',
- '../third_party/zlib/google/zip.gyp:zip',
- ],
-
- 'external_sysapps_dependencies_removals': [
- '../../base/base.gyp:base',
- '../../net/net.gyp:net',
- '../../ui/base/ui_base.gyp:ui_base',
- '../../ui/gfx/gfx.gyp:gfx',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- '../../components/components.gyp:storage_monitor',
- '../../content/content.gyp:content_common',
- '../../media/media.gyp:media',
- ],
-
- 'external_xwalk_extensions_dependencies_removals': [
- '../../base/base.gyp:base',
- '../../content/content.gyp:content',
- '../../ipc/ipc.gyp:ipc',
- '../../url/url.gyp:url_lib',
- '../../v8/src/v8.gyp:v8',
- '../../third_party/blink/public/blink.gyp:blink',
- ],
-
- 'external_xwalk_tizen_lib_dependencies_removals': [
- '../../skia/skia.gyp:skia',
- ],
-
- 'conditions': [
- ['<(enable_plugins)==1', {
- 'external_xwalk_runtime_dependencies_removals': [
- '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_host',
- '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_proxy',
- '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_ipc',
- '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_shared',
- ],
- }],
- ['<(tizen)==1', {
- 'external_xwalk_runtime_dependencies_removals': [
- '../content/app/resources/content_resources.gyp:content_resources',
- '../ui/compositor/compositor.gyp:compositor',
- '../components/components.gyp:web_modal',
- '../components/components.gyp:renderer_context_menu',
- '../extensions/extensions.gyp:extensions_browser',
- ],
-
- 'external_xwalk_application_common_lib_dependencies_removals': [
- '../../../base/base.gyp:xdg_mime',
- '../../../net/net.gyp:net',
- ],
-
- 'external_xwalk_application_lib_dependencies_removals': [
- '<(DEPTH)/ui/events/platform/events_platform.gyp:events_platform',
- '<(DEPTH)/ui/events/events.gyp:events',
- ],
- }],
-
- ['<(tizen_mobile)==1', {
- 'external_xwalk_tizen_lib_dependencies': [
- '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen',
- ],
- 'external_xwalk_tizen_lib_dependencies_removals': [
- '../../ui/base/ui_base.gyp:ui_base',
- ]
- }],
- ],
- },
- 'target_defaults': {
- 'target_conditions': [
-
- ['_target_name=="autofill_content_renderer"', {
- 'defines': [
- 'LINKING_XWALK_WITH_EWK',
- ],
- }],
-
- ['_target_name=="storage_monitor"', {
- 'defines': [
- 'LINKING_XWALK_WITH_EWK',
- ],
- }],
-
- ['_target_name=="xwalk"', {
- 'ldflags': [
- '-L<(PRODUCT_DIR)/obj/ppapi/',
- ],
- 'libraries': [
- '-lppapi_ipc',
- ],
- 'conditions': [
- ['<(tizen)==1', {
- 'ldflags': [
- '-L<(PRODUCT_DIR)/obj/components/',
- ],
- 'libraries': [
- '-lweb_modal',
- ],
- }],
- # On Tizen3 mobile ARM 32bit builds, we get the following link error:
- # [XXs] /lib/libpkgmgr_parser.so: error: undefined reference to 'smack_setlabel'
- ['<(tizen_mobile)==1 and target_arch=="arm"', {
- 'libraries': [
- '-lsmack',
- ],
- }],
- ],
- }],
-
- ['_target_name=="xwalk_runtime"', {
- 'cflags_cc': [
- '-I../../third_party/skia/include/config/',
- '-I../../third_party/skia/include/core/',
- '-I../../third_party/WebKit/',
- '-I../../third_party/mojo/src/',
- ],
- }],
-
- ['_target_name=="xwalk_backend"', {
- 'conditions': [
- # On Tizen3 mobile ARM 32bit builds, we get the following link error:
- # [XXs] /lib/libpkgmgr_parser.so: error: undefined reference to 'smack_setlabel'
- ['<(tizen_mobile)==1 and target_arch=="arm"', {
- 'libraries': [
- '-lsmack',
- ],
- }],
- ],
- }],
-
- ['_target_name=="xwalk_application_lib"', {
- 'cflags_cc': [
- '-I../../third_party/WebKit',
- '-I../../third_party/skia/include/config/',
- '-I../../third_party/mojo/src/',
- ],
- }],
-
- ['_target_name=="xwalk_extensions"', {
- 'cflags_cc': [
- '-I../../',
- '-I../../third_party/WebKit',
- '-I../../third_party/skia/include/config/',
- ],
- }],
-
- ['_target_name=="xwalk_tizen_lib" and tizen==1', {
- 'cflags_cc': [
- '-I../../third_party/skia/include/config/',
- '-I../../third_party/skia/include/core/',
- ],
- }],
-
- ['_target_name=="xwalk_application_common_lib" and tizen==1', {
- 'cflags_cc': [
- '-I../../third_party/mojo/src/',
- ],
- }],
- ], # target_conditions
- } # target_defaults
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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': 'efl_webview_app',
- 'type': 'executable',
-
- 'copies': [{
- 'destination': '<(PRODUCT_DIR)',
- 'files': [ 'efl_webview_app.sh', ],
- }],
-
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:chromium-ewk',
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:launch_exec',
- ],
- 'includes': [
- '../tizen_version_defines_for_apps.gypi',
- ],
- 'cflags/': [
- # Treat warning as error for this target.
- # It needs to be included by means of pattern list because '-Werror' cflag
- # will be excluded in chromium side (src/build/common.gypi), and GYP
- # processes pattern lists after exclusion lists.
- # (ref: https://gyp.gsrc.io/docs/InputFormatReference.md#Processing-Order)
- ['include', '-Werror'],
- ],
- 'conditions': [
- ['use_wayland==0', {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- },
- {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }],
- ],
- 'include_dirs': [
- '../efl_integration',
- ],
- 'sources': [
- 'app.c',
- ],
- 'link_settings': {
- 'ldflags': [
- '-Llib',
- ],
- 'libraries': [
- '-lchromium-ewk',
- ],
- },
- },
- {
- 'target_name': 'mini_browser',
- 'type': 'executable',
- 'cflags/': [
- # Treat warning as error for this target.
- # It needs to be included by means of pattern list because '-Werror' cflag
- # will be excluded in chromium side (src/build/common.gypi), and GYP
- # processes pattern lists after exclusion lists.
- # (ref: https://gyp.gsrc.io/docs/InputFormatReference.md#Processing-Order)
- ['include', '-Werror'],
- ],
- 'conditions': [
- ['building_for_tizen==1', { # FIXME: mini_browser shouldn't depend on dlog and appcore-efl without OS(TIZEN) checks
- 'sources': [
- 'mini_browser.c',
- 'browser-object.h',
- 'browser-string.h',
- ],
- 'include_dirs': [
- '../efl_integration',
- ],
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-appfw-application',
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:efl-extension',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:chromium-ewk',
- '<(DEPTH)/build/linux/system.gyp:glib',
- ],
- 'includes': [
- '../tizen_version_defines_for_apps.gypi',
- ],
- 'conditions': [
- ['use_wayland==0', {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- ],
- },
- {
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-wayland',
- ],
- }],
- ],
- 'cflags': [
- '<!@(pkg-config --cflags dlog)',
- '<!@(pkg-config --cflags dbus-glib-1)',
- ],
- 'link_settings': {
- 'ldflags': [
- '<!@(pkg-config --libs-only-L --libs-only-other dlog)',
- '<!@(pkg-config --libs-only-L --libs-only-other dbus-glib-1)',
- ],
- 'libraries': [
- '<!@(pkg-config --libs-only-l dlog)',
- '<!@(pkg-config --libs-only-l dbus-glib-1)',
- ]
- },
- }]
- ],
- }
- ]
-}
+++ /dev/null
-{
- 'variables': {
- 'msgfmt%': '/usr/bin/msgfmt',
- },
- 'targets': [{
- 'target_name': 'locale_efl',
- 'type': 'none',
- 'sources': [
- 'ar.po',
- 'az.po',
- 'bg.po',
- 'bn.po',
- 'ca.po',
- 'cs.po',
- 'da.po',
- 'de_DE.po',
- 'el_GR.po',
- 'en_PH.po',
- 'en.po',
- 'en_US.po',
- 'es_ES.po',
- 'es_MX.po',
- 'et.po',
- 'eu.po',
- 'fi.po',
- 'fr_CA.po',
- 'fr_FR.po',
- 'ga.po',
- 'gl.po',
- 'gu.po',
- 'hi.po',
- 'hr.po',
- 'hu.po',
- 'hy.po',
- 'is.po',
- 'it_IT.po',
- 'ja_JP.po',
- 'ka.po',
- 'kk.po',
- 'kn.po',
- 'ko_KR.po',
- 'lt.po',
- 'lv.po',
- 'mk.po',
- 'nb.po',
- 'nl_NL.po',
- 'ml.po',
- 'pl.po',
- 'pt_BR.po',
- 'pt_PT.po',
- 'ro.po',
- 'ru_RU.po',
- 'si.po',
- 'sk.po',
- 'sl.po',
- 'sr.po',
- 'sv.po',
- 'ta.po',
- 'te.po',
- 'tr_TR.po',
- 'uk.po',
- 'ur.po',
- 'uz.po',
- 'zh_CN.po',
- 'zh_HK.po',
- 'zh_SG.po',
- 'zh_TW.po',
- ],
- 'rules': [{
- 'rule_name': 'translations',
- 'message': 'MSGFMT <(RULE_INPUT_NAME)',
- 'extension': 'po',
- 'outputs': [
- '<(PRODUCT_DIR)/locale/<(RULE_INPUT_ROOT)/LC_MESSAGES/WebKit.mo',
- ],
- 'action': [
- '<(msgfmt)', '-o',
- '<(PRODUCT_DIR)/locale/<(RULE_INPUT_ROOT)/LC_MESSAGES/WebKit.mo',
- '<(RULE_INPUT_PATH)',
- ],
- }],
- }],
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'conditions': [
- ['building_for_tizen==1', {
- 'conditions': [
- ['chromium_efl_tizen_version=="3.0"', {
- 'defines': [
- 'TIZEN_V_3_0=1',
- ],
- }],
- ['chromium_efl_tizen_version=="2.4"', {
- 'defines': [
- 'TIZEN_V_2_4=1',
- ],
- }],
- ['chromium_efl_tizen_version=="2.3"', {
- 'defines': [
- 'TIZEN_V_2_3=1',
- ],
- }],
- ],
- }],
- ], # conditions
-}
+++ /dev/null
-{
- 'targets': [{
- 'target_name': 'ubrowser',
- 'type': 'executable',
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:capi-system-device',
- '<(DEPTH)/tizen_src/build/system.gyp:evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:chromium-ewk',
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:launch_exec',
- '<(DEPTH)/tizen_src/build/system.gyp:efl-extension',
- ],
- 'defines': [
- # Uncomment once uBrowser replaces mini_browser and it's xml
- # manifest is shipped in the rpm package
- #'TIZEN_APP=1',
- ],
- 'include_dirs': [
- '.',
- '../efl_integration/public',
- ],
- 'sources': [
- 'browser.cc',
- 'browser.h',
- 'logger.cc',
- 'logger.h',
- 'main.cc',
- 'window.cc',
- 'window.h',
- 'window_ui.h',
- 'window_ui.cc',
- ],
- 'copies': [{
- 'destination': '<(PRODUCT_DIR)',
- 'files': [ 'ubrowser.sh', ],
- }],
- 'cflags/': [
- # Treat warning as error for this target.
- # It needs to be included by means of pattern list because '-Werror' cflag
- # will be excluded in chromium side (src/build/common.gypi), and GYP
- # processes pattern lists after exclusion lists.
- # (ref: https://gyp.gsrc.io/docs/InputFormatReference.md#Processing-Order)
- ['include', '-Werror'],
- ],
- 'conditions': [
- ['building_for_tizen==1', {
- 'cflags': [
- '<!@(pkg-config --cflags capi-appfw-application)',
- ],
- 'link_settings': {
- 'ldflags': [
- '<!@(pkg-config --libs-only-L --libs-only-other capi-appfw-application)',
- ],
- 'libraries': [
- '<!@(pkg-config --libs-only-l capi-appfw-application)',
- ]
- },
- }], # building_for_tizen==1
- ],
- }],
-}
+++ /dev/null
-{
- 'targets': [{
- 'target_name': 'ewk_unittests',
- 'type': '<(gtest_target_type)',
- 'dependencies': [
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-evas',
- '<(DEPTH)/tizen_src/build/system.gyp:ecore-x',
- '<(DEPTH)/tizen_src/build/system.gyp:edje',
- '<(DEPTH)/tizen_src/build/system.gyp:elementary',
- '<(DEPTH)/tizen_src/ewk/efl_integration/efl_integration.gypi:chromium-ewk',
- '<(DEPTH)/testing/gtest.gyp:gtest',
- 'bundle_sample',
- ],
- 'include_dirs': [
- '../efl_integration/public',
- ],
- 'sources': [
- 'execute_utc_blink.cpp',
- 'utc_blink_cb_contextmenu_allowed.cpp',
- 'utc_blink_cb_contextmenu_willshow.cpp',
- 'utc_blink_cb_editorclient_candidate_closed.cpp',
- 'utc_blink_cb_editorclient_candidate_opened.cpp',
- 'utc_blink_cb_editorclient_ime_closed.cpp',
- 'utc_blink_cb_editorclient_ime_opened.cpp',
- 'utc_blink_cb_form_submit.cpp',
- 'utc_blink_cb_fullscreen_enterfullscreen.cpp',
- 'utc_blink_cb_fullscreen_exitfullscreen.cpp',
- 'utc_blink_cb_geolocation_valid.cpp',
- 'utc_blink_cb_icon_received.cpp',
- 'utc_blink_cb_inputmethod_changed.cpp',
- 'utc_blink_cb_load_finished.cpp',
- 'utc_blink_cb_load_progress.cpp',
- 'utc_blink_cb_load_progress_finished.cpp',
- 'utc_blink_cb_load_progress_started.cpp',
- 'utc_blink_cb_load_started.cpp',
- 'utc_blink_cb_magnifier_hide.cpp',
- 'utc_blink_cb_magnifier_show.cpp',
- 'utc_blink_cb_popup_blocked.cpp',
- 'utc_blink_cb_protocolhandler_isregistered.cpp',
- 'utc_blink_cb_protocolhandler_registration_requested.cpp',
- 'utc_blink_cb_protocolhandler_unregistration_requested.cpp',
- 'utc_blink_cb_redo_size.cpp',
- 'utc_blink_cb_textselection_mode.cpp',
- 'utc_blink_cb_title_changed.cpp',
- 'utc_blink_cb_undo_size.cpp',
- 'utc_blink_cb_unfocus_direction.cpp',
- 'utc_blink_cb_uri_changed.cpp',
- 'utc_blink_cb_url_changed.cpp',
- 'utc_blink_ewk_auth_challenge_credential_cancel_func.cpp',
- 'utc_blink_ewk_auth_challenge_credential_use_func.cpp',
- 'utc_blink_ewk_auth_challenge_realm_get_func.cpp',
- 'utc_blink_ewk_auth_challenge_suspend_func.cpp',
- 'utc_blink_ewk_autofill_profile_data_get_func.cpp',
- 'utc_blink_ewk_autofill_profile_data_set_func.cpp',
- 'utc_blink_ewk_autofill_profile_delete_func.cpp',
- 'utc_blink_ewk_autofill_profile_id_get_func.cpp',
- 'utc_blink_ewk_autofill_profile_new_func.cpp',
- 'utc_blink_ewk_back_forward_list_count_func.cpp',
- 'utc_blink_ewk_back_forward_list_current_item_get_func.cpp',
- 'utc_blink_ewk_back_forward_list_item_at_index_get_func.cpp',
- 'utc_blink_ewk_back_forward_list_item_original_url_get_func.cpp',
- 'utc_blink_ewk_back_forward_list_item_ref_func.cpp',
- 'utc_blink_ewk_back_forward_list_item_title_get_func.cpp',
- 'utc_blink_ewk_back_forward_list_item_unref_func.cpp',
- 'utc_blink_ewk_back_forward_list_item_url_get_func.cpp',
- 'utc_blink_ewk_back_forward_list_n_back_items_copy_func.cpp',
- 'utc_blink_ewk_back_forward_list_n_forward_items_copy_func.cpp',
- 'utc_blink_ewk_back_forward_list_next_item_get_func.cpp',
- 'utc_blink_ewk_back_forward_list_previous_item_get_func.cpp',
- 'utc_blink_ewk_base.cpp',
- 'utc_blink_ewk_base.h',
- 'utc_blink_ewk_certificate_policy_decision_allowed_set_func.cpp',
- 'utc_blink_ewk_certificate_policy_decision_certificate_pem_get_func.cpp',
- 'utc_blink_ewk_certificate_policy_decision_suspend_func.cpp',
- 'utc_blink_ewk_certificate_policy_decision_url_get_func.cpp',
- 'utc_blink_ewk_console_message_level_get_func.cpp',
- 'utc_blink_ewk_console_message_line_get_func.cpp',
- 'utc_blink_ewk_console_message_source_get_func.cpp',
- 'utc_blink_ewk_console_message_text_get_func.cpp',
- 'utc_blink_ewk_context_additional_plugin_path_set_func.cpp',
- 'utc_blink_ewk_context_application_cache_delete_all_func.cpp',
- 'utc_blink_ewk_context_application_cache_delete_func.cpp',
- 'utc_blink_ewk_context_application_cache_origins_get_func.cpp',
- 'utc_blink_ewk_context_cache_clear_func.cpp',
- 'utc_blink_ewk_context_cache_disabled_set_func.cpp',
- 'utc_blink_ewk_context_cache_model_get_func.cpp',
- 'utc_blink_ewk_context_cache_model_set_func.cpp',
- 'utc_blink_ewk_context_certificate_file_get_func.cpp',
- 'utc_blink_ewk_context_certificate_file_set_func.cpp',
- 'utc_blink_ewk_context_cookie_manager_get_func.cpp',
- 'utc_blink_ewk_context_default_get_func.cpp',
- 'utc_blink_ewk_context_delete_func.cpp',
- 'utc_blink_ewk_context_did_start_download_callback_set_func.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_add_func.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_get_all_func.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_get_func.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_remove_func.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_set_func.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_utils.cpp',
- 'utc_blink_ewk_context_form_autofill_profile_utils.h',
- 'utc_blink_ewk_context_form_candidate_data_delete_all_func.cpp',
- 'utc_blink_ewk_context_form_password_data_delete_all_func.cpp',
- 'utc_blink_ewk_context_icon_database_icon_object_add_func.cpp',
- 'utc_blink_ewk_context_icon_database_path_set_func.cpp',
- 'utc_blink_ewk_context_inspector_server_start_func.cpp',
- 'utc_blink_ewk_context_inspector_server_stop_func.cpp',
- 'utc_blink_ewk_context_local_file_system_all_delete_func.cpp',
- 'utc_blink_ewk_context_local_file_system_delete_func.cpp',
- 'utc_blink_ewk_context_menu.h',
- 'utc_blink_ewk_context_menu_item_append_as_action_func.cpp',
- 'utc_blink_ewk_context_menu_item_append_func.cpp',
- 'utc_blink_ewk_context_menu_item_count_func.cpp',
- 'utc_blink_ewk_context_menu_item_image_url_get_func.cpp',
- 'utc_blink_ewk_context_menu_item_link_url_get_func.cpp',
- 'utc_blink_ewk_context_menu_item_remove_func.cpp',
- 'utc_blink_ewk_context_menu_item_tag_get_func.cpp',
- 'utc_blink_ewk_context_menu_nth_item_get_func.cpp',
- 'utc_blink_ewk_context_new_func.cpp',
- 'utc_blink_ewk_context_new_with_injected_bundle_path_func.cc',
- 'utc_blink_ewk_context_notify_low_memory_func.cpp',
- 'utc_blink_ewk_context_pixmap_set_func.cpp',
- 'utc_blink_ewk_context_preferred_languages_set_func.cpp',
- 'utc_blink_ewk_context_proxy_uri_get_func.cpp',
- 'utc_blink_ewk_context_proxy_uri_set_func.cpp',
- 'utc_blink_ewk_context_vibration_client_callbacks_set_func.cpp',
- 'utc_blink_ewk_context_web_database_delete_all_func.cpp',
- 'utc_blink_ewk_context_web_database_delete_func.cpp',
- 'utc_blink_ewk_context_web_database_origins_get_func.cpp',
- 'utc_blink_ewk_context_web_indexed_database_delete_all_func.cpp',
- 'utc_blink_ewk_context_web_storage_delete_all_func.cpp',
- 'utc_blink_ewk_context_web_storage_origin_delete_func.cpp',
- 'utc_blink_ewk_context_web_storage_origins_get_func.cpp',
- 'utc_blink_ewk_cookie_manager_accept_policy_async_get_func.cpp',
- 'utc_blink_ewk_cookie_manager_accept_policy_set_func.cpp',
- 'utc_blink_ewk_cookie_manager_cookies_clear_func.cpp',
- 'utc_blink_ewk_custom_handlers_data_base_url_get_func.cpp',
- 'utc_blink_ewk_custom_handlers_data_result_set_func.cpp',
- 'utc_blink_ewk_custom_handlers_data_target_get_func.cpp',
- 'utc_blink_ewk_custom_handlers_data_title_get_func.cpp',
- 'utc_blink_ewk_custom_handlers_data_url_get_func.cpp',
- 'utc_blink_ewk_error_code_get_func.cpp',
- 'utc_blink_ewk_error_description_get_func.cpp',
- 'utc_blink_ewk_error_type_get_func.cpp',
- 'utc_blink_ewk_error_url_get_func.cpp',
- 'utc_blink_ewk_frame_is_main_frame_func.cpp',
- 'utc_blink_ewk_geolocation_permission_reply_func.cpp',
- 'utc_blink_ewk_geolocation_permission_request_origin_get_func.cpp',
- 'utc_blink_ewk_geolocation_permission_request_set_func.cpp',
- 'utc_blink_ewk_geolocation_permission_request_suspend_func.cpp',
- 'utc_blink_ewk_history_back_list_length_get_func.cpp',
- 'utc_blink_ewk_history_forward_list_length_get.cpp',
- 'utc_blink_ewk_history_free_func.cpp',
- 'utc_blink_ewk_history_item_title_get_func.cpp',
- 'utc_blink_ewk_history_item_uri_get_func.cpp',
- 'utc_blink_ewk_history_nth_item_get.cpp',
- 'utc_blink_ewk_hit_test_attribute_hash_get_func.cpp',
- 'utc_blink_ewk_hit_test_free_func.cpp',
- 'utc_blink_ewk_hit_test_image_file_name_extension_get_func.cpp',
- 'utc_blink_ewk_hit_test_image_uri_get_func.cpp',
- 'utc_blink_ewk_hit_test_link_label_get_func.cpp',
- 'utc_blink_ewk_hit_test_link_title_get_func.cpp',
- 'utc_blink_ewk_hit_test_link_uri_get_func.cpp',
- 'utc_blink_ewk_hit_test_media_uri_get_func.cpp',
- 'utc_blink_ewk_hit_test_node_value_get_func.cpp',
- 'utc_blink_ewk_hit_test_result_context_get_func.cpp',
- 'utc_blink_ewk_hit_test_tag_name_get_func.cpp',
- 'utc_blink_ewk_home_directory_get_func.cpp',
- 'utc_blink_ewk_home_directory_set_func.cpp',
- 'utc_blink_ewk_notification_body_get_func.cpp',
- 'utc_blink_ewk_notification_callbacks_reset_func.cpp',
- 'utc_blink_ewk_notification_callbacks_set_func.cpp',
- 'utc_blink_ewk_notification_clicked_func.cpp',
- 'utc_blink_ewk_notification_closed_func.cpp',
- 'utc_blink_ewk_notification_icon_get_func.cpp',
- 'utc_blink_ewk_notification_icon_save_as_png_func.cpp',
- 'utc_blink_ewk_notification_id_get_func.cpp',
- 'utc_blink_ewk_notification_permission_reply_func.cpp',
- 'utc_blink_ewk_notification_permission_request_origin_get_func.cpp',
- 'utc_blink_ewk_notification_permission_request_set_func.cpp',
- 'utc_blink_ewk_notification_permission_request_suspend_func.cpp',
- 'utc_blink_ewk_notification_policies_removed_func.cpp',
- 'utc_blink_ewk_notification_security_origin_get_func.cpp',
- 'utc_blink_ewk_notification_showed_func.cpp',
- 'utc_blink_ewk_notification_silent_get_func.cpp',
- 'utc_blink_ewk_notification_title_get_func.cpp',
- 'utc_blink_ewk_policy_decision_cookie_get_func.cpp',
- 'utc_blink_ewk_policy_decision_frame_get_func.cpp',
- 'utc_blink_ewk_policy_decision_host_get_func.cpp',
- 'utc_blink_ewk_policy_decision_http_method_get_func.cpp',
- 'utc_blink_ewk_policy_decision_ignore_func.cpp',
- 'utc_blink_ewk_policy_decision_navigation_type_get_func.cpp',
- 'utc_blink_ewk_policy_decision_password_get_func.cpp',
- 'utc_blink_ewk_policy_decision_response_headers_get_func.cpp',
- 'utc_blink_ewk_policy_decision_response_mime_get_func.cpp',
- 'utc_blink_ewk_policy_decision_response_status_code_get_func.cpp',
- 'utc_blink_ewk_policy_decision_scheme_get_func.cpp',
- 'utc_blink_ewk_policy_decision_suspend_func.cpp',
- 'utc_blink_ewk_policy_decision_type_get_func.cpp',
- 'utc_blink_ewk_policy_decision_url_get_func.cpp',
- 'utc_blink_ewk_policy_decision_use_func.cpp',
- 'utc_blink_ewk_policy_decision_userid_get_func.cpp',
- 'utc_blink_ewk_quota_permission_request_is_persistent_get_func.cpp',
- 'utc_blink_ewk_quota_permission_request_origin_host_get_func.cpp',
- 'utc_blink_ewk_quota_permission_request_origin_port_get_func.cpp',
- 'utc_blink_ewk_quota_permission_request_origin_protocol_get_func.cpp',
- 'utc_blink_ewk_quota_permission_request_quota_get_func.cpp',
- 'utc_blink_ewk_security_origin_host_get_func.cpp',
- 'utc_blink_ewk_security_origin_port_get_func.cpp',
- 'utc_blink_ewk_security_origin_protocol_get_func.cpp',
- 'utc_blink_ewk_settings_autofill_password_form_enabled_get_func.cpp',
- 'utc_blink_ewk_settings_autofill_password_form_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_auto_fitting_get_func.cpp',
- 'utc_blink_ewk_settings_auto_fitting_set_func.cpp',
- 'utc_blink_ewk_settings_clear_text_selection_automatically_set_func.cpp',
- 'utc_blink_ewk_settings_current_legacy_font_size_mode_set_func.cpp',
- 'utc_blink_ewk_settings_default_encoding_set_func.cpp',
- 'utc_blink_ewk_settings_default_keypad_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_detect_contents_automatically_set_func.cpp',
- 'utc_blink_ewk_settings_edge_effect_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_editable_link_behavior_set_func.cpp',
- 'utc_blink_ewk_settings_extra_feature_set_func.cpp',
- 'utc_blink_ewk_settings_font_default_size_get_func.cpp',
- 'utc_blink_ewk_settings_font_default_size_set_func.cpp',
- 'utc_blink_ewk_settings_force_zoom_set_func.cpp',
- 'utc_blink_ewk_settings_form_candidate_data_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_form_profile_data_enabled_get_func.cpp',
- 'utc_blink_ewk_settings_form_profile_data_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_initial_list_style_position_get_func.cpp',
- 'utc_blink_ewk_settings_initial_list_style_position_set_func.cpp',
- 'utc_blink_ewk_settings_is_encoding_valid_func.cpp',
- 'utc_blink_ewk_settings_javascript_enabled_get_func.cpp',
- 'utc_blink_ewk_settings_javascript_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_link_effect_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_link_magnifier_enabled_get_func.cpp',
- 'utc_blink_ewk_settings_link_magnifier_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_private_browsing_enabled_get_func.cpp',
- 'utc_blink_ewk_settings_private_browsing_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_load_remote_images_set_func.cpp',
- 'utc_blink_ewk_settings_loads_images_automatically_set_func.cpp',
- 'utc_blink_ewk_settings_paste_image_uri_mode_set_func.cpp',
- 'utc_blink_ewk_settings_plugins_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_scripts_can_open_windows_get_func.cpp',
- 'utc_blink_ewk_settings_scripts_can_open_windows_set_func.cpp',
- 'utc_blink_ewk_settings_scripts_window_open_get_func.cpp',
- 'utc_blink_ewk_settings_scripts_window_open_set_func.cpp',
- 'utc_blink_ewk_settings_select_word_automatically_set_func.cpp',
- 'utc_blink_ewk_settings_spdy_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_text_autosizing_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_text_autosizing_font_scale_factor_set_func.cpp',
- 'utc_blink_ewk_settings_text_selection_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_text_zoom_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_uses_encoding_detector_set_func.cpp',
- 'utc_blink_ewk_settings_uses_keypad_without_user_action_set_func.cpp',
- 'utc_blink_ewk_text_style_align_center_get_func.cpp',
- 'utc_blink_ewk_text_style_align_full_get_func.cpp',
- 'utc_blink_ewk_text_style_align_left_get_func.cpp',
- 'utc_blink_ewk_text_style_align_right_get_func.cpp',
- 'utc_blink_ewk_text_style_bg_color_get_func.cpp',
- 'utc_blink_ewk_text_style_bold_get_func.cpp',
- 'utc_blink_ewk_text_style_color_get_func.cpp',
- 'utc_blink_ewk_text_style_font_size_get_func.cpp',
- 'utc_blink_ewk_text_style_has_composition_get_func.cpp',
- 'utc_blink_ewk_text_style_italic_get_func.cpp',
- 'utc_blink_ewk_text_style_ordered_list_get_func.cpp',
- 'utc_blink_ewk_text_style_position_get_func.cpp',
- 'utc_blink_ewk_text_style_underline_get_func.cpp',
- 'utc_blink_ewk_text_style_unordered_list_get_func.cpp',
- 'utc_blink_ewk_user_media_permission_request_set_func.cpp',
- 'utc_blink_ewk_user_media_permission_request_suspend_func.cpp',
- 'utc_blink_ewk_view_add_func.cpp',
- 'utc_blink_ewk_view_add_in_incognito_mode_func.cpp',
- 'utc_blink_ewk_view_add_with_context_func.cpp',
- 'utc_blink_ewk_view_add_with_session_data_func.cpp',
- 'utc_blink_ewk_view_application_name_for_user_agent_get_func.cpp',
- 'utc_blink_ewk_view_application_name_for_user_agent_set_func.cpp',
- 'utc_blink_ewk_view_back_forward_list_clear_func.cpp',
- 'utc_blink_ewk_view_back_forward_list_get_func.cpp',
- 'utc_blink_ewk_view_back_func.cpp',
- 'utc_blink_ewk_view_back_possible_func.cpp',
- 'utc_blink_ewk_view_browser_font_set_func.cpp',
- 'utc_blink_ewk_view_command_execute_func.cpp',
- 'utc_blink_ewk_view_content_security_policy_set_func.cpp',
- 'utc_blink_ewk_view_contents_pdf_get_func.cpp',
- 'utc_blink_ewk_view_contents_set_func.cpp',
- 'utc_blink_ewk_view_contents_size_get_func.cpp',
- 'utc_blink_ewk_view_context_get_func.cpp',
- 'utc_blink_ewk_view_custom_header_add_func.cpp',
- 'utc_blink_ewk_view_custom_header_remove_func.cpp',
- 'utc_blink_ewk_view_draws_transparent_background_set_func.cpp',
- 'utc_blink_ewk_view_encoding_custom_set_func.cpp',
- 'utc_blink_ewk_view_forward_func.cpp',
- 'utc_blink_ewk_view_forward_possible_func.cpp',
- 'utc_blink_ewk_view_fullscreen_exit_func.cpp',
- 'utc_blink_ewk_view_geolocation_permission_callback_set_func.cpp',
- 'utc_blink_ewk_view_get_cookies_for_url_func.cpp',
- 'utc_blink_ewk_view_history_get_func.cpp',
- 'utc_blink_ewk_view_hit_test_new_func.cpp',
- 'utc_blink_ewk_view_hit_test_request_func.cpp',
- 'utc_blink_ewk_view_html_contents_set_func.cpp',
- 'utc_blink_ewk_view_html_string_load_func.cpp',
- 'utc_blink_ewk_view_inspector_server_stop_func.cpp',
- 'utc_blink_ewk_view_javascript_confirm_reply_func.cpp',
- 'utc_blink_ewk_view_load_progress_get_func.cpp',
- 'utc_blink_ewk_view_main_frame_get_func.cpp',
- 'utc_blink_ewk_view_mhtml_data_get_func.cpp',
- 'utc_blink_ewk_view_notification_permission_callback_set_func.cpp',
- 'utc_blink_ewk_view_orientation_lock_callback_set_func.cpp',
- 'utc_blink_ewk_view_orientation_send_func.cpp',
- 'utc_blink_ewk_view_page_visibility_state_set_func.cpp',
- 'utc_blink_ewk_view_plain_text_get_func.cpp',
- 'utc_blink_ewk_view_quota_permission_request_callback_set_func.cpp',
- 'utc_blink_ewk_view_quota_permission_request_cancel_func.cpp',
- 'utc_blink_ewk_view_quota_permission_request_reply_func.cpp',
- 'utc_blink_ewk_view_reload_func.cpp',
- 'utc_blink_ewk_view_resume_func.cpp',
- 'utc_blink_ewk_view_scale_get_func.cpp',
- 'utc_blink_ewk_view_scale_range_get_func.cpp',
- 'utc_blink_ewk_view_scale_set_func.cpp',
- 'utc_blink_ewk_view_screenshot_contents_get_func.cpp',
- 'utc_blink_ewk_view_script_execute_func.cpp',
- 'utc_blink_ewk_view_scroll_pos_get_func.cpp',
- 'utc_blink_ewk_view_scroll_set_func.cpp',
- 'utc_blink_ewk_view_scroll_size_get_func.cpp',
- 'utc_blink_ewk_view_session_data_get_func.cpp',
- 'utc_blink_ewk_view_settings_get_func.cpp',
- 'utc_blink_ewk_view_stop_func.cpp',
- 'utc_blink_ewk_view_suspend_func.cpp',
- 'utc_blink_ewk_view_text_find_func.cpp',
- 'utc_blink_ewk_view_text_find_highlight_clear_func.cpp',
- 'utc_blink_ewk_view_text_selection_clear_func.cpp',
- 'utc_blink_ewk_view_text_selection_text_get_func.cpp',
- 'utc_blink_ewk_view_text_zoom_get_func.cpp',
- 'utc_blink_ewk_view_text_zoom_set_func.cpp',
- 'utc_blink_ewk_view_title_get_func.cpp',
- 'utc_blink_ewk_view_touch_events_enabled_set_func.cpp',
- 'utc_blink_ewk_view_url_get_func.cpp',
- 'utc_blink_ewk_view_url_request_set_func.cpp',
- 'utc_blink_ewk_view_url_set_func.cpp',
- 'utc_blink_ewk_view_user_agent_get_func.cpp',
- 'utc_blink_ewk_view_user_agent_set_func.cpp',
- 'utc_blink_ewk_view_use_settings_font_func.cpp',
- 'utc_blink_ewk_view_visibility_set_func.cpp',
- 'utc_blink_ewk_view_web_application_capable_get_func.cpp',
- 'utc_blink_ewk_view_web_application_icon_url_get_func.cpp',
- 'utc_blink_ewk_view_web_application_icon_urls_get_func.cpp',
- 'utc_blink_ewk_web_application_icon_data_url_get_func.cpp',
- ],
-
- 'cflags': [
- '<!@(pkg-config --cflags glib-2.0)',
- ],
- 'link_settings': {
- 'ldflags': [
- '<!@(pkg-config --libs-only-L --libs-only-other glib-2.0)',
- ],
- 'libraries': [
- '<!@(pkg-config --libs-only-l glib-2.0)',
- ],
- },
- 'copies': [{
- 'destination':'resources/ewk_context/injected_bundle/chromium/',
- 'files': [ '<(PRODUCT_DIR)/lib/libbundle_sample.so' ],
- }],
- 'conditions': [
- ['building_for_tizen==1 and building_strategy=="ewk"', {
- 'cflags': [
- '<!@(pkg-config --cflags scim)',
- ],
- 'link_settings': {
- 'ldflags': [
- '<!@(pkg-config --libs-only-L --libs-only-other scim)',
- ],
- 'libraries': [
- '<!@(pkg-config --libs-only-l scim)',
- ],
- },
- }],
- ['ewk_bringup==1', {
- 'defines': [ 'EWK_BRINGUP=1' ],
- 'sources!': [
- #XXX: enable *local_file_system* once we find a way to set --allow-file-access-from-files flag at runtime
- 'utc_blink_ewk_context_local_file_system_all_delete_func.cpp',
- 'utc_blink_ewk_context_local_file_system_delete_func.cpp',
- ],
- }]
- ],
-
- },
- {
- 'target_name': 'bundle_sample',
- 'type': 'shared_library',
- 'sources': [
- 'resources/ewk_context/injected_bundle/chromium/bundle_sample.cc',
- ],
- 'dependencies': [
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
- 'include_dirs': [
- '.',
- '<(DEPTH)/v8/include',
- ],
- }]
-}
+++ /dev/null
-# Copyright (c) 2015 Samsung Electronics. 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 contain contain gyp code that is supposed to be common
-# for all build targets we have in chromium-ewk. Thigs specific only to one
-# component should go to appropriate gypi file included below.
-
-{
- 'variables': {
- 'variables': {
- # [M53_2785] Temporary disabling the 'use_gstreamer_fft' flag for switching
- # to new chromium
- # It will be fixed by multimedia team
- # FIXME:
- 'use_gstreamer_fft': 0,
- },
-
- 'use_aura%': 0,
- 'use_efl%' : 1,
- 'use_default_render_theme%': 1,
-
- # Whether or not we use external popup menu.
- 'use_external_popup_menu%': 1,
-
- 'ewk_bringup%': 1,
- 'wayland_bringup%': 0,
-
- 'building_for_tizen%': 0,
- 'building_for_tizen_mobile%': 0,
- 'building_for_tizen_tv%': 0,
-
- 'building_strategy%': 'ewk', # 'ewk', 'libs' and 'crosswalk-bin'
-
- 'xwalk_link_against_chromium_ewk%': 0,
-
- 'tizen_multimedia_eme_support%': 1,
- 'enable_web_speech%': 0,
- 'rtc_use_h264%' : 0, # override value in third_party/webrtc/build/common.gypi
-
- 'data_dir%' : '/usr/share/chromium-efl/',
- 'exe_dir%' : '/usr/lib/chromium-efl/',
- 'edje_dir%' : '/usr/share/chromium-efl/themes/',
- 'locale_dir%': '/usr/share/chromium-efl/locale/',
-
- 'edje_compiler%': 'edje_cc',
-
- 'prebuilt_ld_gold_dir%': '',
-
- 'chromium_efl_tizen_version%': '2.4',
-
- 'grit_additional_defines': [ '-D', 'use_aura' ],
-
- 'tizen_tbm_support%': 1,
- },
-
- 'includes': [
- 'build/efl_filename_rules.gypi',
- 'chromium_impl/chromium_impl.gypi',
- ],
-
- 'conditions': [
- ['use_ozone==1', {
- 'variables': {
- 'use_glib%': 1,
- 'external_ozone_platforms': [
- 'efl',
- ],
- },
- }], # use_ozone==1
-
- ['xwalk_link_against_chromium_ewk==1', {
- 'includes': [
- 'ewk/efl_integration/link_xwalk_against_chromium_efl.gypi',
- ],
- }], # xwalk_link_against_chromium_ewk==1
-
- ['chromium_efl_tizen_version!="3.0"', {
- 'variables': {
- 'tizen_tbm_support%': 0,
- },
- }],
- ],
-
- 'target_defaults': {
-
- 'include_dirs': [
- '.',
- '<(DEPTH)/tizen_src/ecore_wrapper',
- ],
-
- 'defines': [
- # TODO: Check if those defines are still necessary. If they are add an explanation why.
- 'COMPONENT_BUILD=1',
- 'SKIA_DLL=1',
- 'BUILDING_V8_SHARED=1',
- 'V8_SHARED=1',
- ],
-
- 'conditions': [
-
- ['use_efl==1', {
- 'defines': [
- 'USE_EFL=1',
- ],
- 'include_dirs': [
- '<(DEPTH)/tizen_src/chromium_impl',
- ],
- }],
- ['tizen_tbm_support==1', {
- 'defines': [
- 'TIZEN_TBM_SUPPORT=1',
- ],
- }],
- ['ewk_bringup==1', {
- 'defines': [ 'EWK_BRINGUP=1' ],
- }], # ewk_bringup==1
-
- ['prebuilt_ld_gold_dir!=""', {
- 'ldflags': [
- '-B<(prebuilt_ld_gold_dir)',
- ],
-
- 'conditions': [
- ['gcc_version >= 49', {
- 'ldflags': [
- # In GCC 4.9, the linker (either bfd or gold) is called with the -plugin argument
- # which our current bundled gold linker (in build/prebuild) does not accept.
- # Since our gold a x64 64bit statically linked binary, even if we rebuild it
- # with plugin support enabled, the plugin being loaded would be a 32bit ARM binary.
- # and load would fail. So we disable linker's plugin loadeir (specifically
- # gcc's liblto_plugin).
- '-fno-use-linker-plugin',
- ],
- }],
- ], # conditions
- }],
-
- ['building_for_tizen==1', {
- 'defines': [
- 'OS_TIZEN=1',
- 'WTF_OS_TIZEN=1',
- ],
- # Tizen build system has a global option '-Wformat-security'.
- # So, a cflag '-Wno-format' from chromium-efl needs to be ignored.
- # Otherwise, following error will happen.
- # error: -Wformat-security ignored without -Wformat [-Werror=format-security]
- 'cflags!': [
- '-Wno-format',
- ],
- 'conditions': [
- ['chromium_efl_tizen_version=="3.0"', {
- 'defines': [
- 'TIZEN_MAJOR_VERSION=3',
- 'TIZEN_MINOR_VERSION=0',
- 'TIZEN_PATCH_VERSION=0',
- ],
- }],
- ['chromium_efl_tizen_version=="2.4"', {
- 'defines': [
- 'TIZEN_MAJOR_VERSION=2',
- 'TIZEN_MINOR_VERSION=4',
- 'TIZEN_PATCH_VERSION=0',
- ],
- }],
- ['chromium_efl_tizen_version=="2.3"', {
- 'defines': [
- 'TIZEN_MAJOR_VERSION=2',
- 'TIZEN_MINOR_VERSION=3',
- 'TIZEN_PATCH_VERSION=0',
- ],
- }],
- ['use_wayland==1', {
- 'defines': [
- 'USE_WAYLAND=1',
- ],
- }],
- ['tizen_multimedia_support==1', {
- 'defines': [
- 'TIZEN_MULTIMEDIA_SUPPORT=1',
- 'TIZEN_MULTIMEDIA_USE_CAPI_AUDIO_IO=1',
- ],
- }],
- # TODO: There are X11 dependencies in following condition.
- # The files need to be implemented based on Wayland.
- ['wayland_bringup==1', {
- 'defines': [
- 'WAYLAND_BRINGUP=1',
- ],
- }],
- ],
- }],
-
- ['building_for_tizen_mobile==1', {
- 'defines': [
- 'OS_TIZEN_MOBILE=1',
- 'WTF_OS_TIZEN_MOBILE=1',
- 'TIZEN_CONTENTS_DETECTION=1',
- ],
- }],
-
- ['building_for_tizen_tv==1', {
- 'defines': [
- 'OS_TIZEN_TV=1',
- 'WTF_OS_TIZEN_TV=1',
- ],
- 'conditions': [
- ['chromium_efl_tizen_version=="2.4"', {
- # The tizen v2.4 tv build gets its cpu-specific flags from the Tizen build system.
- 'cflags!': [
- '-march=armv7-a',
- '-mtune=generic-armv7-a',
- ],
- }],
- ],
- }],
-
- ], # conditions
- }, # target_defaults
-}