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

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

Issue 1761943002: SafeJSON: Remove unneeded deps for Android builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
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/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 # GYP version: components/safe_json.gypi:safe_json 9 # GYP version: components/safe_json.gypi:safe_json
10 source_set("safe_json") { 10 source_set("safe_json") {
(...skipping 20 matching lines...) Expand all
31 "//ui/base", 31 "//ui/base",
32 ] 32 ]
33 33
34 if (is_android) { 34 if (is_android) {
35 sources -= [ 35 sources -= [
36 "json_sanitizer.cc", 36 "json_sanitizer.cc",
37 "safe_json_parser_impl.cc", 37 "safe_json_parser_impl.cc",
38 "safe_json_parser_impl.h", 38 "safe_json_parser_impl.h",
39 ] 39 ]
40 deps += [ "android:safe_json_jni_headers" ] 40 deps += [ "android:safe_json_jni_headers" ]
41 deps -= [
42 ":messages",
43 "//content/public/browser",
44 "//ipc",
45 ]
41 } 46 }
42 } 47 }
43 48
44 # GYP version: components/safe_json.gypi:safe_json_unittest_sources 49 # GYP version: components/safe_json.gypi:safe_json_unittest_sources
45 source_set("unit_tests") { 50 source_set("unit_tests") {
46 testonly = true 51 testonly = true
47 sources = [ 52 sources = [
48 "json_sanitizer_unittest.cc", 53 "json_sanitizer_unittest.cc",
49 ] 54 ]
50 55
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ] 98 ]
94 99
95 deps = [ 100 deps = [
96 ":messages", 101 ":messages",
97 "//base", 102 "//base",
98 "//content/public/common", 103 "//content/public/common",
99 "//content/public/utility", 104 "//content/public/utility",
100 "//ipc", 105 "//ipc",
101 ] 106 ]
102 } 107 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698