[DeviceHome] Send plain text when secure flag is false
[platform/framework/web/wrtjs.git] / BUILD.gn
1 toolchain("gcc") {
2   lib_switch = "-l"
3   lib_dir_switch = "-L"
4
5   tool("cc") {
6     depfile = "{{output}}.d"
7     command = "gcc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
8     depsformat = "gcc"
9     outputs = [ "{{target_out_dir}}/{{source_name_part}}.o" ]
10   }
11   tool("cxx") {
12     depfile = "{{output}}.d"
13     command = "c++ -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}"
14     depsformat = "gcc"
15     description = "CXX {{output}}"
16     outputs = [ "{{target_out_dir}}/{{source_name_part}}.o" ]
17   }
18   tool("link") {
19     exename = "{{target_output_name}}{{output_extension}}"
20     outfile = "{{output_dir}}/$exename"
21     default_output_dir = "{{root_out_dir}}"
22     command = "g++ {{ldflags}} -o \"$outfile\" {{inputs}} {{libs}}"
23     description = "LINK $outfile"
24     outputs = [ outfile ]
25   }
26   tool("stamp") {
27     command = "touch {{output}}"
28     description = "STAMP {{output}}"
29   }
30 }
31
32 group("wrt_group") {
33   deps = [
34     "//loader:wrt-loader",
35   ]
36 }