| # Copyright 2018 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| import("//build/config/jumbo.gni") |
| jumbo_component("crdtp") { |
| "crdtp/parser_handler.h", |
| defines = [ "CRDTP_IMPLEMENTATION" ] |
| configs -= [ "//build/config/compiler:default_optimization" ] |
| configs += [ "//build/config/compiler:optimize_max" ] |
| # A small adapter library which only :crdtp may depend on. |
| source_set("crdtp_platform") { |
| visibility = [ ":crdtp" ] |
| "crdtp/chromium/json_platform_chromium.cc", |
| # These tests are linked into //content/test:content_unittests. |
| source_set("crdtp_test") { |
| "crdtp/serializable_test.cc", |
| # A small adapter library which only :crdtp_test may depend on. |
| source_set("crdtp_test_platform") { |
| "crdtp/test_platform.cc", |
| "//third_party/inspector_protocol:crdtp", |