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

Side by Side Diff: printing/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 if (is_mac) { 9 if (is_mac) {
10 import("//build/config/mac/mac_sdk.gni") 10 import("//build/config/mac/mac_sdk.gni")
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if (is_mac) { 93 if (is_mac) {
94 # Mac-Aura does not support printing. 94 # Mac-Aura does not support printing.
95 if (use_aura) { 95 if (use_aura) {
96 sources -= [ "printed_document_mac.cc" ] 96 sources -= [ "printed_document_mac.cc" ]
97 } else { 97 } else {
98 sources += [ 98 sources += [
99 "printing_context_mac.h", 99 "printing_context_mac.h",
100 "printing_context_mac.mm", 100 "printing_context_mac.mm",
101 ] 101 ]
102 } 102 }
103 libs = [
104 "AppKit.framework",
105 "ApplicationServices.framework",
106 "CoreFoundation.framework",
107 "CoreGraphics.framework",
108 ]
103 } 109 }
104 110
105 if (is_win) { 111 if (is_win) {
106 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation of the 112 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation of the
107 # print backend and enables a custom implementation instead. 113 # print backend and enables a custom implementation instead.
108 defines += [ "PRINT_BACKEND_AVAILABLE" ] 114 defines += [ "PRINT_BACKEND_AVAILABLE" ]
109 sources += [ 115 sources += [
110 "backend/print_backend_win.cc", 116 "backend/print_backend_win.cc",
111 "backend/win_helper.cc", 117 "backend/win_helper.cc",
112 "backend/win_helper.h", 118 "backend/win_helper.h",
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 "android/java/src/org/chromium/printing/PrintManagerDelegate.java", 288 "android/java/src/org/chromium/printing/PrintManagerDelegate.java",
283 "android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java", 289 "android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java",
284 "android/java/src/org/chromium/printing/Printable.java", 290 "android/java/src/org/chromium/printing/Printable.java",
285 "android/java/src/org/chromium/printing/PrintingContext.java", 291 "android/java/src/org/chromium/printing/PrintingContext.java",
286 "android/java/src/org/chromium/printing/PrintingContextInterface.java", 292 "android/java/src/org/chromium/printing/PrintingContextInterface.java",
287 "android/java/src/org/chromium/printing/PrintingController.java", 293 "android/java/src/org/chromium/printing/PrintingController.java",
288 "android/java/src/org/chromium/printing/PrintingControllerImpl.java", 294 "android/java/src/org/chromium/printing/PrintingControllerImpl.java",
289 ] 295 ]
290 } 296 }
291 } 297 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698