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

Side by Side Diff: build/standalone.gypi

Issue 1072213002: Merge to XFA: Update DEPS to pull V8 from the new repository. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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 | « DEPS ('k') | no next file » | 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 PDFium Authors. All rights reserved. 1 # Copyright 2014 PDFium 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 # Definitions to be used when building stand-alone PDFium binaries. 5 # Definitions to be used when building stand-alone PDFium binaries.
6 6
7 { 7 {
8 'variables': { 8 'variables': {
9 'component%': 'static_library', 9 'component%': 'static_library',
10 'clang%': 0, 10 'clang%': 0,
(...skipping 24 matching lines...) Expand all
35 'target_arch%': '<(host_arch)', 35 'target_arch%': '<(host_arch)',
36 }, 36 },
37 'host_arch%': '<(host_arch)', 37 'host_arch%': '<(host_arch)',
38 'target_arch%': '<(target_arch)', 38 'target_arch%': '<(target_arch)',
39 }, 39 },
40 # These two are needed by V8. 40 # These two are needed by V8.
41 'host_arch%': '<(host_arch)', 41 'host_arch%': '<(host_arch)',
42 'target_arch%': '<(target_arch)', 42 'target_arch%': '<(target_arch)',
43 'werror%': '-Werror', 43 'werror%': '-Werror',
44 'v8_optimized_debug%': 0, 44 'v8_optimized_debug%': 0,
45 'v8_use_external_startup_data%': 0,
45 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', 46 'icu_gyp_path': '../v8/third_party/icu/icu.gyp',
46 'conditions': [ 47 'conditions': [
47 ['OS == "win"', { 48 ['OS == "win"', {
48 'os_posix%': 0, 49 'os_posix%': 0,
49 }, { 50 }, {
50 'os_posix%': 1, 51 'os_posix%': 1,
51 }], 52 }],
52 ], 53 ],
53 }, 54 },
54 'target_defaults': { 55 'target_defaults': {
55 'default_configuration': 'Debug', 56 'default_configuration': 'Debug',
56 'configurations': { 57 'configurations': {
57 'Debug': { 58 'Debug': {
58 'cflags': [ 59 'cflags': [
59 '-g', 60 '-g',
60 '-O0', 61 '-O0',
61 '-fdata-sections', 62 '-fdata-sections',
62 '-ffunction-sections', 63 '-ffunction-sections',
63 ], 64 ],
64 'msvs_settings': { 65 'msvs_settings': {
65 'VCCLCompilerTool': { 66 'VCCLCompilerTool': {
66 'Optimization': '0', 67 'Optimization': '0',
67 'conditions': [ 68 'conditions': [
68 ['component=="shared_library"', { 69 ['component=="shared_library"', {
69 'RuntimeLibrary': '3', # /MDd 70 'RuntimeLibrary': '3', # /MDd
70 }, { 71 }, {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 }, 134 },
134 'Debug_x64': { 135 'Debug_x64': {
135 'inherit_from': ['Debug'], 136 'inherit_from': ['Debug'],
136 'msvs_configuration_platform': 'x64', 137 'msvs_configuration_platform': 'x64',
137 }, 138 },
138 'Release_x64': { 139 'Release_x64': {
139 'inherit_from': ['Release'], 140 'inherit_from': ['Release'],
140 'msvs_configuration_platform': 'x64', 141 'msvs_configuration_platform': 'x64',
141 }, 142 },
142 }, 143 },
143 'defines!': [
144 'DEBUG',
145 ],
146 'cflags': [ 144 'cflags': [
147 '-Wall', 145 '-Wall',
148 '-W', 146 '-W',
149 '-Wno-unused-parameter', 147 '-Wno-unused-parameter',
150 '-pthread', 148 '-pthread',
151 '-fno-exceptions', 149 '-fno-exceptions',
152 '-fvisibility=hidden', 150 '-fvisibility=hidden',
153 ], 151 ],
154 'cflags_cc': [ 152 'cflags_cc': [
155 '-std=gnu++0x', 153 '-std=gnu++0x',
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 }], # OS=="win" 255 }], # OS=="win"
258 ['OS=="mac"', { 256 ['OS=="mac"', {
259 'target_defaults': { 257 'target_defaults': {
260 'target_conditions': [ 258 'target_conditions': [
261 ['_type!="static_library"', { 259 ['_type!="static_library"', {
262 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 260 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
263 }], 261 }],
264 ], # target_conditions 262 ], # target_conditions
265 }, # target_defaults 263 }, # target_defaults
266 }], # OS=="mac" 264 }], # OS=="mac"
265 ['v8_use_external_startup_data==1', {
266 'target_defaults': {
267 'defines': [
268 'V8_USE_EXTERNAL_STARTUP_DATA',
269 ],
270 },
271 }], # v8_use_external_startup_data==1
267 ], 272 ],
268 'xcode_settings': { 273 'xcode_settings': {
269 # See comment in Chromium's common.gypi for why this is needed. 274 # See comment in Chromium's common.gypi for why this is needed.
270 'SYMROOT': '<(DEPTH)/xcodebuild', 275 'SYMROOT': '<(DEPTH)/xcodebuild',
271 } 276 }
272 } 277 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698