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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(
GYP) | 77 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(
GYP) |
78 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) | 78 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) |
79 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | 79 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
80 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) | 80 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) |
81 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) | 81 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) |
82 ] | 82 ] |
83 } | 83 } |
84 | 84 |
85 if (safe_browsing_mode == 1) { | 85 if (safe_browsing_mode == 1) { |
86 defines += [ "FULL_SAFE_BROWSING" ] | 86 defines += [ "FULL_SAFE_BROWSING" ] |
| 87 defines += [ "SAFE_BROWSING_CSD" ] |
| 88 defines += [ "SAFE_BROWSING_DATABASE" ] |
| 89 defines += [ "SAFE_BROWSING_SERVICE" ] |
87 sources += rebase_path( | 90 sources += rebase_path( |
88 gypi_values.chrome_common_full_safe_browsing_sources, | 91 gypi_values.chrome_common_full_safe_browsing_sources, |
89 ".", "//chrome") | 92 ".", "//chrome") |
90 } | 93 } |
91 if (safe_browsing_mode == 2) { | 94 if (safe_browsing_mode == 2) { |
92 defines += [ "MOBILE_SAFE_BROWSING" ] | 95 defines += [ "MOBILE_SAFE_BROWSING" ] |
| 96 defines += [ "SAFE_BROWSING_SERVICE" ] |
93 } | 97 } |
94 } | 98 } |
95 | 99 |
96 if (is_linux) { | 100 if (is_linux) { |
97 action("version") { | 101 action("version") { |
98 visibility = ":common" | 102 visibility = ":common" |
99 script = "//build/util/version.py" | 103 script = "//build/util/version.py" |
100 | 104 |
101 lastchange_path = "//build/util/LASTCHANGE" | 105 lastchange_path = "//build/util/LASTCHANGE" |
102 version_path = "//chrome/VERSION" | 106 version_path = "//chrome/VERSION" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 165 |
162 deps = [ | 166 deps = [ |
163 "//base", | 167 "//base", |
164 "//base/third_party/dynamic_annotations", | 168 "//base/third_party/dynamic_annotations", |
165 "//third_party/widevine/cdm:version_h", | 169 "//third_party/widevine/cdm:version_h", |
166 # TODO(GYP) | 170 # TODO(GYP) |
167 #'../components/components.gyp:bookmarks_common', | 171 #'../components/components.gyp:bookmarks_common', |
168 #'../components/nacl.gyp:nacl_switches', | 172 #'../components/nacl.gyp:nacl_switches', |
169 ] | 173 ] |
170 } | 174 } |
OLD | NEW |