OLD | NEW |
---|---|
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("//extensions/extensions.gni") | 5 import("//extensions/extensions.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 assert(enable_extensions) | 10 assert(enable_extensions) |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
67 | 67 |
68 source_set("test_support") { | 68 source_set("test_support") { |
69 testonly = true | 69 testonly = true |
70 sources = rebase_path(extensions_gypi_values.extensions_test_support_sources, | 70 sources = rebase_path(extensions_gypi_values.extensions_test_support_sources, |
71 ".", | 71 ".", |
72 "//extensions") | 72 "//extensions") |
73 | 73 |
74 deps = [ | 74 deps = [ |
75 ":extensions_resources", | 75 ":extensions_resources", |
76 "//base", | 76 "//base", |
77 "//content/public/browser", | 77 "//base:prefs_test_support", |
78 "//content/public/common", | 78 "//content/public/common", |
79 "//content/test:test_support", | 79 "//content/test:test_support", |
80 "//extensions/browser", | 80 "//extensions/browser", |
81 "//extensions/common", | 81 "//extensions/common", |
82 "//extensions/common/api", | 82 "//extensions/common/api", |
83 "//extensions/common/api:api_registration", | 83 "//extensions/common/api:api_registration", |
84 "//net:test_support", | 84 "//net:test_support", |
85 "//testing/gmock", | 85 "//testing/gmock", |
86 "//testing/gtest", | 86 "//testing/gtest", |
87 ] | 87 ] |
88 | 88 |
89 public_deps = [ | 89 public_deps = [ |
90 "//content/public/browser", | |
James Cook
2015/02/13 21:53:31
Question: Why does this have to be a public_dep?
Ken Rockot(use gerrit already)
2015/02/13 22:08:31
Good question!
It's because one of the public hea
| |
90 "//extensions/common/api/cast_channel:cast_channel_proto", | 91 "//extensions/common/api/cast_channel:cast_channel_proto", |
91 ] | 92 ] |
92 | 93 |
93 if (is_win) { | 94 if (is_win) { |
94 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. | 95 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. |
95 } | 96 } |
96 } | 97 } |
97 | 98 |
98 # GYP version: //extensions/extensions.gyp:extensions_shell_and_test_pak | 99 # GYP version: //extensions/extensions.gyp:extensions_shell_and_test_pak |
99 repack("shell_and_test_pak") { | 100 repack("shell_and_test_pak") { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 ] | 215 ] |
215 | 216 |
216 if (is_win) { | 217 if (is_win) { |
217 deps += [ "//base/allocator" ] | 218 deps += [ "//base/allocator" ] |
218 } | 219 } |
219 | 220 |
220 if (is_mac) { | 221 if (is_mac) { |
221 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. | 222 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. |
222 } | 223 } |
223 } | 224 } |
OLD | NEW |