Chromium Code Reviews| Index: extensions/browser/api/document_scan/BUILD.gn |
| diff --git a/extensions/browser/api/document_scan/BUILD.gn b/extensions/browser/api/document_scan/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9112924785d5d8eeac3552a29b994398ed8a66fd |
| --- /dev/null |
| +++ b/extensions/browser/api/document_scan/BUILD.gn |
| @@ -0,0 +1,21 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +source_set("document_scan") { |
| + sources = [ |
| + "document_scan_api.cc", |
| + "document_scan_api.h", |
| + "document_scan_interface.cc", |
| + "document_scan_interface.h", |
| + "document_scan_interface_chromeos.cc", |
|
Devlin
2016/09/14 22:50:29
this seems broken - why do we include chromeos whe
Rahul Chaturvedi
2016/09/14 23:10:24
_chromeos files will only be compiled on Chrome OS
Devlin
2016/09/15 00:08:04
Ah, didn't realize we had that rule. Interesting!
|
| + ] |
| + |
| + if (!is_chromeos) { |
| + sources += [ "document_scan_interface_nonchromeos.cc" ] |
| + } |
| + |
| + deps = [ |
| + "//extensions/common/api", |
| + ] |
| +} |