fixup! [M108 Migration][API] Bring up autofill
[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_pango = false
24
25   use_ttrace = false
26   use_ttrace_chrome_trace = false
27
28   werror = false
29
30   tizen_clang_base_path = "//tizen_src/buildtools/llvm"
31
32   tizen_product_tv = false
33
34   exe_dir = "/usr/lib/chromium-efl/"
35   edje_dir = "/usr/share/chromium-efl/themes/"
36   tizen_data_dir = "/usr/share/chromium-efl/"
37   locale_dir = "/usr/share/chromium-efl/locale/"
38   chromium_impl_lib_name = "libchromium-ewk.so"
39
40   tizen_version = 0
41   tizen_version_major = 0
42   tizen_version_minor = 0
43   tizen_version_patch = 0
44
45   build_chrome = false
46
47   # Tizen multimedia related
48   tizen_multimedia_eme_support = false
49   tizen_multimedia_support = false
50   tizen_multimedia = false
51   tizen_tbm_support = false
52   tizen_video_hole = false
53   tizen_audio_io = false
54   tizen_web_speech_recognition = false
55
56   tizen_autofill_support = false
57 }
58
59 if (use_ttrace) {
60   use_ttrace_chrome_trace = true
61 }
62
63 # Enable ttrace except chrome trace log for TV profile by default
64 if (tizen_product_tv) {
65   use_ttrace = true
66 }
67
68 if (is_tizen && tizen_multimedia_support) {
69   tizen_multimedia_eme_support = true
70 } else {
71   tizen_multimedia_eme_support = false
72 }
73
74 if (use_atk) {
75   tizen_atk_support = true
76   if (tizen_product_tv) {
77     tizen_atk_feature_vd = true
78   } else {
79     tizen_atk_feature_vd = false
80   }
81 } else {
82   tizen_atk_support = false
83   tizen_atk_feature_vd = false
84 }
85
86 werror = false
87
88 # This file should contain gn code that is supposed to be common
89 # for all build targets we have in chromium-ewk. Things specific only to one
90 # component should go to appropriate gni file included below.
91
92 use_gstreamer_fft = false
93
94 ewk_bringup = true
95 wayland_bringup = use_wayland
96
97 compile_suid_client = true
98 compile_credentials = true
99
100 edje_compiler = "edje_cc"
101
102 if (use_ozone) {
103   # Declared from the //build/config/ui.gni
104   #use_glib = true
105   external_ozone_platforms = [ "efl" ]
106 }