de32d5883550dc9a928582232d0ee5a8b6521400
[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_web_speech_recognition = false
53 }
54
55 if (use_ttrace) {
56   use_ttrace_chrome_trace = true
57 }
58
59 # Enable ttrace except chrome trace log for TV profile by default
60 if (tizen_product_tv) {
61   use_ttrace = true
62 }
63
64 if (is_tizen && tizen_multimedia_support) {
65   tizen_multimedia_eme_support = true
66 } else {
67   tizen_multimedia_eme_support = false
68 }
69
70 werror = false
71
72 # This file should contain gn code that is supposed to be common
73 # for all build targets we have in chromium-ewk. Things specific only to one
74 # component should go to appropriate gni file included below.
75
76 use_gstreamer_fft = false
77
78 ewk_bringup = true
79 wayland_bringup = use_wayland
80
81 compile_suid_client = true
82 compile_credentials = true
83
84 edje_compiler = "edje_cc"
85
86 if (use_ozone) {
87   # Declared from the //build/config/ui.gni
88   #use_glib = true
89   external_ozone_platforms = [ "efl" ]
90 }