Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: components/contextual_search/BUILD.gn

Issue 2277213003: [TTS] Add aggregation of CTR metrics to the CS component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 # GYP version: components/contextual_search.gypi:contextual_search_mojo_bindings 7 # GYP version: components/contextual_search.gypi:contextual_search_mojo_bindings
8 mojom("mojo_bindings") { 8 mojom("mojo_bindings") {
9 sources = [ 9 sources = [
10 "common/contextual_search_js_api_service.mojom", 10 "common/contextual_search_js_api_service.mojom",
11 "common/overlay_page_notifier_service.mojom", 11 "common/overlay_page_notifier_service.mojom",
12 ] 12 ]
13 13
14 use_new_wrapper_types = false 14 use_new_wrapper_types = false
15 } 15 }
16 16
17 # GYP version: components/contextual_search.gypi:contextual_search_browser 17 # GYP version: components/contextual_search.gypi:contextual_search_browser
18 static_library("browser") { 18 static_library("browser") {
19 sources = [ 19 sources = [
20 "browser/contextual_search_js_api_service_impl.cc", 20 "browser/contextual_search_js_api_service_impl.cc",
21 "browser/contextual_search_js_api_service_impl.h", 21 "browser/contextual_search_js_api_service_impl.h",
22 "browser/ctr_aggregator.cc",
23 "browser/ctr_aggregator.h",
24 "browser/native_int_storage.h",
22 ] 25 ]
23 deps = [ 26 deps = [
24 ":mojo_bindings", 27 ":mojo_bindings",
25 "//base", 28 "//base",
26 ] 29 ]
27 } 30 }
28 31
32 source_set("unit_tests") {
33 testonly = true
34 sources = [
35 "browser/ctr_aggregator_unittest.cc",
36 ]
37
38 deps = [
39 ":browser",
40 "//testing/gtest",
41 ]
42 }
43
29 # GYP version: components/contextual_search.gypi:contextual_search_renderer 44 # GYP version: components/contextual_search.gypi:contextual_search_renderer
30 static_library("renderer") { 45 static_library("renderer") {
31 sources = [ 46 sources = [
32 "renderer/contextual_search_wrapper.cc", 47 "renderer/contextual_search_wrapper.cc",
33 "renderer/contextual_search_wrapper.h", 48 "renderer/contextual_search_wrapper.h",
34 "renderer/overlay_js_render_frame_observer.cc", 49 "renderer/overlay_js_render_frame_observer.cc",
35 "renderer/overlay_js_render_frame_observer.h", 50 "renderer/overlay_js_render_frame_observer.h",
36 "renderer/overlay_page_notifier_service_impl.cc", 51 "renderer/overlay_page_notifier_service_impl.cc",
37 "renderer/overlay_page_notifier_service_impl.h", 52 "renderer/overlay_page_notifier_service_impl.h",
38 ] 53 ]
39 deps = [ 54 deps = [
40 ":mojo_bindings", 55 ":mojo_bindings",
41 "//base", 56 "//base",
42 "//content/public/common", 57 "//content/public/common",
43 "//content/public/renderer", 58 "//content/public/renderer",
44 "//gin", 59 "//gin",
45 "//mojo/public/cpp/bindings", 60 "//mojo/public/cpp/bindings",
46 "//services/shell/public/cpp", 61 "//services/shell/public/cpp",
47 "//third_party/WebKit/public:blink_headers", 62 "//third_party/WebKit/public:blink_headers",
48 "//v8", 63 "//v8",
49 ] 64 ]
50 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698