[M108 Migration] Bringup Drag and Drop (DnD)
[platform/framework/web/chromium-efl.git] / tizen_src / build / config / tizen_features.gni
1 # Copyright (c) 2015 Samsung Electronics. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6
7 declare_args() {
8   gcc_version = 49
9
10   use_wayland = false
11
12   gcc_ver = ""
13   python_ver = "2.5"  # no use of this variable, if removing then revome from
14                       # gn_chromiumefl.sh also
15
16   depth = ""  # no use of this variable, if removing then revome from
17               # gn_chromiumefl.sh also
18   outdir = ""
19
20   lto_level = ""
21
22   use_cairo = false
23   use_lto = false
24   use_pango = false
25
26   use_ttrace = false
27   use_ttrace_chrome_trace = false
28
29   werror = false
30
31   tizen_clang_base_path = "//tizen_src/buildtools/llvm"
32
33   tizen_product_tv = false
34
35   exe_dir = "/usr/lib/chromium-efl/"
36   lib_ro_root_dir = "/usr/share/chromium-efl"
37   lib_upgrade_root_dir = "/usr/share/chromium-efl/upgrade"
38   edje_dir = "/usr/share/chromium-efl/themes/"
39   tizen_data_dir = "/usr/share/chromium-efl/"
40   locale_dir = "/usr/share/chromium-efl/locale/"
41   image_dir = "/usr/share/chromium-efl/images/"
42   chromium_impl_lib_name = "libchromium-ewk.so"
43
44   tizen_version = 0
45   tizen_version_major = 0
46   tizen_version_minor = 0
47   tizen_version_patch = 0
48
49   build_chrome = false
50
51   enable_wrt_js = false
52   tizen_pepper_extensions = false
53
54   # Tizen multimedia related
55   tizen_multimedia_eme_support = false
56   tizen_multimedia_support = false
57   tizen_multimedia = false
58   tizen_tbm_support = false
59   tizen_video_hole = false
60   tizen_audio_io = false
61   tizen_web_speech_recognition = false
62
63   tizen_autofill_support = false
64 }
65
66 if (use_ttrace) {
67   use_ttrace_chrome_trace = true
68 }
69
70 # Enable ttrace except chrome trace log for TV profile by default
71 if (tizen_product_tv) {
72   use_ttrace = true
73 }
74
75 if (is_tizen && tizen_multimedia_support) {
76   tizen_multimedia_eme_support = true
77 } else {
78   tizen_multimedia_eme_support = false
79 }
80
81 if (use_atk) {
82   tizen_atk_support = true
83   if (tizen_product_tv) {
84     tizen_atk_feature_vd = true
85   } else {
86     tizen_atk_feature_vd = false
87   }
88 } else {
89   tizen_atk_support = false
90   tizen_atk_feature_vd = false
91 }
92
93 werror = false
94
95 # This file should contain gn code that is supposed to be common
96 # for all build targets we have in chromium-ewk. Things specific only to one
97 # component should go to appropriate gni file included below.
98
99 use_gstreamer_fft = false
100
101 ewk_bringup = true
102 wayland_bringup = use_wayland
103
104 compile_suid_client = true
105 compile_credentials = true
106
107 edje_compiler = "edje_cc"
108
109 if (use_ozone) {
110   # Declared from the //build/config/ui.gni
111   #use_glib = true
112   external_ozone_platforms = [ "efl" ]
113 }