| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//tools/generate_library_loader/generate_library_loader.gni") | 5 import("//tools/generate_library_loader/generate_library_loader.gni") |
| 6 | 6 |
| 7 # This generates a target named "libgio". | 7 # This generates a target named "libgio". |
| 8 generate_library_loader("libgio") { | 8 generate_library_loader("libgio") { |
| 9 name = "LibGioLoader" | 9 name = "LibGioLoader" |
| 10 output_h = "libgio.h" | 10 output_h = "libgio.h" |
| 11 output_cc = "libgio_loader.cc" | 11 output_cc = "libgio_loader.cc" |
| 12 header = "<gio/gio.h>" | 12 header = "<gio/gio.h>" |
| 13 config = "//build/linux:gio_config" | 13 config = "//build/linux:gio_config" |
| 14 | 14 |
| 15 functions = [ | 15 functions = [ |
| 16 "g_type_init", |
| 16 "g_settings_new", | 17 "g_settings_new", |
| 17 "g_settings_get_child", | 18 "g_settings_get_child", |
| 18 "g_settings_get_string", | 19 "g_settings_get_string", |
| 19 "g_settings_get_boolean", | 20 "g_settings_get_boolean", |
| 20 "g_settings_get_int", | 21 "g_settings_get_int", |
| 21 "g_settings_get_strv", | 22 "g_settings_get_strv", |
| 22 "g_settings_list_schemas", | 23 "g_settings_list_schemas", |
| 23 ] | 24 ] |
| 24 } | 25 } |
| OLD | NEW |