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

Issue 1663863002: Add product mode: (Closed)

Created:
4 years, 10 months ago by Ivan Posva
Modified:
4 years, 10 months ago
CC:
reviews_dartlang.org, ricow1, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add product mode: - Add PRODUCT define and build mode to gyp configurations. - Add product mode to test harness. - Start to unify list of flags. - Allow flags to be constant for particular build configurations. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/9c0c6cb5c2212fd53a1f57dee6c968410c61fcd2

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add remaining OS and CPU architectures. #

Patch Set 3 : Reworked the flags setting: Moving to single file for all flag defintions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -201 lines) Patch
M runtime/tools/gyp/runtime-configurations.gypi View 2 chunks +23 lines, -16 lines 0 comments Download
M runtime/vm/assembler.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 7 chunks +0 lines, -15 lines 0 comments Download
A runtime/vm/flag_list.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M runtime/vm/flags.h View 1 2 3 chunks +33 lines, -11 lines 0 comments Download
M runtime/vm/flags.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/handles.h View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M runtime/vm/handles.cc View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M runtime/vm/handles_impl.h View 1 2 3 chunks +0 lines, -6 lines 0 comments Download
M runtime/vm/handles_test.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/heap.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/heap.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/symbols.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/unit_test.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/zone.h View 1 2 5 chunks +0 lines, -10 lines 0 comments Download
M runtime/vm/zone.cc View 1 2 6 chunks +0 lines, -10 lines 0 comments Download
M runtime/vm/zone_test.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M tools/build.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/gyp/all.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M tools/gyp/configurations.gypi View 1 21 chunks +187 lines, -0 lines 0 comments Download
M tools/gyp/configurations_android.gypi View 1 2 chunks +18 lines, -18 lines 0 comments Download
M tools/gyp/configurations_make.gypi View 2 chunks +21 lines, -39 lines 0 comments Download
M tools/gyp/configurations_msvs.gypi View 1 4 chunks +33 lines, -23 lines 0 comments Download
M tools/gyp/configurations_xcode.gypi View 2 chunks +21 lines, -13 lines 0 comments Download
M tools/testing/dart/runtime_configuration.dart View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M tools/testing/dart/test_options.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 1 chunk +14 lines, -1 line 0 comments Download
M tools/utils.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Ivan Posva
Suggestion on how to add a product build. -Ivan
4 years, 10 months ago (2016-02-03 16:32:38 UTC) #2
Cutch
LGTMwC https://codereview.chromium.org/1663863002/diff/1/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/1663863002/diff/1/tools/testing/dart/test_suite.dart#newcode2330 tools/testing/dart/test_suite.dart:2330: case 'debug': mode = 'Debug'; newline
4 years, 10 months ago (2016-02-03 17:09:01 UTC) #3
Florian Schneider
dbc: To keep our gyp build files in sync I'd also update tools/gyp/configurations_msvs.gypi and tools/gyp/configurations_android.gypi ...
4 years, 10 months ago (2016-02-03 18:00:21 UTC) #5
Ivan Posva
On 2016/02/03 18:00:21, Florian Schneider wrote: > dbc: To keep our gyp build files in ...
4 years, 10 months ago (2016-02-03 18:39:12 UTC) #6
siva
https://codereview.chromium.org/1663863002/diff/1/runtime/vm/symbols.cc File runtime/vm/symbols.cc (right): https://codereview.chromium.org/1663863002/diff/1/runtime/vm/symbols.cc#newcode40 runtime/vm/symbols.cc:40: "Dump symbol table statistics"); Do you anticipate the product ...
4 years, 10 months ago (2016-02-03 20:33:51 UTC) #7
Ivan Posva
https://codereview.chromium.org/1663863002/diff/1/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/1663863002/diff/1/tools/testing/dart/test_suite.dart#newcode2330 tools/testing/dart/test_suite.dart:2330: case 'debug': mode = 'Debug'; On 2016/02/03 17:09:01, Cutch ...
4 years, 10 months ago (2016-02-03 22:11:08 UTC) #8
Ivan Posva
PTAL -Ivan
4 years, 10 months ago (2016-02-04 01:27:17 UTC) #9
Florian Schneider
lgtm
4 years, 10 months ago (2016-02-04 01:58:00 UTC) #10
Ivan Posva
4 years, 10 months ago (2016-02-04 05:10:35 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
9c0c6cb5c2212fd53a1f57dee6c968410c61fcd2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698