Enable dev build with the latest repo
[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 gn_chromiumefl.sh also
14
15   depth = ""  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
16   outdir = ""
17
18   lto_level = ""
19
20   use_cairo = false
21   use_pango = false
22
23   tizen_multimedia_eme_support = false
24   tizen_multimedia_support = false
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
36   tizen_version = 0
37   tizen_version_major = 0
38   tizen_version_minor = 0
39   tizen_version_patch = 0
40   tizen_tbm_support = false
41 }
42
43 if (is_tizen && tizen_multimedia_support) {
44   tizen_multimedia_eme_support = true
45 } else {
46   tizen_multimedia_eme_support = false
47 }
48
49 werror = false
50
51 # This file should contain gn code that is supposed to be common
52 # for all build targets we have in chromium-ewk. Things specific only to one
53 # component should go to appropriate gni file included below.
54
55 use_gstreamer_fft = false
56
57 use_aura = false
58
59 ewk_bringup = true
60 wayland_bringup = use_wayland
61
62 compile_suid_client = true
63 compile_credentials = true
64
65 edje_compiler = "edje_cc"
66
67 grit_additional_defines = "-Duse_aura"
68
69 if (use_ozone) {
70   # Declared from the //build/config/ui.gni
71   #use_glib = true
72   external_ozone_platforms = [ "efl" ]
73 }
74
75 treat_warnings_as_errors = werror
76
77 use_x11 = false