summaryrefslogtreecommitdiff
path: root/chromium/components/sync/js/BUILD.gn
blob: 71ff7e8f2ece2a82f230bf835717aec4ff1e550c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2019 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/features.gni")

static_library("js") {
  sources = [
    "js_backend.h",
    "js_controller.h",
    "js_event_details.cc",
    "js_event_details.h",
    "js_event_handler.h",
    "sync_js_controller.cc",
    "sync_js_controller.h",
  ]

  public_deps = [ "//components/sync/base" ]
}

static_library("test_support") {
  testonly = true
  sources = [
    "js_test_util.cc",
    "js_test_util.h",
  ]

  public_deps = [
    "//base",
    "//components/sync/base",
    "//components/sync/js",
    "//testing/gmock",
    "//testing/gtest",
  ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]
}