Warning, /plasma/aura-browser/app/third-party/ad-block/muon/BUILD.gn is written in an unsupported language. File is not indexed.

0001 dep_base = rebase_path("../..", "//")
0002 
0003 config("external_config") {
0004   include_dirs = [ ".." ]
0005 }
0006 
0007 config("internal_config") {
0008   include_dirs = [
0009     rebase_path("node/src", dep_base),
0010   ]
0011 
0012   defines = [ "NODE_SHARED_MODE", "AD_BLOCK_INTERNAL_MODULE" ]
0013 
0014   cflags = []
0015 
0016   if (is_clang) {
0017     cflags += [
0018       "-Wno-error",
0019       "-Wno-deprecated-declarations",
0020     ]
0021   }
0022 }
0023 
0024 source_set("ad_block") {
0025   public_configs = [ ":external_config" ]
0026 
0027   configs += [ ":internal_config" ]
0028 
0029   sources = [
0030     "../ad_block_client.cc",
0031     "../ad_block_client.h",
0032     "../ad_block_client_wrap.cc",
0033     "../ad_block_client_wrap.h",
0034     "../addon.cc",
0035     "../context_domain.cc",
0036     "../context_domain.h",
0037     "../cosmetic_filter.cc",
0038     "../cosmetic_filter.h",
0039     "../filter.cc",
0040     "../filter.h",
0041     "../filter_list.cc",
0042     "../filter_list.h",
0043     "../no_fingerprint_domain.cc",
0044     "../no_fingerprint_domain.h",
0045     "../protocol.cc",
0046     "../protocol.h",
0047   ]
0048 
0049   deps = [
0050     rebase_path("hashset-cpp", dep_base),
0051     rebase_path("bloom-filter-cpp", dep_base),
0052     "//v8",
0053   ]
0054 }