Alex Perry | 0ea8161 | 2020-01-20 13:26:13 -0800 | [diff] [blame] | 1 | load("@//tools/build_rules:select.bzl", "cpu_select") |
| 2 | |
| 3 | cc_library( |
| 4 | name = "webrtc", |
Alex Perry | 0ea8161 | 2020-01-20 13:26:13 -0800 | [diff] [blame] | 5 | srcs = cpu_select({ |
| 6 | "arm": ["lib/arm/Release/libwebrtc_full.a"], |
| 7 | "else": ["lib/x64/Release/libwebrtc_full.a"], |
| 8 | }), |
Austin Schuh | a4f69d6 | 2020-02-28 13:58:14 -0800 | [diff] [blame] | 9 | hdrs = glob(["include/**/*.h"]), |
Alex Perry | 0ea8161 | 2020-01-20 13:26:13 -0800 | [diff] [blame] | 10 | includes = ["include"], |
Austin Schuh | a4f69d6 | 2020-02-28 13:58:14 -0800 | [diff] [blame] | 11 | visibility = ["//visibility:public"], |
Alex Perry | 0ea8161 | 2020-01-20 13:26:13 -0800 | [diff] [blame] | 12 | deps = [ |
Austin Schuh | a4f69d6 | 2020-02-28 13:58:14 -0800 | [diff] [blame] | 13 | "@com_google_absl//absl/algorithm:container", |
Alex Perry | 0ea8161 | 2020-01-20 13:26:13 -0800 | [diff] [blame] | 14 | "@com_google_absl//absl/strings", |
| 15 | "@com_google_absl//absl/types:optional", |
| 16 | "@com_google_absl//absl/types:variant", |
Alex Perry | 0ea8161 | 2020-01-20 13:26:13 -0800 | [diff] [blame] | 17 | ], |
| 18 | ) |