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

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

Issue 1896903002: [GN/iOS] Explicitly list test data in net_unittests_bundle_data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-fix-tests-ui-gfx
Patch Set: Define the file list in net/net.gypi and sync gyp & gn Created 4 years, 8 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
« no previous file with comments | « no previous file | net/BUILD.gn » ('j') | net/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 # GYP version: components/security_state.gyp 10 # GYP version: components/security_state.gyp
(...skipping 14 matching lines...) Expand all
25 25
26 if (is_android) { 26 if (is_android) {
27 # GYP: //components/security_state.gypi:security_state_enums_java 27 # GYP: //components/security_state.gypi:security_state_enums_java
28 java_cpp_enum("security_state_enums_java") { 28 java_cpp_enum("security_state_enums_java") {
29 sources = [ 29 sources = [
30 "security_state_model.h", 30 "security_state_model.h",
31 ] 31 ]
32 } 32 }
33 } 33 }
34 34
35 bundle_data("unit_tests_bundle_data") {
36 visibility = [ ":unit_tests" ]
37 testonly = true
38 sources = [
39 "//net/data/ssl/certificates/sha1_2016.pem",
40 ]
41 outputs = [
42 "{{bundle_resources_dir}}/" +
43 "{{source_root_relative_dir}}/{{source_file_part}}",
44 ]
45 }
46
47 source_set("unit_tests") { 35 source_set("unit_tests") {
48 testonly = true 36 testonly = true
49 sources = [ 37 sources = [
50 "security_state_model_unittest.cc", 38 "security_state_model_unittest.cc",
51 ] 39 ]
52 40
53 deps = [ 41 deps = [
54 ":security_state", 42 ":security_state",
55 ":unit_tests_bundle_data",
56 "//net:test_support", 43 "//net:test_support",
57 "//testing/gtest", 44 "//testing/gtest",
58 ] 45 ]
59 46
60 data = [ 47 data = [
61 "//net/data/", 48 "//net/data/",
62 ] 49 ]
63 } 50 }
OLDNEW
« no previous file with comments | « no previous file | net/BUILD.gn » ('j') | net/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698