xref: /aosp_15_r20/external/cronet/net/traffic_annotation/BUILD.gn (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1*6777b538SAndroid Build Coastguard Workersource_set("traffic_annotation") {
2*6777b538SAndroid Build Coastguard Worker  sources = [ "network_traffic_annotation.h" ]
3*6777b538SAndroid Build Coastguard Worker  deps = [
4*6777b538SAndroid Build Coastguard Worker    "//base",
5*6777b538SAndroid Build Coastguard Worker    "//build:chromeos_buildflags",
6*6777b538SAndroid Build Coastguard Worker  ]
7*6777b538SAndroid Build Coastguard Worker  if (is_android) {
8*6777b538SAndroid Build Coastguard Worker    sources += [ "network_traffic_annotation_android.cc" ]
9*6777b538SAndroid Build Coastguard Worker  }
10*6777b538SAndroid Build Coastguard Worker}
11*6777b538SAndroid Build Coastguard Worker
12*6777b538SAndroid Build Coastguard Workersource_set("test_support") {
13*6777b538SAndroid Build Coastguard Worker  testonly = true
14*6777b538SAndroid Build Coastguard Worker  sources = [ "network_traffic_annotation_test_helper.h" ]
15*6777b538SAndroid Build Coastguard Worker  public_deps = [ ":traffic_annotation" ]
16*6777b538SAndroid Build Coastguard Worker}
17