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

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

Issue 505853003: Work on GN build of Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try 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/copresence.gypi » ('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 16 matching lines...) Expand all
27 "//chrome:resources", 27 "//chrome:resources",
28 "//chrome:strings", 28 "//chrome:strings",
29 "//chrome/common", 29 "//chrome/common",
30 ] 30 ]
31 31
32 if (!is_android) { 32 if (!is_android) {
33 sources += rebase_path(gypi_values.chrome_utility_importer_sources, 33 sources += rebase_path(gypi_values.chrome_utility_importer_sources,
34 ".", "..") 34 ".", "..")
35 } 35 }
36 36
37 if (enable_extensions == 1) { 37 if (enable_extensions) {
38 deps += [ 38 deps += [
39 "//chrome/common/extensions/api", 39 "//chrome/common/extensions/api",
40 #"//third_party/libexif", TODO(GYP) 40 #"//third_party/libexif", TODO(GYP)
41 ] 41 ]
42 42
43 forward_dependent_configs_from = [ 43 forward_dependent_configs_from = [
44 "//chrome/common/extensions/api", 44 "//chrome/common/extensions/api",
45 ] 45 ]
46 46
47 sources += rebase_path(gypi_values.chrome_utility_extensions_sources, 47 sources += rebase_path(gypi_values.chrome_utility_extensions_sources,
48 ".", "..") 48 ".", "..")
49 sources += rebase_path(gypi_values.chrome_utility_shared_media_sources, 49 sources += rebase_path(gypi_values.chrome_utility_shared_media_sources,
50 ".", "..") 50 ".", "..")
51 51
52 if (is_win || is_mac) { 52 if (is_win || is_mac) {
53 sources += rebase_path( 53 sources += rebase_path(
54 gypi_values.chrome_utility_win_mac_media_gallery_sources, ".", "..") 54 gypi_values.chrome_utility_win_mac_media_gallery_sources, ".", "..")
55 deps += [ "//components/wifi" ] 55 deps += [ "//components/wifi" ]
56 } else { 56 } else {
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 sources -= [ "importer/nss_decryptor.cc" ] 67 if (!is_win && !is_mac) {
68 sources -= [ "importer/nss_decryptor.cc" ]
69 }
70 } else { # !use_openssl
68 if (!is_win && !is_mac) { 71 if (!is_win && !is_mac) {
69 sources += [ 72 sources += [
70 "importer/nss_decryptor_system_nss.cc", 73 "importer/nss_decryptor_system_nss.cc",
71 "importer/nss_decryptor_system_nss.h", 74 "importer/nss_decryptor_system_nss.h",
72 ] 75 ]
73 deps += [ 76 deps += [
74 "//crypto", 77 "//crypto",
75 "//crypto:platform", 78 "//crypto:platform",
76 ] 79 ]
77 } 80 }
(...skipping 10 matching lines...) Expand all
88 sources -= [ 91 sources -= [
89 "local_discovery/service_discovery_message_handler.cc", 92 "local_discovery/service_discovery_message_handler.cc",
90 "local_discovery/service_discovery_message_handler.h", 93 "local_discovery/service_discovery_message_handler.h",
91 ] 94 ]
92 } 95 }
93 96
94 if (safe_browsing_mode == 1) { 97 if (safe_browsing_mode == 1) {
95 defines += [ "FULL_SAFE_BROWSING" ] 98 defines += [ "FULL_SAFE_BROWSING" ]
96 } 99 }
97 } 100 }
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | components/copresence.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698