[M69 Dev][Public][Rom Size][Build Speed] Support clang build for chromium-efl
[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   python_ver = "2.5"  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
13
14   depth = ""  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
15   outdir = ""
16
17   lto_level = ""
18
19   use_cairo = false
20   use_pango = false
21
22   tizen_multimedia_eme_support = false
23   tizen_multimedia_support = false
24   werror = false
25
26   tizen_clang_base_path = "//tizen_src/buildtools/llvm"
27
28   tizen_product_tv = false
29
30   exe_dir = "/usr/lib/chromium-efl/"
31   edje_dir = "/usr/share/chromium-efl/themes/"
32   tizen_data_dir = "/usr/share/chromium-efl/"
33   locale_dir = "/usr/share/chromium-efl/locale/"
34
35   tizen_version = 0
36   tizen_version_major = 0
37   tizen_version_minor = 0
38   tizen_version_patch = 0
39   tizen_tbm_support = false
40 }
41
42 if (is_tizen && tizen_multimedia_support) {
43   tizen_multimedia_eme_support = true
44 } else {
45   tizen_multimedia_eme_support = false
46 }
47
48 werror = false
49
50 # This file should contain gn code that is supposed to be common
51 # for all build targets we have in chromium-ewk. Things specific only to one
52 # component should go to appropriate gni file included below.
53
54 use_gstreamer_fft = false
55
56 use_aura = false
57
58 ewk_bringup = true
59 wayland_bringup = use_wayland
60
61 compile_suid_client = true
62 compile_credentials = true
63
64 edje_compiler = "edje_cc"
65
66 grit_additional_defines = "-Duse_aura"
67
68 if (use_ozone) {
69   # Declared from the //build/config/ui.gni
70   #use_glib = true
71   external_ozone_platforms = [ "efl" ]
72 }
73
74 treat_warnings_as_errors = werror
75
76 use_x11 = false