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

Side by Side Diff: chrome/utility/BUILD.gn

Issue 571863002: GN: Get //chrome/* mostly working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « chrome/renderer/BUILD.gn ('k') | components/autofill/core/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 7
8 gypi_values = exec_script( 8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 9 "//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_utility.gypi") ], 10 [ rebase_path("../chrome_utility.gypi") ],
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 sources += [ "image_writer/image_writer_stub.cc" ] 57 sources += [ "image_writer/image_writer_stub.cc" ]
58 } 58 }
59 59
60 if (is_mac) { 60 if (is_mac) {
61 sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_source s, 61 sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_source s,
62 ".", "..") 62 ".", "..")
63 } 63 }
64 } 64 }
65 65
66 if (use_openssl) { 66 if (use_openssl) {
67 if (!is_win && !is_mac) { 67 if (!is_win && !is_mac && !is_android) {
68 sources -= [ "importer/nss_decryptor.cc" ] 68 sources -= [ "importer/nss_decryptor.cc" ]
69 } 69 }
70 } else { # !use_openssl 70 } else { # !use_openssl
71 if (!is_win && !is_mac) { 71 if (!is_win && !is_mac) {
72 sources += [ 72 sources += [
73 "importer/nss_decryptor_system_nss.cc", 73 "importer/nss_decryptor_system_nss.cc",
74 "importer/nss_decryptor_system_nss.h", 74 "importer/nss_decryptor_system_nss.h",
75 ] 75 ]
76 deps += [ 76 deps += [
77 "//crypto", 77 "//crypto",
(...skipping 13 matching lines...) Expand all
91 sources -= [ 91 sources -= [
92 "local_discovery/service_discovery_message_handler.cc", 92 "local_discovery/service_discovery_message_handler.cc",
93 "local_discovery/service_discovery_message_handler.h", 93 "local_discovery/service_discovery_message_handler.h",
94 ] 94 ]
95 } 95 }
96 96
97 if (safe_browsing_mode == 1) { 97 if (safe_browsing_mode == 1) {
98 defines += [ "FULL_SAFE_BROWSING" ] 98 defines += [ "FULL_SAFE_BROWSING" ]
99 } 99 }
100 } 100 }
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | components/autofill/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698