[M67 Dev][EFL] Format chromium-efl according to Chromium style
[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   linux_use_gold_flags = false  # no use of this variable, if removing then revome from gn_chromiumefl.sh also
13
14   deps_lib_path = ""
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_support = false
26   werror = false
27
28   # declared from BUILDCONFIG.gn
29   #is_clang = false
30   xwalk_link_against_chromium_ewk = false
31
32   tizen_mobile = false
33   building_for_tizen_tv = false
34   building_for_tizen_mobile = false
35   if (is_tizen && tizen_multimedia_support) {
36     tizen_multimedia_eme_support = true
37   } else {
38     tizen_multimedia_eme_support = false
39   }
40
41   exe_dir = "/usr/lib/chromium-efl/"
42   edje_dir = "/usr/share/chromium-efl/themes/"
43   tizen_data_dir = "/usr/share/chromium-efl/"
44   locale_dir = "/usr/share/chromium-efl/locale/"
45
46   prebuilt_ld_gold_dir = ""
47   chromium_efl_tizen_version = 24
48   tizen_tbm_support = false
49   building_for_tizen = false
50 }
51
52 werror = false
53
54 # This file should contain gn code that is supposed to be common
55 # for all build targets we have in chromium-ewk. Things specific only to one
56 # component should go to appropriate gni file included below.
57
58 use_gstreamer_fft = false
59
60 use_aura = false
61
62 ewk_bringup = true
63 wayland_bringup = use_wayland
64
65 building_strategy = "ewk"  # 'ewk', 'libs' and 'crosswalk-bin'
66
67 compile_suid_client = true
68 compile_credentials = true
69
70 edje_compiler = "edje_cc"
71
72 grit_additional_defines = "-Duse_aura"
73
74 if (use_ozone) {
75   # Declared from the //build/config/ui.gni
76   #use_glib = true
77   external_ozone_platforms = [ "efl" ]
78 }
79
80 if (xwalk_link_against_chromium_ewk) {
81   import("//tizen_src/ewk/efl_integration/link_xwalk_against_chromium_efl.gni")
82 }
83
84 is_official_build = false
85
86 treat_warnings_as_errors = werror
87
88 use_x11 = false