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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//extensions/extensions.gni") | 6 import("//extensions/extensions.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 # GYP version: extensions/extensions.gyp:extensions_common_constants | 9 # GYP version: extensions/extensions.gyp:extensions_common_constants |
10 source_set("common_constants") { | 10 source_set("common_constants") { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "//third_party/boringssl", | 64 "//third_party/boringssl", |
65 "//third_party/icu", | 65 "//third_party/icu", |
66 "//third_party/libxml", | 66 "//third_party/libxml", |
67 "//third_party/re2", | 67 "//third_party/re2", |
68 "//ui/base", | 68 "//ui/base", |
69 "//ui/gfx/geometry", | 69 "//ui/gfx/geometry", |
70 "//ui/gfx/ipc", | 70 "//ui/gfx/ipc", |
71 "//url", | 71 "//url", |
72 ] | 72 ] |
73 | 73 |
74 if (is_android) { | |
75 deps -= [ "//device/usb" ] | |
76 sources -= [ | |
77 "api/printer_provider/usb_printer_manifest_data.cc", | |
78 "api/printer_provider/usb_printer_manifest_data.h", | |
79 "api/printer_provider/usb_printer_manifest_handler.cc", | |
80 ] | |
81 } | |
82 | |
83 if (enable_nacl) { | 74 if (enable_nacl) { |
84 nacl_sources = | 75 nacl_sources = |
85 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, | 76 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, |
86 ".", | 77 ".", |
87 "//extensions") | 78 "//extensions") |
88 sources += nacl_sources | 79 sources += nacl_sources |
89 } | 80 } |
90 } | 81 } |
91 } # enable_extensions | 82 } # enable_extensions |
OLD | NEW |