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

Side by Side Diff: cloud_print/service/service.gyp

Issue 1408623002: Add cloud_print to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'target_defaults': { 5 'target_defaults': {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'enable_wexit_time_destructors': 1, 8 'enable_wexit_time_destructors': 1,
9 }, 9 },
10 'include_dirs': [ 10 'include_dirs': [
11 '<(DEPTH)', 11 '<(DEPTH)',
12 # To allow including "version.h" 12 # To allow including "version.h"
13 '<(SHARED_INTERMEDIATE_DIR)', 13 '<(SHARED_INTERMEDIATE_DIR)',
14 ], 14 ],
15 'defines' : [ 15 'defines' : [
16 'COMPILE_CONTENT_STATICALLY', 16 'COMPILE_CONTENT_STATICALLY',
17 'SECURITY_WIN32', 17 'SECURITY_WIN32',
18 'STRICT', 18 'STRICT',
19 '_ATL_APARTMENT_THREADED', 19 '_ATL_APARTMENT_THREADED',
20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', 20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
21 '_ATL_NO_COM_SUPPORT', 21 '_ATL_NO_COM_SUPPORT',
22 '_ATL_NO_AUTOMATIC_NAMESPACE', 22 '_ATL_NO_AUTOMATIC_NAMESPACE',
23 '_ATL_NO_EXCEPTIONS', 23 '_ATL_NO_EXCEPTIONS',
24 ], 24 ],
25 'conditions': [
26 ['OS=="win"', {
27 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
28 'msvs_disabled_warnings': [ 4267, ],
29 }],
30 ],
31 }, 25 },
32 'targets': [ 26 'targets': [
33 { 27 {
28 # GN version: //cloud_print/service:resources
34 'target_name': 'service_resources', 29 'target_name': 'service_resources',
35 'type': 'none', 30 'type': 'none',
36 'variables': { 31 'variables': {
37 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cloud_print', 32 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cloud_print/service',
38 }, 33 },
39 'actions': [ 34 'actions': [
40 { 35 {
41 'action_name': 'service_resources', 36 'action_name': 'service_resources',
42 'variables': { 37 'variables': {
43 'grit_grd_file': 'win/service_resources.grd', 38 'grit_grd_file': 'win/service_resources.grd',
44 }, 39 },
45 'includes': [ '../../build/grit_action.gypi' ], 40 'includes': [ '../../build/grit_action.gypi' ],
46 }, 41 },
47 ], 42 ],
48 'includes': [ '../../build/grit_target.gypi' ], 43 'includes': [ '../../build/grit_target.gypi' ],
49 }, 44 },
50 { 45 {
46 # GN version: //cloud_print/service
51 'target_name': 'cloud_print_service_lib', 47 'target_name': 'cloud_print_service_lib',
52 'type': 'static_library', 48 'type': 'static_library',
53 'dependencies': [ 49 'dependencies': [
54 '<(DEPTH)/base/base.gyp:base', 50 '<(DEPTH)/base/base.gyp:base',
55 '<(DEPTH)/base/base.gyp:base_static', 51 '<(DEPTH)/base/base.gyp:base_static',
56 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 52 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
57 '<(DEPTH)/components/components.gyp:cloud_devices_common', 53 '<(DEPTH)/components/components.gyp:cloud_devices_common',
58 '<(DEPTH)/google_apis/google_apis.gyp:google_apis', 54 '<(DEPTH)/google_apis/google_apis.gyp:google_apis',
59 '<(DEPTH)/ipc/ipc.gyp:ipc', 55 '<(DEPTH)/ipc/ipc.gyp:ipc',
60 '<(DEPTH)/net/net.gyp:net', 56 '<(DEPTH)/net/net.gyp:net',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 'win/service_listener.cc', 110 'win/service_listener.cc',
115 'win/service_listener.h', 111 'win/service_listener.h',
116 'win/service_utils.cc', 112 'win/service_utils.cc',
117 'win/service_utils.h', 113 'win/service_utils.h',
118 'win/setup_listener.cc', 114 'win/setup_listener.cc',
119 'win/setup_listener.h', 115 'win/setup_listener.h',
120 ], 116 ],
121 }, 117 },
122 ], 118 ],
123 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698