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

Side by Side Diff: components/content_settings/core/common/BUILD.gn

Issue 2728503003: Update permission warning for contentSettings API
Patch Set: chrome.contentSettings API: Do not allow wildcard patterns that match extension URLs Created 3 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 static_library("common") { 7 static_library("common") {
8 sources = [ 8 sources = [
9 "content_settings.cc", 9 "content_settings.cc",
10 "content_settings.h", 10 "content_settings.h",
11 "content_settings_pattern.cc", 11 "content_settings_pattern.cc",
12 "content_settings_pattern.h", 12 "content_settings_pattern.h",
13 "content_settings_pattern_parser.cc", 13 "content_settings_pattern_parser.cc",
14 "content_settings_pattern_parser.h", 14 "content_settings_pattern_parser.h",
15 "content_settings_types.h", 15 "content_settings_types.h",
16 "pref_names.cc", 16 "pref_names.cc",
17 "pref_names.h", 17 "pref_names.h",
18 ] 18 ]
19 19
20 configs += [ "//build/config/compiler:wexit_time_destructors" ] 20 configs += [ "//build/config/compiler:wexit_time_destructors" ]
21 21
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//mojo/public/cpp/bindings:struct_traits", 24 "//mojo/public/cpp/bindings:struct_traits",
25 "//net", 25 "//net",
26 "//third_party/re2",
26 "//url", 27 "//url",
27 ] 28 ]
28 } 29 }
29 30
30 source_set("unit_tests") { 31 source_set("unit_tests") {
31 testonly = true 32 testonly = true
32 sources = [ 33 sources = [
33 "content_settings_pattern_parser_unittest.cc", 34 "content_settings_pattern_parser_unittest.cc",
34 "content_settings_pattern_unittest.cc", 35 "content_settings_pattern_unittest.cc",
35 ] 36 ]
36 37
37 deps = [ 38 deps = [
38 ":common", 39 ":common",
39 "//net", 40 "//net",
40 "//testing/gmock", 41 "//testing/gmock",
41 "//testing/gtest", 42 "//testing/gtest",
42 "//url", 43 "//url",
43 ] 44 ]
44 } 45 }
45 46
46 mojom("mojo_bindings") { 47 mojom("mojo_bindings") {
47 sources = [ 48 sources = [
48 "content_settings.mojom", 49 "content_settings.mojom",
49 ] 50 ]
50 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698