Add build switch to separate onscreen and offscreen targets
[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   werror = false
26
27   tizen_clang_base_path = "//tizen_src/buildtools/llvm"
28
29   tizen_product_tv = false
30
31   exe_dir = "/usr/lib/chromium-efl/"
32   edje_dir = "/usr/share/chromium-efl/themes/"
33   tizen_data_dir = "/usr/share/chromium-efl/"
34   locale_dir = "/usr/share/chromium-efl/locale/"
35   chromium_impl_lib_name = "libchromium-ewk.so"
36
37   tizen_version = 0
38   tizen_version_major = 0
39   tizen_version_minor = 0
40   tizen_version_patch = 0
41
42   build_chrome = false
43
44   # Tizen multimedia related
45   tizen_multimedia_eme_support = false
46   tizen_multimedia_support = false
47   tizen_multimedia = false
48   tizen_tbm_support = false
49 }
50
51 if (is_tizen && tizen_multimedia_support) {
52   tizen_multimedia_eme_support = true
53 } else {
54   tizen_multimedia_eme_support = false
55 }
56
57 werror = false
58
59 # This file should contain gn code that is supposed to be common
60 # for all build targets we have in chromium-ewk. Things specific only to one
61 # component should go to appropriate gni file included below.
62
63 use_gstreamer_fft = false
64
65 ewk_bringup = true
66 wayland_bringup = use_wayland
67
68 compile_suid_client = true
69 compile_credentials = true
70
71 edje_compiler = "edje_cc"
72
73 if (use_ozone) {
74   # Declared from the //build/config/ui.gni
75   #use_glib = true
76   external_ozone_platforms = [ "efl" ]
77 }