[M67 Dev][Tizen] Provide target profile information at runtime
[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   is_tizen = false
10
11   use_wayland = false
12
13   linux_use_gold_flags = false  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
14
15   disable_fatal_linker_warnings = true  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
16
17   python_ver = "2.5"  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
18
19   depth = ""  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
20   outdir = ""
21
22   use_cairo = false
23   use_pango = false
24
25   tizen_multimedia_eme_support = false
26   tizen_multimedia_support = false
27   werror = false
28
29   # declared from BUILDCONFIG.gn
30   #is_clang = false
31
32   exe_dir = "/usr/lib/chromium-efl/"
33   edje_dir = "/usr/share/chromium-efl/themes/"
34   tizen_data_dir = "/usr/share/chromium-efl/"
35   locale_dir = "/usr/share/chromium-efl/locale/"
36
37   prebuilt_ld_gold_dir = ""
38   chromium_efl_tizen_version = 24
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 is_official_build = false
75
76 treat_warnings_as_errors = werror
77
78 use_x11 = false