OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
| 9 import("//build/config/crypto.gni") |
| 10 import("//build/config/ui.gni") |
| 11 import("../webrtc.gni") |
| 12 |
| 13 if (is_android) { |
| 14 import("//build/config/android/config.gni") |
| 15 import("//build/config/android/rules.gni") |
| 16 } |
| 17 if (is_win) { |
| 18 import("//build/config/clang/clang.gni") |
| 19 } |
| 20 |
| 21 group("base") { |
| 22 public_deps = [ |
| 23 ":rtc_base", |
| 24 ":rtc_base_approved", |
| 25 ":rtc_task_queue", |
| 26 ":sequenced_task_checker", |
| 27 ":weak_ptr", |
| 28 ] |
| 29 } |
| 30 |
| 31 if (!rtc_build_ssl) { |
| 32 config("external_ssl_library") { |
| 33 assert(rtc_ssl_root != "", |
| 34 "You must specify rtc_ssl_root when rtc_build_ssl==0.") |
| 35 include_dirs = [ rtc_ssl_root ] |
| 36 } |
| 37 } |
| 38 |
| 39 # The targets below are deprecated and only exist here temporarily during |
| 40 # refactoring. See https://bugs.webrtc.org/7634 for more details. |
| 41 |
| 42 group("protobuf_utils") { |
| 43 public_deps = [ "../rtc_base:protobuf_utils" ] |
| 44 } |
| 45 |
| 46 group("compile_assert_c") { |
| 47 public_deps = [ "../rtc_base:compile_assert_c" ] |
| 48 } |
| 49 |
| 50 group("rtc_base_approved") { |
| 51 public_deps = [ "../rtc_base:rtc_base_approved" ] |
| 52 } |
| 53 |
| 54 group("rtc_task_queue") { |
| 55 public_deps = [ "../rtc_base:rtc_task_queue" ] |
| 56 } |
| 57 |
| 58 group("sequenced_task_checker") { |
| 59 public_deps = [ "../rtc_base:sequenced_task_checker" ] |
| 60 } |
| 61 |
| 62 group("weak_ptr") { |
| 63 public_deps = [ "../rtc_base:weak_ptr" ] |
| 64 } |
| 65 |
| 66 group("rtc_numerics") { |
| 67 public_deps = [ "../rtc_base:rtc_numerics" ] |
| 68 } |
| 69 |
| 70 group("rtc_json") { |
| 71 public_deps = [ "../rtc_base:rtc_json" ] |
| 72 } |
| 73 |
| 74 group("rtc_base") { |
| 75 public_deps = [ "../rtc_base:rtc_base" ] |
| 76 } |
| 77 |
| 78 group("gtest_prod") { |
| 79 public_deps = [ "../rtc_base:gtest_prod" ] |
| 80 } |
| 81 |
| 82 group("rtc_base_tests_utils") { |
| 83 testonly = true |
| 84 public_deps = [ "../rtc_base:rtc_base_tests_utils" ] |
| 85 } |
| 86 |
| 87 if (rtc_include_tests) { |
| 88 group("rtc_base_tests_main") { |
| 89 testonly = true |
| 90 public_deps = [ "../rtc_base:rtc_base_tests_main" ] |
| 91 } |
| 92 |
| 93 group("rtc_base_nonparallel_tests") { |
| 94 testonly = true |
| 95 public_deps = [ "../rtc_base:rtc_base_nonparallel_tests" ] |
| 96 } |
| 97 |
| 98 group("rtc_base_approved_unittests") { |
| 99 testonly = true |
| 100 public_deps = [ "../rtc_base:rtc_base_approved_unittests" ] |
| 101 } |
| 102 |
| 103 group("sequenced_task_checker_unittests") { |
| 104 testonly = true |
| 105 public_deps = [ "../rtc_base:sequenced_task_checker_unittests" ] |
| 106 } |
| 107 |
| 108 group("weak_ptr_unittests") { |
| 109 testonly = true |
| 110 public_deps = [ "../rtc_base:weak_ptr_unittests" ] |
| 111 } |
| 112 |
| 113 group("rtc_task_queue_unittests") { |
| 114 testonly = true |
| 115 public_deps = [ "../rtc_base:rtc_task_queue_unittests" ] |
| 116 } |
| 117 |
| 118 |
| 119 group("rtc_numerics_unittests") { |
| 120 testonly = true |
| 121 public_deps = [ "../rtc_base:rtc_numerics_unittests" ] |
| 122 } |
| 123 |
| 124 group("rtc_base_unittests") { |
| 125 testonly = true |
| 126 public_deps = [ "../rtc_base:rtc_base_unittests" ] |
| 127 } |
| 128 } |
| 129 |
| 130 if (is_android) { |
| 131 android_library("base_java") { |
| 132 java_files = [ "Dummy.java" ] # Need one file to avoid hitting an assert. |
| 133 deps = [ "../rtc_base:base_java" ] |
| 134 } |
| 135 } |
OLD | NEW |