• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:gcov +full:- +full:executable

2 # Use of this source code is governed by a BSD-style license that can be
5 import("//common-mk/deps.gni")
6 import("//common-mk/pkg_config.gni")
7 import("//common-mk/proto_library.gni")
12 ":libbrillo-glib",
13 ":libbrillo-test",
33 default_pkg_deps = [ "libchrome-${libbase_ver}" ]
57 # for composing -l*** flags in libbrillo-${libbasever}.so.
59 library_name = "brillo-core"
61 all_dependent_pkg_deps = [ "dbus-1" ]
115 library_name = "brillo-blockdeviceutils"
116 deps = [ ":libbrillo-core" ]
128 library_name = "brillo-http"
130 ":libbrillo-core",
131 ":libbrillo-streams",
149 library_name = "brillo-streams"
150 deps = [ ":libbrillo-core" ]
166 library_name = "brillo-cryptohome"
172 library_name = "brillo-namespaces"
173 deps = [ ":libbrillo-core" ]
182 library_name = "brillo-minijail"
188 library_name = "brillo-protobuf"
197 library_name = "brillo-udev"
239 generate_pkg_config("libbrillo-${libbase_ver}_pc") {
241 output_name = "libbrillo-${libbase_ver}"
257 libs = [ "-lbrillo" ]
278 libs = [ "-lbrillo" ]
283 ":libbrillo-${libbase_ver}_pc",
289 script = "//common-mk/write_args.py"
291 args = [ "--output" ] + outputs + [ "--" ] + [
298 args += [ "-l" + sublib.library_name ]
306 libbrillo_test_deps = [ "libbrillo-http" ]
308 generate_pkg_config("libbrillo-test-${libbase_ver}_pc") {
309 name = "libbrillo-test"
310 output_name = "libbrillo-test-${libbase_ver}"
314 # Because libbrillo-test is static, we have to depend directly on everything.
331 libs = [ "-lbrillo-test" ]
334 generate_pkg_config("libbrillo-test_pc") {
335 name = "libbrillo-test"
336 output_name = "libbrillo-test"
340 # Because libbrillo-test is static, we have to depend directly on everything.
357 libs = [ "-lbrillo-test" ]
360 static_library("libbrillo-test") {
361 configs -= [ "//common-mk:use_thin_archive" ]
363 "//common-mk:nouse_thin_archive",
367 ":libbrillo-http",
368 ":libbrillo-test-${libbase_ver}_pc",
369 ":libbrillo-test_pc",
390 ":libinstallattributes-includes",
391 "../common-mk/external_dependencies:install_attributes-proto",
393 all_dependent_pkg_deps = [ "protobuf-lite" ]
401 ":libpolicy-includes",
402 "../common-mk/external_dependencies:policy-protos",
406 "protobuf-lite",
408 ldflags = [ "-Wl,--version-script,${platform2_root}/libbrillo/libpolicy.ver" ]
419 "glib-2.0",
420 "gobject-2.0",
424 "dbus-1",
425 "dbus-glib-1",
429 generate_pkg_config("libbrillo-glib-${libbase_ver}_pc") {
430 name = "libbrillo-glib"
431 output_name = "libbrillo-glib-${libbase_ver}"
435 libs = [ "-lbrillo-glib" ]
438 generate_pkg_config("libbrillo-glib_pc") {
439 name = "libbrillo-glib"
440 output_name = "libbrillo-glib"
444 libs = [ "-lbrillo-glib" ]
447 shared_library("libbrillo-glib") {
451 ":libbrillo-glib-${libbase_ver}_pc",
452 ":libbrillo-glib_pc",
463 "-Wno-deprecated-register",
471 ":libbrillo-${libbase_ver}_pc",
486 executable("libbrillo_tests") {
488 "//common-mk:test",
492 ":libbrillo-glib",
493 ":libbrillo-test",
497 pkg_deps = [ "libchrome-test-${libbase_ver}" ]
498 cflags = [ "-Wno-format-zero-length" ]
502 "-fprofile-arcs",
503 "-ftest-coverage",
504 "-fno-inline",
506 libs = [ "gcov" ]
576 executable("libinstallattributes_tests") {
578 "//common-mk:test",
583 "../common-mk/external_dependencies:install_attributes-proto",
584 "../common-mk/testrunner:testrunner",
589 executable("libpolicy_tests") {
591 "//common-mk:test",
597 "../common-mk/external_dependencies:install_attributes-proto",
598 "../common-mk/external_dependencies:policy-protos",
599 "../common-mk/testrunner:testrunner",
612 executable("libbrillo_data_encoding_fuzzer") {
615 configs += [ "//common-mk/common_fuzzer:common_fuzzer" ]
617 pkg_deps = [ "libchrome-${libbase_ver}" ]
621 deps = [ ":libbrillo-core" ]
624 executable("libbrillo_dbus_data_serialization_fuzzer") {
627 configs += [ "//common-mk/common_fuzzer:common_fuzzer" ]
629 pkg_deps = [ "libchrome-${libbase_ver}" ]
633 deps = [ ":libbrillo-core" ]
636 executable("libbrillo_http_form_data_fuzzer") {
639 configs += [ "//common-mk/common_fuzzer:common_fuzzer" ]
641 pkg_deps = [ "libchrome-${libbase_ver}" ]
646 ":libbrillo-http",
647 ":libbrillo-streams",
652 copy("libinstallattributes-includes") {
658 copy("libpolicy-includes") {