[M108 Migration] Bringup Upgradable Web Engine (UWE)
[platform/framework/web/chromium-efl.git] / tizen_src / build / config / compiler / BUILD.gn
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/features.gni")
6 import("//tizen_src/build/config/tizen_features.gni")
7
8 declare_args() {
9   if (is_tizen) {
10     deps_include_path = "/usr/include"
11     deps_lib_path = "/usr/lib"
12   } else {
13     deps_include_path = ""
14     deps_lib_path = ""
15   }
16 }
17
18 config("tizen_default_include_dirs") {
19   include_dirs = [
20     "//tizen_src",
21     "//tizen_src/chromium_impl",
22     "//tizen_src/ecore_wrapper",
23
24     "//third_party/blink/renderer",
25
26     "//third_party/perfetto/include",
27     "$root_gen_dir/third_party/perfetto",
28     "$root_gen_dir/third_party/perfetto/build_config",
29
30     "$root_gen_dir/third_party/dawn/src/include",
31
32     deps_include_path,
33
34     # find / -name *.h -printf '%h\n' | sort --unique
35     "$deps_include_path/dbus-1.0",
36     "$deps_include_path/ecore-1",
37     "$deps_include_path/ecore-audio-1",
38     "$deps_include_path/ecore-audio-cxx-1",
39     "$deps_include_path/ecore-avahi-1",
40     "$deps_include_path/ecore-con-1",
41     "$deps_include_path/ecore-cxx-1",
42     "$deps_include_path/ecore-evas-1",
43     "$deps_include_path/ecore-file-1",
44     "$deps_include_path/ecore-imf-1",
45     "$deps_include_path/ecore-imf-evas-1",
46     "$deps_include_path/ecore-input-1",
47     "$deps_include_path/ecore-input-evas-1",
48     "$deps_include_path/ecore-ipc-1",
49     "$deps_include_path/ecore-x-1",
50     "$deps_include_path/ector-1",
51     "$deps_include_path/ector-1/cairo",
52     "$deps_include_path/ector-1/generic",
53     "$deps_include_path/ector-1/software",
54     "$deps_include_path/edje-1",
55     "$deps_include_path/eet-1",
56     "$deps_include_path/eet-cxx-1",
57     "$deps_include_path/eet-cxx-1/eet-cxx",
58     "$deps_include_path/eeze-1",
59     "$deps_include_path/efl-1",
60     "$deps_include_path/efl-1/interfaces",
61     "$deps_include_path/efl-cxx-1",
62     "$deps_include_path/efreet-1",
63     "$deps_include_path/eina-1",
64     "$deps_include_path/eina-1/eina",
65     "$deps_include_path/eina-cxx-1",
66     "$deps_include_path/eina-cxx-1/eina-cxx",
67     "$deps_include_path/eio-1",
68     "$deps_include_path/eio-cxx-1",
69     "$deps_include_path/eldbus-1",
70     "$deps_include_path/eldbus_cxx-1",
71     "$deps_include_path/elementary-1",
72     "$deps_include_path/elementary-cxx-1",
73     "$deps_include_path/elocation-1",
74     "$deps_include_path/elua-1",
75     "$deps_include_path/embryo-1",
76     "$deps_include_path/emile-1",
77     "$deps_include_path/emotion-1",
78     "$deps_include_path/eo-1",
79     "$deps_include_path/eo-cxx-1",
80     "$deps_include_path/eolian-1",
81     "$deps_include_path/eolian-cxx-1",
82     "$deps_include_path/eolian-cxx-1/grammar",
83     "$deps_include_path/ethumb-1",
84     "$deps_include_path/ethumb-client-1",
85     "$deps_include_path/evas-1",
86     "$deps_include_path/evas-1/canvas",
87     "$deps_include_path/evas-cxx-1",
88     "$deps_include_path/evas-cxx-1/canvas",
89     "$deps_include_path/gio-unix-2.0",
90     "$deps_include_path/gio-unix-2.0/gio",
91     "$deps_include_path/glib-2.0",
92     "$deps_include_path/glib-2.0/gio",
93     "$deps_include_path/glib-2.0/glib",
94     "$deps_include_path/glib-2.0/glib/deprecated",
95     "$deps_include_path/glib-2.0/gobject",
96     "$deps_include_path/gstreamer-1.0",
97     "$deps_include_path/gstreamer-1.0/gst",
98     "$deps_include_path/gstreamer-1.0/gst/allocators",
99     "$deps_include_path/gstreamer-1.0/gst/app",
100     "$deps_include_path/gstreamer-1.0/gst/audio",
101     "$deps_include_path/gstreamer-1.0/gst/base",
102     "$deps_include_path/gstreamer-1.0/gst/basecamerabinsrc",
103     "$deps_include_path/gstreamer-1.0/gst/check",
104     "$deps_include_path/gstreamer-1.0/gst/codecparsers",
105     "$deps_include_path/gstreamer-1.0/gst/controller",
106     "$deps_include_path/gstreamer-1.0/gst/egl",
107     "$deps_include_path/gstreamer-1.0/gst/fft",
108     "$deps_include_path/gstreamer-1.0/gst/insertbin",
109     "$deps_include_path/gstreamer-1.0/gst/interfaces",
110     "$deps_include_path/gstreamer-1.0/gst/mpegts",
111     "$deps_include_path/gstreamer-1.0/gst/net",
112     "$deps_include_path/gstreamer-1.0/gst/pbutils",
113     "$deps_include_path/gstreamer-1.0/gst/riff",
114     "$deps_include_path/gstreamer-1.0/gst/rtp",
115     "$deps_include_path/gstreamer-1.0/gst/rtsp",
116     "$deps_include_path/gstreamer-1.0/gst/sdp",
117     "$deps_include_path/gstreamer-1.0/gst/tag",
118     "$deps_include_path/gstreamer-1.0/gst/uridownloader",
119     "$deps_include_path/gstreamer-1.0/gst/video",
120     "$deps_include_path/libsoup-2.4",
121     "$deps_include_path/libsoup-2.4/libsoup",
122     "$deps_include_path/orc-0.4",
123     "$deps_include_path/orc-0.4/orc",
124     "$deps_include_path/orc-0.4/orc-test",
125   ]
126
127   if (is_tizen) {
128     include_dirs += [
129       "$deps_include_path/appfw",
130       "$deps_include_path/system",
131       "$deps_lib_path/dbus-1.0/include",
132       "$deps_lib_path/glib-2.0/include",
133       "$deps_lib_path/gstreamer-1.0/include",
134       "$deps_lib_path/gstreamer-1.0/include/gst",
135     ]
136     if (is_clang) {
137       include_dirs += [
138         "$tizen_clang_base_path/lib/clang/11.0.0/include",
139         "$deps_lib_path/gcc/armv7l-tizen-linux-gnueabi/$gcc_ver/include/c++",
140         "$deps_lib_path/gcc/armv7l-tizen-linux-gnueabi/$gcc_ver/include/c++/armv7l-tizen-linux-gnueabi",
141       ]
142     }
143   }
144 }