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